body {
    background-color: var(--color-background2);
}

.top-nav {
    background-color: var(--color-background);
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    position: fixed;
    width: 100%;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
    animation-name: null;
    animation-duration: 1s;
    animation-timing-function: linear;
    animation-delay: 0s;
    animation-iteration-count: 1;
    animation-direction: reverse-alternate;
    animation-fill-mode: forwards;

    z-index: 10;
}

#eu {
    right: unset;
    left: -21rem;
    animation-name: null;
    transform: scale(0.8);
}

#eu-img {
    transform: scaleX(-1);
}

#c4d-azul {
    left: -35rem;
    animation-name: aparecer-opacidade;
    animation-duration: 2s;
    animation-timing-function: linear;
    animation-delay: 0s;
    animation-iteration-count: 1;
    animation-direction: reverse-alternate;
    animation-fill-mode: backwards;
}

#c4d-azul img {
    transform: rotate(90deg);
}

#c4d-roxa {
    right: unset;
    left: -24rem;
    animation-name: aparecer-opacidade;
    animation-duration: 2s;
    animation-timing-function: linear;
    animation-delay: 1s;
    animation-iteration-count: 1;
    animation-direction: reverse-alternate;
    animation-fill-mode: backwards;
}

#todos {
    position: absolute;
    top: 0px;
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
    overflow: scroll;
}

#galeria-container {
    position: relative;
    top: 0px;
    left: 0px;
    column-gap: 1rem;
    width: auto;
    background: rgba(0, 0, 0, 0.5);
    padding: 3rem;
    border-radius: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 8rem;
    max-height: 1080px;
    max-width: 1120px;
}

#galeria-container h1 {
    flex: 100%;
    text-align: center;
    font-size: 5rem;
    font-family: 'logo', sans-serif;
    position: relative;
    color: var(--color-primary);
}

#galeria-container .item {
    width: 20rem;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    margin-bottom: 1rem;
    flex: 0 0 calc(33.33% - 10px);
    box-sizing: border-box;
}

#galeria-container .item a {
    display: flex;
}

#galeria-container .item a img {
    width: 100%;
    object-fit: fill;
    transition: all .5s;
}

#galeria-container .item a img:hover {
    transform: scale(1.1);
}

#popup-video {
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 100;
    background-color: rgba(0, 0, 0, 0.5);
    height: 100vh;
    width: 100vw;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#popup-video div#varia {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    max-height: 700px;
    max-width: 1024px;
}

#popup-video video,
#popup-video img {
    width: 80%;
    border-radius: 12px;
}

#popup-video span {
    position: relative;
    right: -2rem;
    font-size: 26pt;
    color: var(--color-dark);
    font-weight: bolder;
    z-index: 100;
    cursor: pointer;
    transition: all 0.5s;
}

#popup-video span:hover {
    transform: scale(1.1);
}

.description {
    width: 70%;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 12px;
    margin-top: 1rem;
}

.description p {
    text-align: center;
    font-size: 10pt;
    font-family: 'poppins', sans-serif;

}

@media screen and (max-width: 1920px) {
    #galeria-container {
        margin: 12rem;
        max-width: 1480px;
    }

    #todos {
        align-items: start;
        top: -110px;
    }
}

@media screen and (max-width: 1366px) {/*até 1366*/
    .content {
        overflow: hidden;
    }

    #galeria-container {
        margin: 12rem;
    }

}

@media screen and (max-width: 1280px) {/*até 1280*/
    #galeria-container {
        margin-top: 4rem;
    }

    #todos {
        top: 0px;
    }

    .content {
        overflow: hidden;
    }
}



@media screen and (max-width: 1024px) {/*telas pequenas, laptops*/
    .content {
        overflow: hidden;
    }

    #galeria-container {
        margin: 2rem;
    }
}/*fim telas pequenas, laptops*/

@media screen and (max-width: 800px) {/*kindle*/
    #galeria-container {
        margin: 4rem;
    }

    #todos {
        align-items: start;
        top: 6rem;
    }
}/*fim kindle*/

@media screen and (max-width: 768px) {/*smartphones iPads, tablets*/
    .content {
        overflow: hidden;
    }

    #galeria-container .item {
        flex: 0 0 calc(50% - 10px);
    }

    #popup-video video,
    #popup-video img {
        width: 95%;

    }

    #popup-video span {
        right: 2rem;
        top: -4rem;
    }

    #todos {
        align-items: start;
        top: 5rem;
    }

    .description {
        width: 95%;
    }
}

@media screen and (max-width: 480px) {/*dispositivos móveis*/
    .content {
        overflow: auto;
    }

    #galeria-container {
        margin: -2rem;
        max-height: max-content;
    }

    #galeria-container .item {
        flex: 0 0 calc(100% - 10px);
    }

    .description {
        width: 95%;
    }

    #galeria-container h1 {
        font-size: 4rem;
    }
}