.topbar {
  display: flex;
  justify-content: space-between; 
  background: #11136b;
  padding: 15px 30px;
  position: sticky;
  top: 0;
  z-index: 1000;
}


.topbar h1 {
  margin: 0;
  font-size: 24px;
  color: white;
}
.social-links {
  display: flex;
}


.social-links a {
  
  display: flex;           
  align-items: center;    
  margin-left: 15px;
  text-decoration: none;
  color: #ffd700;
  font-weight: bold;
  transition: 0.3s;transform: 0.3;
}


.social-links a:hover {
    transform: scale(1.2);

  color: #f9e03e;
}


.social-icon {
  width: 24px;          
  height: 24px;         
  margin-right: 8px;    
}

.contenedor {
  display: flex;      
  align-items: center;
  gap: 30px;          
  margin-bottom: 40px; 
}

.foto {
  width: 350px;
  border-radius: 50%;
  border: 3px solid white;
}

.info {
  max-width: 700px;
  text-align: justify;
}



body{
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px; 
}

img{
    width: 100%;
    object-fit: cover;
    height: 200px;
    filter: drop-shadow(1px 1px 5px rgb(38, 122, 213));
}


.carrusel{
  display: flex;
  gap: 5px;
  overflow-x: scroll;
  width: 76%;
  scroll-snap-type: x mandatory;
  height: 280px;
}
.carrusel {
  display: flex;
  gap: 10px;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  width: 80%;
  margin: auto;
}

.carrusel img {
  display: block;          
  min-width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  scroll-snap-align: center;
  transition: transform 0.3s;
}

.carrusel img:hover {
  transform: scale(1.05); 
  cursor: pointer;
}

/* --- Versión móvil --- */
@media (max-width: 768px) {
  .contenedor {
    flex-direction: column; /* imagen arriba, texto abajo */
    align-items: center;
    text-align: center;
  }

  .foto {
    width: 180px; /* achica la imagen */
    margin-bottom: 20px;
  }

  .info {
    max-width: 90%;
    font-size: 15px;
    text-align: justify;
  }

  .topbar {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .social-links a img {
    width: 30px;
    height: 30px;
  }

  .carrusel {
    width: 90%;
    margin-top: 30px;
  }
}
