body {
    min-width: 320px;
    background-color: #f2f2f2;
    --main-color: #017cc2;
    --text-color: #212529;
    --page-width: 70em;
    --page-max-width: 1400px;
}

.section-container .btn {
    margin: 1em 0 0 0;
    padding: 1em 2em;
}

.flex {
    display: flex;
}

.button-flex {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.button-flex a {
    transition: all 0.1s ease-in-out;
}

.button-flex a i {
    margin: 0 0.5em 0 0;
}

/* Hero */
#hero {
    height: 20em;
    background: var(--hero-image) center/cover;
}

/* Opening */
#opening {
    background-color: var(--main-color);
    color: white;
}

.page-title {
    font-weight: 600;
    font-size: 2em;
    margin: 0 0 0.5em 0;
    line-height: 1.4em;
}

#opening .section-container {
    flex-direction: column;
    gap: 0;
}

#opening a:not(.btn) {
    color: white !important;
    text-decoration: underline;
}

#opening .button-flex a:link,
#opening .button-flex a:visited,
#opening .button-flex a:active {
    color: var(--main-color) !important;
    background-color: white;
    border: 2px solid white;
}

#opening .button-flex a:hover {
    color: white !important;
    background-color: var(--main-color);
}

/* Content */
.section-container {
    display: flex;
    flex-direction: column;
    padding: 2em 0;
    margin: 0 auto;
    width: 90%;
    max-width: var(--page-width);
    align-items: flex-start;
    justify-content: center;
}

.section-container h2 {
    display: flex;
    flex-direction: row;
    gap: 0.65em;
    font-size: 1.6em;
    align-items: center;
    justify-content: flex-start;
    margin: 0 0 1em 0;
    padding: 0;
    line-height: 1.3em;
}

.section-content p {
    line-height: 1.5em;
    margin: 0;
    padding: 0;
}

.section-content ul {
    margin-top: 1em;
}

.section-container h2 i {
    color: var(--main-color);
    margin: 0;
    font-size: 1.25em;
}

.section-content th,
.section-content td {
    padding: 0.5em;
    border: 1px solid #ccc;
}

.section-gallery {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 24em;
}

.content-section:has(.section-gallery) {
    display: flex;
    flex-direction: column;
}

.content-section:nth-of-type(odd) {
    background-color: #fafafa;
}

#outro {
    text-align: center;
    width: 100%;
    background-color: black;
    color: white;
}

#outro .section-container {
    align-items: center;
}

#outro .section-container p {
    max-width: 54em;
}

#outro a:not(.btn) {
    color: white !important;
    text-decoration: underline;
}

/* Responsive CSS */
@media only screen and (min-width: 512px) {
    .button-flex {
        flex-direction: row;
    }

    .full-width .btn {
        max-width: 25em;
    }
}

@media only screen and (min-width: 800px) {
    .section-container {
        padding: 3em 0;
    }

    .section-gallery {
        max-height: none;
        width: 33%;
    }

    .content-section:has(.section-gallery) {
        flex-direction: row;
    }

    .section-gallery+.section-container {
        padding-left: 2em;
        padding-right: 2em;
        width: 67%;
    }

    #hero {
        height: 30em;
    }

    .right-image {
        flex-direction: row-reverse !important;
    }
}

/* BVadmin */

.main.pt-4 {
    padding: 0 !important;
    max-width: var(--page-max-width);
    margin: 0 auto;
}

.main.pt-4 .container {
    padding: 0 !important;
    max-width: none !important;
}

h1:not(.page-title) {
    display: none;
}

.btn-primary:visited {
    color: white !important;
}