head{
  font-family: 'Montserrat', sans-serif;
}
body{
  background-color: beige;
  padding-top: 60px;
}
html {
  scroll-behavior: smooth;
}

header{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1;
  background-color: beige;

}
header img{
  width: 100px;
}
*{
  margin: 0;
  padding: 0%;
  box-sizing: border-box;
}
/*loader*/
.lds-roller {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-roller div {
  animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  transform-origin: 40px 40px;
}
.lds-roller div:after {
  content: " ";
  display: block;
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #860000;
  margin: -4px 0 0 -4px;
}
.lds-roller div:nth-child(1) {
  animation-delay: -0.036s;
}
.lds-roller div:nth-child(1):after {
  top: 63px;
  left: 63px;
}
.lds-roller div:nth-child(2) {
  animation-delay: -0.072s;
}
.lds-roller div:nth-child(2):after {
  top: 68px;
  left: 56px;
}
.lds-roller div:nth-child(3) {
  animation-delay: -0.108s;
}
.lds-roller div:nth-child(3):after {
  top: 71px;
  left: 48px;
}
.lds-roller div:nth-child(4) {
  animation-delay: -0.144s;
}
.lds-roller div:nth-child(4):after {
  top: 72px;
  left: 40px;
}
.lds-roller div:nth-child(5) {
  animation-delay: -0.18s;
}
.lds-roller div:nth-child(5):after {
  top: 71px;
  left: 32px;
}
.lds-roller div:nth-child(6) {
  animation-delay: -0.216s;
}
.lds-roller div:nth-child(6):after {
  top: 68px;
  left: 24px;
}
.lds-roller div:nth-child(7) {
  animation-delay: -0.252s;
}
.lds-roller div:nth-child(7):after {
  top: 63px;
  left: 17px;
}
.lds-roller div:nth-child(8) {
  animation-delay: -0.288s;
}
.lds-roller div:nth-child(8):after {
  top: 56px;
  left: 12px;
}
@keyframes lds-roller {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.loader{
  background: #a5a5a5;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0%;
  left: 0%;
  z-index: 100000;
  clip-path: circle(140.7% at 100% 0%);
  transition: clip-path 0.8s ease-in-out;
}
.loader2{
  clip-path: circle(0% at 100% 100%); 
}
/*fin loader*/
/* Inincia nav*/
nav{
  position: fixed;
  top: 30px;
  width: 100%;
}
nav{
  font-family: 'Titillium Web';
  text-transform: uppercase;
  font-weight: 400;
  margin-left: 400px;
  
}

nav a:hover {
  padding: 5px 10px;
  background:#860000;
  color: #fff;
  border-radius: 12px;
  
}

a{
  margin-left: 10px;
  text-decoration: none;
  transition: all 0.5s ease;
}
/* fin nav*/
/*Inicia banner*/
.banner{
  width: 100%;
  height: 600px;
  animation: banner 10s infinite linear alternate;
  background-size: 100% 100% ;
  position: relative; 
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
}
@keyframes banner{
  0%, 20%{
    background-image: url(../Banner/banner1.jpg) ;
  }
  25%, 45%{
    background-image: url(../Banner/banner2.jpg) ;
  }
  50%, 70%{
    background-image: url(../Banner/banner3.jpg) ;
  }
  75%, 95%{
    background-image: url(../Banner/banner4.jpg) ;
  }
}
.capa{
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(0,0,0,0.3);
}
.inf{
  z-index: 0;
  width: 100%;
  max-width: 800px;
  text-align: center;
}
.inf h1{
  color: #fff;
  font-size: 45px;
  margin-bottom: 50px;
  letter-spacing: 1px;
}
.inf p{
  color: #e08b1b;
  margin-bottom: 30px ;
  font-size: 32px;
  font-style: oblique;
}
.inf a{
 color: #fff;
  text-decoration: none;
  background: #e08b1b;
  padding: 16px 37px;
  display: inline-block;
  border-radius: 50px;
}
/*inicia Servicios */
.servicios {
  margin-left: 150px;
  text-align: center;
  max-width: 900px;
}
.servicios h1{
  margin-top: 25px;
  margin-bottom: 25px;
}
.servicios p{
  font-size: 20px;
}
.container{
  width: 100%;
  display: flex;
  
  align-items: center;
  justify-content: center;
}
.card{
  width: 100%;
  margin: 20px;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0px 1px 10px rgba(0,0,0,0.2);
  cursor: default;
  transition: all 400ms ease;
}
.card:hover{
  box-shadow: 5px 5px 20px rgba(0,0,0,0.4);
  transform: translateY(-3%);
}
.card img {
  width: 100%;
  height: 210px;
}
.card .text {
  padding: 15px;
  text-align: center;
}
.card .text p{
  line-height: 1.5;
  color: 6a6a6a;
}
.card .text h3{
  margin-bottom: 15px;
  color: #e08b1b;
}
/*Finaliza servicios*/

/*Inicia espot*/

.espot{
  width: 99vw;
  height: 80vh;
  display: flex;
  justify-content: center;
  background: url(/imagenes/img-33.jpg);
  background-size: cover;
  background-position: center;
}
.espots p{
  color: #e08b1b;
  font-size: 25px;
  text-align: center;
  margin-top: 25px;
}
.espots h2{
  color: #fff;
  font-size: 50px;
  text-align: center;
  margin-top: 100px;
}
.espots a{
  margin-left: 400px;
  margin-top: 50px;
  font-size: 20px;
}
/*FINALIZA SPOT*/
/*
----------------------------------INICIA GALERIA----------------------------------------------*/
#galeria h1{
  font-weight: 400;
  text-align: center;
  padding: 25px 0;
  font-size: 60px;
}
.linea{
  background: #550b51;
  height: 5px;
  width: 100%;
  display: block;
}

.galeria{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  width: 95%;
  margin: auto;
  grid-gap: 10px;
  padding: 40px 0;
  overflow: hidden;  
}
.galeria img{
  width: 100%;
  vertical-align: top;
  height: 300px;
  object-fit: cover;
  transition: transform 0.5s;
}
.galeria > a{
  display: block;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 6px rgba(0,0,0,0.2);
}
.galeria a:hover img{
   filter: blur(2px);
   transform: rotate(10deg) scale(1.1);
}
.light-box{
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0,.5);
  transition: transform .3s ease-in-out;
  width: 100%;
  height: 100vh;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: scale(0);
}
.light-box img{
  width: 55vw;
  max-height: 80vh;
}
.light-box:target{
  transform: scale(1);
}
.close{
  display: block;
  position: absolute;
  top: 40px;
  right: 40px;
  background: #851919;
  color: #fff;
  text-decoration: none;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;

}
.next{
  display: block;
  background: #851919;
  color: #fff;
  height: 40px;
  width: 40px;
  line-height: 40px;
  text-decoration: none;
  text-align: center;
}
/*------------------fin Galeria----------------*/

