html {
    overflow-y: scroll;
    scroll-behavior: smooth;
}

.main {
    background-image: url(../img/main-bg.webp);
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}
.cursor-down {
    display: flex;
    justify-content: center;
}
.cursor-down img {
    height: 40px;
    width: auto;
    padding-bottom: 30px;
    animation: bounce 2s infinite;
}
  
@keyframes bounce {
0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
}
40% {
    transform: translateY(-30px);
}
60% {
    transform: translateY(-15px);
}
}

/*WHAT*/
.what {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    padding: 10px 0px;
    background: url(../img/bg-violet1.webp);
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    color: white;
}

.what img {
    width: 30%;
    height: auto;
}

.text_history {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 50%;
}
.what .text_history hr {
    width: 70%;
}

/*PROGRAM*/
.program {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: url(../img/program-bg.webp);
    background-repeat: no-repeat;
    background-size: cover;
    padding: 130px 0;
}

.bg-program {
    text-align: center;
    width: 40%;
    padding: 50px 30px;
    /*
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    */
    border: 0px #B191FF solid;
    border-radius: 25px;
    backdrop-filter: blur(20px) brightness(110%);
}
.planning {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0 50px 0;
}

.program .color_line {
    width: 60%;
    color: #FFE887;
    background-color: #FFE887;
}

.planning h4 {
    font-size: 1.1rem;
    padding: 10px 0px;
}

.planning p {
    padding-bottom: 20px;
}

/*GAMES*/
.games {
    padding: 130px 0;
    background: url(../img/bg-violet2.webp);
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
}

.games .color_line {
    margin-bottom: 20px;
}

.games h2 {
    text-align: center;
}

.games_list {
    display: flex;
    justify-content: center;
    gap: 150px;
    padding: 40px 0 60px 0;
}
.games_img {
    position: relative;
}
.games_img-big_img {
    width: 400px;
    height: auto;
    box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.25);
}
.games_content {
    width: 100%;
    height: 99%;
    position: absolute;
    top: 0;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 25px;

    background: #826abd90;
    opacity: 0;
    transition: 0.3s all;
    
}
.games_img:hover .games_content {
    opacity: 1;
    box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.25) inset;
}

.open-games_list-align {
    display: flex;
    justify-content: center;
    flex-direction: row;
    gap: 100px;
    padding: 40px 0;
}

.open-games_list {
    display: flex;
    justify-content: center;
    gap: 100px;
}
.open-games_list img {
    width: auto;
    height: 200px;
}

/*TEAM*/
.team {
    padding: 130px 0;    
    background-image: url(../img/electronic-and-tech-background-4.webp);
    background-repeat: no-repeat;
    background-size: cover;
}

.team h2{
    color: white;
    text-align: center;
}

.team-align {
    padding: 30px 0 60px 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    justify-items: center;
    grid-row-gap: 80px; 
    grid-column-gap: 50px; 
}

.team-logo {
    height: 254px;
    width: 254px;
    background-color: #B191FF;
    position: relative;
}
.team-logo img {
    height: 100%;
    width: 100%;
}

.team-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background-color: #9479dabe;
    transition: all, 0.5s;
    position: absolute;
    top: 0;
    opacity: 0;
}

.team-content h4 {
    font-size: 1.2rem;    
    color: white;
    justify-content: center;
    align-items: center;
    padding-bottom: 10px;
}

.team-content p {
    font-size: 1.1rem;
    line-height: 24px;
    text-align: center;
    color: white;
}

.team-logo:hover .team-content {
    opacity: 1;
}

.team-text {
    color: white;
    text-align: center;
}
.team-text p {
    font-size: 1.2rem;
    padding: 45px 0;
}

.empty-list {
    font-family: 'CodeProBold';
    font-size: 1.5rem;
    padding: 30px 0 45px 0;

    color: white;
    text-align: center;
}

/*disabled*/
.player_list {
    display: none;
}

/*CONTACT*/
.contact {
    min-height: 100vh;
    background: #B191FF;
    color: white;
    display: flex;
    flex-direction: column;
}

.contact .wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 85px;
    padding-top: 150px;
}

.contact .part1 {
    display: flex;
    justify-content: space-between;
}
.part1 h2 {
    padding-bottom: 15px;
}

.contact-left {
    width: 30%;
}
.contact-right {
    width: 50%;
}
.contact-right a {
    font-family: 'Urbanist';
    text-decoration: none;
    color: white;
    line-height: 24px;
}
.contact-right a:hover {
    text-decoration: underline;
}

.social {
    display: flex;
    align-items: center;
    padding: 5px 0;
    gap: 10px;
}
.social img {
    width: 25px;
    height: auto;
}

.part2 {
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 200px;
    padding: 25px 0;
    color: black;
}
.part2 h2 {
    width: 50%;
    text-align: center;
}

.part3 {
    display: flex;
    gap: 20px;
    padding-bottom: 15px;
}

.part3 a {
    font-family: 'Urbanist';
    color: white;
}

@media only screen and (max-width: 1440px) {
    .what {
        flex-direction: column;
        text-align: center;
    }
    .what img {
        width: 40%;
        height: auto;
    }
    .text_history {
        display: flex;
        flex-direction: column;
        gap: 15px;
        width: 60%;
    }

    .open-games_list {
        column-gap:75px;    
    }
    .open-games_list img {
        height: 175px;  
    }

    .team-align {
        grid-template-columns: repeat(3, 1fr);
    }

    .part2 {
        gap: 150px;
    }
}

@media only screen and (max-width: 1080px) {
    .main {
        height: 90vh;
    }

    nav {
        display: none;
    }

    .what img {
        width: 70%;
        height: auto;
    }
    .text_history {
        width: 75%;
    }

    .bg-program {
        width: 70%;
        padding: 50px 30px;
        text-align: center;
    }

    .team-logo {
        width: 150px;
        height: 150px;
    }

    .games_list {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 70px;
    }

    .games_img-big_img {
        width: 350px;
    }

    .open-games_list {
        gap: 30px;
    }
    .open-games_list img {
        height: 150px;
    }

    .team-align {
        grid-template-columns: repeat(2, 1fr);
    }

    .part1 {
        flex-direction: column;
        gap: 50px;
    }
    .contact-left {
        width: 80%;
    }
    .contact-right {
        width: 80%;
    }

    .part2 {
        flex-direction: column;        
        gap: 50px;
    }
    .part2 h2 {
        width: 80%;
    }

    .open-games_list-align {
        flex-direction: column;
    }
}