@import url('https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');


/* Geral Def */

* {
    font-family: 'Work Sans', sans-serif;
    padding: 0;
    margin: 0;
    color: black;
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

/* Text Def */

.ttl {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 600;
    text-transform: uppercase;
}

.sub-ttl {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 500;
    text-transform: uppercase;
}

.sub-sub-ttl {
    font-size: 35px;
    font-weight: 500;
    text-transform: uppercase;
}

.txt {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 300;
}

.txt-r {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 400;
}

/* Header Def */

header {
    margin-top: 2.5%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

header>nav {
    width: calc(100% - 20vw);
    height: 100%;
    display: flex;
    flex-flow: row;
    justify-content: space-between;
    align-items: flex-end;
}

header>nav>a {
    width: 100px;
    height: auto;
    display: flex;
}

header>nav img {
    width: 100%;
    height: auto;
}

header>nav>ul {
    display: flex;
    flex-flow: row;
    justify-content: space-between;
    gap: 50px;
}

/* Footer Def */

footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    padding-bottom: 50px;
}

footer>div {
    width: calc(100% - 20vw);
    height: 100%;
    display: flex;
    align-items: flex-end;
}

footer>div>ul {
    width: 100%;
    display: flex;
    flex-flow: row;
    align-items: flex-end;
    justify-content: space-between;
}

footer ul li a {
    display: flex;
    flex-flow: row;
    align-content: center;
    gap: 10px;
}

/* Pág Inicial */

.ed-hp-card {
    opacity: 1;
    z-index: 1;
    display: flex;

    opacity: 0;
    position: absolute;
    float: left;

    width: 150px !important;
    height: auto;

    padding: 10px;

    background: white;
    border: solid 1px black;
    flex-flow: column;
    justify-content: space-between;
    transition: opacity 0.5s ease-in-out;
}

.ed-hp-card li,
.ed-hp-card span {
    font-size: 15px;
    color: black
}

.map-container {
    height: 750px !important;
    border: solid 1px black;
    overflow: visible;
}

.map-container svg {
    width: 100%;
    height: auto;
    object-fit: fill;
}

circle {
    z-index: 2;
    animation-name: blink;
    animation-duration: 4s;
    animation-iteration-count: infinite;
}

circle:nth-of-type(1) {
    animation-delay: 2s;
}

circle:nth-of-type(2) {
    animation-delay: 0.5s;
}

circle:nth-of-type(3) {
    animation-delay: 1s;
}

circle:nth-of-type(4) {
    animation-delay: 2.5s;
}

circle:hover {
    fill: rgb(144, 144, 144);
    transition: all 0.5s ease;
    r: 100px;
    animation-play-state: paused;
}

@keyframes blink {
    0% {
        r: 14.85px;
    }

    50% {
        r: 20px;
    }

    100% {
        r: 14.85px;
    }
}



/* Edificios Page */

.ed,
.ed-solo,
.ed-hp {
    position: relative;
    min-height: 100vh;
    width: 100vw;
    display: flex;
    flex-flow: column;
    align-items: center;
}

.ed>main,
.ed-solo>main,
.ed-hp>main {
    margin-top: 2.5%;
    width: 100%;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 100px;
}

.ed>main>div,
.ed-solo>main>div,
.ed-hp>main>div:first-of-type {
    width: calc(100% - 20vw);
    height: 100%;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
}

.ed>main>div>div {
    width: 100%;
    display: flex;
    flex-flow: row;
    gap: 50px;
    margin-top: 5%;
    margin-bottom: 5%;
    overflow-x: scroll;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    flex-wrap: nowrap;
}

.ed-card {
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    width: calc(100% / 4);
    flex: 0 0 auto;
}

.ed-hp-card img,
.ed-card img,
.apt-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-top: 10px;
    margin-bottom: 10px;
}

.ed-card ul,
.apt-card ul {
    display: flex;
    flex-flow: column;
    gap: 5px;
}

#d-numb {
    width: 100%;
    display: flex;
    flex-flow: row;
    justify-content: space-between;
}

/* Edificio Solo Def */

.filtro {
    opacity: 0.25;
    transition: opacity 1s ease;
}

.filtro.active {
    opacity: 1;
}

.ed-solo>main>div>div:nth-of-type(1) {
    width: 100%;
    display: flex;
    flex-flow: row;
    align-items: center;
    justify-content: center;
    margin-bottom: 5%;
}

.ed-solo>main>div>div:nth-of-type(1)>a {
    align-self: flex-start;
}

.ed-solo>main>div>div:nth-of-type(1)>div {
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
}

