@keyframes glow {

    from,
    to {
        box-shadow: 0 0 1rem 2px var(--neon-color), inset 0 0 0.2rem var(--neon-color);
        background-color: var(--main-color);
    }

    50% {
        box-shadow: 0 0 1.2rem 2px var(--main-color), inset 0 0 1rem var(--main-color);
        background-color: var(--neon-color);
    }
}

#tela {
    background-color: black;
    background-image: url("/img/quem-somos-tela.png");
    background-repeat: no-repeat;
    background-size: 100vw;
    background-position: center;

    width: 100vw;
    aspect-ratio: 192 / 93;
    overflow: hidden;

    display: flex;
    justify-content: center;
    align-items: center;
}

#tela video,
#tela #ytplayer {
    margin-top: -0.5vw;
    width: 69vw;
    aspect-ratio: 16/9;
}

#info {
    background-color: black;
    background-image: linear-gradient(rgba(14, 2, 0, 0.5) 25%, rgba(97, 12, 5, 0.15) 50%), url("/img/quem-somos-publico.png");
    background-repeat: no-repeat;
    background-size: 100vw;
    background-position: top;

    width: 100vw;
    max-height: 100vh;

    overflow-y: scroll;
    overflow-x: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;

    position: relative;

    --padding-sides: max(8vw, calc((100vw - 1260px) / 2));
    color: var(--text-color);
}

#info::-webkit-scrollbar {
    display: none;
}

#info::before {
    content: "";
    display: block;

    width: 100vw;
    height: 10vmax;

    background-image: url("/img/quem-somos-fade.png");
    background-repeat: no-repeat;
    background-size: 100vw;
    background-position: top;

    position: sticky;
    top: 0;
    left: 0;

    margin-bottom: -5vmax;
}

#info>a {
    display: block;
    color: var(--main-color);

    text-align: center;
    text-decoration: none;
    margin-bottom: 10rem;

    font-size: 1.1rem;
    font-weight: 900;
    letter-spacing: 0.05em;

    transition: color 250ms;
}

#info>a:hover {
    color: white;
}

#main {
    display: grid;
    grid-template-columns: 30% auto;
    grid-template-rows: repeat(3, min-content);
    grid-template-areas: "title title" "symbol description" "info info";
    gap: 0.5rem 1rem;

    padding: 1rem var(--padding-sides);
}

#main h1 {
    text-align: center;
    grid-area: title;
    font-size: 2.5rem;
    letter-spacing: 0.1em;
    margin: 0;
}

#main h1::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 9999px;

    margin-top: 1rem;
    margin-bottom: 1.75rem;

    background-color: var(--main-color);
    animation: glow 5s linear infinite;

}

#main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 5rem;
    padding-top: 3rem;
}

#main p {

    grid-area: description;

    font-size: 1.1rem;
    line-height: 1.95em;
    text-align: justify;
}

#main>p:first-line {
    position: relative;
    text-transform: uppercase;
    font-size: 0.9em;
}

#main>p:first-letter {
    letter-spacing: 0;
    text-transform: uppercase;
    font-size: 4em;
    float: left;
    margin: 0.13em 0.2em 0 0;
    line-height: 0.7;
}

#main nav {
    grid-area: info;
}

#main nav #tab-bar {
    display: flex;
    flex-wrap: wrap;
}

#main nav input {
    display: none;
}

#main nav input+label {
    cursor: pointer;
    flex: 1 0 fit-content;
    padding: 1rem;
    font-weight: 900;
    text-align: center;

    font-size: 0.8rem;
    border-bottom: 2px solid white;

    transition: all 350ms;
}

#main nav input+label:hover {
    background-color: rgba(255, 255, 255, 0.164);
}

#main nav input:checked+label {
    color: var(--main-color);
    border-bottom-color: var(--main-color);
}



@media (max-width: 800px) {
    #main {
        grid-template-areas: "symbol title" "description description" "info info";
    }

    #main h1 {
        font-size: 1.5rem;
        text-align: left;
    }

    #main img {
        padding: 0.5rem;
    }
}

#mvv {
    display: flex;
    flex-wrap: wrap;

    padding: 0 var(--padding-sides);
}

#mvv #proposito {
    padding: 0 15vw;
    flex: 0 0 100%;
    display: grid;

    grid-template-columns: 40% auto;
    grid-template-rows: repeat(2, min-content);
    grid-template-areas: "image title" "image text";
    gap: 0.5rem 1rem;

    margin-bottom: -3rem;

}

