@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;
    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;
}

.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;
}
.titulocont{
    display: flex;
    text-align: start;
    width: 90%;
    letter-spacing: 1.5rem;
    margin-top: -3rem;
    margin-bottom: -3rem;
}
.contacto{
    display: flex;
    flex-direction: column;
    width: 90%;
    justify-content: center;
}
.escri{
    display: flex;
    flex-direction: column;
    width: 25%;
}
.formulario{
    display: flex;
    flex-direction: column;
    width: 50%;
}
.direccion{
    width: 25%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.direc{
    color: black;
}
#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_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{
    margin-top: -2rem;
    margin-bottom: 5rem;
    width: 100%;
}

.pie_pagina{
    display: flex;
    flex-direction: column;
    height: 150px;
    width: 90%;
    gap: 10px;
    justify-content: center;
    border-top: 1px solid black;
}
.displa li :hover {
    background-color: #949289;
    color: #F9F6F3;
    
}
@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%;
    }
    .direc{
        justify-content: center;
        align-items: center;
    }
    
}

@media screen and (max-width: 1216px) {
    body{
        gap: 6rem;
    }
    .escri{
        width: 30%;
    }
    .formulario{
        width: 40%;
    }
    .direccion{
        width: 30%;
    }
}
@media screen and (max-width: 400px) {
    body{
        gap: 2rem;
    }
    .barra-small{
        margin-top: -3rem;
    }
}
@media screen and (max-width: 600px) {
    body{
        gap: 3rem;
    }
    .barra-small{
        margin-top: -3rem;
    }
    .mapa{
        margin-top: 1rem;
    }
    .titulocontactanos{
        letter-spacing: 0.8rem;
        margin-top: 2rem;
        margin-left: -1rem;
    }
    .titulocont{
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
}

/* 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;
}