@font-face {
    font-family: 'Futura';
    src: url("../fuentes/futura/futura\ light\ bt.ttf");
    font-weight: lighter;
    font-style: normal;
}
*{
    margin: 0;
    padding: 0;
    border: 0;
    text-decoration: none;
    box-sizing: border-box;
}
html, body {
    width: 100%;
    min-width: 365px;
    gap: 8rem;
  }
.body{
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    text-align: center;
    align-items: center;
    background-color: #F9F6F3;
    font-family: 'Futura';
    font-weight: lighter;
    font-style: normal;
    letter-spacing: 0.1rem;
}
/*Barra navegacion*/
.barra {
    height: 5rem;
}

.nav {
    display: flex;
    justify-content: space-between;
    overflow: hidden;
    width: 93%;
    height: auto;
    position: relative;
    z-index: 100;
    align-items: center;
}

.barrayredes {
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: end;
    gap: 0.4rem;
    margin-top: 1.5rem;
}

.Redes {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.2rem;
    align-items: end;
}

.logo {
    width: 25vw;
    max-width: 13rem;
}

.redes {
    margin-bottom: 1.2rem;
    display: flex;
    width: 1.9rem;
    height: 1.9rem;
}

.nav ul {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
}

.nav ul li {
    display: flex;
    display: inline-block;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-inline: -0.2rem;
}

.nav ul li a {
    display: flex;
    color: black;
    font-size: 0.9rem;
    padding: 0.5rem 0.5rem;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.toggle-button {
    display: none; 
    font-size: 2rem;
    background-color: #F9F6F3;
    color: black;
    cursor: pointer;
}
.barra-small {
    display: none;
    flex-direction: column;
    text-decoration: none;
    list-style: none;
    gap: 1rem;
    padding: 2rem;
}
.barra-small li a {
    color: black;
    font-size: 0.9rem;
}

@media screen and (min-width: 895px) {
    .barra-small {
        display: none !important;
    }
}

@media screen and (max-width: 895px) {
    .barrayredes {
        display: none;
    }
    .toggle-button {
        display: block;
    }
    .portada{
        min-width: 100%;
        min-height: 60vh;
    }
}

/*Whatsapp*/
.lwhatsapp{
    width: auto;
    height: 3rem;
    position: relative;
    left: -0.75rem;
    top: 0.2rem;
}

.whatsapp-link {
    position: fixed; 
    width: 4.2rem;
    bottom: 1.5rem; 
    right: 1.5rem; 
    background-color: #A56200; 
    color: white; 
    padding: 0.5rem 1.4rem; 
    text-decoration: none;
    border-radius: 50%;  
    z-index: 9999; 
    align-items: center;
}
.portada{
    display: flex;
    width: 100%;
    height: 100vh;
    background: url("../imagenes/TURÍN/turin_7.jpg");
    background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
    justify-content: center;
    align-items: center;
    color: #F9F6F3;
    letter-spacing: 0.2rem;
    font-weight: lighter;
    margin-top: -8rem;
}
.portada2{
    display: flex;
    width: 100%;
    height: 100vh;
    background: url("../imagenes/SAN\ SILVESTRE/san_silvestre_11.jpg");
    background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
    justify-content: center;
    align-items: center;
    color: #F9F6F3;
    letter-spacing: 0.2rem;
    font-weight: lighter;
    margin-top: -8rem;
}
.portada3{
    display: flex;
    width: 100%;
    height: 100vh;
    background: url("../imagenes/BOSQUE\ SERENO/Bosque_sereno_1.jpg");
    background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
    justify-content: center;
    align-items: center;
    color: #F9F6F3;
    letter-spacing: 0.2rem;
    font-weight: lighter;
    margin-top: -8rem;
}
.por1{
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.Vis1{
    width: 100%;
    height: 50%;
    display: flex;
    align-items: center;
}
.vis{
    width: 150px;
    height: 50px;
    background-color: #cb9846ab;
    display: flex;
    justify-content: center;
    align-items: center;
}
.por12{
    width: 50%;
    height: 100%;
}
.por2{
    width: 100%;
    height: 50%;
    display: flex;
    align-items: center;
}
.por3{
    width: 100%;
    height: 50%;
    display: flex;
    align-items: center;
    justify-content: end;
}
.por4{
    width: 100%;
    height: 50%;
    display: flex;
    align-items: end;
    justify-content: end;
}

.mas{
    width: 20rem;
    background-color: #546554d3;
    padding: 0.8rem;
    font-weight: bolder;
}
.mas4{
    width: 20rem;
    background-color: #546554d3;
    padding: 0.8rem;
    font-weight: bolder;
}
.mas3{
    width: 20rem;
    background-color:#173405;
    padding: 0.8rem;
    font-weight: bolder;
}
.mas4 a{
    color: whitesmoke;
}
.mas3 a{
    color: whitesmoke;
}
.mas a{
    color: whitesmoke;
}

.descripcion{
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}
.descripcion2{
    width: 90%;
    height: auto;
    display: flex;
    max-width: 1500px;
}
.descripcion2 p{
    width: 75%;
}
.titulo{
    width: 25%;
    display: flex;
}
.titulo img{
    width: 100%;
}
.turin img{
    width:80% !important;
}
#titu{
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}
@media screen and (max-width: 650px) {
    .titulo img{
        min-width: 75%;
    }
    .turin img{
        min-width: 60% !important;
    }
    .titulo h2{
        width: 25%;
    }
    .descripcion{
        flex-direction: column;
        padding: 0% !important;
        max-width: 100vw !important;
    }
    .categoria{
        padding: 0.8rem !important;
    }
    .text12, .text{
        padding: 0 !important;
        width: 93vw !important;
    }
    .descripcion2 p, .descripcion2 .text12 li{
        font-size: 0.9rem;
    }
}
@media screen and (max-width: 830px) {
    .descri{
        display: flex;
        flex-direction: row;
    }
}

.contacto{
    display: flex;
    flex-direction: column;
    width: 90%;
    justify-content: center;
}
.escri{
    display: flex;
    flex-direction: column;
    width: 30%;
}
.formulario{
    display: flex;
    flex-direction: column;
    width: 50%;
}
.direccion{
    width: 20%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
#campo{
    height: 2.5rem;
    width: 85%;
    border-bottom: 1px solid black;
    background-color: #F9F6F3;
    font-size: 1.1rem;
    outline: none;
}
#campotex{
    border-bottom: 1px solid black;
    width: 85%;
    height: 8%;
    background-color: #F9F6F3;
    font-size: 1.1rem;
    outline: none;
}
#btn{
    height: 2.8rem;
    width: 120px;
    background-color: #F9F6F3;
    color:black;
    font-size: 100%;
    cursor: pointer;
    border: 1px solid black;
}
#btn:hover {
    background-color: black; 
    color: #F9F6F3;
  }
