/* GERAL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    --cor_red: #c82333;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    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: var(--cor_red);
    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%;
        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;
    }
}

/* MAIN - SECT1 */
.main .sect1, .main .sect2,
.main .sect3, .main .sect4,
.main .sect5 {
    padding-top: 40px;
    padding-bottom: 40px;
}

.main .sect1 .container {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 80%;
    margin: 0 auto;
    border-radius: .25rem;
    overflow: hidden;
}

.main .sect1 .container .image-section {
    border: 1px solid #ccc;
    overflow: hidden;
    height: 100%;
}

.main .sect1 .container .image-section .title {
    padding: 20px;
    text-align: center;
}

.main .sect1 .container .image-section .title h1 {
    font-size: 28px;
    margin-bottom: 15px;
}

.main .sect1 .container .image-section .title p {
    font-size: 16px;
    color: #666;
}

.main .sect1 .container .image-section .image {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.main .sect1 .container .image-section .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

@media screen and (max-width: 768px) {
    .main .sect1 .container .image-section .image {
        height: 300px;
    }
}

/* MAIN / SECT2*/
.main .sect2 .cards-container {
    display: grid;
    width: 80%;
    margin: 0 auto;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.main .sect2 .cards-container .card {
    border: 2px #000 solid;
    border-radius: .25rem;
    background-color: #fff;
    overflow: hidden;
}

.main .sect2 .cards-container .card .card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.main .sect2 .cards-container .card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.main .sect2 .cards-container .card .card-header {
    padding: 15px;
    text-align: center;
}

.main .sect2 .cards-container .card .card-header h2 {
    font-size: 1rem;
}

.main .sect2 .cards-container .card .card-body {
    padding: 15px;
}

.main .sect2 .cards-container .card .card-body p {
    padding: 3px;
}

@media screen and (max-width: 1024px) {
    .main .sect2 .cards-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .main .sect2 .cards-container {
        grid-template-columns: 1fr;
    }
}

/* MAIN / SECT3 */
.main .sect3 .black {
    background-color: #272727;
    width: 80%;
    border-radius: .25rem;
    margin: auto;
    padding-bottom: 30px;
}

.main .sect3 .video-container {
    display: grid;
    grid-template-columns: 1fr;
    width: 80%;
    margin: 0 auto;
}

.main .sect3 .video-container .text-top {
    text-align: center;
    padding: 20px;
    color: white;
}

.main .sect3 .video-container .text-top .bold-red {
    color: #c82333;
    font-weight: bold;
}

.main .sect3 .video-container .video {
    width: 100%;
}

.main .sect3 .video-container .video video {
    width: 100%;
}

/* MAIN / SECT5 */
.main .sect5 .end-container {
    width: 80%;
    display: grid;
    grid-template-columns: 1fr;
    margin: 0 auto;
    overflow: hidden;
}

.main .sect5 .doubts {
    background-color: #272727;
    border-radius: .25rem;
    padding: 10px;
}

.main .sect5 .doubts .text-top3 {
    color: white;
    font-size: 21px;
    text-align: center;
}

.main .sect5 .doubts .text-bottom3 {
    color: #e1e1e1;
    font-size: 14px;
    text-align: center;
}

.main .sect5 .doubts .buttons-sct5 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    text-align: center;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.main .sect5 .doubts .buttons-sct5,
.main .sect5 .doubts .text-top3,
.main .sect5 .doubts .text-bottom3 {
    padding: 10px;
}

.main .sect5 .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 .sect5 .doubts .buttons-sct5 .red-btn:hover {
    transform: scale(1.01);
}

/* IMAGE ZOOM */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.main .sect2 .cards-container .card .thumb {
    cursor: pointer;
    transition: all .3s ease-in-out;
}

.main .sect2 .cards-container .card .thumb:hover {
    transform: scale(1.04);
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.close-button {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity .3s ease-in-out;
}

.close-button:hover {
    opacity: 1;
}