/* Aqui va el prueba de la animaciòn scrrol */
#prueba_fondo {
  width:100%;
  background-image: url(img/montana.png);
  background-size: cover;
}

#prueba {
  width:100%;
}



/* Aqui va el scroll */
#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;
}





#contenedor_animacion
{
width: 100%;
position:absolute;
top: 100%;
left:0;
}


nav a.active{
  border-bottom:3px solid #006633;
}

/* Aqui va el menu hamburguesa.Add a black background color to the top navigation */
.topnav {
  background-color: #333;
  overflow: hidden;  
  top: 0;
  left: 0;
  width: 100%;
  position: fixed;
  z-index: 20000;
  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: #ddd;
  color: black;
}

/* Add an active class to highlight the current page */
.topnav a.active {
  background-color: #04AA6D;
  color: white;
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
  display: none;
}



#contenedor {
position: absolute;
width:100%;
top:0;
left:0;
z-index:1;
}

#intertitulo {
  font-family: "DM Serif Display", serif;
  font-size: 2em;
  color: #004908; /* Aquí defines el color del texto */
}

.intertitulo {
  color:#004908;
  font-size: 2vw;
  font-family:"DM Serif Display", serif;
  font-weight: 400;
  letter-spacing: 2px;
  margin-top: 10px;
  text-align: center;
}

.right {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

/* Estilo para el enlace de 'Siguiente reportaje' */
.codrops-icon {
  color: bisque;
  font-size: 1.2em; /* Ajuste del tamaño del texto */
  font-family: "Roboto Condensed", sans-serif;
  background-color: #004908; /* Color de fondo */
  padding: 8px 16px; /* Espaciado interno */
  border: 2px solid #004908; /* Borde del botón */
  border-radius: 8px; /* Bordes redondeados */
  text-decoration: none; /* Quitar subrayado */
  display: inline-block; /* Mostrar el botón en línea con el texto */
  margin-left: 10px; /* Separación entre el texto y el botón */
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.15); /* Sombra sutil */
  transition: 0.3s ease all; /* Transición de hover */
}

.codrops-icon:hover {
  background-color: #c0ffd2; /* Cambiar el fondo al pasar el mouse */
  box-shadow: 2px 4px 12px rgba(0, 0, 0, 0.3); /* Sombra más marcada */
}


.contenedor-derecha {
  text-align: right;
  margin-top: 10px;
  margin-right: 30px; /* 👈 Ajusta este valor según lo que necesites */
}

#boton-secundario {
  color:bisque;
  font-size: 1.5em;
  font-family: "Roboto Condensed", sans-serif;
  background-color: #006633;
  padding: 12px 24px;
  border: 1px solid #004908;
  border-radius: 6px;
  text-decoration: none;
  margin-left: 10px;
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

#boton-secundario:hover {
  background-color: #c0ffd2; /* Cambiar el fondo al pasar el mouse */
  box-shadow: 2px 4px 12px rgba(0, 0, 0, 0.3); /* Sombra más marcada */
}


#titulo{
    position:absolute;
    top: 50%;
    left:10%;
    z-index: 2;
}


#titulo h1{
    color: #9effce;
    font-size: 4vw;
    font-family: "DM Serif Display", serif;
    letter-spacing: 5px;
    margin-top: -200px; /* Puedes incluso usar un valor negativo si quieres subirlo más */
    top: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* X, Y, blur, color */
}


.fotogrande{
width:100%;

}
.fotogrande img{
    width:100%;
    
    }

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

}
#caja{
    background-image: url(img/blancoynegrouno.png);
    background-size: cover;
    width: 100%;
}
#mascara{
    width:100%;
    opacity: 0;
    transition: ease-out 1s;
    cursor:pointer;
}
#mascara img{
    width:100%;
}
#mascara:hover{
    opacity: 1;
}

.centrado h3 {
    font-size: 1.8em;
    font-style: italic;
    font-family: "DM Serif Display", serif;
}

.centrado h2 {
  font-size: 2em;
  font-style: italic;
  font-family: "DM Serif Display", serif;
}
.centrado p {
    color: rgb(74, 13, 13);
    font-size: 1.5em;
    font-family: "Roboto Condensed", sans-serif;
    
}
body{
  font-family: "Roboto Condensed", serif;
  font-optical-sizing: auto;
  font-weight: weight;
  font-style: normal;
}


.fotoypie img{
  width: 100%;

}

.pie{
width: 125;
height: 35px;
background-color: #004908;
padding-top: 10px;
margin-top: -10px;
}

.pie span {
  color: bisque;
  font-size: 1em;
  margin-left: 10px;
}





/*aqui están los estilos del parallax*/

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

.bgimg-1, .bgimg-2, .bgimg-3, .bgimg-4, .bgimg-5, .bgimg-6 {
  position: relative;
  opacity: 1;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

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

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

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

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

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

.caption {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  text-align: center;
  color: #000;
  font-family: "Roboto Condensed", sans-serif;
}

.caption span.border {
  color: #fbf0b2;
  padding: 18px;
  font-size: 3em;
  letter-spacing: 5px;
  text-shadow: 4px 4px 6px rgba(0, 0, 0, 0.5); /* X, Y, blur, color */
  font-weight: bold; /* O un número como 700 */
}

/* aqui esta la animación*/

#animacion_inicial {
  position:absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  overflow: hidden;
}


#sol{ 
  position:absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index:1;
  animation-name: mover_sol;
  animation-duration: 2s;
  animation-iteration-count: 2;
  animation-fill-mode: forwards;
}

@-webkit-keyframes mover_sol {
  0%{ top:0;
  left:0; }
  100%{ top:-50%;
    left:20%; }
}

#montana { 
    position:absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 2; 
}




/* aqui esta la animación*/


/* aqui termina el parallax*/

nav{
    width: 100%;
    height: 30px;
    background-color: burlywood;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 2000;
    padding-top: 10px;
}

nav a{
    text-decoration: none;
    color: rgb(82, 34, 34);
    font-family: "Roboto Condensed", sans-serif;
    margin-left: 130px;
    font-weight: bold;
}

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

footer {
  padding-top: 5px;
width: 100%;
height: 105px;
text-align: center;
background-color: blanchedalmond;
}

footer span{
  font-size: 1 em;
  color: rgb(74, 27, 27);
  font-weight: bold;
}


/* Turn off parallax scrolling for tablets and phones. Hasta aca va el código para compu */
/* Estilos parallax para celular*/
@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 {position: relative;}
  .topnav.responsive a.icon {
    position: fixed;
    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;
}
}

  /* Scroll 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;
} }