@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;
    vertical-align: baseline;
    text-decoration: none;
}

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;
}
.nav2{
    border-bottom: 1px solid black;
}
.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;
}

a .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;
}
.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;
    margin-top: -5rem;
}

.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;
    }

    .capa-opaca1 {
        min-width: 100%;
        height: 100%;
    }

    .frasecont {
        display: flex;
        justify-content: baseline !important;
        align-items: baseline !important;
        min-height: 120px;
    }
    .frase {
        max-width: 60%;
    }
    #typed{
        max-width: 50% !important;
        white-space: pre-line;
    }
}


/*portada*/
.slider {
    position: relative;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-size: cover;
    width: 100%;
    height: 100%;
    overflow: hidden;
    box-sizing: border-box;
    margin-top: -8rem;
}

.slider ul {
    display: flex;
    width: 700%;
}

.slider li {
    width: 100%;
    height: auto;
    list-style: none;
}

.slider img {
    display: block;
    width: 100%;
    height: auto;
    animation: slide2 30s infinite;
    z-index: 0;
}

.capa-opaca {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.capa-opaca1 {
    display: flex;
    flex-direction: column;
    width: 50%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.frasecont {
    width: 80%;
    display: flex;
    flex-direction: column;
    justify-content: left;
    align-items: baseline;
    text-align: left;
    height: 22%;
    gap: 0.5rem;
}

.frase {
    display: flex;
    color: #F9F6F3;
    z-index: 1;
    height: 25%;
    width: 100%;
    font-family: 'Futura';
    font-weight: lighter;
    font-style: normal;
}


#typed {
    display: flex;
    flex-direction: column;
    color: #F9F6F3;
    z-index: 99999;
    height: 60%;
    width: 80%;
    font-family: 'Futura';
    font-style: normal;
}

@keyframes slide2 {
    0% {
        margin-left: 0;
    }
    
    10% {
        margin-left: 0;
    }
    
    15% {
        margin-left: -100%;
    }
    
    25% {
        margin-left: -100%;
    }
    
    30% {
        margin-left: -200%;
    }
    
    40% {
        margin-left: -200%;
    }
    
    45% {
        margin-left: -300%;
    }
    
    55% {
        margin-left: -300%;
    }
    
    60% {
        margin-left: -400%;
    }
    
    70% {
        margin-left: -400%;
    }
    
    75% {
        margin-left: -500%;
    }
    
    85% {
        margin-left: -500%;
    }
    
    90% {
        margin-left: -600%;
    }
    95% {
        margin-left: -600%;
    }
    
    100% {
        margin-left: 0;
    }
    
}

/*Whatsapp*/
.lwhatsapp {
    width: auto;
    height: 3rem;
    position: relative;
    left: -0.75rem;
    top: 0.2rem;
}

.whatsapp-link {
    position: fixed;
    width: 1.5rem;
    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;
}

/*contenedor*/
.content {
    margin-top: -13rem;
}

.sau {
    width: 90%;
    height: auto;
    justify-content: center;
}
.titulopv{
    display: flex;
    width:100%;
    justify-content: center;
    gap: 1rem;
}
.galeria {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    text-align: center;
    justify-content: space-between;
    height: auto;
    gap: 1rem;
}

.sau .galeria .box {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: center;
    height: 30rem;
    width: clamp(32%, 2vw + 2%, 100%);
    align-items: center;
    gap: 0.8rem;
    opacity: 0;
    transform: scale(0.9);
    transition: 0.9s ease-in-out all;
    border-radius: 5px;
}


@media screen and (max-width: 1216px) {
    .sau .galeria .box {
        min-width: 49%;
        min-height: 30vh;
    }
}

.sau .galeria .visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.galeria .box .h {
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    color: aliceblue;
    background-color: rgb(0, 0, 0, 0.8);
    padding: 1rem;
    margin-top: -30%;
}

.tmas {
    width: 100%;
    height: 100%;
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: right;
    flex-direction: row;
}

.sau .galeria .box .box1 {
    background: url("./imagenes/TURÍN/turin_3.jpg");
    width: 100%;
    height: 18rem;
    text-align: center;
    align-items: center;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.sau .galeria .box .box2 {
    background: url("./imagenes/SAN\ SILVESTRE/san_silvestre_1.jpg");
    width: 100%;
    height: 18rem;
    text-align: center;
    align-items: center;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.sau .galeria .box .box3 {
    background: url("./imagenes/BOSQUE\ SERENO/Bosque_sereno_1.jpg");
    width: 100%;
    height: 18rem;
    text-align: center;
    align-items: center;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.descripcion {
    display: flex;
    position: relative;
    flex-direction: column;
    width: 100%;
    gap: 15px;
    height: 12rem;
    justify-content: center;
    align-items: center;
}

.descripcion2 {
    display: flex;
    flex-direction: row;
    gap: 1px;
    width: 100%;
}

.descripcion2 .des1 {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: fit-content;
    min-width: 33.33%;
    height: 55px;
    text-align: center;
    align-items: center;
    justify-content: center;
    background-color: #F9F6F3;
    border-right: #B29C6F solid 1px ;
}

.descripcion2 .des1 h4 {
    color: #303030;
}

.descripcion3 {
    display: flex;
    width: 100%;
    flex-direction: row;
}

.descripcion3 .des2 {
    display: flex;
    flex-direction: column;
    width: 50%;
    height: 50px;
    text-align: center;
    align-items: baseline;
    background-color: #b29c6f1a;
}

.descripcion3 .des2 p {
    margin-left: 5%;
}

.descripcion3 .des3 {
    display: flex;
    width: 50%;
    height: 50px;
    background-color: #B29C6F;
    color: #F2F2F2;
    justify-content: center;
    text-align: center;
    align-items: center;
}

.descripcion .nombrea {
    display: flex;
    flex-direction: column;
    height: 40px;
    width: 100%;
    text-align: center;
    align-items: baseline;
    gap: 6px;
}

.Nombre {
    font-size: 18px;
}

.pie_pagina {
    display: flex;
    flex-direction: column;
    height: 150px;
    width: 90%;
    gap: 10px;
    justify-content: center;
    border-top: 1px solid black;
}

.Servicios {
    display: flex;
    flex-direction: row;
    height: auto;
    width: 85%;
    align-items: start;
}

.texto1 {
    width: 50%;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.texto2 {
    width: 50%;
    display: flex;
    flex-direction: column;
    text-align: left;
    padding: 0 0 0 60px;
}

#mas,
#mas2,
#mas3,
#mas4,
#mas5 {
    color: #B29C6F;
}

.contenedor {
    width: 100%;
    height: 3rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid black;
}

.contenedor-oculto {
    display: none;
    padding-top: 1rem;
}

.Numeros {
    display: flex;
    width: 100%;
    justify-content: center;
    background-color: #303030;
}

.numeros {
    display: flex;
    width: 80%;
    align-items: center;
    justify-content: space-between;
    padding: 3%;
    color: #F9F6F3;
}

.num {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 24%;
}

.hecho {
    width: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.Hecho {
    display: flex;
    width: 40%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.Hecho2 {
    display: flex;
    width: 80%;
    flex-direction: column;
    justify-content: baseline;
    text-align: left;
}

.imag {
    width: 60%;
}

.carousel {
    position: relative;
}

.slides {
    display: flex;
    overflow: hidden;
}

.slides img {
    width: 100%;
    display: none;
}

.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 18px;
}

.prev {
    left: 0;
}

.next {
    right: 0;
}

.btnm {
    display: flex;
    gap: 0.5rem;
    padding: 0.6rem;
    cursor: pointer;
    background-color: #94928944;
    color: black;
}

.btnm:hover {
    background-color: #303030;
    color: #F9F6F3;
}

.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%);
}
.displa li :hover {
    background-color: #949289;
    color: #F9F6F3;
}
.displa2 li{
    list-style-type: none;
}
.displa2 p{
    font-size: 0.8rem;
}
@media screen and (max-width: 895px) {
    body{
        gap: 4rem;
    }
    .lineaN{
        margin-top: -4rem;
    }
    .slider{
        margin-top: -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%;
    }
    .num{
        margin-top: 1rem;
    }
    .numeros{
        width: 100%;
    }
    .sau .galeria .box {
        min-width: 48.5%;
    }
    .galeria .box .h{
        margin-top: -30%;
    }
}

@media screen and (max-width: 1216px) {
    body{
        gap: 6rem;
    }
    .lineaN{
        margin-top: -6rem;
    }
    .slider{
        margin-top: -6rem;
    }
    .escri{
        width: 30%;
    }
    .formulario{
        width: 40%;
    }
    .direccion{
        width: 30%;
    }
    .hecho{
        width: 90%;
        flex-direction: column-reverse;
        gap: 2rem;
    }
    .imag{
        width: 90%;
    }
    .Hecho{
        width: 100%;
    }
    .Hecho2{
        width: 90%;
    }
    .content{
        margin-top: -3rem;
    }
    .des1 p{
        font-size: 0.7rem;
    }
    .des1 h4{
        font-size: 1rem;
    }
}
@media screen and (max-width: 400px) {
    body{
        gap: 2rem;
    }
    .lineaN{
        margin-top: -2rem;
    }
    .slider{
        margin-top: -2rem;
    }
    .barra-small{
        margin-top: -3rem;
    }
    .frase{
        font-size: 1.5rem;
    }
    .titulopv{
        flex-direction: column;
        gap: 0;
    }
    .galeria .box .h{
        margin-top: -30%;
        font-size: 0.8rem;
    }
    .sau .galeria .box {
        height: auto !important;
    }
    .frasecont{
        align-items: center;
    }
    .nombrea{
        margin-top: -2rem;
    }
    .des1 p{
        font-size: 0.7rem;
    }
    .des1 h4{
        font-size: 1rem;
    }
    .tmas .h{
        margin-bottom: 0.1rem !important;
        padding: 0.8rem !important;
    }
    #typed h1 strong{
        font-size: 1.5rem !important;
    }
    #typed {
        min-width: 100% !important;
    }
    #typed h1{
        line-height: 1 !important;
    }
}
@media screen and (max-width: 600px) {
    body{
        gap: 3rem;
    }
    .lineaN{
        margin-top: -3rem;
    }
    .slider{
        margin-top: -3rem;
        overflow: hidden;
        
    }
    .slider img {
        min-height: 95vh;
        object-fit: cover;
    }
    .barra-small{
        margin-top: -3rem;
    }
   .Servicios{
    flex-direction: column;
    width: 80%;
    gap: 1rem;
   }
   .texto1,.texto2{
    width: 100%;
    padding: 0;
   }
   .numeros{
    flex-direction: column;
   }
   .num{
    padding-bottom: 1rem;
    width: 100%;
   }
   .content{
    margin-top: -1rem;
   }
   .btnm{
        height: 2.5rem;
        display: flex;
        justify-content: center;
        align-items: center;
   }
   .btnm h3{
    font-size: 1rem;
    }
    .frasecont{
        height: 50%;
        justify-content: baseline;
        align-items: baseline;
        gap: 0;
    }
    .frase{
        max-width: 100%;
        max-height: 2rem !important;
        display: flex;
        align-items: center;
    }
    #typed{
        min-width: 90% !important;
        max-height: 2.5rem !important;
    }
    #typed h1{
        font-size: 2rem !important;
        line-height: 1;
    }
    .capa-opaca1{
        justify-content: end;
    }
    .des1 p{
        font-size: 0.7rem;
    }
    .tmas .h{
        font-size: 0.7rem;
        margin-bottom: 3rem;
    }
}
@media screen and (max-width: 450px) {
    .sau .galeria .box {
        height: auto !important;
    }
    .sau .galeria .box .box1 ,.sau .galeria .box .box2,.sau .galeria .box .box3{
        max-height: 15rem !important;
    }
}
@media screen and (max-width: 700px) {
    .sau .galeria .box{
        min-width: 100% !important;
    }
}

/* Estilo para la pantalla de carga */
#loading-screen {
    position: fixed;
    width: 100vw;
    height: 100vh;
    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);
  }
}
