/* Configurações gerais
-------------------------------------------------------------------*/
html, body {
    height: 100%;
}

#section1, #section2, #section3, #section4, #section5 {
    position: relative;
}

/* Imagens */
.image-container {
    overflow: hidden;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-left: 3px solid #2f63cc;
    border-bottom: 3px solid #2f63cc;
}

/* Botões */
.btn-custom {
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 10px;
    font-weight: 600;
    border-radius: 0;
}

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #2f63cc;
    --bs-btn-border-color: #2f63cc;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #0645a2;
    --bs-btn-hover-border-color: #0645a2;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #0a58ca;
    --bs-btn-active-border-color: #0a53be;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #0d6efd;
    --bs-btn-disabled-border-color: #0d6efd;
}

.btn-light {
    --bs-btn-color: #2f63cc;
    --bs-btn-bg: #f8f9fa;
    --bs-btn-border-color: #f8f9fa;
    --bs-btn-hover-color: #2f63cc;
    --bs-btn-hover-bg: #d3d4d5;
    --bs-btn-hover-border-color: #c6c7c8;
    --bs-btn-focus-shadow-rgb: 211, 212, 213;
    --bs-btn-active-color: #2f63cc;
    --bs-btn-active-bg: #c6c7c8;
    --bs-btn-active-border-color: #babbbc;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #2f63cc;
    --bs-btn-disabled-bg: #f8f9fa;
    --bs-btn-disabled-border-color: #f8f9fa;
}

/* Formulário */
.form {
    border: 1px solid #2f63cc;
    border-radius: 20px;
    max-width: 460px;
    margin: auto;
}

textarea {
    resize: none;
}

/* Links */
.linkCustom {
    text-align: left;
    color: white;
    font-size: 0.8em;
}

.linkCustom:hover {
    color: #919496;
    text-decoration: underline;
}

/* Configurações cabeçalho
-------------------------------------------------------------------*/

/* Barra de Navegação */
nav {
    background: #2f63cc;
}

.navbar-expand-md .navbar-nav a {
    color: white;
}

.navbar .navbar-brand {
    color: white;
}

.navbar-expand-md .navbar-nav a:hover {
    text-decoration: underline;
}

.navbar-expand-md .navbar-nav .btn-custom-nav {
    background: #02f70b;
    padding: 8px 8px;
    color: white;
    border-radius: 0;
    text-decoration: none;
    display: inline-block;
    vertical-align: middle;
    text-align: center;
}

.navbar-expand-md .navbar-nav .btn-custom-nav:hover {
    background: #25d366;
    border-radius: 0;
    text-decoration: none;
}

/* Configurações primeira seção
-------------------------------------------------------------------*/
#section1 {
    background: linear-gradient(rgba(0, 15, 28, 0.92), rgba(0, 15, 28, 0.92)), url(../img/manutencao.png);
    background-attachment: fixed;
    height: 80%;
}

/* Conteudo primeira seção */
.central {
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.content-border {
    padding-left: 6px;
    border-left: 6px solid #2f63cc;
}

/* Textos primeira seção */
#section1 h4 {
    text-transform: uppercase;
    color: #2f63cc;
    font-size: 1.5em;
    padding-bottom: 20px;
}

#section1 h1 {
    font-size: 3em;
}

#section1 p {
    padding: 20px 0;
    font-size: 1em;
}

/* Configurações seção sobreposta
-------------------------------------------------------------------*/
#overlay {
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    background: #2f63cc;
    padding: 20px; 
    z-index: 1;
}

.overlay-container {
    color: white;
    padding: 0 35px;
    border-left: 1px solid #2f63cc;
}

.overlay-container-border {
    border-left: 1px solid white;
}

/* Textos seção sobreposta */
.overlay-container h4 {
    font-size: 1em;
    font-weight: 700;
}

.overlay-container p {
    font-size: 0.7em;
}

