
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@300;500&display=swap');

* {
    font-family: 'Roboto Mono', monospace;
}

a { text-decoration: none !important; color: #1C243E; }

html {
    scroll-behavior: smooth;
  }
  
html, body { margin: 0; padding: 0}
body {
    color: #1C243E;
}

.d-flex {
    display: flex;
    justify-content: center;
}

.flex-wrap {
    flex-wrap: wrap;
}

.full-width-title {
    width: 100%;
    background-color: inherit;
    justify-content: center;
    display: flex;
    align-items: center;
    height: 128px;
    font-size: 2em;
    position: relative;
}

.full-width-title::after {
    position: absolute;
    content: '';
    background-color: white;
    height: 2px;
    width: 100px;
    bottom: 25%;
}

/* btns */
.btn {
    background-color: white;
    border-radius: 0;
    font-size: 16px;
    border: 0;
    padding: 0 16px;
    line-height: 40px;
    color: gray;
}

.btn-white {
    padding: 8px;
}

/* nav */
nav {
    color: white;
    display: flex;
    height: 70px;
    width: 100%;
    position: fixed;
    /* top: -100%; */
    transition: all 600ms ease-in-out;
    z-index: 20;
}

.navbar-gray {
    background-color: #3F3F3F !important;
}

.menu-items {
    margin-left: auto;
    display: inherit;
    align-items: center;
    margin-right: 16px;
}

.menu-item {
    margin: 0 8px;
    color: white;
}
.logo-wrapper { display: inherit; align-items: center;}
.logo-wrapper img {
    
    height: 50px;
    margin: 0 16px;
}



/* fluid */
.splash-screen {
    height: 100vh;
    max-height: 900px;
    background-color: #202020;
    display: flex;
    justify-content: center;
    align-items: center;
}

.splash-logo-wrapper {
    height: 400px;
    position: relative;
    width: 600px;
}

.logo-icon {
    height: 100%;
}

.logo-name {
    height: 125px;
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translate(0,-50%);
}

/* about-fluid */
.about-fluid {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #d13b23;
    height: auto;
    text-align: center;
    color: white;
    font-size: 1.2em;
}

.about {
    width: 100%;
    color: white;
}

.about-wrapper-top { max-width: 80ch; margin: 0 auto;}

.about-wrapper-top * {
    line-height: 32px;
}

.about-wrapper-bottom {
    width: 100%;
    justify-content: space-evenly;
    flex-wrap: wrap;
}
.what-we-do {
    display: flex;
    width: 100%;
    height: 400px;
    position: relative;
    background-color: #191919;
    color: white;
}

.about p {
    margin: 0px 8px;
}

.thumbnail-what-we-do {
    width: calc(100% / 3);
    display: flex;
    position: relative;
    overflow: hidden;
}

.thumbnail-what-we-do img {
    transition: 600ms ease-in-out;
    left: -100%;
}

.thumbnail-active img {
    transition: 1000ms ease-in-out;
    left: 0;
}

.thumbnail-what-we-do:hover img {
    filter: brightness(0.8);
}

.thumbnail-what-we-do:hover h3 {
    bottom: 0;
}
.thumbnail-what-we-do h3 {
    margin-top: auto;
    position: absolute;
    /* bottom: -90px; */
    bottom: 0;
    z-index: 10;
    color: white;
    width: 100%;
    padding: 32px;
    margin-bottom: 0;

}

.thumbnail-what-we-do:hover .title::before {
    width: 100%;
}

.title::before {
    content: '';
    width: 0px;
    height: 10px;
    background-color: red;
    position: absolute;
    left: 0;
    z-index: 0;
    bottom: 0px;
    transition: 600ms ease-in-out;
}


.topografia img {
    object-fit: cover;
  width: 100%; 
    position: relative;
    object-position: top;
    filter: brightness(0.3);
}

.construction img, .imobiliario img {
    object-fit: cover;
     width: 100%; 
    position: relative;
    object-position: top;
    filter: brightness(0.3);
}


/* sliders ------------------------------------------------------ */
.container-sliders {
    background-color: #202020;
    color: white;
    padding-bottom: 32px;
}
/* contact */
.contact {
    height: 300px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-size: 1em;
    position: relative;
    overflow: hidden;
}

.contact-background {
    width: 100%;
    z-index: 0;
    object-fit: contain;
    filter: brightness(0.5);
}

.inner-text {
    position: absolute;
    z-index: 1;
    color: white;
    text-align: center;
}


/* footer ------------------------------------------------------ */
footer {
    background-color: #3F3F3F !important;
    height: 250px;
    color: white;
    display: flex;
    flex-direction: column;
    padding-bottom: 32px;
}

footer .logo-wrapper {
    padding: 32px 0px 0px 0px;
}

.footer-items {
    padding: 32px 0px 16px 8px;
    font-size: 0.8em;
    color: white;
    margin-top: auto;
}

.caption {
    font-size: 12px;
    padding: 0 0 0 16px;
    color: white;
    opacity: .7;
}

.caption a {
    color: white;
}

/* most-recent */
.container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}

