* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Open Sans", sans-serif;
}

.header {
  display:grid;
  grid-template-rows: .95fr .05fr;
  height: 100vh;
  width: 100%;
}

header .flex {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

header h1 {
  text-transform: uppercase;
  font-size: 1.5em;
  margin-left: 5px;
  color:#8392e3;
  opacity: 0;
}

header h1 span {
  display: block;
  color:white;
  font-size: 1em;
}

header .brand {
  display: flex;
  font-size: .8em;
  position: fixed;
  height: 6em;
  top:0;
  width: 100%;
  justify-content: space-between;
  background: #333c6b;
}

.header .hero {
  background: url(../img/cover2.jpg);
  background-position: center bottom;
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.flex  h1 {
  animation-name: entraTitulo;
  padding-left: 10px;
  animation-duration: 3s;
  animation-delay: 1s;
  animation-fill-mode: forwards;
}

.btn {
  padding: 10px 25px;
  border-radius: 20px;
  text-transform: uppercase;
  text-decoration: none;
  color: white;
  box-shadow: 1px 1px 5px #222;
}

.header .hero .btn {
  display: inline-block;
  background: #3793d0;
  border: solid 1px #3793d0;
}

.header .hero h2 {
  font-size:4em;
  /* position: relative; */
  /* z-index: 1; */
  color: white;
  margin-bottom: 50px;
  text-shadow: 5px 5px 5px #222;
  animation: 3s entraBienvenido;
  animation-delay: 1s;
  animation-fill-mode: forwards;
  opacity: 0;
}

.header .hero h2.visible {
  opacity: 1;
}

.header .hero h2.oculto {
  opacity: 0;
}

.header .barra-verde {
  width: 100%;
  background: #ffc154;
}



/* nav {
  width: 50%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
} */
/* NAVEGACION */
nav ul {
  display: flex;
}

nav ul li {
  list-style: none;
  position: relative;
}

nav ul li a {
  display: block;
  text-decoration: none;
  text-transform: uppercase;
  padding: 0 20px;
  height: 60px;
  line-height: 60px;
  color: white;
  transition: .5s ease all;
}

nav ul li a:hover,
nav ul li.active
 {
  background: #396592;
  color: rgba(0,0,0, .5);
}

nav ul li ul 
{
  position: absolute;
  width: 200%;
  left: 0;
  background: #333c6b;
  display: none;
  transition: .5s ease all;
  z-index:3;
}

nav ul li ul li 
{
  display: block;
  width: 100%;
}

nav ul li.dropdown:before 
{
  content: '\f0d7';
  font-family: fontAwesome;
  position: absolute;
  line-height: 60px;
  color: white;
  right: 5px;
}

nav ul li.active ul{
  display: block;
}

#menu-hamburguesa {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  margin: 10px;
  font-size: 2em;
}
/* FIN NAVEGACION */

.historia {
  /*text-align: center;*/
  margin: 1em;
  font-size: 1em;
}

main>h2 {
  margin-top: 2em;
  text-align: center;
}

/* main {
  margin: 0 auto;
} */

.empresa {
  display: grid;
  grid-template-columns: 1fr 2px 1fr;
  margin: 2em;
}
 
.empresa .division {
  border: solid 1px #aaa;
  height: 200px;
  margin-top: 2em;
}

.empresa .block {
  padding: 2em;
  font-size: 1.3em;
}

.empresa .block h2 {
  text-transform: uppercase;
  font-size: 2em;
  margin-bottom: 1em;
}

.destacados {
  border-top: solid .8em #ffc154;
  border-bottom: solid .8em #ffc154;
  padding: 5px;
  display: flex;
  /* justify-content: space-evenly; */
  /* flex-wrap: wrap; */
}

.destacados a {
  display: inline-block;
  width: 100%;
  height: auto;
  max-width: 25vw;
  margin: 5px;
}

.destacados img {
  width: 100%;
  object-fit: cover;
  height: 100%;
  max-height: 33vh;
}

.block-ayuda {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 60%;
  margin: 0 auto;
  min-height: 200px;
  align-items: center;
  justify-content: space-between;
}

.block-ayuda p:nth-last-child(2) {
  padding-bottom: 30px;
}

.block-ayuda .btn {
  box-shadow: 1px 1px 5px #222;
  background: #b48937;
}

.btn.ver {
  background: #8392e3;
}

.lugares {
  border-top: solid .8em #8392e3;
  border-bottom: solid .8em #8392e3;
  padding: 5px;
  display: flex;
  justify-content: space-evenly;
}

.lugares img {
  width: 100%;
  height: auto;
  object-fit: cover;
  margin: 5px;
  max-height: 33vh;
}

.video-container {
  display: flex;
  align-items: center;
}

.item-flex {
  flex:1;
}

.cartel {
  display: flex;
  justify-content: center;
}

.cartel img {
  max-width: 500px;
  width: 100%;
}

.video-contenedor {
  width: 100%;
  padding: 10px;
  display: flex;
 justify-content: center;
}

.video {
  width: 50%;
  height: 0%;
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  overflow: hidden;
  margin-bottom: -30%;
}

.video iframe,
.video embed,
.video object
.video video {
  width: 100%;
  height: 50%;
  position: absolute;
  top: 0;
  left: 0;
}

footer {
  background-color: #396592;
}

footer .texto {
  width:100%;
  display: flex;
  align-items: center;
  height: 10vh;
  justify-content: center;
  font-size: .7em;
}

footer .texto h3 {
  color: #8392e3;
}

footer .texto h3 span {
  color: white;
}

footer .dibujos {
  width: 100%;
  background: url(../img/pie.png);
  min-height: 60px;
  
  background-repeat: repeat-x;
}

.form {
  margin: 20px auto;
  text-align: center;
  padding-bottom: 20px;
  width: 100%;
  background: #f8f9fa;
}

.form .group {
  width: 60%;
  margin: 20px auto;
}

.contacto h2 {
  display: flex;
  justify-content: center;
  font-size: 4em;
  color: #333c6b;
  letter-spacing: 3px;
}

.form p {
  font-size: .7em;
  padding: 20px;
}

.form input {
  width: 70%;
  text-indent: 5px;
  border-radius: 5px;
  border: solid 1px #ccc;
  padding: 8px 0;
}

.form input[type="submit"] {
  background: #b48937;
  color: white;
  border-radius: 20px;
  width: auto;
  padding: 10px 25px;
}

.form textarea {
  width: 70%;
  text-indent: 10px;
  border-radius: 5px;
  border: solid 1px #ccc;
}

::placeholder {
  font-family: "Open Sans";
  font-size: .9em;

}
/* Animaciones */
@keyframes entraTitulo {
  0% {
    transform: translateX(-100px);
    opacity: 0;
  }
  50% {
    transform: translateX(150px);
    opacity: .5;
  }
  100% {
    transform: translateX(0px);
    opacity: 1;
  }
}

@keyframes entraBienvenido {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: .99;
  }
}