.ed-solo>main>div>div:nth-of-type(2) {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ed-solo>main>div>div:nth-of-type(2)>ul {
    display: flex;
    flex-flow: column;
    gap: 10px;
    align-items: flex-start;
}

.ed-solo>main>div>div:nth-of-type(2)>ul>li {
    width: 100%;
    display: flex;
    flex-flow: row;
    gap: 25px;
    align-items: center;
}

.ed-solo>main>div>div:nth-of-type(2)>ul img {
    width: 25px;
    height: auto;
    opacity: 0.5;
}

.apts,
.esp-com {
    width: 100%;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    margin-top: 5%;
    margin-bottom: 5%;
}

.apts h2 {
    overflow: visible;
}

.apts>div:nth-of-type(1) {
    width: 100%;
    display: flex;
    flex-flow: row;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 5%;
}

.apts>div>ul {
    width: 100%;
    display: flex;
    flex-flow: row;
    justify-content: flex-end;
    gap: 25px;
}

.apt-cont {
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    gap: 25px;
    justify-content: space-between;
}

.apt-card {
    width: calc((100% / 2) - 25px);
}

.esp-com>div:nth-of-type(1) {
    width: 100%;
    margin-bottom: 2.5%;
}

.esp-cont,
.esp-cont>div {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.esp-cont>div {
    flex-flow: column;
    gap: 10px;
}

.esp-cont>div img {
    width: 100%;
}

/* Apartamento Def */

.apt-list {
    width: 45%;
    flex-flow: row wrap !important;
}

.apt-list li {
    width: calc((100% / 2) - 10px) !important;
    text-align: right;
}

.apt-list li:nth-of-type(even) {
    justify-content: flex-end;
}

.apt-txt {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 5%;
    margin-bottom: 5%;
}

.apt-txt span {
    width: 45%;
}

.img-car {
    margin-top: 5%;
    width: 100%;
    margin-bottom: 10%;
    display: flex;
    flex-flow: row;
    justify-content: space-between;
}

.img-car div {
    width: 90%;
}

.img-car>div img {
    display: none;
    width: 100%;
    height: auto;
}

.img-car>div img.active {
    display: flex;
    width: 100%;
    height: auto;
}

.esp-cont {
    display: none;
    flex-flow: column;
    justify-content: space-between;
    width: 100%;
}

.esp-cont span {
    margin-bottom: 10px;
}

.esp-com .img-car {
    margin-top: 0;
}

.esp-cont.active {
    display: flex;
}

.esp-cont.active img {
    display: flex;
    width: 100%;
    height: auto;
}

.apt-sp {
    width: 100%;
    display: flex;
    flex-flow: column;
    margin-bottom: 10%;
}

.apt-sp span {
    margin-bottom: 5%;
}

.apt-sp>div {
    width: 100%;
    display: flex;
    flex-flow: row;
}

.apt-sp>div>div:nth-of-type(1) {
    width: 30%;
}

.apt-sp>div>div:nth-of-type(1)>ul {
    width: 100%;
    display: flex;
    flex-flow: column;
    gap: 10px;
    align-items: flex-start;
}

.apt-sp>div>div:nth-of-type(1)>ul>li {
    width: 100%;
    display: flex;
    flex-flow: row;
    gap: 25px;
    align-items: center;
    justify-content: flex-start;
}

.apt-sp>div>div:nth-of-type(2) {
    width: 70%;
}

.apt-sp>div>div:nth-of-type(2)>img:nth-of-type(1) {
    width: 100%;
    height: auto;
}

.apt-sp>div>div:nth-of-type(2)>div {
    width: 100%;
    display: flex;
    flex-flow: row;
    align-items: center;
    justify-content: space-between;
}


.glr_nav,
.img-car .glr_nav {
    width: 2.5%;
    height: auto;
}

#prev {
    transform: rotate(180deg);
}

.apt-sp>div>div:nth-of-type(2)>div>div {
    width: 75%;
    display: flex;
    flex-flow: row;
    gap: 10px;
    justify-content: center;
}

.apt-sp>div>div:nth-of-type(2)>div>div>img {
    width: calc((100% / 4) - 10px);
}

.glr_thumb img.active {
    opacity: 1;
    transition: opacity 1s ease;
}

.glr_thumb img {
    opacity: 0.5;
    transition: opacity 1s ease;
}

@media only screen and (max-width: 900px) {
    header>nav>ul {
        flex-flow: column;
        gap: 5px;
        text-align: right;
    }

    .ed-card {
        width: calc(100% / 2);
    }
}

@media only screen and (max-width: 850px) {
    .map-container {
        overflow: scroll;
        align-items: flex-start !important;
    }

    .map-container svg {
        height: 100%;
        width: auto;
        object-fit: fill;
    }
}

@media only screen and (max-width: 640px) {

    .ed>main,
    .ed-hp>main {
        margin-top: 7.5%;
    }
}

@media only screen and (max-width: 500px) {

    .ed>main,
    .ed-hp>main,
    .ed-solo>main {
        margin-top: 50px;
        margin-bottom: 100px;
    }

    .ed h1 {
        align-self: flex-start;
    }

    .ed>main>div>div {
        overflow-x: scroll;
        /* scroll-snap-type: smooth; */
    }

    .ed-card {
        width: 100%;
    }

    .ed-solo>main>div>div:nth-of-type(1) {
        flex-flow: column;
    }

    .ed-solo>main>div>div:nth-of-type(1)>div {
        align-items: flex-start;
        width: 100%;
    }

    .ed-solo>main>div>div:nth-of-type(2) {
        margin-top: 10%;
        justify-content: flex-start;
        margin-bottom: 10%;
    }

    .apt-cont {
        margin-top: 25px;
        flex-flow: column;
        margin-bottom: 10%;
    }

    .apt-sp>div>div:nth-of-type(1) {
        margin-bottom: 10%;
    }

    .apt-card {
        width: 100%;
        margin-bottom: 15%;
    }

    .apt-sp span {
        margin-bottom: 10%;
    }

    .apt-sp>div {
        width: 100%;
        display: flex;
        flex-flow: column;
    }

    .apt-sp>div>div:nth-of-type(1),
    .apt-sp>div>div:nth-of-type(2) {
        width: 100%;
    }

    .apt-list {
        width: 100%;
        flex-flow: column !important;
    }

    .apt-list li {
        width: 100% !important;
    }

    .apt-list li:nth-of-type(2n) {
        justify-content: flex-start;
    }

    .apt-txt span {
        width: 100%;
    }

    .apt-txt {
        margin-bottom: 10%;
    }



}