/* FONTS */

/* CAMPAING GROTESK */

@font-face {
    font-family: "grotReg";
    src: url('../assets/type/CampaignRegular.otf');
}

@font-face {
    font-family: "grotBold";
    src: url();
}

/* HELVETICA NEUE */
@font-face {
    font-family: "helvReg";
    src: url('../assets/type/HelveticaNeueRoman.otf');
}


* {
    border: 0;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

ul {
    list-style: none;
}

:root {
    --primary-color: #35788D;
    --secondary-color: #DB9D68;
    --light-blue: #DEEEF3;
    --light: #fff;
    --dark: #292929;
    --cream: #ecefd9;
    --type-alfa: "grotReg", sans-serif;
    --type-beta: "helvReg", sans-serif;

    --swiper-navigation-color: #3f2e20;
    --swiper-theme-color: #3f2e20;
}

::-moz-selection {
    /* Code for Firefox */
    color: #35788D;
    background: var(--cream);
}

::selection {
    color: #35788D;
    background: var(--cream);
}

/* @media (prefers-color-scheme: dark) {
    :root {
        --primary-color: #DB9D68;
        --secondary-color: #35788D;
        --light: #292929;
        --dark: #fff;
        --cream: #d4cbbf;
    }
} */

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--light);
    color: var(--dark);
    font-family: var(--type-alfa);
    overflow-x: hidden;
    width: 100vw;
}

h1,
h2,
h3,
h4,
h5 {
    text-wrap: balance;
}

a {
    color: var(--light);
    text-decoration: none;
}

p {
    text-wrap: pretty;
}

/* TRANSLATE EFFECT  */

#en-button,
#es-button {
    background-color: var(--secondary-color);
    color: var(--light);
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
}

#en-button:hover,
#es-button:hover {
    background-color: var(--cream);
    color: var(--dark);
    transition: all ease-in 0.3s;
}

.fade-out {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

/* TYPE SPANS */

.lightType {
    font-weight: 100;
}

.regType {
    font-weight: 400;
}

.boldType {
    font-weight: 900;
}

/* COLOR SPANS */

.lightColor {
    color: var(--light);
}

.darkColor {
    color: var(--dark);
}

/* REVEALER */

.block {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
}

.loader-text-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    background: #35788D;
    z-index: 20;
}

.loader-text {
    font-family: var(--type-alfa);
    font-size: 50px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: #DB9D68;
}

.loader-text .letter {
    display: inline-block;
    line-height: 1em;
}

.revealer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #DB9D68;
    z-index: 20;
}

.pre-loader {
    background: #35788D;
    left: 0;
    position: absolute;
    top: 0;
    z-index: 20;
}

/* .loader-wrapper {} */

.svgContainer {
    height: 140px;
    overflow: hidden;
    position: relative;
    width: 140px;
}

/* Whatsapp Button */

.whatsapp-button {
    position: fixed;
    bottom: 15px;
    right: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    z-index: 18;
}

.whatsapp-button img {
    width: 80px;
    height: 80px;
    transition: transform 0.3s ease;
}

.whatsapp-button img:hover {
    transform: scale(1.05);
}


/* NAVBAR */

.navbar {
    background-color: transparent;
    border-bottom: 1px solid var(--cream);
    font-family: var(--type-beta);
    position: relative;
    transition: background-color 0.4s ease, top 0.4s ease;
    width: 100%;
    z-index: 10;
}

.navbar.sticky {
    position: fixed;
    top: 0;
    background-color: var(--primary-color);
    z-index: 20;
    transition: all ease-in-out 0.4s;
}

.navbarDesk {
    align-items: center;
    display: flex;
    justify-content: space-evenly;
    padding: 15px;
}


.navElement {
    cursor: pointer;
    padding: 4px;
    position: relative;
}

.nElUnderline:hover::after {
    animation: underline 0.3s forwards;
    background-color: var(--secondary-color);
    bottom: 0;
    content: "";
    height: 2px;
    left: 0;
    position: absolute;
    width: 100%;
}

