@charset "UTF-8";

/* >>> ESQUEMA DE CORES BEGIN <<< */

/*
    #000        Preto
    #222        Preto mais claro
    #385460     Azul acizentado
    #af151e     Vermelho
    #ddd        Branco escuro
    #fff        Branco
*/

/* >>> ESQUEMA DE CORES END <<< */

/* >>> ROOT BEGIN <<< */

:root {
    background-color: #385460;
    scroll-behavior: smooth;
    transition: .5s ease all;
}
body {
    width: 70%;
    margin: auto;
    background-color: #ddd;
    color: #385460;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 1em;
    transition: .5s ease all;
    word-break: break-word;
}

/* >>> ROOT END <<< */

/* >>> HEADER BEGIN <<< */

header {
    background-color: #222;
    border-bottom: 2px solid #af151e;
    padding: 2% 2% 0 2%;
    display: grid;
    grid-template-columns: 2fr 5fr;
    grid-template-rows: 5fr 2fr;
    grid-column-gap: 2vw;
    align-items: center;
}
header > h1 {
    grid-row: 1/2;
    grid-column: 1/2;
    display: grid;
    justify-items: center;
}
header > h1 > img {
    max-width: 100%;
}
header > h2 {
    grid-row: 1/2;
    grid-column: 2/3;
    transition: .5s ease all;
    font-size: 180%;
    text-align: center;
}
header > nav {
    grid-row: 2/3;
    grid-column: 1/3;
}
header > nav ul {
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}
header > nav > ul > li.menu {
    display: none;
}
header > nav > ul > li.menu > a {
    font-size: 230%;
}
header > nav ul li {
    list-style: none;
    margin: 1% 0;
}
header > nav li > a {
    padding: 16px 32px;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    cursor: pointer;
}
header > nav li > a:hover {
    color: #af151e;
}
header > nav li > a:active {
    position: relative;
    top: 3px;
}
header > nav li.menu > ul.submenu {
    position: absolute;
    left: 50%;
    width: 280px;
    margin-left: -140px;
    z-index: 999999999;
    flex-direction: column;
    text-align: center;
    background-color: #222;
    border-radius: 0 0 3px 3px;
    display: none;
}
header > nav li.menu > ul.submenu > li {
    padding: 16px 32px;
    margin: 2px 0;
}

/* >>> HEADER END <<< */

/* >>> SECTIONS BEGIN <<< */

section:not(#config) {
    width: 90%;
    margin: auto;
    transition: .5s ease all;
}
section#grade, section#video, section#docentes, section#obrigado {
    display: none;
    opacity: 0;
    transform: scale(0);
}

/* >>> SECTIONS END <<< */

/* >>> SECTION CURSO BEGIN <<< */

section#curso > h3 {
    text-align: center;
}
section#curso > p:nth-of-type(-n + 2) {
    text-indent: 5%;
}

/* >>> SECTION CURSO END <<< */

/* >>> SECTION GRADE BEGIN <<< */

section#grade > h3 {
    text-align: center;
}
section#grade > p {
    text-indent: 5%;
    font-size: 80%;
    opacity: 70%;
    text-align: center;
}
section#grade > nav {
    margin: 4%;
}
section#grade > nav > ul > li {
    margin: 4% auto;
}
section#grade > nav > ul > li > a {
    background-color: #385460;
    color: #ddd;
    display: block;
    font-size: 130%;
    font-weight: bold;
    border-radius: 3px;
    text-align: center;
 }
section#grade > nav ul {
    padding: 0;
    margin: 0;
}
section#grade > nav > ul li {
    list-style: none;
}
section#grade > nav > ul > li > ul > li {
    margin: 1% 5%;
    display: block;
}
section#grade > nav > ul > li > ul > li::first-letter {
    font-size: 130%;
}

/* >>> SECTION GRADE END <<< */

/* >>> SECTION VÍDEO BEGIN <<< */

section#video > video {
    display: block;
    width: 80%;
    margin: 4% auto;
    outline: 0;
    border: 3px solid #af151e;
    border-radius: 3px;
}