/* Configurações segunda seção
-------------------------------------------------------------------*/
#section2 {
    height: 100%;
    background: white;
    margin: 0;
    padding: 0;
    text-align: justify;
}

/* Textos segunda e quarta seção */
#section2 h4, #section4 h4 {
    color: #2f63cc;
    font-size: 1em;
    text-transform: uppercase;
}

#section2 h1, #section4 h1 {
    font-size: 2em;
    border-bottom: 3px solid #2f63cc;
    padding: 0 80px 5px 0;
    display: inline-block;
    text-align: left;

}

#section2 p, #section4 p {
    font-size: 0.8em;
}

/* Configurações terceira seção
-------------------------------------------------------------------*/
#section3 {
    height: 120%;
    background: linear-gradient(rgba(0, 15, 28, 0.92), rgba(0, 15, 28, 0.92)), url(../img/manutencao.png) no-repeat;
    background-size: cover;
    background-attachment: fixed;
    color: white;
    padding: 20px 0 20px 0;
}

.section3-box {
    width: 300px;
    height: 300px;
    border-radius: 8px;
    background: white;
    margin: 15px;
    overflow: hidden;
    padding: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.section3-box-top-half {
    height: 45%;
    width: 100%;
    background-size: cover;
    background-position: center;
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
}

#section3 .section3-box-bottom-half {
    height: 55%;
    color: black;
    padding: 10px;
}

/* Textos terceira seção */
#section3 .section3-box-bottom-half h1 {
    font-size: 1.2em;
    font-weight: 700;
}

#section3 .section3-box-bottom-half p {
    font-size: 0.6em;
    flex-grow: 1;
    padding-bottom: 0;
}

#section3 #section3-text h1 {
    font-size: 2.4em;
    font-weight: 700;
    border-bottom: 3px solid #2f63cc;
    padding: 0 40px 20px 40px;
    display: inline-block;
}

#section3 #section3-text p {
    padding-top: 10px;
    font-size: 0.9em;
}

/* Configurações quarta seção
-------------------------------------------------------------------*/
#section4 {
    height: 140%;
    background: white;
}

/* Configurações mapa sobreposto
-------------------------------------------------------------------*/
#map-overlay {
    position: absolute;
    top: 458%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 45%;
    padding: 20px; 
    z-index: 1;
    border: 3px solid #2f63cc;
    border-radius: 20px;
    overflow: hidden;
    padding: 0;
    margin: 0;
}

/* Configurações quinta seção
-------------------------------------------------------------------*/
#section5 {
    height: 120%;
    background: linear-gradient(rgba(0, 15, 28, 0.92), rgba(0, 15, 28, 0.92)), url(../img/manutencao.png);
    background-size: cover;
    color: white;
}

/* Textos quinta seção */
#section5 h1 {
    font-size: 1.6em;
    display: inline-block;
    border-left: 4px solid #2f63cc;
    padding-left: 4px;
}

#section5 p {
    margin: 0;
    padding: 15px 0 15px 0;
}

/* Links quinta seção */
#section5 .linkCustom {
    font-size: 1em;
}

#section5 .linkCustom:hover {
    text-decoration: none;
    color: #2f63cc;
}

/* Icones quinta seção */
#section5 i {
    color: #2f63cc;
    padding-right: 5px;
}

/* Botão quinta seção */
#section5 .btn-primary {
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.9em;
}

/* Formulário quinta seção */
#section5 .label-radius {
    border: 2px solid #2f63cc;
    border-radius: 20px;
    height: 40%;
}

/* Configurações rodapé
-------------------------------------------------------------------*/
footer {
    background: black;
    padding: 50px 0px 20px 0px;
    position: relative;
}

footer h4 {
    color: #919496;
    font-size: 0.8em;
    text-transform: uppercase;
}

footer h3 {
    font-size: 1.4em;
    text-transform: uppercase;
}