/*------------------Nosotros-------------------*/
.cont-nosotros{
  background: #fff;
  margin: auto;
  display: flex;
  width: 70%;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
  border-radius: 1%;
  margin-top: 50px;
 
  
}
.us-img img{
  margin-left: 20px;
  margin-top: 25px;
  height: 70%;
  width: 85%;
}
.us-texto{
  text-align:justify;
  justify-content: center;
  font-size: 120%;
  padding-left: 10px;
  line-height: 1.5;
  
}
.us-texto h2{
  text-align: center;
  font-size: 30px;
  color:#a70303
}
.us-texto h3{
  text-align: center;
}
.us-texto img{
  padding-top: 15px;
}
/*------------------Fin Nosotros------------*/
/*---------------Mision y Vision------------*/
.mv{
  display: flex;
  padding-top: 35px;
  width: 80%;
  margin: auto;
}
.mv h2{
  text-align: center;
}
.mv p{
  margin-top: 25px;
  font-size: 120%;
  line-height: 1.5;
  text-align: center;
}
.mision{
  background: #fff;
  margin: 10px;
  padding: 10px;
  position: relative;
}
.vision{
  background: #fff;
  margin: 10px;
  padding: 20px;
  position: relative;
}
.mision::after{
  position: absolute;
  top: 0px;
  left: 0px;
  content: ' ';
  background: #1D4350;  /* fallback for old browsers */
  background: -webkit-linear-gradient(to right, #A43931, #1D4350);  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to right, #A43931, #1D4350); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */;
  width: 100%;
  height: 100%;
  filter: blur(10px);
  z-index: -1;
}
.vision::after{
  position: absolute;
  top: 0px;
  left: 0px;
  content: ' ';
  background: #1D4350;  /* fallback for old browsers */
  background: -webkit-linear-gradient(to right, #A43931, #1D4350);  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to right, #A43931, #1D4350); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */;
  width: 100%;
  height: 100%;
  filter: blur(10px);
  z-index: -1;
}
/*---------------Fin Mision y Vision------------*/
.espot2{
  width: 99vw;
  height: 80vh;
  display: flex;
  justify-content: center;
  background: padding-box url(/Banner/banner2.jpg);
  background-size: cover;
  background-position: center;
  
}
.espots h1{
  color: #fff;
  font-size: 60px;
  text-align: center;
  padding-top: 100px;
}
.inf2 a{
  margin-left: 250px;
  margin-top: 50px;
  color: #fff;
  text-decoration: none;
  background: #e08b1b;
  padding: 16px 37px;
  display: inline-block;
  border-radius: 50px;
  font-size: 20px;
}
/*-----------------fin mision y vision---------------*/
/*---------POPUP---------------*/
.overlay{
  background: rgba(0,0, 0,.4);
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
}
.overlay.active{
  visibility: visible;
}

.popup{
  background: #940101;
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.4);
  border-radius: 3px;
  font-family: 'Montserrat', sans-serif;
  padding: 20px;
  text-align: center;
  width: 500px;
  transition: .3s ease all;
  transform: scale(0.7);
  opacity: 0;
  

}
.btn-cerrar-popup{
  font-size: 16px;
  line-height: 16px;
  display: block;
  text-align: right;
  color: #bbbbbb;
  transition: .3s ease all;
}
.btn-cerrar-popup:hover{
  color: #000;
}
.popup h3{
  font-size: 33px;
  font-weight: 600;
  margin-bottom: 10px;
  opacity: 0;
}
.popup h4{
  font-size: 26px;
  font-weight: 300;
  margin-bottom: 40px;
  opacity: 0;
}
.popup form .contenedor-inputs{
opacity: 0;
}
.popup form .contenedor-inputs input{
  width: 100%;
  margin-bottom: 15px;
  height: 40px;
  line-height: 52px;
  font-size: 18px;
  text-align: center;
  border: #bbbbbb;
}

.popup form .contenedor-inputs textarea{
  width: 100%;
  margin-bottom: 15px;
  height: 65px;
  line-height: 52px;
  font-size: 18px;
  text-align: center;
  border: #bbbbbb;
}

.btn-submit{
  padding: 0 20px;
  height: 40px;
  line-height: 40px;
  border: none;
  color: #fff;
  background: #6a6e7a;
  border-radius: 3px;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  cursor: pointer;
  transition: .3s ease all;
}
.btn-submit:hover{
  background: rgba(8, 24, 83, 0.8);
}
/* fin popup*/
.popup.active{opacity: 1; transform: scale(1);}
.popup.active h3{animation: entradaTitulo 1s ease .5s forwards;}
@keyframes entradaTitulo{
  from{
      transform: translateY(-25px);
      opacity: 0;
  }
  to{
      transform: translateY(0) ;
      opacity: 1;
  }
}
.popup.active h4{animation: entradaSubTitulo 1s ease .5s forwards;}
@keyframes entradaSubTitulo{
  from{
      transform: translateY(25px);
      opacity: 0;
  }
  to{
      transform: translateY(0) ;
      opacity: 1;
  }
}
.popup.active .contenedor-inputs{animation: entradaInputs 2s ease 1.5s forwards;}
@keyframes entradaInputs{
  from{opacity: 0;}
  to{opacity: 1;}
  }

  /*-------------------------------------contactos--------------------------------------------------*/
  .container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
    border-radius: 4px;
  }
  
  .contact {
    flex-basis: 45%;
    margin-right: 20px;
    margin-bottom: 70px;
  }
  
  .map {
    flex-basis: 55%;
    height: 550px;
    background-color: #f2f2f2;
    margin-bottom: 55px;
  }
  
  .location {
    flex-basis: 45%;
  }
  
  h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
  }
  
  h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
  }
  
  p {
    margin-bottom: 10px;
    font-size: 18px;

  }
  
  .vw {
    font-size: 25px;
  }
  .vw1 {
    font-size: 20px;
  }
  
    
  
  
  @media (max-width: 768px) {
    .container {
      flex-wrap: wrap;
    }
  
    .contact, .location, .map {
      flex-basis: 100%;
      margin-bottom: 20px;
    }
  }
  /*--------------------------------------Fin contactos----------------------------*/
  footer {
    background-color: #f0eded;
    color: #e08b1b;
    padding: 30px 0;
    text-align: center;
    font-family: Arial, sans-serif;
  }

  .containerf {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
  }

  .logof {
    margin-right: 20px;
  }

  .logof img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
  }

  .copyf {
    font-size: 18px;
    margin-top: 10px;
  }

  .copyf a {
    color: #272525;
    text-decoration: none;
  }

  .copyf a:hover {
    text-decoration: underline;
  }
  .videoo {
    
    padding-top: 45px;
    border-color: #860000;
    width: 68%;
    height: 68%;
  }
  .myvid{
    text-align: center;
  }
  /*------------------------------PUBLICACIONES---------------------------------*/
  .publi {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .publi img {
    max-width: 80%;
    height: auto;
  }
  .slider img{
    width: 160px;
    height: 120px;
    padding-bottom: 45px;

  }
  .slide {
    text-align: center;
    padding-top: 20px;  
    padding-bottom: 25px;
    
  }
  