@keyframes underline {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}


/* RESPONSIVE MENU */

.respButton {
    display: none;
}

.menu-button {
    border: 0;
    background-color: var(--dark);
    padding: 15px;
    border-radius: 50px;
    margin: 10px;
    width: 60px;
    height: 60px;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 19;
    outline: none;
    cursor: pointer;
    transition: all ease-in-out 0.3s;
}

.menu-button:hover,
.menu-button.activeM {
    background-color: var(--secondary-color);
}

.menu-button:hover .menu-bar,
.menu-button.activeM .menu-bar {
    background-color: var(--light);
}

.menu-button .menu-bar {
    width: 30px;
    height: 2px;
    background-color: var(--cream);
    position: relative;
    margin: 4px 0;
    transform-origin: center center;
}

#menuResp {
    width: 0;
    height: 0;
    position: fixed;
    background-color: var(--cream);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 17;
}

.menu-nav {
    list-style: none;
    margin: 0;
    padding: 30px 0;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    font-size: 2rem;
    overflow: hidden;
}

.menu-nav a {
    text-decoration: none;
    color: var(--primary-color);
    padding: 10px;
    display: block;
    opacity: 0;
    font-family: var(--type-alfa);
}

.menu-nav a:hover {
    background-color: var(--light);
}

/* HERO SECTION */

.heroSection {
    background-color: var(--primary-color);
    display: flex;
    height: 100%;
    margin-top: -80px;
}

.heroLeft {
    align-content: center;
    padding: 160px;
    width: 50%;
}

.leftOne,
.leftTwo {
    padding: 20px 0;
}

.leftOne {
    font-size: 40px;
}

.leftTwo {
    font-family: var(--type-beta);
}

/* .leftTwo {} */

.heroRight {
    width: 50%;
    height: auto;
}

.centerVid {
    position: absolute;
    bottom: 0;
}

.heroResp {
    display: none;
    width: 50%;
    height: auto;
}

.centerVid {
    position: absolute;
    bottom: 0;
}

.centerVidResp {
    width: 100vw;
}

.bookButton {
    font-family: var(--type-beta);
    margin-top: 60px;
    margin-bottom: 60px;
}

.bookNow,
.bookNow2 {
    background-color: var(--secondary-color);
    border-radius: 15px;
    color: var(--light);
    padding: 15px 65px;
}

.bookNow:hover {
    background-color: var(--cream);
    color: var(--dark);
    transition: all ease-in 0.3s;
}

.bookNow2:hover {
    background-color: var(--primary-color);
    color: var(--light);
    transition: all ease-in 0.3s;
}

/* GALLERY SWIPER */

.galleryBgs {
    width: 100%;
    height: 120vh;
    display: flex;
    position: relative;
    z-index: -5;
}

.gBgLeft {
    width: 60px;
    height: 100%;
    background-color: var(--secondary-color);
}

.gBgRight {
    background-image: url('../assets/img/t-texture-bg.png');
    height: 100vh;
    width: 100%;
    background-repeat: no-repeat;
    background-position: right;
}

