/*Fontes*/

@font-face {
    font-family: android;
    src: url(../fonts/idroid.otf) format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: Bebas Neue;
    src: url(../fonts/BebasNeue-Regular.otf) format('opentype');
    font-weight: normal;
    font-style: normal;
}

/*Fim de Fontes*/

/*Variáveis*/

:root {
    --cor0: #ccf1bb;
    --cor1: #83e1ad;
    --cor2: #3ddc84;
    --cor3: #2fa866;
    --cor4: #1a5c37;
    --cor5: #063d1e;

    --fonte-padrao: Arial, Verdana, Helvetica, sans-serif;
    --fonte-destaque: 'Bebas Neue', cursive;
    --fonte-android: 'android', cursive;

}

/*Geral*/
* {
    margin: 0;
    padding: 0;
}

body{
    font-family: var(--fonte-padrao);
    background-color: var(--cor1)
}

a {
    text-decoration: none;
}

/*Fim de Geral*/

/*Cabeçalho*/

header {
    min-height: 150px;
    background-image: linear-gradient(to bottom, var(--cor3), var(--cor5));
    color: white;
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.349);
    padding-top: 40px;
}

header h1, header h2 {
    text-align: center;
    font-family: var(--fonte-destaque);
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.267);
    font-weight: normal;
}

header h1{
    font-size: 3em;
    margin-bottom: 20px;
}

header h2{
    font-size: 1.2em;
    font-weight: lighter;
    padding: 0 10px 50px 10px;
    margin: auto;
    max-width: 600px;
}

nav {
    padding: 0 10px 15px 10px;
}

#menu-principal a {
    padding: 10px;
    color: var(--cor1);
    font-weight: bold;
    border-radius: 5px;
}

#menu-principal a:hover {
    background: var(--cor1);
    color: var(--cor5);
    transition: 0.5s;
}

/*Fim de Cabeçalho*/

/*Principal*/

section {
    min-width: 300px;
    max-width: 1000px;
    background-color: white;
    margin: 0 auto;
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.507);
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 0 0 10px 10px;
}

section h1, section h2 {
    font-family: var(--fonte-android);
    color: var(--cor4);
    margin: 10px 0;
}

section h1 {
    font-size: 2em;
}

section h2 {
    font-size: 1.5em;
    padding: 0 10px;
    background-image: linear-gradient(90deg, var(--cor1), var(--cor0), transparent) ;
}

section p {
    text-indent: 30px;
    line-height: 30px;
    font-size: 1.1em;
    text-align: justify;
    padding: 10px 0;
}

section a {
    background: var(--cor1);
    color: var(--cor4);
    font-weight: bolder;
    padding: 0px 5px;
}

section a::after {
    content: " 🔗";
}

section a:hover {
    text-decoration: underline;
    color: var(--cor5);
}

.destaque {
    font-weight: bold;
    color: var(--cor4);
}

img {
    width: 100%;
    margin: 20px 0;
}

.img-pequena {
    display: block;
    margin: 20px auto;
    width: 350px;
}

.video {
    background-color: var(--cor5);
    margin: 0px -20px 30px -20px;
    padding: 20px;
    padding-bottom: 58%;
    position: relative;
}

.video iframe {
    position: absolute;
    top: 5%;
    left: 5%;
    width: 90%;
    height: 90%;

}

aside {
    background: var(--cor1);
    border-radius: 15px;
    padding-bottom: 20px;
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.507);
}
aside h3 {
    background: var(--cor4);
    color: white;
    padding: 15px;
    border-radius: 15px 15px 0 0;
}

aside p{
    padding: 5px 10px;
}

aside ul {
    columns: 2;
    /* padding: 20px 30px; - Jeito que fiz
    Melhor opção é usar o list-style-polition: inside, então ele vai para dentro da caixa e não outside*/
    list-style-position: inside;
    padding: 20px 30px;
    list-style-type: '\2714\00A0';
}


/*Rodapé*/

footer {
    color: white;
    background: var(--cor5);
    text-align: center;
    font-weight: lighter;
    font-size: 0.8em;
    padding: 5px;
    margin-top: 5px;
}

@media (max-width:475px) {
    header h1 {
        font-size: 2.2em;
    }

    header h2 {
        font-size: 1em;
    }
    
    nav a {
        font-size: 0.9em;
    }

    main h1 {
        font-size: 1.5em;
    }

    main p {
        font-size: 1em;
    }
}