/* >>> SECTION VÍDEO END <<< */

/* >>> SECTION DOCENTES BEGIN <<< */

section#docentes > nav{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    grid-gap: 2vw;
}
section#docentes > nav > p {
    padding: 3%;
    cursor: pointer;
}
section#docentes > nav > p:hover {
    outline: 2px solid #af151e;
}
section#docentes > aside > p {
    text-align: center;
    display: none;
    opacity: 0;
    transform: scale(0);
    transition: .5s ease all;
}
section#docentes > aside > p > img {
    width: 25%;
    border: 3px solid #af151e;
    border-radius: 3px;
}
section#docentes > aside + p {
    width: fit-content;
    text-align: center;
    font-weight: bold;
    margin: 4% auto;
    cursor: pointer;
    display: none;
    opacity: 0;
    transform: scale(0);
    transition: .5s ease all;
}
section#docentes > aside + p:hover {
    color: #af151e;
}

/* >>> SECTION DOCENTES END <<< */

/* >>> SECTION OBRIGADO BEGIN <<< */

section#obrigado > p {
    text-align: center;
}

/* >>> SECTION OBRIGADO END <<< */

/* >>> SECTION CONFIG BEGIN <<< */

section#config {
    position: fixed;
    top: 0;
    right: 15%;
    margin-right: -32px;
}
section#config > h2 {
    display: none;
}
section#config > nav > ul {
    padding: 0;
    margin: 0;
}
section#config ul > li {
    list-style: none;
    text-align: center;
    width: 32px;
    height: 32px;
    font-size: 80%;
}
section#config ul > li:first-of-type {
    margin-bottom: 30px;
}
section#config ul > li:nth-of-type(3) {
    margin: 15px 0;
}
section#config li > a {
    background-color: #222;
    color: #fff;
    display: block;
    padding: 8px 4px;
    cursor: pointer;
}
section#config li:first-child > a {
    border-radius: 0 0 3px 0;
}
section#config li:nth-child(n + 2) > a {
    border-radius: 0 3px 3px 0;
}
section#config li > a:hover {
    color: #af151e;
}

/* >>> SECTION CONFIG END <<< */

/* >>> FOOTER BEGIN <<< */

footer {
    background-color: #222;
    color: #385460;
    border-top: 2px solid #af151e;
    padding: 1%;
    text-align: center;
}
footer label > i {
    font-size: 200%;
}
footer > p > input:first-of-type {
    font-size: 120%;
    padding: 1px 2px;
    border-radius: 3px;
    outline: 0;
    margin: 1% 0;
    width: 40%;
}
footer > p > input:last-of-type {
    font-size: 110%;
    padding: 8px 16px;
    margin: 2%;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 3px;
    background-color: #222;
    color: #fff;
    border: 2px solid #fff;
    box-shadow: 2px 2px 4px #fff;
    cursor: pointer;
    width: 25%;
    outline: 0;
}
footer > p > input:last-of-type:active {
    position: relative;
    top: 1px;
    box-shadow: none;
}

/* >>> FOOTER END <<< */

/* >>> MEDIA HEADER BEGIN <<< */

@media (max-width: 699px) {
    body {
        width: 80%;
    }
    header {
        display: flex;
        flex-direction: column;
    }
    header > h1 > img {
        width: 80%;
    }
    header > nav > ul > li {
        display: none;
    }
    header > nav > ul > li.menu {
        display: block;
    }
    section:not(#config) {
        font-size: 150%;
    }
    section#config {
        right: 10%;
    }
    footer > p > input:first-of-type {
        margin-top: 4%;
        width: 50%;
    }
    footer > p > input:last-of-type {
        display: block;
        margin: 4% auto;
        width: 30%;
    }
    @media (max-width: 499px) {
        footer > p > input:first-of-type {
            width: 70%;
        }
        footer > p > input:last-of-type {
            padding: 4px 8px;
            width: 50%;
        }
    }
}

/* >>> MEDIA HEADER END <<< */