.mensaje{
    display: flex;
    flex-direction: row;
    justify-content: center;
    text-align: left;
    width: 100%;
}
.direc{
    color: black;
}
.direc_icon{
    display: flex;
    flex-direction: row;
}
.direc_icon a{
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    color: black;
}
.iconsinst{
    display: flex;
    flex-direction: column;
    gap:0.5rem;
}
.mapa{
    width: 100%;
    filter: grayscale(50%);
}
.pie_pagina{
    display: flex;
    flex-direction: column;
    height: 150px;
    width: 90%;
    gap: 10px;
    justify-content: center;
    border-top: 1px solid black;
}
.areas{
    display: flex;
    flex-direction: row;
    width: 95%;
    justify-content: center;
    align-items: center;
    margin-top: -3rem;
    margin-bottom: -7rem;
}

.text{
    display: flex;
    justify-content: baseline;
    align-items: baseline;
    text-align: start;
    padding: 0 0 0 2.5rem ;
}
.text2{
    display: flex;
    justify-content: baseline;
    align-items: baseline;
    text-align: start;
    padding: 0 0 0 2.5rem ;
}
.areas2 .titu{
    color: black;
}
.areas2{
    display: flex;
    flex-direction: column;
    width: 30%;
    height: 100%;
    justify-content: center;
    align-items: center;
    height: 100%;
    gap: 1.5rem;
    margin-bottom: 5rem;
}
.mas2{
    width: 15rem;
    background-color: #303030;
    padding: 0.8rem;
    font-weight: bolder;
}
.mas2 a{
    color: whitesmoke;
}
.imag{
    width: 70%;
}
.carousel {
  position: relative;
}

