#title-section{
    width: 100%;
}

#title-section .card{
    height: 105px;
    padding: 0;
    
    display: flex;
    align-items: center;
    justify-content: center;
}

#cover-section{
    width: 100%;
    height: 400px;

    background-image: url("../images/wwc/cover.jpg");
    background-size: cover;
    background-repeat:no-repeat;
    background-position: center center;

    border-top: solid 0px var(--primary);

    filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, 0.2));
}

#header-tags{
    margin-bottom: 20px;

    display: flex;
    flex-direction: row;
    gap: 25px;
}

#header-tags .tags{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 15px;
}

#about-section{
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

#about-section #container-1{
    grid-column-start: 1;
    grid-column-end: 2;

    display: grid;
    grid-template-rows: auto 80px;
    gap: 24px;
}

#about-section #container-2{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

#about-section #container-2 .card.button{
    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 10px;
}

#about-section #details{
    display: grid;
    grid-template-rows: repeat(6, 1fr);
    gap: 20px;
}

#about-section #details div{
    display: flex;
    align-items: center;
    justify-content: star;
    flex-direction: row;
    gap: 10px;
}

#about-section #details div .field{
    text-transform: none;
}
#about-section #details div .data{
    text-transform: none;
    font-weight: 300;
}

#info-section{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

#info-section li{
    font-size: 16px;
    font-family: "Istok Web", sans-serif;
    color: var(--gray-100);
    line-height: 130%;
    margin-left: 20px;
}

#special-section .card{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 30px;
}

#medal-container{
    height: 175px;
    position: relative;
}

#medal{
    position: absolute;
    left: 50%;
    z-index: 2;
    animation: float 3000ms ease-in-out infinite;
}

#medal-shadow{
    position: absolute;
    left: 50%;
    z-index: 1;
    animation: float-shadow 3000ms ease-in-out infinite;
    opacity: 0.2;
}

.star{
    width: 20px;
    height: 20px;
    background-color: rgb(255, 237, 133);
    position: absolute;
    z-index: 3;
    transform: scale(0);
}

#s-one{
    animation: s-one 5000ms 1000ms linear infinite;
    left: 40px;
    top: 5px;
}
#s-two{
    animation: s-two 5000ms 3000ms linear infinite;
    right: 40px;
    top: 40px;
}
#s-three{
    animation: s-three 5000ms 1700ms linear infinite;
    left: 20px;
    top: 60px;
}

@keyframes s-one {
    0%{
        transform: scale(0) rotateZ(0deg);
    }
    40%{
        transform: scale(0) rotateZ(0deg);
    }
    50%{
        transform: scale(1) rotateZ(180deg);
    }
    60%{
        transform: scale(0) rotateZ(360deg);
    }
    100%{
        transform: scale(0) rotateZ(360deg);
    }
}

@keyframes s-two {
    0%{
        transform: scale(0) rotateZ(0deg);
    }
    40%{
        transform: scale(0) rotateZ(0deg);
    }
    50%{
        transform: scale(1) rotateZ(180deg);
    }
    60%{
        transform: scale(0) rotateZ(360deg);
    }
    100%{
        transform: scale(0) rotateZ(360deg);
    }
}
@keyframes s-three {
    0%{
        transform: scale(0) rotateZ(0deg);
    }
    40%{
        transform: scale(0) rotateZ(0deg);
    }
    50%{
        transform: scale(1) rotateZ(180deg);
    }
    60%{
        transform: scale(0) rotateZ(360deg);
    }
    100%{
        transform: scale(0) rotateZ(360deg);
    }
}

@keyframes float {
    0%{
        transform: translate(-50%, 0%);
    }
    50%{
        transform: translate(-50%, 10%);
    }
    100%{
        transform: translate(-50%, 0%);
    }
}

@keyframes float-shadow {
    0%{
        transform: translate(-50%, 12%) scale(0.9);
    }
    50%{
        transform: translate(-50%, 12%) scale(1);
    }
    100%{
        transform: translate(-50%, 12%) scale(0.9);
    }
}

#gallery-section .card{
    display: flex;
    flex-direction: column;
    gap: 30px;
}

#button-section{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

#button-section .primary-button{
    width: 250px;
    text-align: center;
}

#games-section .card{
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.list-canva{
    width: 100%;
    position: relative;
    filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, 0.2));
}

#gallery.list-canva{
    height: 320px;
}

#gallery .list img{
    height: 100%;
}

@media (max-width: 800px) {
    #cover-section{
        width: 100%;
        height: 200px;
    }

    #about-section{
        display: flex;
        flex-direction: column;
        gap: 24px;
    }
    
    #about-section #container-2 .card.button{
        padding: 0;
    
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: row;
        gap: 3px;
    }
     
    #details h4{
        font-size: 24px;
    }

    #info-section{
        display: flex;
        flex-direction: column;
        gap: 24px;
    }    

    #header-tags{
        margin-bottom: 20px;
    
        display: flex;
        align-items: start;
        flex-direction: column;
        gap: 10px;
    }
    
    #header-tags .tags{
        display: flex;
        align-items: start;
        justify-content: start;
        flex-direction: column;
        gap: 15px;
    }

    #special-section h3{
        text-align: center;
    }

    #button-section{
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    
    #button-section .primary-button{
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        font-size: 24px;
        padding: 15px;
        filter: drop-shadow(5px 5px var(--primary-dark)) drop-shadow(0px 0px 0px var(--primary-light));
    }    
}