/* GERAL */
* {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-sizing: border-box;
    --cor_red: #c82333;
}

body {
    background-color: #fff;
    scroll-behavior: smooth;
}

/* HEADER / NAVBAR */
#header {
    display: flex;
    height: auto;
    padding: 1.5rem;
    box-sizing: border-box;
    align-items: center;
    justify-content: space-between;
    background-color: #183869;
}

#header img {
    width: 200px;
    transition: all .3s ease-in-out;
}

#header img:hover {
    transform: scale(1.04);
}

#menu {
    display: flex;
    list-style: none;
    gap: 1rem;
    margin: 0;
    padding: 0;
}

#menu li .link {
    color: white;
    display: block;
    text-decoration: none;
    border-radius: .25rem;
    padding: 9px;
    transition: all .3s ease-in-out;
}

#menu li .link:hover {
    color: black;
    background: white;
    transform: scale(1.04);
}

#menu li .button {
    color: white;
    display: block;
    background-color: #c82333;
    text-decoration: none;
    border-radius: .25rem;
    padding: 9px;
    transition: all .3s ease-in-out;
}

#menu li .button:hover {
    transform: scale(1.04);
}

#btn-mobile {
    display: none;
}

@media (max-width: 768px) {
    #menu {
        display: block;
        position: absolute;
        width: 100%;
        height: 0;
        top: 140px;
        right: 0;
        transition: .5s;
        background-color: #183869;
        z-index: 1000;
        visibility: hidden;
        overflow-y: hidden;
    }

    #nav.active #menu {
        height: 100%; /*calc(100vh - 110px)*/
        visibility: visible;
        overflow-y: auto;
    }

    #menu a {
        padding: 1rem 0;
        margin: 0 1rem;
        border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    }

    #btn-mobile {
        display: flex;
        color: white;
        padding: 0.5rem;
        font-size: 1rem;
        border: none;
        background: none;
        cursor: pointer;
        gap: .5rem;
    }

    #hamburger {
        color: white;
        width: 20px;
        border-top: 2px solid;
    }

    #hamburger::before, #hamburger::after {
        content: '';
        display: block;
        position: relative;
        width: 20px;
        height: 2px;
        background: currentColor;
        margin-top: 5px;
        transition: .3s;
    }

    #nav.active #hamburger {
        border-top-color: transparent;
    }

    #nav.active #hamburger::before {
        transform: rotate(135deg);
    }
    #nav.active #hamburger::after {
        transform: rotate(-135deg);
        top: -7px;
    }
}

/* ALL SECTIONS CONTAINER */
.main .sect1 .sct1-container,
.main .sect2 .sct2-container,
.main .sect3 .sct3-container,
.main .sect4 .sct4-container,
.main .sect5 .sct5-container {
    max-width: 80%;
    display: grid;
    margin: 0 auto;
}

.main .sect1,
.main .sect2,
.main .sect3,
.main .sect4,
.main .sect5 {
    align-items: center;
    text-align: center;
    justify-content: center;
    padding-top: 40px;
    padding-bottom: 40px;
}

/* MAIN / SECTION1 */
.main .sect1 .img-top,
.main .sect1 .text-bottom {
    margin: 0 auto;
    max-width: 800px;
}

.main .sect1 .text-bottom {
    width: 100%;
    text-align: justify;
}

.text-bottom p {
    color: black;
    font-size: 20px;
    line-height: 1.2;
    width: 100%;
}

.main .sect1 .img-top {
    width: 100%;
    height: 100%;
    margin-bottom: 30px;
}

.main .sect1 .img-top img {
    max-height: 400px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    object-position: center;
    object-fit: cover;
}

/* MAIN / SECT2 */
.main .sect2 .doubts {
    background-color: #272727;
    border-radius: .25rem;
    padding: 10px;
}

.main .sect2 .doubts .text-top3 {
    color: white;
    font-size: 21px;
    text-align: center;
}

.main .sect2 .doubts .text-bottom3 {
    color: #e1e1e1;
    font-size: 14px;
    text-align: center;
}

.main .sect2 .doubts .buttons-sct5 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    text-align: center;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.main .sect2 .doubts .buttons-sct5,
.main .sect2 .doubts .text-top3,
.main .sect2 .doubts .text-bottom3 {
    padding: 10px;
}

.main .sect2 .doubts .buttons-sct5 .red-btn {
    color: white;
    background-color: var(--cor_red);
    border-radius: 2rem;
    transition: all .3s ease-in-out;
    padding: 16px;
    text-decoration: none;
}

.main .sect2 .doubts .buttons-sct5 .red-btn:hover {
    transform: scale(1.01);
}

/* MAIN / SECT3 */
.main .sect3 .cards {
    display: grid;
    margin: 0 auto;
    grid-template-columns: repeat(3, 1fr);
    justify-content: space-between;
    gap: 20px;
}

.main .sect3 .cards .card {
    border: 2px #000 solid;
    border-radius: .25rem;
    background-color: #fff;
    overflow: hidden;
    max-width: 320px;
}

.main .sect3 .cards .card .text-sect {
    padding: 10px;
}

.main .sect3 .cards .card .img-sect,
.main .sect3 .cards .card .text-sect {
    width: 100%;
    height: auto;
    overflow: hidden;
}

.main .sect3 .cards .card .img-sect img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    display: block;
}

.main .sect3 .cards .card .card-header {
    padding: 15px;
    text-align: center;
}

.main .sect3 .cards .card .card-header h2 {
    font-size: 1.5rem;
}

.main .sect3 .cards .card .card-body {
    padding: 15px;
}

.main .sect3 .cards .card .card-body p {
    padding: 3px;
    text-align: left;
}

@media screen and (max-width: 1024px) {
    .main .sect3 .cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .main .sect3 .cards {
        grid-template-columns: 1fr;
    }
}