html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings:
        "wdth" 100;
    padding-top: 70px;
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #121212 #e6e6e6;
}

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #e6e6e6;
}

::-webkit-scrollbar-thumb {
    background: #121212;
    border-radius: 10px;
}

header > nav {
    padding: 1em 0 !important;
    background-color: black;
}

header > nav .navbar-brand {
    height: 110px;
    margin-left: 5%;
}

header > nav .navbar-brand img {
    height: 100%;
    filter: invert(100%) brightness(100%);
}

header .navbar-nav {
    margin: 0 1em 0 auto;
}

header .navbar-nav .nav-link, header .navbar-nav .nav-link.active {
    text-transform: uppercase;
    color: white;
    margin: 0 1em;
    font-weight: 500;
    letter-spacing: 2px;
}

a.nav-link {
    position: relative;
    color: #d3d3d3;
}

a.nav-link:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background-color: #d3d3d3;

    transform: scaleX(0);
    transform-origin: left;
    transition: transform .5s ease;
}

a.nav-link:hover, a.nav-link.active:hover {
    color: #d3d3d3;
}

a.nav-link:hover:hover::after {
  transform: scaleX(1);
}

header .language {
    position: absolute;
    right: 4em;
    top: 2em;
    color: #f5ece2;
    font-size: 0.8em;
    font-weight: bold;
}

header button.navbar-toggler, header button.navbar-toggler:focus {
    box-shadow: none;
}

a.hyperlink {
    text-decoration: none;
    color: #f5ece2;
}

h2.title {
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 4px;
}

.vertical-separator {
    background: black;
    width: 3px;
    height: 100%;
    margin: 2em;
    border-radius: 10px;
}

.sn-icon {
    width: 2em;
}

.icon-text-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-text-container .icon {
    padding-right: 0.6em;
}

.align-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.section-title {
    text-align: center;
    padding: 4em 1em;
    color: white;
    background:url("/images/about_head.jpg") center/cover no-repeat;
}

.section-badges {
    margin-bottom: 4em;
}

.section-badges .row {
    margin: 0;
}

.section-badges .col {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25%;
}

.section-badges img.cert1, .section-badges img.cert2 {
    width: 50%;
    max-width: 150px;
}

.section-badges img.badge1 {
    width: 50%;
    max-width: 150px;
}

.section-badges img.badge2 {
    width: 63%;
    max-width: 195px;
}

.section-container {
    width: 100%;
    max-width: 1200px;
}

.height-100 {
    height: 100%;
}

.about {
    gap: 60px;
}

.about .row {
    --bs-gutter-x: none;
}

.about img {
    width: 100%;
}