/* Termina animaciones */

/* HOTELES */

.hotel {
  width: 100%;
  padding: 10px 0px;
  display: grid;
  grid-template: 6fr 4fr / 1fr 2fr;
  justify-content: space-around;
  gap: 0px 20px;
  margin-top: 6em;
  margin-bottom: 2em;
}

.hotel .hotel-galeria {
  padding-left: 10px;
  height: 70vh;
  grid-column: 1 /2;
  grid-row: 1/ 2;
  display: grid;
  gap: 5px;
  grid-template: 4fr 1fr / repeat(4, 1fr);
  grid-auto-rows: 1fr;
}


.hotel .hotel-galeria img {
 width: 100%;
 /* height: 133px; */
 height: 100%;
}

.hotel .hotel-galeria .hotel-galeria-principal {
  grid-row: 1 / 2;
  grid-column: 1 / 5;
}


/* .hotel .hotel-mapa {
  grid-column: 2 / 3;
  justify-self: start;
}

.hotel .hotel-mapa img {
  width: 100%;
  border: solid 2px purple;
  max-height: 100%; 
  object-fit: cover;
} */

.hotel .hotel-mapa {
        grid-column: span 2;
        position: relative;
        margin: 0 1em;
        height: 400px;
        overflow: hidden;
    }
    .hotel .hotel-mapa iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100% !important;
        height: 100% !important;
    }


.hotel .hotel-descripcion h2{
  text-transform: uppercase;
  margin-bottom: 2em;
}

.hotel .hotel-descripcion a {
  text-decoration: none;
  color: #8c8c8c;
}

.hotel .hotel-descripcion h2 a {
  color: inherit;
  text-decoration: none;
}

.hotel .hotel-descripcion {
  padding: 15px;
  color: #2d386e;
}