#mvv #proposito img {
    grid-area: image;
    max-width: 100%;
    max-height: 100%;
    padding: 3rem;
    align-self: center;
    justify-self: center;
}

#mvv #proposito h2 {
    align-self: flex-end;
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;

    margin: 0;
}

#mvv #proposito p {
    align-self: flex-start;
    font-size: 0.9rem;
}

#mvv .mvv {
    flex: 1;
    margin-left: 3rem;
}

#mvv .mvv:nth-child(2) {
    margin-left: 0;
}

#mvv .mvv img {
    max-width: 100%;
    margin-bottom: -25%;
}

#mvv .mvv h2 {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.07rem;
}

#mvv .mvv h2::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 9999px;

    margin-top: 1rem;
    margin-bottom: 1.75rem;

    background-color: var(--main-color);
    animation: glow 5s linear infinite;

}

#mvv .mvv p {
    line-height: 2;
    text-align: justify;
    font-size: 1.1rem;
}

#mvv .mvv ul {
    list-style: none;
    padding: 0;
}

#mvv .mvv ul li {
    margin-bottom: 0.5rem;
}

#mvv .mvv ul li summary {
    list-style: none;
    cursor: pointer;

    font-weight: 900;
}

#mvv .mvv ul li summary::before {
    content: "•";
    color: var(--main-color);
    margin-right: 0.5rem;
}

#mvv .mvv ul li summary::after {
    content: "saiba mais";
    font-weight: 400;
    color: var(--main-color);
    font-size: 0.9rem;
    margin-left: 1rem;
    opacity: 0;
    transition: opacity 350ms;
}

#mvv .mvv ul li summary:hover::after {
    opacity: 1;
}

#equipe {
    margin-top: 5rem;
    display: grid;

    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, min-content);
    grid-template-areas: "title title title" "image p1 p2" "list list list";
    gap: 0.5rem 1rem;

    padding: 1rem var(--padding-sides);
}

#equipe h1 {
    text-align: center;
    grid-area: title;
    font-size: 2.5rem;
    letter-spacing: 0.1em;
    margin: 0;
}

#equipe h1::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 9999px;

    margin-top: 1rem;
    margin-bottom: 1.75rem;

    background-color: var(--main-color);
    animation: glow 5s linear infinite;

}

#equipe img {
    max-width: 100%;
}

#equipe p {
    line-height: 1.75;
}

#equipe p strong {
    display: block;
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

#equipe ul {
    grid-area: list;
    list-style: none;

    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 1.5rem 1rem;

    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing: 0.07rem;
}

#programas {
    margin-top: 5rem;
    display: grid;

    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem 3rem;

    padding: 1rem var(--padding-sides);
}

#programas .prog {
    display: flex;
    flex-direction: column;
    align-items: center;
}


#programas .prog img {
    max-width: 80%;
    margin-bottom: -10%;
}

#programas .prog h2 {
    width: 100%;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.07rem;
}

#programas .prog h2::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 9999px;

    margin-top: 1rem;
    margin-bottom: 1.75rem;

    background-color: var(--main-color);
    animation: glow 5s linear infinite;

}

#programas .prog p {
    line-height: 2;
    text-align: justify;
    font-size: 1.1rem;
}

#historia {
    display: grid;
    grid-template-columns: 30% auto;
    grid-template-areas: "title title" "symbol description";
    gap: 1rem 1rem;

    padding: 1rem var(--padding-sides);
    margin-bottom: 3rem;
}

#historia h1 {
    text-align: center;
    grid-area: title;
    font-size: 2.5rem;
    letter-spacing: 0.1em;
    margin: 0;
}

#historia h1::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 9999px;

    margin-top: 1rem;
    margin-bottom: 1.75rem;

    background-color: var(--main-color);
    animation: glow 5s linear infinite;

}

#historia img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#historia p {
    text-align: justify;
    font-size: 1.1rem;

    line-height: 1.75;
    margin: 0;
}

#historia p:nth-child(3) {

    grid-area: description;
    line-height: 1.95em;
    align-self: flex-end;

}

#historia>p:nth-child(3):first-line {
    position: relative;
    text-transform: uppercase;
    font-size: 0.9em;
}

#historia>p:nth-child(3):first-letter {
    letter-spacing: 0;
    text-transform: uppercase;
    font-size: 4em;
    float: left;
    margin: 0.13em 0.2em 0 0;
    line-height: 0.7;
}

#historia p:nth-child(n+4) {
    grid-column: 1 / -1;
}