@import url(/styles/portada.css);
@import url(/styles/topster.css);
@import url(/styles/boton.css);
@import url(/styles/texto.css);
@import url(/styles/imagenes.css);
:root{
    --primario-bg: #828E82;
    --secundario-bg:#607B7D;
    --terciario-bg: #3a606e;
    --color-fuente: #E0E0E0;
    --color-sub: #AAAE8E;
    --color-tit:#243b44 ;
 
}

html, body{
    margin: 0;
    padding: 0;
    background: var(--primario-cl);
    background: linear-gradient(var(--primario-bg),var(--secundario-bg), var(--terciario-bg)2000px);

    font-family: "Varela Round", sans-serif;
    font-weight: 400;
    font-style: normal;
    scroll-behavior: smooth;
}

.btn-arriba {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--color-tit); /* Color de fondo del botón */
    color: white;
    border: none;
    padding: 10px 14px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    cursor: pointer; 
    border-radius: 100%;
}

.boton{
    background-color: var(--color-sub);
    padding: 20px 40px;
    border-radius: 40px;
    text-decoration: none;
    color: var(--color-tit) ;
}
.Titulo{
    text-align: center;
    font-size: 60px;
    color: var(--color-tit);

}

.subtitulo{
    font-size: 40px;
    color: var(--color-sub);
}

.parrafo{
    font-size: 20px;
    color: var(--color-fuente);
}

.menu_tit{
    display: flex;
    justify-content: center;
    font-size: 30px;
    color: var(--color-tit);
}   
.menu{
   display: flex;
   justify-content: space-around;
   width: 80%;
   margin: 50px auto;
}


.imagen-topster{
    height: 800px;
    text-align: center;
} 
.fotos{
    display: flex;
    justify-content: center;
    align-items: end;
    height: 300px;
    gap: 2vw;
}


.photo{
    height: 250px;

    position: relative; /* Necesario para posicionar elementos hijos como absolutos */
    transition: transform 0.3s ease, margin 0.3s ease;
    display: inline-block;
    cursor: pointer;
}


.photo:hover {
  transform: scale(1.05);
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  transition: opacity 0.4s ease;
}

.modal.show{
  display: flex; /* Mostrar modal con flexbox para centrar */
  opacity: 1;
}

.modal-content {
  display: block;
  max-width: 60%; /* Establece el tamaño máximo de la imagen */
  max-height: 90%; /* Controla la altura máxima */
  margin: auto;
}

.modal.show .modal-content {
  transform: scale(1); /* Escalar a tamaño completo cuando se abre */
}

.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

#caption {
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

@media screen and(max-width:600px) {
  .fotos{
    flex:20%;
    height: 100px;
    
  }

}

.portada{
    height: 350px;
    text-align: center;
}
.portada > img{

    height: 100%;
}






  