.thumbnails-section {
    margin: 32px auto;
}

.most-recent {
    display: flex;
    flex-wrap: wrap;
}

.thumbnail-recent {
    margin: 8px;
    width: calc(100% / 4 - 12px)
}

.thumbnail-recent:first-child {
    margin: 8px 8px 8px 0;
}

.thumbnail-recent:last-child {
    margin: 8px 0 8px 8px;
}

.thumbnail-recent .bottom {
    justify-content: flex-start;
}

.spec-icon {
    margin-right: 16px;
}

.spec-value {
    font-size: 0.9em;
}


.thumbnails-section .header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.most-recent col {
    background-color: red;
}



.thumbnail-recent .top img {
    width: 100%;
}

.thumbnail-recent .bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.thumbnail-recent .bottom .thumbnail-title {
    width: 100%;
    margin: 16px 0px;
    line-height: 0px;
}

.specs {
    display: inherit;
    justify-content: start;
    width: 100%;
}

.spec-icon {
    display: inherit;
    align-items: center;
    margin-right: 16px;
}

.spec-value {
    font-size: 0.9em;
}

.supscript {
    vertical-align: super;
    margin: 0 0 0 -5px;
    font-size: 10px;
}

.spec-icon img {
    height: 14px;
    margin-right: 6px;
}
/* end most-recent */




/* GRID */
.grid-single {
    display: flex;
    height: 600px;
    width: 100%;
}

.grid-single .left, .grid-single .right {
    background-color: #3F3F3F;
    height: 600px;
    width: 50%;
}

.grid-single .left video {
    object-fit: cover;
    width: 100%;
    height: 100%;
    filter: brightness(0.5);
}

.grid-single .right {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 32px;
    box-sizing: border-box;
    padding-left: 32px;
    color: white;
}



/* contacts ----------------------------------------v */
.contact-wrapper a { color: white; }
.contact-wrapper { margin-bottom: 32px;}

@media all and (max-width: 768px) { 
    .slider {
        width: 100% !important;
    }

    .splash-logo-wrapper {
        width: auto;
    }

    .logo-name {
        display: none;
    }

    .about {
        width: 90%;
    }

    .about-wrapper-bottom h5 {
        width: 50%;
        margin: 0 0 8px 0;
    }

    .subtitle {
        color: white;
        flex-direction: column;
    }
    .about p {
        margin: 0 0 16px 0;
    }


    .what-we-do {
        flex-direction: column;
        height: auto;
    }

    .thumbnail-what-we-do {
        width: 100%;
        height: 300px;
    }

    .thumbnail-what-we-do img {
        left: 0;
    }
    
    .footer-items {
        display: flex;
        flex-direction: column;
        padding: 0 0 0 8px;
    }
    
    .menu-item {
        margin: 0 0 16px 16px;
        color: white;
    }


    /* topografia */
    .grid-single {
        display: flex;
        height: auto;
        width: 100%;
        flex-direction: column;
    }

    .grid-single .right {
        background-color: #3F3F3F;
        height: auto;
        width: 100%;
    }

    .grid-single .left {
        background-color: #3F3F3F;
        height: 60vh;
        width: 100%;
    }

    .grid-single .right {
        padding: 32px 0 32px 32px;
    }

    /* most recent */
    .thumbnail-recent {
        width: 100%;
        margin: 8px !important;
    }

    .thumbnails-section .header {
        margin: 8px;
    }
}