html, body {
    font-family: Poppins;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: black;
}

header {
    display: flex;
    justify-content: center;
    align-items: center;
}

header p{
    margin: 0.5em;
    font-size: 1em;
    text-align: center;
}

header img {
    width: 1em;
}

/* INICIO DA NAVBAR */

nav {
    width: 100%;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    justify-content: center;
}

.nav-logo img {
    width: 25em;
    margin: 0.5em 0;
}

nav ul {
    margin: 0;
    padding: 1.15em 0;
    text-align: center;
    background-color: #f53333;
}

nav ul li {
    color: #fff;
    font-weight: 500;
    padding: 1em 3em;
    display: inline;
    transition: border-bottom 0.5s;
    border-bottom: 3px solid #f53333;
}

nav ul li:hover {
    border-bottom: 3px solid #fff;
}

nav a {
    text-decoration: none;
}

/* INICIO DA PRIEIRA SEÇÃO DE CONTEÚDO */

.primeira {
    /* background-image: url(../images/carrosel01-min.jpg); */
    background-image: url(../images/exame-optometria-2.jpeg);
    /* <a href='https://br.freepik.com/fotos/tecnologia'>Tecnologia foto criado por senivpetro - br.freepik.com</a> */
    background-size: cover;
    background-position: center;
}

.carrosel {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    width: 70%;
    margin: auto;
    padding: 8rem 0;
    position: relative;
}

.carrosel h1 {
    text-transform: uppercase;
    font-size: 4rem;
    line-height: 1em;
    color: #f53333;
    /* color: #fff; */
    text-shadow: -2px 2px 0px #fff;
    margin: 0;
}

.carrosel h1 span {
    font-size: 2rem;
    font-weight: 400;
}

.carrosel h2 {
    font-size: 4rem;
    text-transform: uppercase;
    font-weight: 400;
    color: #f53333;
    /* color: #fff; */
    text-shadow: -2px 2px 0px #fff;
    line-height: 1em;
}

.carrosel h2 span {
    font-weight: 700;
}

.between .agende-btn0 {
    font-size: 1.25em;
    position: absolute;
    display: flex;
    margin: 0 auto;
    left: 0;
    right: 0;
    transform: translateY(-2em);
}

/* INICIO DA SEGUNDA SEÇÃO DE CONTEÚDO */

.gif-whats-2-container {
    display: inline-block;
    margin: 3rem;
    text-align: center;
}

.gif-whats-2-container .blu-timbo-h3 {
    margin-top: 0;
    font-weight: 700;
}

.sintomas-bak {
    background-color: #F5F0F6;
    padding: 3rem;
}