.slides {
  display: flex;
  overflow: hidden;
}

.slides img {
  width: 100%;
  display: none;
  cursor: pointer;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    padding: 10px;
    background-color:#F9F6F3;
    border: none;
    color:black;
    font-size: 20px;
  }
  
  .prev {
    left: 0;
  }
  
  .next {
    right: 0;
  }
.iconosZonas{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 2vw;
}

#iconz{
    border: 2px solid  #173405;
}
#iconz2{
    border: 2px solid  black;
}
.iconZ{
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    width: 90px;
    height: 90px;
    transition: .5s ease-in-out all;
}
.iconZ img{
    transition: .5s ease-in-out all;
    width: 40px;
    height: 40px;
}
.iconZD{
    display: flex;
    width: 10rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.iconZ:hover {
    transform: scale(0.8);
}

.iconZ:hover:not(:hover) {
    transform: scale(1);
}
.iconZ img:hover {
    transform: scale(0.8);
}

.iconZ img:hover:not(:hover) {
    transform: scale(1);
}
.message {
    position: fixed;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px;
    border-radius: 5px;
    z-index: 9999;
  }
.planta{
    width: 80%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.imgPlanta{
    width: 40%;
}
.imgLugares{
    width: 55%;
}
.areaT h4{
    padding: 0.2rem;
    color: black;
}
.displa li :hover {
    background-color: #949289;
    color: #F9F6F3;
    
}
.torres{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    width: 90%;
}
.torre{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}
.imag polygon{
    fill: #00000000;
}
.text12{
    display: flex;
    flex-direction:column;
    text-align: left;
    width: 75%;
}
.text12 ul{
    display: flex;
    flex-direction: column;
    width: 50%;
    margin-left: 6rem;
}
.root{
    margin-top: 5rem;
}
@media screen and (max-width: 1310px) {
    .areas{
        flex-direction: column;
        gap: 2rem;
    }
    .imag{
        min-width: 100%;
    }
    .areas2{
        min-width: 95%;
    }
    
   .iconosZonas{
    width: 90%;
   }
   .root{
    margin-top: -2rem;
}
}
@media screen and (max-width: 895px) {
    body{
        gap: 4rem;
    }
    .barra-small{
        margin-top: -7rem;
    }
    .contacto{
        width: 90%;
    }
    .mensaje{
        min-width: 100%;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
    }
    .escri{
        min-width: 100%;
        text-align: center;
    }
    .formulario{
       min-width: 100%;
       justify-content: center;
       align-items: center;
    }
    .direccion{
        min-width: 100%;
    }
   .descripcion2{
    flex-direction: column;
    width: 80%;
    gap: 2rem;
    justify-content: center;
    align-items: center;
   }
   #titu{
    display: flex;
    flex-direction: row;
    width: 90%;
    gap: 5%;
    justify-content: center;
    align-items: center;
   }
   #titu img{
    width: 40%;
   }
   #titu h2{
    width: 50%;
   }
   #texto{
    width: 100%;
    padding: 0;
   }
   .iconZ{
    width: 70px;
    height: 70px;
   }
   .iconZ img{
    width: 30px;
    height: 30px;
   }
   .iconZD h4{
    font-size: 0.8rem;
   }
   .iconZD h3{
    font-size: 0.8rem;
   }
   .text12{
    width: 100%;
   }
   .text12 ul{
    width: 70%;
   }
}