.about .vertical-centered {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.about .text-column {
    text-align: justify;
}

.about .quote {
    background-color: #f5ece2;
    padding: 2.5em 0 1.5em 14% !important;
    text-transform: uppercase;
    font-size: 1.7em;
    text-align: left;
    letter-spacing: 3px;
    color: #92766d;
}

.about .quote.sm {
        display: none;
    }

.about .about-me .text-column {
    justify-content: flex-start !important;
    padding: 2em 14%;
}

.about .quote .quote-container {
    position: relative;
    border-bottom: 2px solid #92766d;
    padding-right: 1em;
}

.about .quote .quote-container img {
    width: 35px;
    position: absolute;
    top: -1.2em;
    left: -0.1em;
}

.about .quote .quote-container  p {
    line-height: 1.2em;
    font-size: 1em;
}

.about .text-column {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.about-text {
    padding: 0 2em;
    max-width: 750px;
}

.about .second-row .text-column {
    padding: 3em 1em !important;
}

.button {
    display:inline-block;
    padding:10px 20px;
    background:black;
    color:white;
    text-decoration:none;
    text-transform: uppercase;
    margin-top:20px;
    font-weight: 700;
}

.work {
    background:url("/images/work_bg.jpg") center/cover no-repeat;
    color:white;
    text-align:center;
    padding: 100px 0;
}

.work button {
    margin: 1.5em;
    padding: 12px 25px;
    background: transparent;
    color: #ffffff6b;
    text-transform: uppercase;
    border: 2px solid #ffffff6b;
    font-weight: 700;
}

.work button:hover {
    background-color: color-mix(in srgb, #ffffff6b 80%, rgb(83, 83, 83));
    color: white;
}

.sold {
    text-align:center;
    padding: 25px 0;
    background-color: #f5ece2;
}

.contact {
    text-align:center;
    background:#f4f4f4;
    padding: 2em 1em 1.5em 1em;

    background-image: url(/images/isotipo.svg);
    background-repeat: no-repeat;
    background-position-x: -87px;
    background-position-y: -16px;
    display: flex;
    justify-content: space-around;
}

.contact h2 {
    color:  #92766d;
}

.contact .contact-entries {
    display: flex;
    justify-content: center;
    height: 6em;
    align-items: center;
    align-content: center
}

.contact .contact-entries p {
    margin: 0;
    color: #121212;
    font-weight: 500;
}

.contact .icon .contact-img {
    width: 20px;
    height: 29px;
}

.contact .vertical-separator {
    background: #d1c8be;
    height: 3.5em;
}

.contact .license {
    display: flex;
    align-items: center;
}

.contact .license p {
    margin: 0;
    text-align: left;
    margin-left: 1em;
    font-size: 0.6em;
    font-weight: 600;
}

.contact .social-networks {
    display: flex;
    align-items: center;
    justify-content: space-around;
    align-content: center;
    padding: 1.5em 0 0.5em 0;
}

.contact .social-networks img.realtor {
    width: 80px;
}

.contact .icon .location {
    width: 1.5em;
    height: auto;
}

footer {
    text-align:center;
    background: #121212;
    color: #f5ece2;
    padding:20px;
}

/* =========================
TABLET
========================= */

@media (max-width: 1205px) {
    html, body {
        padding-top: 58px;
    }

    header .navbar-nav {
        font-size: 0.9em;
    }

    header > nav .navbar-brand {
        height: 85px;
        margin-left: 5%;
    }

    .about .quote .quote-container p {
        font-size: 0.8em;
    }
}

@media (max-width: 1110px) {

    .about .quote .quote-container p {
        font-size: 0.6em;
        margin: 0 0 9px 0;
    }

    .about .quote {
        padding: 2em 0 1em 14% !important;
    }

    .about .quote i {
        font-size: 1.5em;
    }
}

@media (max-width: 1024px){
    header {
        padding: 0;
    }

    .section{
        padding:70px 40px;
    }

    /* ABOUT */

    .about {
        gap:40px;
        padding: 0;
    }

    .section-badges {
        padding: 0;
    }

}

@media (max-width: 991px) {
    header .language {
        right: 1.5em;
        top: 1em;
    }
}

@media (max-width: 979px) {
    .about .quote {
        display: none;
    }

    .about .quote.sm {
        display: flex;
        padding: 2em 0 1em !important;
        font-size: 2em;
    }
}


/* =========================
MOBILE
========================= */

@media (max-width: 768px) {
    nav{
        display:none;
    }

    .logo {
        font-size:16px;
    }

    /* SECTIONS */
    .section {
        padding:60px 25px;
    }

    /* ABOUT */
    .about {
        text-align:center;
        padding: 0 20px 0 0;
    }

    .about-text {
        max-width:100%;
    }

    /* WORK SECTION */

    .work {
        padding:90px 20px;
    }

    .work button {
        width:80%;
        max-width:260px;
    }

    /* CONTACT */
    .contact {
        padding:50px 20px;
    }

    .about {
        padding:0;
    }

    .section-badges {
        padding: 0;
    }
}

@media (max-width: 735px) {
    .about {
        flex-direction: column;
    }

    .about .text-column {
        padding: 0px 40px 40px 40px;
    }

    .about .quote {
        display: block;
    }

    .about .quote.sm {
        display: none;
    }

    .about .quote .quote-container {
        width: fit-content;
    }

    .about .second-row {
        display: flex;
        flex-direction: column;
        padding-bottom: 1em;
    }

    .about .second-row .text-column {
        padding: 2em 0 0 0 !important;
    }

    .about .second-row .about-text {
        padding: 0 14%;
    }

    .row-sm {
        width: 100%;
    }

    .section-badges .col {
        width: 50%;
    }

    .section-badges img.badge1, .section-badges img.badge2 {
        width: 31%;
        max-width: 150px;
        margin-top: 2em;
    }

    .section-badges img.badge2 {
        width: 40%;
    }
}

@media (max-width: 550px) {
    .contact {
        padding: 30px 0 25px 0 !important;
    }

    .contact-entries {
        display: block !important;
        width: fit-content;
        margin: 0 auto;
    }

    .contact-entries .vertical-separator {
        display: none;
    }

    .contact-entries .icon-text-container {
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }

    .contact .social-networks {
        flex-direction: column;
    }

    .contact .license {
        padding-bottom: 2em;
    }
}



/* =========================
SMALL MOBILE
========================= */

@media (max-width: 480px) {
    header #navbar.scrolled {
        height: 97px;
        background-color: #121212;
    }

    header > nav .navbar-brand {
        height: 65px;
        margin-left: 3px;
    }

    header .container-fluid {
        --bs-gutter-x: none;
    }

    header > nav .navbar-brand img {
        position: absolute;
        height: 65px;
        top: 17px;
        left: 24px;
    }

    header .navbar-collapse.show {
        background-color: #1212128a;
    }

    header button.navbar-toggler {
        margin-right: 0.6em;
    }

    header .language {
        right: 1.5em;
        top: 1em;
    }

    header nav {
        padding: 2em 0 !important;
    }

    .section {
        padding:50px 20px;
    }

    .about {
        padding: 0;
    }

    footer span.separator {
        display: none;
    }

    footer a {
        display: block;
    }

    .section-badges img.cert1, .section-badges img.cert2 {
        width: 70%;
    }

    .section-badges img.badge1, .section-badges img.badge2 {
        width: 43%;
    }

    .section-badges img.badge2 {
        width: 54%;
    }
}