.sintomas {
    width: 80%;
    margin: 3rem auto 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.sintomas h2 {
    text-transform: uppercase;
    text-align: center;
    font-size: 2.5rem;
}

.sintomas ul {
    display: inline-block;
    padding: 0;
    flex-basis: 25%;
}

.sintomas ul li {
    display: block;
    list-style: none;
    text-align: center;
    font-weight: 500;
    font-size: 1.2em;
    padding: 0.5em;
}

/* .sintomas ul li:nth-of-type(1), .sintomas ul li:nth-of-type(3) {
    color: #D63230;
} */

/* INÍCIO DA TERCEIRA SEÇÃO DE CONTEÚDO */

.optometrista {
    width: 70%;
    margin: 3rem auto;
}

.optometrista h2 {
    /* color: #D63230; */
    text-align: center;
    text-transform: uppercase;
    font-size: 2.5rem;
}

.optometrista main {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
}

.opt1, .opt2, .opt3, .opt4{
    flex-basis: 45%;
    padding: 1em;
    font-size: 1.2em;
    line-height: 2em;
    align-content: center;
}

.opt1 {
    text-align: right;
}

main img {
    border-radius: 3em;
    width: 1%;
}

/* INICIO DA QUARTA SEÇÃO DE CONTEÚDO */

.consulta-bak {
    background-color: #F5F0F6;
    margin: 2rem auto;
    padding: 4rem 0;
}

.consulta {
    width: 60%;
    margin: auto;
    text-align: center;
}

.consulta h2 {
    text-transform: uppercase;
    font-weight: 500;
    font-size: 3em;
    margin: 0;
}

.consulta h2 span {
    text-decoration: underline;
}

.consulta h3 {
    margin-top: 0;
    font-size: 1.5em;
    font-weight: 300;
}

.consulta p {
    font-weight: 700;
    font-size: 3.5em;
    margin: 0.5em;
}

/* INÍCIO DO FOOTER COM LOCALIZAÇÃO */

.loc-bak {
    border-bottom: 5px solid #f53333;
    padding-bottom: 3em;
}

.localização h2 {
    text-align: center;
    font-size: 2.5em;
}

.loc-maps {
    width: 70%;
    margin: auto;
    display: flex;
    justify-content: space-evenly;
}

.blumenau, .timbó {
    text-align: center;
}

.blumenau > h3, .timbó > h3 {
    margin: 0;
    font-size: 1.8em;
}

.blumenau > p, .timbó > p {
    margin: 0;
    margin-bottom: 2em;
    font-weight: 500;
}

footer p {
    margin: 0;
    text-align: center;
}

/* OUTROS ELEMENTOS */

.consulta .agende-btn {
    margin: auto;
    font-size: 1em;
    padding: 1em;
}

.agende > img {
    width: 1.2em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.gif-whats {
    position: absolute;
    display: flex;
    justify-content: center;
    margin: 0 auto;
    left: 0;
    right: 0;
    transform: translateY(-6em);
}

.gif-whats-2 img {
    height: 6rem;
}

.gif-whats img {
    height: 6rem;
}

.agende-btn {
    background-color: #f53333;
    color: white;
    font-weight: 500;
    font-size: 1em;
    text-align: center;
    width: 14em;
    padding: 1em;
    display: flex;
    align-items: center;
    border-radius: 2em;
    transition: transform 1s;
}

.agende-btn0 {
    background-color: #f53333;
    color: white;
    font-weight: 500;
    font-size: 1em;
    text-align: center;
    width: 14em;
    padding: 1em;
    display: flex;
    align-items: center;
    border-radius: 2em;
    margin: auto;
    font-size: 1em;
    padding: 1em;
    transition: transform 1s;
}

.agende-btn img, .agende-btn0 img {
    width: 2em;
}

.agende-btn0:hover {
    transform: scale(1.1)  translateY(-2em);
}

.agende-btn:hover {
    transform: scale(1.1);
}

.break {
    flex-basis: 100%;
    height: 0;
}

/* INICIO MEDIA QUERIES */

@media (min-width: 2500px) {
    .opt1, .opt4 {
        font-size: 2em;
    }

    .carrosel {
        width: 60%;
    }
}

@media (max-width: 1536px) {
    nav img, #nav-placeholder {
        width: 12em;
        margin: 1.1em 0;
    } 

    .carrosel {
        width: 90%;
    }
    
    .sintomas {
        width: 95%;
    }

    .sintomas ul {
        flex-basis: 45%;
    }

    .optometrista {
        width: 90%;
    }

    .opt1, .opt2, .opt3, .opt4 {
        flex-basis: 80%;
        text-align: center;
    }

    .opt2, .opt3 {
        flex-basis: 60%;
    }

    .opt1 {order: 1;}
    .opt2 {order: 2;}
    .opt3 {order: 4;}
    .opt4 {order: 3;}
}

@media (max-width: 1281px) {
    .loc-maps {
        width: 80%;
        flex-direction: column;
    }

    .img-blumenau {
        margin-bottom: 2em;
        padding-bottom: 2em;
        border-bottom: 3px solid #f53333;
    }

    .gif-whats-2 {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .gif-whats-2-container {
        margin-bottom: 0;
    }
}

@media (min-width: 801px) {
    #sintomas3 {
        display: block;
        font-size: 1.5em;
        text-align: center;
        /* color: #f53333; */
        font-weight: 500;
        margin-bottom: 2.1em;
    }

    #sintomas1, #sintomas2 {
        display: none;
    }
}

@media (max-width: 801px) {
    header {
        font-size: 0.75em;
    }
    
    nav ul li {
        padding: 1em 2em;
    }

    .nav-ul {
        flex-basis: 100%;
        margin: auto;
        justify-content: space-between;
        text-align: center;
    }

    nav img {
        width: 13em;
    }

    /* .primeira {
        background-image: url(../images/carrosel01-min.jpg);
        background-position: 25%;
    } */

    .carrosel {
        padding: 4rem 0;
    }

    .carrosel h1, .carrosel h2 {
        font-size: 3em;
        text-align: center;
    }
    
    .carrosel .agende-btn {
        align-self: center;
    }
    
    .carrosel h1, .carrosel h2 {
        text-shadow: -1px 1px 0px white;
    }

    .gif-whats {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .sintomas {
        padding-top: 10rem;
    }

    #sintomas3 {
        display: none;
    }

    .opt2, .opt3 {
        flex-basis: 80%;
    }

    .consulta {
        width: 90%;
        text-align: center;
    }

    

    .gif-whats {
        transform: translateY(-6rem);
    }
    
    .gif-whats img {
        height: 5em;
    }
}

@media (max-width: 525px) {
    header {
        font-size: 0.45em;
    }

    .nav-logo img {
        max-width: 80%;
    }

    nav ul li {
        padding: 1em 1em;
    }

    .carrosel h1, .carrosel h2 {
        font-size: 2em;
    }

    #span {
        font-size: 0.75em;
    }

    .sintomas h2 {
        font-size: 1.75em;
    }
    
    .sintomas ul {
        flex-basis: 100%;
    }

    .consulta h2 {
        line-height: 1em;
    }

    .consulta h3 {
        margin: 1em auto;
    }

    .consulta p {
        font-size: 2.5em;
        line-height: 1em;
        margin-bottom: 1em;
    }

    .sintomas h2, .optometrista h2 {
        font-size: 1.75em;
    }

    .sintomas ul li, .optometrista p {
        font-size: 1em;
    }

    #sintomas2 {
        margin-bottom: 3em;
    }

    .loc-maps img { 
        width: 95%;
    }

    .agende-btn {
        font-size: 0.75em;
    }

    .br {
        display: block;
    }
}