/* Common */
body, html {
    font-family: 'Fustat', sans-serif;
    font-weight: normal;
    font-optical-sizing: auto;
    font-style: normal;
    margin: 0;
    padding: 0;
    color: #ffffff;
    background-color: #000000;
    overflow-x: hidden;
}

body {
    width: 100%;
    overflow-y: hidden;
}

h1 {
    text-align: center;
    font-size: 72px;
    background-image: linear-gradient(to right, #E6D8FC, #8038EF);
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: .5s;
}

h1:hover {
    background-position: 1033px;
}

h2 {
    text-align: center;
    font-size: 112px;
    background-image: linear-gradient(to right, #D5BEF9, #F3EDFD);
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h3 {
    text-align: center;
    font-size: 28px;
    background-image: linear-gradient(to bottom, #ffffff, #bfbfff);
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 1;
}

p {
    font-size: 24px;
}

a:link {
    text-decoration: none;
}

a:visited {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

a:active {
    text-decoration: none;
}



/* Classes */
.mainContainer {
    position: relative;
    padding: 50px 50px 0 50px;
    margin: 0 auto;
    max-width: 1100px;
    height: 100%;
    z-index: 1;
}

.buttonMain, .buttonSecondary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 50px;
    font-weight: bolder;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    color: #ffffff;
}

.buttonMain span, .buttonSecondary span {
    width: 100%;
}

.buttonMain {
    width: 280px;
    height: 80px;
    background: #8038EF linear-gradient(to bottom, #8038EF, #762bea);
    border: 3px solid rgb(128, 56, 239);
    padding: 0 10px 0 18px;
    text-decoration: none;
    box-shadow: 0 10px 50px 15px rgba(128, 56, 239, 0.4);
    font-size: 28px;
    gap: 10px;
    transition: 0.3s;
}

.buttonMain:hover {
    box-shadow: 0 0 50px 20px rgba(128, 56, 239, 0.5);
    transform: scale(1.1);
    border: 3px solid rgb(163, 102, 255);
}

.buttonMain * {
    padding: 0;
    margin: 0;
}

.buttonMain img {
    width: 50px;
    height: 50px;
    margin-left: auto;
}

.buttonSecondary {
    width: 200px;
    height: 60px;
    background: transparent;
    border: 2px solid rgb(255, 255, 255);
    padding: 0 8px 0 0;
    font-size: 20px;
    gap: 0;
    transition: 0.3s;
}

.buttonSecondary:hover {
    transform: scale(1.1);
    background: #ffffff;
}

.buttonSecondary img {
    width: 40px;
    height: 40px;
}

.buttonSecondary:hover img {
    filter: invert(1);
}

.buttonSecondary:hover span {
    color: #000000;
}

.section {
    margin-bottom: 120px;
    position: relative;
}

.flexVertical, .flexHorizontal {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flexVertical {
    flex-direction: column;
}

.flexHorizontal {
    flex-direction: row;
}

.flexGrid {
    flex-direction: row;
    position: relative;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    grid-template-columns: repeat(auto-fill, 140px);
    grid-auto-rows: 140px;
    gap: 50px;
}

.appPreview {
    position: relative;
}

.appPreviewInfoGroup {
    position: relative;
    gap: 16px;
    justify-content: center;
}

.appPreviewMockupGroup {
    position: relative;
    height: 552px;
    width: 263px;
    transition: 0.3s;
    box-shadow: 0 10px 50px 15px rgba(128, 56, 239, 0.4);
    border-radius: 40px;
}

.appPreviewMockupGroup img, .appPreviewMockupGroup video, .appPreviewMockupGroup div {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.appPreviewMockupGroup video {
    clip-path: path("M219.7367 9.9409a36.004 35.6367 0 0136.0666 35.6367v462.4874a36.004 35.6367 0 01-36.004 35.6367H44.9452A36.004 35.6367 0 018.9413 508.065V45.5776A36.004 35.6367 0 0144.9452 9.9409H68.5044l.5635 5.33c.7201 6.9104 7.3886 12.194 15.3878 12.194h95.708c7.9991 0 14.6677-5.2835 15.3878-12.194l.5635-5.33h23.6217Z");
}

.appPreviewMockupGroup:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 80px 15px rgba(128, 56, 239, 0.4);
}

.appPreviewMockupGroup .appPreviewMockupCoverGroup {
    transition: 0.3s;
}

.appPreviewMockupGroup:hover .appPreviewMockupCoverGroup {
    opacity: 1;
}

.appPreviewMockupGroup:hover .appPreviewMockupCoverBg {
    opacity: 0.8;
}

.appPreviewMockupCoverGroup {
    opacity: 0;
    transform: scaleX(0.98);
}

.appPreviewMockupCoverGroup {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 15px;
}

.appPreviewMockupCoverBg {
    position: absolute !important;
    opacity: 0.7;
    transition: 0.3s;
    transform: scale(0.98);
    background-color: #000000;
    border-radius: 40px;
}

.appPreviewMockupCoverGroup img {
    position: relative;
}

.appPreviewMockupCoverGroup .storeButton {
    max-width: 180px;
    height: 61px;
    object-fit: fill;
    pointer-events: auto;
    transition: 0.2s;
    box-sizing: border-box;
    border-radius: 9px;
}

.appPreviewMockupCoverGroup .storeButton:hover {
    transform: scale(1.2);
    box-shadow: 0 0 30px 5px rgba(128, 56, 239, 0.6);
}

.appIcon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.statisticsItem h2, .statisticsItem p {
    margin: 0;
    padding: 0;
}

.teamIconsGroup {
    width: 20%;
    min-width: 260px;
    padding-left: 15px;
}

.teamIconsGroup div {
    align-items: start;
}

.teamIconsGroup div p {
    padding: 0;
    margin: 0 0 0 -15px;
    font-size: 18px;
    text-align: center;
}

.teamTextGroup {
    width: 80%;
    text-indent: 2em;
    text-align: justify;
    padding-left: 15%;
}

.teamTextGroup p {
    padding: 0;
    margin: 0;
}

.teamMemberIcon {
    width: 80px;
    height: 80px;
    background: linear-gradient(to bottom right, #E5D7FC 0%, #8038EF 100%);
    border-radius: 100%;
    position: relative;
    text-align: center;
    padding: 3px;
    box-sizing: border-box;
    margin-left: -15px;
}

.appsGridContainer, .unityItemsGridContainer {
    position: relative;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 50px;
}

.appsGridContainer {
    grid-template-columns: repeat(auto-fill, 140px);
    grid-auto-rows: 140px;
    gap: 50px;
}

.unityItemsGridContainer {
    grid-template-columns: repeat(auto-fill, 320px);
    grid-auto-rows: 140px;
    gap: 60px;
}

.appsGridButtonsGroup {
    gap: 30px;
}

.appsGridItem {
    width: 140px;
    height: 140px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.appsGridItem img {
    width: 100%;
    height: 100%;
    border-radius: 20px;
}

.appsGridItem .storeButton {
    border-radius: 20px;
    width: 45px;
    height: 45px;
}

.appsGridItem .appPreviewMockupCoverGroup {
    border-radius: 0;
    flex-direction: row;
    gap: 10px;
}

.appsGridItem .appPreviewMockupCoverGroup a {
    width: 45px;
    height: 45px;
}

.appsGridItem .appPreviewMockupCoverBg {
    border-radius: 20px;
    width: 100%;
    height: 100%;
    transform: scaleX(0.99) scaleY(0.97);
}

.appsGridUnityItem {
    width: 320px;
    height: 140px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 50px 15px rgba(128, 56, 239, 0.4);
    background: #8038EF linear-gradient(to bottom, #8038EF, #6318d8);
    border: 0 solid rgba(0, 0, 0, 0);
    justify-content: left;
    align-items: start;
    transition: 0.2s;
    box-sizing: border-box;
}

.appsGridUnityItem:hover {
    transform: scale(1.1);
    border: 2px solid rgb(163, 102, 255);
    box-shadow: 0 0 50px 20px rgba(128, 56, 239, 0.5);
}

.appsGridItemImage {
    height: 100%;
    object-fit: contain;
    object-position: left;
    float: left;
    box-shadow: 0 0 20px 10px rgba(0, 0, 0, 0.2);
}

.appsGridUnityItem div {
    height: 100%;
}

.appsGridUnityItem h4 {
    font-size: 28px;
    font-weight: bolder;
    text-align: center;
    margin: 0;
    padding: 0;
    text-decoration: none;
    color: white;
    height: 0;
    transition: 0.2s;
    transform: scale(0);
    opacity: 0;
}

.appsGridUnityItem:hover h4 {
    height: 32px;
    transform: scale(1);
    opacity: 1;
    padding: 10px 0 0 0;
}

.appsGridUnityIcon {
    width: 60px;
    height: 50px;
}

.appsGridUnityItemInfo {
    width: 110px;
    justify-content: center;
}

.mailField {
    font-size: 32px;
    padding: 0;
    margin: 0;
}

footer {
    gap: 0;
    justify-content: flex-end;
    padding-bottom: 20px;
}

footer .buttonMain {
    transform: scale(0.7);
}

footer .buttonMain:hover {
    transform: scale(0.8);
}

.socialIcons {
    margin-top: 10px;
    gap: 15px;    
}

.socialIcons img {
    max-width: 40px;
    height: 40px;
    opacity: 0.8;
    transition: 0.3s;
}

.socialIcons img:hover {
    opacity: 1;
    transform: scale(1.1);
}

.bgGlow {
    position: absolute;
    overflow: visible;
    width: 100%;
    left: 0;
    right: 0;
    pointer-events: none;
    top: -1000px;
    z-index: -1;
}

.bgGlowLeft, .bgGlowRight {
    position: relative;
    width: 2000px;
    height: 2000px;
    margin-bottom: -750px;
    background: radial-gradient(ellipse closest-side, rgba(93, 0, 255, .3), rgba(193, 130, 238, 0));
}

.bgGlowLeft {
    float: left;
    transform: translateX(-50%);
}

.bgGlowRight {
    float: right;
    transform: translateX(50%);
}

.bgStars {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    right: 0;
    pointer-events: none;
    background-image: url("../assets/stars.png"); 
    background-repeat: repeat;
}

.bgStars img {
    position: relative;
    width: 100%;
    height: 100%;
    background-repeat: repeat;
}

.sectionName {
    position: absolute;
    z-index: -1;
    font-size: 20px;
    margin: 0;
    padding: 0 0 0 10px;
    display: block;
    text-align: left;
    top: 0;
    left: 0;
    transform: translatey(-40px);
    transition: none;
    pointer-events: stroke;

}

.sectionName:hover {
    background-position: initial;
}

.pitchItem {
    width: 480px;
    height: 379px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 50px 15px rgba(128, 56, 239, 0.4);
    background: #8038EF linear-gradient(to bottom, #8038EF, #6318d8);
    border: 0 solid rgba(0, 0, 0, 0);
    justify-content: left;
    align-items: start;
    transition: all 0.2s;
    box-sizing: border-box;
}

.pitchItem:hover {
    transform: scale(1.05);
    box-shadow: 0 0 50px 20px rgba(128, 56, 239, 0.5);
}

.pitchItem iframe {
    width: 480px;
    height: 309px;
}

.pitchItemInfo {
    width: 100%;
    height: 70px;
}

.pitchItemInfo div {
    height: 70px;
    justify-content: center;
    gap: 0;
    transition: 0.2s;
}

.pitchItemInfo:hover div {
    gap: 15px;
}

.pitchItemInfo img {
    width: 35px;
    height: 35px;
}

.pitchItemInfo h4 {
    width: 0;
    height: 0;
    font-size: 0;
    font-weight: bolder;
    margin: 0;
    padding: 0;
    color: white;
    transition: 0.2s;
}

.pitchItemInfo:hover h4 {
    width: 40px;
    height: 40px;
    font-size: 28px;
}

/* Ids */
#logo {
    height: 200px;
    cursor: auto;
    pointer-events: none;
}

#statistics {
    gap: 0;
}

#team {
    margin-bottom: 100px;
}

#appsGrid {
    margin-bottom: 120px;
}

#team .sectionName {
    transform: translatey(-50px);
}

#statistics .sectionName {
    transform: translatey(-25px);
}

#appsGrid .sectionName {
    transform: translatey(-50px);
}

#unityAssetsGrid .sectionName {
    transform: translatey(-60px);
}

#pitches .sectionName {
    transform: translatey(-60px);
}

/* toolbar */
::-webkit-scrollbar {
    width: 15px;
}
::-webkit-scrollbar-track {
    background: #220f40;
}
::-webkit-scrollbar-thumb {
    background: #8038EF;
    border-radius: 20px;
}
::-webkit-scrollbar-thumb:hover {
    background: #5E35B1;
}

@media (max-width: 1020px) {
    #statistics {
        gap: 50px;
        justify-content: center;
    }

    #appsPreview {
        justify-content: center;
    }
}


@media (max-width: 800px) {
    #team {
        flex-direction: column;
    }

    .teamTextGroup {
        width: 100%;
        padding-left: 0;
    }

    #header h1 {
        font-size: 62px;
    }
}

@media (max-width: 500px) {
    .mainContainer {
        zoom: 0.8;
        -moz-transform: scale(0.8);
        -moz-transform-origin: 0 0;
    }
    
    #header h1 {
        font-size: 52px;
    }
}