* {
  font-family: 'Montserrat', sans-serif;
}

body, html {
  height: 100%;
}

.navbar {
  position: absolute;
  top: 0;
}

.nav-link {
  font-size: 1.3rem;
}

.navbar-brand {
  transform: translateX(-50%);
  left: 50%;
  margin-top: 4rem;
  position: absolute;
}

.carousel-caption {
  top: 50%;
  transform: translateY(-50%);
}

.teatro {
  background-image: url(/img/DSC_0044-2.jpg);
  height: 100vh;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.lota {
  height: 100vh;
  padding-left: 3rem;
  padding-right: 1rem;
  background: #ddd;
}

.lota h2 {
  padding-top: 15rem;
}

.lota p {
  font-size: 1rem;
  text-align: justify;
  padding: 2rem 0;
}

.lota button {
  color: #000;
  padding: 1rem 2rem;
}

@media (max-width:479px) {
  .navbar-brand {
    zoom: 50%;
  }
  .nav-link {
    font-size: .8rem !important;
    padding: 0.4rem !important;
  }
  .carousel {
    height: 38% !important; 
  }
  .lota, .galeria {
    display: flex;
    flex-direction: column;
  }
  .lota div {
    padding: 3rem 1rem;
  }
  .grilla {
    width: 100% !important;
  }
  .mensaje {
    font-size: 1rem !important;
    text-align: center !important;
  }
  .grilla figcaption {
    display: block;
  }
}

@media (max-width:768px) {
  .nav-link {
    font-size: .8rem;
  }
  .lota{
    padding: 0 1rem;
  }
  .lota h2 {
    padding-top: 1rem;
    font-size:medium;
  }
  .lota p {
    font-size: small;
  }
  .lota button {
    padding: 0.5rem;
    font-size: small;
  }
}

.zoom5 {
	height: 50vh;
	overflow: hidden;
}

.zoom5 img {
  width: 100%;
	height: 50vh;
	transition: 1.2s all ease-in-out;
}

.zoom5:hover img {
  transform:scale(1.04);
}

.zoom7 {
	height: 100vh;
	overflow: hidden;
}

.zoom7 img {
  width: 100%;
	height: 100vh;
	transition: 1.2s all ease-in-out;
}

.zoom7:hover img {
  transform:scale(1.04);
}

figure {
  position: relative;
}

figure:hover figcaption {
  display: block;
}

figcaption {
  display:none;
  width: 50%;
  height: 10%;
  position: absolute;
  padding: 1vh 0;
  top: 45%;
  left: 25%;
  text-align: center;
  font-size: 4vh;
  color: #fff;
}

figure a {
  color: #fff;
  text-decoration: none;
}

.mensaje {
  background: #ddd;
  font-size: 1.8rem;
  height: 40vh;
}

@media (max-width:768px) {
  .mensaje {
    font-size: 1.4rem;
  }
}

.tunel {
  background-image: url(/img/DSC_0039.jpg);
  height: 80vh;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.mina {
  color:#fff;
  padding-left: 3rem;
  margin: 0;
  position: relative;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.mina p {
  font-size: 1rem;
}

.mina button {
  color: #fff;
  padding: 1rem 2rem;
  margin-top: 1.5rem;
}

.slide {
  height: 100vh;
  overflow: hidden;
  position: relative;
  width: 100vw;
}

.foto {
  animation: kenburns 30s linear infinite;
  background-size: cover;
  background-position: 50%;
  height: 100vh;
  inset: 0;
  opacity: 0;
  position: absolute;
  scale: 1.2;
  width: 100vw;
}

.foto:nth-child(1) {
  background-image: url("img/70324041_2646434372054112_6203068957482549248_n.jpg");
}
.foto:nth-child(2) {
  animation-delay: 10s;
  background-image: url("/img/70791594_433372987530858_9012553880663228416_n.jpg");
}
.foto:nth-child(3) {
  animation-delay: 20s;
  background-image: url("/img/69857081_2089825887993461_8153274217727524864_n.jpg");
}

@keyframes kenburns {
  25% {
    opacity: 1;
  }

  50% {
    opacity: .8;
    scale: 1;
  }

  60% {
    opacity: 0;
  }
}