.gallerySection {
    width: 80%;
    margin-top: -75%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

@media (width: 1900px) and (min-height: 940px) {
    .galleryBgs {
        height: 120vh;
    }

    .gallerySection {
        margin-top: -45%;
    }
}

@media (min-width: 1510px) and (min-height: 720px) {
    .galleryBgs {
        height: 120vh;
    }

    .gallerySection {
        margin-top: -55%;
    }
}

@media (min-height: 300px) and (max-height: 718px) {
    .galleryBgs {
        height: 100vh;
    }

    .gallerySection {
        margin-top: -40%;
    }
}

.galleryTitle {
    padding: 49px 10px;
    transform: translateY(-25px);
}

.titleGal {
    color: var(--primary-color);
    font-size: 40px;
    text-transform: uppercase;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 480px;
    object-fit: cover;
}

.swiper-button-next,
.swiper-button-prev {
    background-color: var(--secondary-color);
    opacity: 0.6;
    padding: 30px;
    transform: translateY(190px);
    transition: all ease-in-out 0.3s;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    opacity: 1;
}

/* APARTMENTS TABS */

.tabsIntro {
    background-color: var(--secondary-color);
    color: var(--light);
    display: flex;
    font-family: var(--type-beta);
    padding: 75px 155px;
}

.tabsInfo {
    width: 60%;
    font-size: 40px;
}

.tabsText {
    width: 40%;
    font-size: 20px;
}

/* TABS STYLES */

.tabsContainer {
    background-color: var(--light-blue);
    font-family: var(--type-beta);
}

.tabs {
    display: flex;
    justify-content: space-around;
    font-weight: 700;
    font-size: 25px;
    background-color: var(--primary-color);
}

.tab {
    padding: 10px 20px;
    cursor: pointer;
    border-bottom: 7px solid var(--primary-color);
    color: var(--light);
}

.tab.active {
    background-color: var(--light);
    border-bottom: 7px solid var(--secondary-color);
    transition: ease-in 0.3s;
    color: var(--dark);
}

.tab-content {
    display: none;
    padding: 20px;
    margin-top: 15px;
}

.dFlex {
    display: flex;
    flex-direction: column;
    width: 20%;
}

.tab-content.active {
    display: flex;
    flex-wrap: nowrap;
}

.tab-content>div {
    flex: 1;
    margin-right: 10px;
    padding: 0 60px;
}

.tab-content>div:last-child {
    margin-right: 0;
}

.modelInfo {
    padding-left: 35px;
    font-size: 25px;
    color: var(--primary-color);
}

.highlighted {
    margin: 25px 0;
    background-color: var(--primary-color);
    padding: 35px;
    color: var(--light);
    font-size: 18px;
}

.features {
    display: flex;
}

.interior,
.terrace {
    margin: 0 35px;
}

.interiorTitle {
    font-size: 20px;
    color: var(--primary-color);
}

.area {
    font-size: 20px;
}

.distribution {
    margin-top: 20px;
    padding: 10px 35px;
}

.distTitle {
    font-size: 20px;
    color: var(--primary-color);
}

.inquiryBtn {
    margin-top: 25px;
}

.moreInfoBtn {
    padding: 15px;
    border-radius: 10px;
    background-color: var(--primary-color);
}

.moreInfoBtn:hover {
    background-color: var(--secondary-color);
    transition: all ease-in 0.3s;
}

.disclaimer {
    margin-top: 35px;
}

.disclaimerTxt {
    font-size: 10px;
    color: var(--primary-color);
}

.levelsContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.imgSello {
    height: 40%;
}

.selloSm {
    width: 140px;
}


/* .baseContainer {
}
*/

.imgBase {
    max-width: 600px;
    max-height: 600px;
}

/* AMENITIES SECTION */

.amenitiesContainer {
    background-color: var(--primary-color);
    color: var(--light);
    padding: 40px;
    text-align: center;
}

.amenitiesTitle {
    font-size: 45px;
    padding: 30px;
}

.amenitiesGallery {}

.gals {
    display: flex;
    justify-content: space-evenly;
    background-color: var(--primary-color);
    /* height: 115px;
    position: relative; */
    z-index: 20;
}

.slideG {
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    transition: transform 0.3s ease;
    text-align: center;
}

.icoTab {
    padding: 20px 0;
}

.ttlTab {
    margin-top: 10px;
    padding: 10px;
    color: var(--light)
}

.ttlTab.ttlact {
    margin-top: 10px;
    padding: 10px;
    background-color: var(--cream);
    color: var(--primary-color);
    font-weight: 900;
    transition: all ease-in-out 0.2s;
}

.slideG.sgActive {
    transform: translateY(50px);
}

.slideG-content {
    display: none;
}

.slideG-content.sgActive {
    display: block;
}

.slideG-content img {
    width: 100%;
    height: auto;
}

/* LOCATION SECTION */

.locationContainer {
    padding: 60px;
    display: flex;
}

.locTtl {
    font-size: 40px;
    color: var(--primary-color);
    padding: 20px 0;
}

.locationLeft {
    width: 70%;
}

.locationRight {
    display: flex;
    align-items: end;
}

.gMapsBtn,
.wazeBtn {
    background-color: var(--secondary-color);
    padding: 15px;
    color: var(--light);
    border-radius: 10px;
    cursor: pointer;
    margin: 0 20px;
}

.gMapsBtn:hover,
.wazeBtn:hover {
    background-color: var(--primary-color);
    color: var(--dark);
    transition: all ease-in 0.3s;

}

/* TOOLTIPS */

.tooltip {
    display: none;
    position: absolute;
    color: var(--light);
    background-color: var(--secondary-color);
    padding: 15px;
    border-radius: 25px;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
    pointer-events: none;
    z-index: 18;
    max-width: auto;
    font-size: 14px;
    font-family: var(--type-beta);
    line-height: 1.4;
}

.elemento {
    cursor: pointer;
}

.elemento:hover {
    opacity: 0.8;
}

/* DEVELOPERS SECTION */

.devsContainer {
    background-image: url('../assets/img/Porttica_Fachada_Noche.png');
    min-height: 700px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 100px;
}

.devsTitle {
    text-align: center;
    color: var(--light);
    font-size: 45px;
}

.divDevs {
    display: flex;
    margin-top: 80px;
}

.devsLeft,
.devsRight {
    background-color: rgba(0, 0, 0, 0.5);
    width: 50%;
    text-align: center;
    padding: 45px;
}

.imgDev {
    height: 130px;
    margin: 30px 0;
    border-bottom: solid 7px var(--secondary-color);
}

/* LIFESTYLE SECTION */

.lifestyleContent {
    background-color: var(--secondary-color);
    text-align: center;
    padding: 40px 0;
}

.lifestyleTtl {
    font-size: 35px;
    color: var(--light);
    padding: 40px 0;
}

.lifestyleTxt {
    font-size: 16px;
    color: var(--light);
}

.places {
    display: flex;
    overflow: hidden;
}

.placeItem {
    flex: 1;
    position: relative;
    cursor: pointer;
}

.placeItem:hover .placeOverlay {
    opacity: 1;
}

.placeItem:hover {
    z-index: 1;
}

.placeOverlay {
    color: var(--light);
}

.placeOverlay>h2 {
    padding: 15px 0;
}

.ttlOp {
    opacity: 1;
}

.placeItem .placeOverlay {
    align-items: center;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    left: 0;
    opacity: 0;
    position: absolute;
    text-align: center;
    top: 0;
    transition: opacity 0.3s ease;
    width: 100%;
}

.placeItem img {
    width: 100%;
    height: auto;
    display: block;
}

/* CONTACT SECTION */

.contactContainer {
    display: flex;
    padding: 60px 60px 0 60px;
    background-color: var(--primary-color);
    color: var(--light);
    justify-content: space-around;
}

.contactLeft {
    font-size: 45px;
}

.contactTtl {
    padding: 35px 0;
}

.imgCtc {
    max-width: 100%;
}

.contactRight {
    transform: translateY(140px);
    height: 60%;
}

input[type=text],
input[type=tel],
input[type=email] {
    border-radius: 15px;
    color: var(--secondary-color);
    font-family: var(--type-alfa);
    margin: 10px 0;
    padding: 15px;
    width: 100%;
}

.custom_select select {
    width: 100%;
    font-family: var(--type-alfa);
    color: #818181;
    padding: 10px;
    border-radius: 10px;
    margin-top: 5px
}

.contactSubmitBtn {
    background-color: var(--secondary-color);
    border-radius: 15px;
    color: var(--light);
    cursor: pointer;
    margin: 10px 0;
    padding: 15px;
    width: 150px;
    font-family: var(--type-alfa);
    font-size: 15px;
    transition: all ease-in-out 0.3s;
}

.contactSubmitBtn:hover {
    background-color: var(--cream);
    color: var(--dark);
}

.contactSubmitBtn:disabled {
    opacity: 0.4;
    pointer-events: none;
}

.textAlert,
.resalta {
    color: var(--secondary-color);
}

/* Footer Section */

.footer {
    background-color: var(--secondary-color);
    color: var(--light);
    width: 100%;
    margin-top: -11px;
}

.footerContainer {
    padding: 60px;
}

.footerTop {
    border-bottom: 1px solid var(--light);
    display: flex;
    justify-content: space-around;
    padding: 25px;
}

.footerTopItem {
    width: 25%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.infoFooter {}

.selloFooter {
    width: 100px;
    height: 100px;
}

.footerBottom {
    display: flex;
    justify-content: space-around;
    margin-top: 35px;
}

/* RESPONSIVE */

@media (min-width: 0px) and (max-width:837px) {
    .loader-text {
        font-size: 30PX;
    }

    .respButton {
        display: block;
    }

    .heroRight {
        display: none;
    }

    .heroResp {
        display: block;
    }

    .galleryTitle {
        font-size: 35px;
    }

    .gBgLeft {
        width: 40PX;
    }

    .tabsIntro {
        flex-direction: column;
        padding: 55px;
        text-align: center;
    }

    .tabsInfo {
        width: 100%;
        font-size: 30px;
    }

    .tabsText {
        width: 100%;
        margin-top: 20px;
    }

    .tab {
        padding: 5px;
    }

    .tabs {
        font-size: 10px;
    }

    .tab-content.active {
        display: flex;
        flex-direction: column;
    }

    .dFlex {
        width: 100%;
    }

    .tab-content>div {
        padding: 0;
    }

    .baseContainer {
        margin: 20px 0;
    }

    .levelsContainer {
        flex-direction: row;
    }

    .imgBase {
        max-width: 100%;
        max-height: 100%;
    }

    .amenitiesTitle {
        font-size: 25px;
    }

    .icoTab>img {
        width: 35px;
    }

    .ttlTab {
        font-size: 15px;
    }

    .slideG {
        padding: 10px 0;
    }

    .gals {
        flex-wrap: wrap;
    }

    .slideG.sgActive {
        transform: translateY(20px);
    }

    .locationContainer {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .locationLeft {
        width: 100%;
    }

    .locationRight {
        width: 100%;

        padding: 20px
    }

    .gMapsBtn,
    .wazeBtn {
        width: 50%;
        font-size: 13px;
    }

    .mapContainer {
        display: none;
    }

    .places {
        flex-direction: column;
    }

    .contactContainer {
        flex-direction: column-reverse;
        padding: 0;
    }

    .contactLeft {
        font-size: 30px;
        text-align: center;
    }

    .contactTtl {
        padding: 35px;
    }

    .contactRight {
        padding: 20px;
        transform: translate(0);
    }

    .footerTop {
        flex-direction: column;
        text-align: center;
    }

    .footerTopItem {
        width: 100%;
    }

    .infoFooter {
        margin: 15px 0;
    }

    .selloFooter {
        margin: 20px 0;
    }

    .selloFooterImg {
        width: 120px;
        height: 120px;
    }

    .devsTitle {
        font-size: 30px;
    }

    .devsContainer {
        padding: 45px;
    }

    .divDevs {
        flex-direction: column-reverse;
    }

    .devsLeft,
    .devsRight {
        width: 100%;
    }

}

@media only screen and (max-width: 1110px) {
    .leftOne {
        font-size: 30px;
    }

    .heroLeft {
        padding: 100px;
    }
}


@media only screen and (max-width: 837px) {
    .navbar {
        display: none;
    }

    .heroSection {
        flex-direction: column-reverse;
        margin-top: -110px;
    }

    .heroLeft {
        width: 100%;
        text-align: center;
        padding: 50px;
    }

    .centerVid {
        position: relative;
    }
}

@media only screen and (max-width: 501px) {
    .gallerySection {
        margin-top: -180%;
    }

    .titleGal {
        font-size: 35px;
    }

    .locTtl {
        font-size: 35px;
    }

    .imgDev {
        height: 85px;
    }
}