body {
  font-family: 'Montserrat', Verdana, Geneva, Tahoma, sans-serif;
  margin: 0;
  padding: 0;
  color: #1d2151;
  overflow-x: hidden;
  background: #f4a5a9; /* rosa utilizado */
}

header {
  padding: 20px;
  margin-bottom: 10px;
  background: #fff;
  border-radius: 10px;
}

nav {
  background-color: #fff;

}

nav ul {
  list-style: none;
  display: flex;
  justify-content:right;
  margin: 0;
 position: relative;
  padding-bottom: 5%;
  height: 0;
}
.logo {
  width: 150px;
  height: auto;
  margin: 10px;
}

.video-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
}

.carousel {
  overflow: hidden;
  white-space: nowrap;
}

.carousel-track {
  display: flex;
  gap: 40px;
  animation: scroll-logos 20s linear infinite;
  align-items: center;
  min-width: 50%; /* Si tienes los logos duplicados, esto asegura el ancho */
}

.carousel-logo {
  width: 120px;
  height: 60px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  padding: 8px;
}

.carousel-track#carousel1 .carousel-logo {
  width: 800px;
  height: 130px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  padding: 8px;
}

#carousel1,
#carousel2 {
  animation: scroll-logos 20s linear infinite; /* igual que arriba */
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  border-radius: 50%;
  padding: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.whatsapp-float img {
  width: 500px;
  height: 500px;
  display: block;
}

footer {
  background: #f1f1f1;
  padding: 20px;
  text-align: center;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

@keyframes scroll-logos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

nav ul li a {
  text-decoration: none;
  color: #1d2151;
  transition: background 0.2s, color 0.2s;
   margin-left: 20px 
}

nav ul li a:hover {

  font-size: large;
  color: #f4a5a9;

}

.video-fullscreen,
.video-fullscreen video {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  display: block;
}

h1 {
  color: #f4a5a9; /* rosa utilizado */
  font-family: 'Montserrat', Verdana, Geneva, Tahoma, sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
}

.container {
  margin: 10px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  padding: 20px;
}

h1, p {
  padding: 20px 0;
  margin: 0;
  display: block;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.main-container {
  background: #fff;
  margin: 15px;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Para que el video también tenga el mismo estilo y no sobresalga */
.main-container .video-fullscreen,
.main-container .video-fullscreen video {
  width: 100%;
  height: auto;
  object-fit: unset;
  display: block;
  border-radius: 10px;
  margin-bottom: 20px;
  background: none;
}

.btn-link {
  text-decoration: none;
}

button {
  background: #f4a5a9;
  color: #1d2151;
  border: none;
  border-radius: 8px;
  padding: 10px 24px;
  font-size: 1rem;
  font-family: 'Montserrat', Verdana, Geneva, Tahoma, sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  display: block;
  margin: 20px auto;
}

button:hover {
  background: #e67ca3;
  color: #fff;
}

p {
  line-height: 1.7;
  font-weight: 400;
  font-family: 'Montserrat', Verdana, Geneva, Tahoma, sans-serif;
  color: #1d2151;
  letter-spacing: 0.2px;
}

h2 {
  color: #1d2151; /* rosa utilizado */
  font-family: 'Montserrat', Verdana, Geneva, Tahoma, sans-serif;
  font-weight: 700;
}

.speakers-logo {
  display: block;
  margin: 0 auto 20px auto;
  max-width: 180px;
  height: auto;
}
#contactos{
  text-align: center;
  color: #1d2151; /* rosa utilizado */
  font-family: 'Montserrat', Verdana, Geneva, Tahoma, sans-serif;
    margin-top: 40px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
}

@media (max-width: 600px) {
  nav ul {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 60px;
    right: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    border-radius: 8px;
    padding: 10px;
  }
  nav ul.active {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
  .carousel-track,
  #carousel1,
  #carousel2 {
   
  animation: scroll-logos 5s linear infinite;
  min-width: 300%; /* Si tienes los logos duplicados, esto asegura el ancho */
}
  
    
  h2 {
    font-size: 1.1rem;
    word-break: break-word;
    text-align: center;
    padding: 0 20px;
  }
}