/* Media Queries
-------------------------------------------------------------------*/

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    /* Configurações gerias */
    #section1, #section2, #section3, #section4, #section5 {
        height: auto;
    }

    .content {
        padding: 20px;
    }

    .central {
        flex-direction: column;
    }

    .image-container {
        margin-bottom: 20px;
    }

    /* Configurações primeira seção */
    #section1 {
        padding-top: 58px;
    }

    /* Configurações seção sobreposta */
    #overlay {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        width: 100%;
    }

    .overlay-container-border {
        padding-top: 20px;
        border-left: none;
        border-top: 1px solid white;
    }

    /* Configurações mapa sobreposto */
    #map-overlay {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        width: 100%;
        border: 3px solid #2f63cc;
        border-radius: 0;
    }

    /* Configurações quarta seção */
    #section4 .image-container {
        margin-top: 20px;
    }

    /* Configurações quinta seção */
    #section5 .container {
        padding: 40px 40px 0 40px;
    }

    #section5 .container .d-flex {
        padding-bottom: 20px;
    }

    /* Configurações rodapé */
    footer {
        padding: 20px;
    }

    .footer-container {
        padding-bottom: 20px;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    /* Configurações gerais */
    #section1, #section2, #section3, #section4, #section5 {
        height: auto;
    }

    .content {
        padding: 20px;
    }

    .central {
        flex-direction: column;
    }

    .form {
        padding: 20px;
    }

    .image-container {
        margin-bottom: 20px;
    }

    /* Configurações primeira seção */
    #section1 {
        padding-top: 58px;
    }

    /* Configurações seção sobreposta */
    #overlay {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        width: 100%;
    }

    .overlay-container-border {
        padding-top: 20px;
        border-left: none;
        border-top: 1px solid white;
    }

    /* Configurações quarta seção */
    #section4 .image-container {
        margin-top: 20px;
    }

    /* Configurações mapa sobreposto */
    #map-overlay {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        width: 100%;
        border: 3px solid #2f63cc;
        border-radius: 0;
    }

    /* Configurações quinta seção */
    #section5 .container {
        padding: 40px 40px 0 40px;
    }

    #section5 .container .d-flex {
        padding-bottom: 20px;
    }

    /* Configurações rodapé */
    footer {
        padding: 20px 0px 20px 0px;
    }

    .footer-container {
        padding-bottom: 20px;
    }
}

/* Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) and (max-width: 991.98px) {
    /* Configurações gerais */
    #section1, #section2, #section3, #section4, #section5 {
        height: auto;
    }

    .content {
        padding: 20px;
    }

    .central {
        flex-direction: column;
    }

    /* Configurações primeira seção */
    #section1 {
        padding-top: 70px;
    }

    /* Configurações seção sobreposta */
    #overlay {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        width: 100%;
    }

    /* Configurações mapa sobreposto */
    #map-overlay {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        width: 100%;
        border: 3px solid #2f63cc;
        border-radius: 0;
    }

    /* Configurações quinta seção */
    #section5 {
        padding-top: 40px;
    }

    /* Configurações rodapé */
    footer .col-md-3 img {
        width: 160px;
    }
}

/* Large devices (desktops, 992px and up)*/
@media (min-width: 992px) and (max-width: 1199.98px) {
    /* Configurações gerais */
    #section1, #section2, #section3, #section4, #section5 {
        height: auto;
    }

    .content {
        padding: 20px;
    }

    .central {
        flex-direction: column;
    }

    /* Configurações primeira seção */
    #section1 {
        padding-top: 58px;
    }

    /* Configurações seção sobreposta */
    #overlay {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        width: 100%;
    }

    /* Configurações mapa sobreposto */
    #map-overlay {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        width: 100%;
        border: 3px solid #2f63cc;
        border-radius: 0;
    }

    /* Configurações quinta seção */
    #section5 {
        padding-top: 40px;
    }

    /* Configurações rodapé */
    footer .col-md-3 img {
        width: 220px;
    }
}

/* Extra large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) { 

}