@media screen and (max-width: 1216px) {
    body{
        gap: 6rem;
    }
    .escri{
        width: 30%;
    }
    .formulario{
        width: 40%;
    }
    .direccion{
        width: 30%;
    }
    .portada{
        margin-top: -6rem;
        min-height: 60vh;
    }
    .portada2{
        margin-top: -6rem;
        min-height: 60vh;
    }
    .portada3{
        margin-top: -6rem;
        max-height: 60vh;
    }
    .titulo h2{
        font-size: 1.3rem;
    }
}
@media screen and (max-width: 400px) {
    body{
        gap: 2rem;
    }
    .barra-small{
        margin-top: -3rem;
    }
    #titu{
        display: flex;
        flex-direction: column;
        width: 130%;
        gap: 1rem;
        justify-content: center;
        align-items: center;
        padding: 0;
       }
    #titu h2{
        width: 50%;
    }
    #titu img{
        width: 50%;
    }
    .turin img{
        max-width: 40% !important;
    }
    .iconZ{
        width: 55px;
        height: 55px;
       }
    .iconZ img{
    width: 20px;
    height: 20px;
    }
    .portada3, .portada2, .portada{
        min-width: 100vw !important;
        margin-left: 0.4rem;
    }
}
@media screen and (max-width: 600px) {
    body{
        gap: 3rem;
    }
    .barra-small{
        margin-top: -4rem;
    }
    .portada{
        margin-top: -3rem;
        max-height: 30vh !important;
    }
    .portada2{
        margin-top: -3rem;
        max-height: 30vh !important;
    }
    .portada3{
        margin-top: -3rem;
        max-height: 40vh !important;
    }
    #titu h2{
        width: 50%;
        font-size: 1rem;
    }
    .imag{
       margin-top: 2rem;
    }
    .mas3 h2,.mas4 h2, .mas h2{
        font-size: 1rem;
    }
    .root{
        margin-top: 2rem;
    }
}
.gallery .visible {
	opacity: 1;
	transform: scale(1) translateY(0);
}


/* Estilo para la pantalla de carga */
#loading-screen {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #f3f3f3;
    z-index: 99999999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader {
  position: relative;
  width: 33px;
  height: 33px;
  perspective: 67px;
}

.loader div {
  width: 100%;
  height: 100%;
  background-image: url("../iconos/icono1.png");
  align-items: center;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: absolute;
  left: 50%;
  transform-origin: left;
  animation: loader 2s infinite;
}

.loader div:nth-child(1) {
  animation-delay: 0.15s;
}

.loader div:nth-child(2) {
  animation-delay: 0.3s;
}

.loader div:nth-child(3) {
  animation-delay: 0.45s;
}

.loader div:nth-child(4) {
  animation-delay: 0.6s;
}

.loader div:nth-child(5) {
  animation-delay: 0.75s;
}

@keyframes loader {
  0% {
    transform: rotateY(0deg);
  }

  50%, 80% {
    transform: rotateY(-180deg);
  }

  90%, 100% {
    opacity: 0;
    transform: rotateY(-180deg);
  }
}
.btntorre{
    border: 1px solid black;
    background-color:#F9F6F3;
}
.btntorre:hover{
    background-color:#949289;
}
.displa2 li{
    list-style-type: none;
}
.displa2 p{
    font-size: 0.8rem;
}



.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Estilos del modal */
.modal {
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.9);
    cursor: pointer;
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    cursor: default;
}

.close {
    position: absolute;
    top: 5%;
    right: 10.5%;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    color: rgb(0, 0, 0);
    font-size: clamp(0.5rem, 1vw + 1rem, 2rem);
}
@media screen and (max-width: 1570px) {
    .close {
        top: 7%;
        right: 10.5%;
    }
}
@media screen and (max-width: 1392px) {
    .close {
        top: 12%;
        right: 10.5%;
    }
}
@media screen and (max-width: 1285px) {
    .close {
        top: 16%;
        right: 10.5%;
    }
}
@media screen and (max-width: 1178px) {
    .close {
        top: 19%;
        right: 10.5%;
    }
}
@media screen and (max-width: 1056px) {
    .close {
        top: 22%;
        right: 10.5%;
    }
}
@media screen and (max-width: 946px) {
    .close {
        top: 25%;
        right: 10.5%;
    }
}
@media screen and (max-width: 848px) {
    .close {
        top: 28%;
        right: 10.5%;
    }
}
@media screen and (max-width: 706px) {
    .close {
        display: none;
    }
}
.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.modal-content, .close {
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {transform: scale(0)}
    to {transform: scale(1)}
}