html{
    scroll-behavior: smooth;
}
#contenedor{
    width: 100%;
    position:absolute;
    top: 0;
    left: 0;
    z-index: 0;

}

.foto_gr{

    width: 100%;

}

.foto_gr img{
    width: 100%;
left: 30%;
}

.texto_centrado{
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;

}

#titulo{
    position: absolute;
    top: 45%;
    left: 15%;
    z-index: 1;

}

#titulo h1{
    color: #ba532d;
    font-size: 5vw;
    font-family: "Anton", sans-serif;
    text-shadow: #044e38 2px 2px;
     letter-spacing: 2px;
    
}

#titulo2{
  position: absolute;
  top: 65%;
  left:5%;
  z-index: 1;

}

#titulo2 h1{
  color: #fff9e3;
  font-size: 4vw;
  font-family: "Anton", sans-serif;
  text-shadow: #044e38 2px 2px;
  letter-spacing: 2px;
}
#titulo4{
  position: absolute;
  top: 70%;
  left: 15%;
  z-index: 1;

}

#titulo4 h1{
  color:#fff9e3 ;
  font-size: 4vw;
  font-family: "Anton", sans-serif;
  text-shadow: #044e38 3px 3px;
 
}

nav{
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background-color: #044e38;
    z-index: 2000;
    height: 30px;
    padding-top: 5px;
    
}

#menu2{
   height: 34px;
}
nav a{
    color:#fff9e3;
    text-decoration: none;
    font-size: 1.2em;
    margin-left: 150px;
    font-family: "Oswald", sans-serif;
}
/* Voy a centrar el menu*/

#centrar_menu{
    width: 1000px;
    margin: 0 auto;
}


h2{
    color: #044e38;
    font-size: 2em;
    font-family: "Oswald", sans-serif;
text-align: justify;
}

p{
    color: black;
    font-size: 1.4em;
    font-family: "EB Garamond", serif;
    text-align: justify;
}

footer{
    width: 100%; 
    background-color: #ba532d;
    height: 105px;
    text-align: center;
    padding-top: 18px;
}

footer span{
    color: black;
   
    font-size: 1.2em;
   
    font-family: "Merriweather", serif;
}
.pie{
    background-color:#ba532d ;
    width: 100%;
    height: 30px;
    margin-top: -5px;
    padding-top: 5px;
}
.pie span{
    color: black;
    font-size: 0.8em;
    font-family: "Roboto", sans-serif;
    margin-left: 5px;
  
}

.destacado{
    width: 100%;
    text-align: center;
    
}

.destacado h3{
    color: #044e38;
    font-size: 2em;
    font-family: "Merriweather", serif;
}

#foto_celular{
    display: none;
}
/*esto es parallax*/

body, html {
    height: 100%;
    margin: 0;
  }

  .bgimg-1, .bgimg-2, .bgimg-3,.bgimg-4 {
    position: relative;
    opacity: 1;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  
  }
  .bgimg-1 {
    background-image: url("img/portada.hor1.jpeg");
    min-height: 100%;
    width: 100%;
  }
  
  .bgimg-2 {
    background-image: url("img/im1.jpeg");
    min-height: 100%;
  }
  
  .bgimg-3 {
    background-image: url("img/im2.jpeg");
    min-height: 100%;
  }

  .bgimg-4 {
    background-image: url("img/im3.png");
    min-height: 100%;
  }

  /* Add a black background color to the top navigation */
.topnav {
    background-color: #044e38;
    overflow: hidden;
    position:fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 5000;
    display: none;
  }
  
  /* Style the links inside the navigation bar */
  .topnav a {
    float: left;
    display: block;
    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:#ba532d ;
    color: black;
  }
  
  /* Add an active class to highlight the current page */
  .topnav a.active {
    background-color: #044e38;
    color: white;
  }
  
  /* Hide the link that should open and close the topnav on small screens */
  .topnav .icon {
    display: none;
  }

 

 
/* Aquí comienza mis estilos para celular*/

@media only screen and (max-width: 600px) {
   nav{
    display: none;
   }

   #foto_celular{
    display: block;
   }
   #foto_computador{
    display: none;
   }
   #titulo{
    top: 30%;
    left: 5%;
   

}

#titulo h1{
  text-align: center;
  color: #e6e9ee;
  font-size: 2em;
  font-family: "Anton", sans-serif;
  text-shadow: #044e38 2px 2px;
  
}
p{
    margin-left: 10px;
    margin-right: 10px;
    font-size: 1.5em;
}

h2{
    margin-left: 10px;
    margin-right: 10px;
}

@media only screen and (max-device-width: 1024px) {
    .bgimg-1, .bgimg-2, .bgimg-3 {
      background-attachment: scroll;
    }
  }

  }
  /* 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 {
        display: block;
    }
    .topnav.responsive a.icon {
      position: absolute;
      right: 0;
      top: 0;
    }
    .topnav.responsive a {
      float: none;
      display: block;
      text-align: left;
    }
    .topnav{
        display: block;
    }
  }





