@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;
}

.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;
}

.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;
        min-width: 90%;
        min-height: 120px;
    }
    
}

/*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;
}
.portada{
    display: flex;
    width: 100%;
    height: 25vh;
    background: url("./imagenes/texturas/1.jpeg");
    background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
    justify-content: center;
    align-items: center;
    color: #F9F6F3;
    letter-spacing: 30px;
    font-weight: lighter;
    margin-top: -8rem;
}
.nosotros{
    width: 85%;
    display: flex;
    flex-direction: row;
    justify-content: baseline;
}
#titu{
    width: 35%;
    display: flex;
    justify-content: baseline;
    align-items: baseline;
}
#texto{
    width:65%;
    display: flex;
    flex-direction: column;
    text-align: start;
    justify-content: baseline;
    align-items: baseline;
    padding-left: 3%;
}

.Servicios{
    display: flex;
    flex-direction: row;
    height:auto;
    width: 85%;
    align-items: start;
}

#tituloN{
    width: 34%;
}
.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;
}
.Equipo{
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: -3rem;
}
.equipo{
    width: 85%;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: baseline;
    text-align: center;
}
.persona{
    display: flex;
    flex-direction: column;
    text-align: center;
    width: 31%;
    height: 8.1rem;
    margin: 1%;
    align-items: center;
    margin-top: 3rem;
    overflow: hidden;
    gap: 0.1rem;
}
.persona img{
    transition: .5s ease-in-out all;
    filter: contrast(0);
}

.persona img:hover {
    transform: scale(1.06);
}

.persona img:hover:not(:hover) {
    transform: scale(1);
}

@media screen and (max-width: 895px) {
    .persona{
        min-width: 47%;
        max-height: 6rem;
    }
    .persona h2{
        font-size: 1.1rem;
    }
    .persona p{
        font-size: 1rem;
    }

}
@media screen and (max-width: 600px) {
    .persona{
        display: flex;
        min-width: 100%;
        text-align: center;
        justify-content: center;
        align-items: center;
        margin: 0;
        padding: 0rem !important;
        max-height: 6rem;
    }
    .equipo{
        justify-content: center;
        width: 90%;
        display: flex;
        flex-direction: column;
        gap: 1rem !important;
        margin-top: 2rem;
    }
    .persona h2{
        display: flex;
        text-align:center;
        align-items: center;
        justify-content: center;
        width: 100%;
        margin: 0 !important;
        font-size: 1.1rem;
    }
    .persona p{
        font-size: 1rem;
    }

}
.persona h2{
    display: flex;
    text-align:center;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    width: 60%;
    padding: 1rem;
    color: #F9F6F3;
    background-color: #303030;
}
.persona p{
    color: black;
}

.img2{
    width: 50%;
    height: auto;
}
.pie_pagina{
    display: flex;
    flex-direction: column;
    height: 150px;
    width: 93%;
    gap: 10px;
    justify-content: center;
    border-top: 1px solid black;
}
.displa li :hover {
    background-color: #949289;
    color: #F9F6F3;
    
}
.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;
  }
  .numeros{
    display: flex;
    width: 80%;
    align-items: center;
    justify-content: space-between;
    padding-left: 3%;
    padding-right: 3%;
  }
.num p{
    color:#303030;
}
.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;
  }
  @media screen and (max-width: 895px) {
    body{
        gap: 4rem;
    }
    .portada{
        margin-top: -4rem;
        max-height: 8rem;
    }
    .barra-small{
        margin-top: -6rem;
    }
    .num{
        margin-top: 1rem;
    }
    .numeros{
        width: 100%;
    }
}

@media screen and (max-width: 1216px) {
    body{
        gap: 6rem;
    }
    .portada{
        margin-top: -6rem;
        height: 10rem;
    }
    .hecho{
        width: 90%;
        flex-direction: column-reverse;
        gap: 2rem;
    }
    .imag{
        width: 90%;
    }
    .Hecho{
        width: 100%;
    }
    .Hecho2{
        width: 90%;
    }
    .persona{
        height: 10rem;
    }
}
@media screen and (max-width: 400px) {
    body{
        gap: 2rem;
    }
    .barra-small{
        margin-top: -3rem;
    }
}
@media screen and (max-width: 600px) {
    body{
        gap: 3rem;
    }
    .portada{
        margin-top: -3rem;
        max-height: 6rem;
    }
    .titulocontactanos{
        letter-spacing: 1.5rem;
    }
    .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%;
   }
   .btnm{
    height: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
.btnm h3{
font-size: 1rem;
}
}
@media screen and (max-width: 700px) {
    .nosotros{
        flex-direction: column;
        width: 80%;
        align-items: center;
    }
    #titu{
        width: 100%;
    }
    #texto{
        width: 100%;
        padding: 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);
  }
}
.displa2 li{
    list-style-type: none;
}
.displa2 p{
    font-size: 0.8rem;
}