@font-face {
font-family: 'AwesomeSerifVAR';
src: url(//www.venamicasa.com/wp-content/themes/venamicasa/fonts/AwesomeSerifVAR-VF.ttf);
}
@font-face {
font-family: 'AwesomeSerifItalicVAR';
src: url(//www.venamicasa.com/wp-content/themes/venamicasa/fonts/AwesomeSerifItalicVAR-VF.ttf);
font-style: italic;
}
body {
overflow-x: hidden;
margin: 0;
padding: 0;
width: 100%;
} .maps-cover {
background-color: #FFFFF8;
color: #20313B;
position: relative;
padding-top: 66px;
display: flex;
flex-direction: row;
flex-wrap: wrap;
}
.maps-cover-text {
margin-top: 65px;
margin-left: 50px;
}
.maps-cover-text h1 {
margin: 0;
margin-bottom: 50px;
font-family: 'AwesomeSerifVAR';
font-variation-settings: 'wght' 525, 'hght' 1000;
font-weight: 400;
font-size: 64px;
line-height: 102%;
width: 256px;
text-align: start;
}
.maps-cover-text p {
margin: 0;
font-family: "neue-haas-grotesk-display", sans-serif;
font-weight: 400;
font-style: normal;
line-height: 102%;
font-size: 24px;
text-align: start;
width: 520px;
}
.maps-btn-sticker {
margin-top: 120px;
margin-right: -70px;
display: flex;
justify-content: start;
position: relative;
}
.hover-img img {
width: 215px;
z-index: 5;
position: relative;
}
.raton {
position: absolute;
right: 529px;
bottom: -19px;
z-index: 7;
width: 60px;
animation: mouse 2s infinite linear;
}
@keyframes mouse {
0% {
transform: translate(0, 0);
}
50% {
transform: translate(-15px, 15px);
}
100% {
transform: translate(0, 0);
}
}
.red-star {
position: absolute;
right: 332px;
bottom: -5px;
z-index: 3;
width: 120px;
animation: spin-star 5s infinite linear;
}
@keyframes spin-star {
0% {
transform: rotate(0);
}
100% {
transform: rotate(360deg);
}
}
.maps-btn-sticker:hover .raton {
animation: mouse-far 2s infinite linear;
}
@keyframes mouse-far {
0% {
transform: translate(-15px, 15px);
}
50% {
transform: translate(-30px, 30px);
}
100% {
transform: translate(-15px, 15px);
}
}
.maps-btn-sticker:hover .red-star {
animation: move-star 3s infinite alternate;
}
@keyframes move-star {
0% {
transform: rotate(0deg) translate(0, 0);
}
100% {
transform: rotate(360deg) translate(30px, -30px);
}
} .maps-cover-img {
position: relative;
margin-bottom: 160px;
}
.provincias {
display: block;
margin-top: 100px;
width: clamp(1000px, 70vw, 1299px);
}
.provincias.not-active {
display: none;
}
.comunidades {
display: none;
margin-top: 100px;
width: clamp(1000px, 70vw, 1299px);
}
.comunidades.active {
display: block;
}
.maps-cover-btn {
position: absolute;
right: 100px;
bottom: -60px;
width: 400px;
height: 80px;
border-radius: 58px;
border: 2px solid #20313B;
color: #20313B;
font-family: "neue-haas-grotesk-display", sans-serif;
font-weight: 400;
line-height: 102%;
font-size: 24px;
display: flex;
flex-direction: row;
}
.maps-cover-btn a {
width: 200px;
margin: 0;
color: #20313B;
display: flex;
align-items: center;
justify-content: center;
}
.btn-provincias {
background-color: #F8C81B;
font-style: italic;
text-decoration: underline;
border-right: 2px solid #20313B;
border-radius: 58px 0 0 58px;
}
.btn-provincias.not-active:hover {
background-color: #F8C81B;
}
.btn-provincias.not-active {
background-color: #FFFFF8;
font-style: normal;
text-decoration: none;
}
.btn-comunidades {
background-color: #FFFFF8;
font-style: normal;
text-decoration: none;
border-radius: 0 58px 58px 0;
}
.btn-comunidades:hover {
background-color: #C1DCEF;
}
.btn-comunidades.active {
background-color: #C1DCEF;
font-style: italic;
text-decoration: underline;
}   .discover-maps {
background-color: #FFFFF8;
display: flex;
align-items: center;
flex-direction: column;
padding-bottom: 100px;
border-top: 2px solid #20313B;
}
.discover-info p {
font-family: "neue-haas-grotesk-display", sans-serif;
font-weight: 400;
font-style: normal;
line-height: 102%;
font-size: clamp(20px, 1.2vw, 24px);
text-align: center;
margin-top: 50px;
display: block;
margin-top: 60px;
color: #20313B;
}
.discover-cities {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
}
.discover-city {
margin-top: clamp(60px, 4vw, 87px);
margin-left: 10px;
margin-right: 10px;
}
.discover-photo {
width: 350px;
aspect-ratio: 7 / 10;
border-top-left-radius: 185px;
border-top-right-radius: 185px;
position: relative;
display: block;
overflow: hidden;
}
.discover-photo img {
width: 100%;
height: 100%;
object-fit: cover;
transition: all 0.3s ease;
}
.discover-photo-text p {
font-family: 'AwesomeSerifVAR';
font-variation-settings: 'wght' 175, 'hght' 1000;
font-weight: 100;
text-align: center;
font-size: clamp(50px, 3vw, 64px);
line-height: 102%;
margin-top: 50px;
margin-bottom: 0;
}
.hover-cities-text {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
opacity: 0;
transition: opacity 0.3s ease;
font-family: "neue-haas-grotesk-display", sans-serif;
font-weight: 400;
font-style: normal;
line-height: 102%;
font-size: clamp(28px, 3vw, 32px);
text-align: center;
box-sizing: border-box;
border-top-left-radius: 185px;
border-top-right-radius: 185px;
border: 2px solid #20313B;
}
.hover-naranja {
opacity: 0;
transition: opacity 0.3s ease;
background-color: #E45A2C;
color: #FFFFF8;
padding: 0 25px;
}
.hover-amarillo {
opacity: 0;
transition: opacity 0.3s ease;
background-color: #F8C81B;
color: #20313B;
padding: 0 25px;
}
.hover-azul {
opacity: 0;
transition: opacity 0.3s ease;
background-color: #C1DCEF;
color: #20313B;
padding: 0 25px;
}
.discover-photo:hover .hover-cities-text, .discover-photo:hover .hover-naranja, .discover-photo:hover .hover-amarillo, .discover-photo:hover .hover-azul {
opacity: 1;
}
.discover-photo:hover img {
filter: brightness(0.7);
} .red-star-discover {
display: none;
}
.maps-mov {
display: none;
}
.maps-desk {
display: flex;
}
@media (max-width: 1000px) {
.maps-mov {
display: flex;
}
.maps-desk {
display: none;
} .maps-cover {
height: unset;
padding-top: 0;
display: flex;
flex-direction: column;
flex-wrap: unset;
justify-content: space-between;
}
.maps-cover-text {
margin-top: 25px;
margin-left: 30px;
width: 283px;
position: relative;
}
.maps-cover-text h1 {
margin-bottom: 20px;
font-size: 36px;
width: 256px;
}
.maps-cover-text p {
font-size: 20px;
margin-bottom: 30px;
width: 283px;
}
.maps-btn-sticker {
margin: 30px 30px 50px 25px;
}
.hover-img img {
width: 160px;
}
.raton {
right: 185px;
bottom: -20px;
width: 50px;
}
.red-star {
right: 40px;
top: -25px;
width: 85px;
} .maps-scroll {
overflow-x: auto;
overflow-y: auto;
place-items: center;
margin-top: 100px;
width: 100%;
height: 100%;
}
.maps-cover-img {
margin-bottom: 55px;
width: 210vw;
margin-left: auto;
margin-right: auto;
}
.maps-cover-img::-webkit-scrollbar {
display: none;
}
.provincias {
margin-top: 15px;
width: auto;
min-width: 100%;
height: auto;
}
.comunidades {
margin-top: 15px;
width: auto;
min-width: 100%;
height: auto;
}
.maps-cover-btn {
bottom: -40px;
left: 0;
width: 176px;
height: 38px;
font-size: 10px;
}   .discover-info p {
font-size: 20px;
width: 330px;
}
.discover-cities {
justify-content: center;
}
.discover-city {
margin-top: 50px;
}
.discover-photo {
width: 160px;
}
.discover-photo-text p {
font-size: 24px;
margin-top: 10px;
}
.hover-cities-text {
font-size: 18px;
}
.red-star-discover {
width: 160px;
aspect-ratio: 7 / 10;
display: flex;
align-items: center;
justify-content: center;
margin: 0 10px;
}
.red-star-discover img {
width: 60px;
animation: spin-and-wiggle 12s infinite linear;
}
@keyframes spin-and-wiggle {
0% {
transform: rotate(0deg) translate(0, 0);
}
25% {
transform: rotate(90deg) translate(-40px, -35px);
}
50% {
transform: rotate(180deg) translate(0, 20px);
}
75% {
transform: rotate(270deg) translate(25px, -33px);
}
100% {
transform: rotate(360deg) translate(0, 0);
}
} }