* {
    font-family: 'Verdana', sans-serif;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    max-height: 100vh;
    position: relative;

}

main {
    min-height: 100vh;
    margin-bottom: 100px;
}

a {
    text-decoration: none;
    color: black;
}

a .imovel-bairro{
    padding-top: 5px;
}

#btn-whats {
    margin-top: 20px;
    background-color: green;
}
#btn-whats:hover {
    background-color: rgb(1, 92, 1);
    transition: 0.5s;
}
#btn-whats a{
    color: white;
}

#btn-face:hover {
    background-color: rgb(7, 1, 68);
    transition: 0.5s;
}
#btn-face a{
    color: white;
}
#btn-local {
    background-color:#c92c2c;
}
#btn-local:hover {
    background-color: rgb(136, 1, 1);
    transition: 0.5s;
}
#btn-local a{
    color: white;
}

/* NAVBAR */
#primeiraNavbar {
    /* height: 35px; */
    display: flex;
    justify-content: flex-end;
    align-items: center;
    border-bottom: 3px solid #c92c2c;
    padding-top: 5px;
    padding-bottom: 3px;
    margin-right: -50px;
}

#navbarMain {
    display: flex !important;
    justify-content: center !important;
    padding-bottom: 5px;
}

#creci #cel{
    font-size: 10px;
}

#primeiraNavbar .navbar-nav {
    display: flex;
    list-style-type: none;
}

#primeiraNavbar .navbar-nav .nav-link {
    color: rgb(0, 0, 43);
    font-size: 18px;
    margin-left: auto;
}
#primeiraNavbar .navbar-nav .nav-link:hover {
    color:#c92c2c;
    transition: 0.5s;
}

#logo {
    width: 120px;
    position: absolute;
    margin-left: 20px;
    margin-right: 0px;
    margin-top: -72px;
    margin-left: -30px;
}

.navbar-dark .navbar-brand {
    color: #c92c2c;
    font-size: 20px;
    margin-right: -150px;
}

.navbar-nav {
    display: flex;
    padding-left: 15px;
}

#segundaNavbar {
    border-bottom: 2px solid #c92c2c;
}

#segundaNavbar .nav-link {
    font-size: 26px;
    color: white;
    padding-left: 30px;
    
}

#segundaNavbar .navbar-dark .navbar-nav .nav-link {
    color: rgba(255,255,255);
}

#segundaNavbar .navbar-dark .navbar-nav .nav-link:hover {
    color:#c92c2c;
    transition: 0.5s;
}

#segundaNavbar .nav-link:hover {
    color:#c92c2c;
    transition: 0.5s;
}

.bg-blue {
    background-color: rgb(0, 0, 43);
}

.bg-white {
    background-color: white;
}

.btn-red {
    background-color:#c92c2c;
    color:white;
}

/* HOME */
#title-container {
    min-width: 300px;
    text-align: center;
    margin-top: 10px;
}
#title-container h1 {
    font-size: 26px;
    background-color: rgb(0, 0, 43);
    color: white;
    border-top: 2px solid #c92c2c;
    border-bottom: 2px solid #c92c2c;
}
#title-container p {
    margin-top: 10px;
    text-transform: uppercase;
    color:rgb(212, 20, 20);
    font-size: 25px;
}

#imoveis-container {
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;

}

.imovel-box {
    flex: 1 1 0;
    margin: 0 1%;
    min-width: 250px;
    max-width: 276px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    border: rgb(0, 0, 43) 2px solid;
    border-radius: 7px;
}

.imovel-box .imovel-bairro {
    text-align: center;
    font-weight: 600;
    color: rgb(0, 0, 43);
}

.imovel-box .imovel-info {
    text-align: center;
    line-height: 1.8;
    font-size: 20px;
    font-weight: 600;
    color: rgb(0, 0, 43);
}

.imovel-box #imovel-valor {
    margin-top: 0px;
    text-align: center;
    line-height: 1.8;
    font-size: 20px;
    font-weight: 600;
    background-color: rgb(0, 0, 43);
    color: white;
}

.imovel-box img {
    width: 100%;
    height: 250px;

    border-radius: 0.35rem;
}

/* IMOVEL */

#imovel-container {
    display: grid;
    grid-template-columns: 60% 40%;
    grid-template-rows: auto;
    grid-template-areas: "main sidebar";
    grid-gap: 10px;
    padding-top: 30px;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 250px;
}

.carousel {
    max-width: 650px;
    max-height: 600px;
    margin: auto;
}

.carousel-item {
    max-height: 600px;
}

.img-container {
    width: 50%;
    height: 100%;   
}
.img-container img{
    margin-bottom: 30px;
    margin-right: 20px;
    position: absolute;
    border-radius: 2%;
}

.carousel-indicators {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

#imovel-title {
    font-size: 36px;
    margin-bottom: 20px;
    text-align: center;
}

#imovel-cidade {
    font-size: 30px;
    text-align: center; 
}

#imovel-content {
    line-height: 1.8;
    margin: 10px 0;
    text-align: center;
}

#side-container {
    margin-left: 10px;
    border: 2px solid #1f1b1b;
    border-radius: 5px;
    margin-bottom: 250px;
    margin-top: 60px;
}
#side-container h3{
    padding-top: 10px;
    font-size: 36px;
    margin-bottom: 30px;
    text-align: center;
}
#side-container ul li {
    list-style: none;
    padding-left: 0;
    line-height: 1.8;
    font-size: 26px;
    text-align: center;
}

/* LOCAL */

#info-container{
    margin-top: 20px;
    text-align: center;
}

#info-container p{
    text-align: center;
    line-height: 1.0;
    font-size: 22px;
}

#local-container{
    border-radius: 2%;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* FOOTER */

#footer-links-container{
    border-bottom: 2px solid;
    padding-bottom: 20px;
    
}

.footer-column .footer-center{
    padding: 2em;
}

#footer-links-container h3 {
    margin-bottom: 25px;
    text-transform: uppercase;
    text-align: center; 
    
}

#footer-links-container li {
    font-size: 0.8em;
    text-align: center;
}

#footer-center{
    border-left: 1px solid;
    border-right: 1px solid;
}

#footer-center h3{
    margin-bottom: 25px;
    text-align: center;
}

#footer-center li {
    text-align: center;
}

@media(max-width: 600px) {

    #primeiraNavbar {
        border-bottom: 3px solid #c92c2c;
    }

    .navbar-nav .nav-link {
        padding-right: 0;
        padding-left: 0;
        margin-top: -15px;
        text-align: center;
    }

    /* HOME */
    header {
        width: 100%;
    }

    #logo {
        display: block;
        position: relative;
        margin: 0 auto;   
    }

    .imovel-box {
        flex: 100% 1 0;
        padding: 15px;
        max-width: 600px;
    }

    .imovel-box img {
        width: 100%;
        height: 70%;
    
        border-radius: 0.35rem;
    }

    /* IMOVEL*/ 
    #imovel-container {
        grid-template-columns: 100%;
        padding: 15px;
        grid-template-areas: "main"
        "sidebar";
    }

    #carousel {
        width: 100%;
    }

    /* LOCALIZAÇÃO */

    #local-container iframe{
        width: 100%;
        max-width: 600px;
    }
}