.hotel .hotel-descripcion .hotel-descripcion-servicios {
  margin-top: 2em;
  display: grid;
  grid-template: 1fr 1fr / repeat(3, 1fr);
  /* justify-content: center; */
  gap: 20px 10px;
}

.hotel .hotel-descripcion .hotel-descripcion-servicios i {
  color: #535353;
  display: flex;
  /* justify-content: center; */

}

.hotel .hotel-descripcion .hotel-descripcion-servicios i span {
  font-family: "Open Sans", sans-serif;
  padding: 0 2px;
  color: #2d386e;
}

/* TERMINA HOTELES */

/* menu hamburguesa */
#menu-hamburguesa {
  /* display: none; */
  position: absolute;
  font-size: 2em;
  color: white;
  margin-right: 15px;
  top: 0;
  right: 0;
  cursor: pointer;
  z-index: 4;
}

/* Termina menu hamburguesa*/
  
  
/*media queries */
@media screen and (max-width: 500px) {

  .header h1 {
    font-size: 1em;
    margin-left: 2px;
  }
  
  header .brand {
    position: static;
  }


  header nav {
    position: absolute;
    top:60px;
    left: 100%;
    width: 100%;
    height: 100vh;
    transition: .5s;
  }

  header nav.active {
    left: 0;
  }

  .empresa {
    grid-template-columns: 1fr;
  }

  .empresa .block h2 {
    text-align: center;
  }

  .empresa .division {
    display: none;
  }

  .form .group {
    width: 100%;
  }

  .header .hero h2 {
    font-size: 3em;
  }

  .destacados {
    flex-wrap: wrap;
  }

  .destacados img {
    max-width: 100vw;
  }

  .block-ayuda {
    grid-template-columns: 1fr;
    width: 100%;
    justify-content: center;
    margin-bottom: 10px;
  }

  .block-ayuda div {
   
    text-align: center;
    margin: 10px 5px;
  }

  .video-container {
    flex-direction: column;
  }

  /* MENU */
  #menu-hamburguesa {
    display: block;
  }

  nav {
    /* display: none; */
    position: absolute;
    z-index: 1;
    top:60px;
    left: 100%;
    width: 100%;
    height: 100vh;
    background: #262626;
    transition: .5s;
  }

  nav.active {
    left: 0;
  }

  nav ul {
    text-align: center;
    background: #333c6b;
    display: block;
  }

  nav ul li {
    border-bottom: solid 1px #333fac;
  }

  nav ul li ul 
  {
    position: absolute;
    width: 100%;
  }

  /* FIN MENU*/

  .block-ayuda p{
    padding: 5px;
  }

  .hotel {
    grid-template-rows: 1fr 1fr;
    grid-template-columns: 1fr;
    margin-top: 1em;
  }

  .hotel .hotel-galeria {
    grid-template-rows: 1fr;
    height: 50vh;
  }
  .hotel .hotel-mapa {
    grid-column: auto;
  }

  .hotel .hotel-descripcion h2{
    font-size: 1.2em;
    text-align: center;
  }

  .hotel .hotel-descripcion i{
    font-size: .5em;
  }

  .hotel .hotel-galeria img:nth-child(2) {
    display: none;
  }
  .hotel .hotel-galeria img:nth-child(3) {
    display: none;
  }
  .hotel .hotel-galeria img:nth-child(4) {
    display: none;
  }
  .hotel .hotel-galeria img:nth-child(5) {
    display: none;
  }
  .hotel .hotel-galeria img:nth-child(6) {
    display: none;
  }
  .hotel .hotel-galeria img:nth-child(7) {
    display: none;
  }
  .hotel .hotel-galeria img:nth-child(8) {
    display: none;
  }
  .hotel .hotel-galeria img:nth-child(9) {
    display: none;
  }
  .hotel .hotel-galeria img:nth-child(10) {
    display: none;
  }
  .hotel .hotel-galeria img:nth-child(11) {
    display: none;
  }

  .video {
    width: 100%;
    margin-bottom: 0;
  }

  .video iframe,
  .video embed,
  .video object
  .video video {
    height: 100%;
  }

   
  /* .empresa .block h2 {
    font-size: 1.5em;
    margin-bottom: 2em;
  } */
}

@media screen and (max-width: 404px) {
  header h1 {
    font-size: 1.1em;
  }
}

/* Termina media queries */