/*aqui va el scroll*/
#prueba_fondo{
  width: 100%;
  background-image: url(img/montana.png);
  background-size: cover;
}
#prueba{
  width: 100%;
}
#scrolly {
  position: relative;
  padding: 1rem;
  }
  .scrolly-overlay {
  position: relative;
  padding: 0;
  max-width: 35rem;
  margin: 0 auto;
  }
  .sticky-thing {
  position: -webkit-sticky;
  position: sticky;
  left: 0;
  width: 100%;
  margin: 0;
  z-index: 0;
  top: 0;
  height: 100vh;
  /* Center everything inside */
  display: flex;
  justify-content: center;
  flex-direction: column;
  justify-content: center;
  }
  .step {
  margin: 0 auto 2rem auto;
  margin-bottom: 25rem;
  background-color: #eee;
  background-color: #fff;
  color: black;
  }
  .step p {
  text-align: center;
  padding: 1rem;
  font-size: 1.25rem;
  }
  .hidden {
  animation-name:mover_caja;
  animation-duration: 2s;
 animation-fill-mode: forwards;
 }
/*aqui termina el scroll*/
#contenedor_animacion{
  width: 100%;
  position: absolute;
  top: 100%;
  left: 0;
}
/* Aqui va el menu hamburguesa*/
nav a.active{
  border-bottom: 2px solid rgb(179 126 102);
}
.topnav {
  background-color: rgb(179 126 102);
  overflow: hidden;
  top: 0%;
  left: 0%;
  position: fixed;
  z-index: 20000;
  width: 100%;
  display: none;
}
/* Style the links inside the navigation bar*/
.topnav a {
  float: left;
  display: block;
  font-family: "Libre Baskerville", serif;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}
/* Change the color of links on hover*/
.topnav a:hover {
  background-color: #ddd;
  color: black;
}
/* Add an active class to highlight the current page*/
.topnav a.active {
  background-color: #aa5604;
  color: white;
}
/* Hide the link that should open and close the topnav on small screens*/
.topnav .icon {
  display: none;
}
/*animacon real inicio*/
#animacion_inicial{
  position: absolute;
  top: 0%;
  left: 0%;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
#sol{
  position: absolute;
  top: 0%;
  left: 0%;
  width: 100%;
  height: 100%;
  z-index: 4;
  animation-name: mover_sol;
  animation-duration: 2s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}
@-webkit-keyframes mover_sol{
0% {
  top: 0%;
  left: 0%;
}
100% {
  top: -60%;
  left: -30%;
}
}
#montana{
  position: absolute;
  top: 0%;
  left: 0%;
  width: 100%;
  height: 100%;
  z-index: 2;
}
/*final animacion*/
#titulo{
  position: absolute;
  top: 1%;
  left: 7%;
  z-index: 3;
}
#titulo h1{
  color: #ffffff;
  font-size: 4vw;
  font-family: "Boldonse", system-ui;
  text-shadow:  3px 4px #c76666;
}
h2{
  color: #455f3d;
  font-size: 3em;
  font-family: "DM Serif Display", serif;
  text-shadow:  2px 3px #afcca0;
}
#contenedor{
    width: 100%;
    position: absolute;
    top:0;
    left:0;
    z-index: 1;
}
.fotogrande{
    width: 100%;
}
.fotogrande img{
    width: 100%;
}
.centrado{
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}
#caja{
    background-image: url("img/portadasb&w.jpg");
    background-size: cover;
    width: 100%;
}
#mascara{
    width: 100%;
    opacity: 0;
    transition: ease-in-out 1s;
    cursor: pointer;
}
#mascara img{
    width: 100%;
}
#mascara:hover{
    opacity: 1;
}
nav{
    width: 100%;
    height: 60px;
    background-color: #000;
    position: fixed;
    left: 0%;
    top: 0%;
    z-index: 2000;
    padding-top: 15px;
    font-family: "Libre Baskerville", serif;
}
nav img{
  float: left;
  margin-top: -15px;
}
nav a{
    text-decoration: none;
    color: bisque;
    margin-left: 60px;
    font-size: 100%;
    font-family: "Libre Baskerville", serif;
    float: left;
}
#centrar_menu{
    width: 1000px;
    margin: 0 auto;
}
footer {
    height: 100%;
    height: 134px;
    background-color: #000;
    text-align: center;
    padding-top: 7px;
    font-family: "Libre Baskerville", serif;
}
footer span{
    font-size: 1.2em;
    color: bisque;
}
.centrado h3 {
  font-size: 1.1em;
  font-style: italic;
  font-family: "Roboto", sans-serif
}
.centrado a{
  text-decoration: none;
  color: rgb(239, 199, 150);
}
/*parallax */
body, html {
    height: 100%;
    margin: 0;
    font: 400 1.1em/1.8 "Lato", sans-serif;
    color: rgb(0, 0, 0);
  }
  .bgimg-1, .bgimg-2, .bgimg-3 {
    position: relative;
    opacity: 0.65;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }
  .bgimg-1 {
    background-image: url("img/calles.png");
    min-height: 100%;
  }
  .bgimg-2 {
    background-image: url("img/dibujo.jpg");
    min-height: 70%;
  }
  .bgimg-3 {
    background-image: url("img/sanalejos.jpg");
    min-height: 80%;
  }
  .caption {
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    text-align: center;
    color: #000;
    font-family:"Roboto", sans-serif;
  }
  .caption span.border {
    color: #fff;
    padding: 18px;
    font-size: 25px;
    letter-spacing: 10px;
  }
  .centrado p{
    color: rgb(0, 0, 0);
    font-size: 1.3em;
    font-family: "Roboto", sans-serif
  }
  /* Turn off parallax scrolling for tablets and phones */
  @media only screen and (max-device-width: 1024px) {
    .bgimg-1, .bgimg-2, .bgimg-3 {
    background-attachment: scroll;
    }
    /* aqui termina el paralax */
  }
/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 600px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
  }
}
/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 600px) {
  .topnav.responsive {position: fixed;}
  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}
@media screen and (max-width: 600px) {
  nav{
    display:none;
  }
  .topnav {
    display: block;
  }
}
/*este es el scroll para el celular*/
@media only screen and (min-width: 700px) {
  #scrolly.side-by-side {
  display: flex;
  }
  #scrolly.side-by-side > div {
  flex-basis: 0;
  flex-grow: 1;
  flex-shrink: 1;
  padding: 0.75em;
  }
  #scrolly.side-by-side .scrolly-overlay {
  margin-top: 70vh;
  order: 0;
  /* Change these to adjust sizing options */
  min-width: 15rem;
  max-width: 20rem;
  }
  #scrolly.side-by-side .sticky-thing {
  order: 1;
  flex-grow: 2;
  }
  }
