body {
  background-color: #bcbcbc;
}

/* ====== NAVBAR GENERAL ====== */
.navbar {
  background-color: #0d0d0d;
  padding: 20px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-socials,
.social-icons {
  display: flex;
  gap: 10px;
  font-size: 20px;
}

.navbar-light .social-icons i {
  color: white !important;
}

.navbar-title {
  text-align: center;
  font-size: 2.8rem;
  color: #f1c40f;
  font-family: 'Georgia', serif;
  font-weight: bold;
  margin: 20px 0;
}

.collapse .navbar-collapse {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-nav {
  display: flex;
  justify-content: space-around;
  gap: 20px;
}

.navbar-light .navbar-nav .nav-link,
.navbar-light .navbar-brand {
  color: white;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-brand:hover {
  color: #007bff;
}

.nav-item.dropdown {
  position: relative;
}

.dropdown-menu {
  top: 100%;
  left: 0;
  margin-top: 0px;
  z-index: 1000;
  min-width: 200px;
  display: none;
  border: 1px solid rgba(0, 0, 0, .15);
  background-color: rgb(80, 66, 66);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
  background-color: rgb(80, 66, 66);
  color: white;
}

.dropdown-menu .dropdown-item {
  color: yellow;
  font-size: large;
  padding: 10px 10px;
  white-space: nowrap;
}

.dropdown-menu .dropdown-item:hover {
  background-color: #007bff;
  color: white;
}

.nav-item {
  display: block !important;
}

/* ===== COMPORTAMIENTO HOVER (DESKTOP) ===== */
@media (min-width: 769px) {
  .nav-item.dropdown:hover .dropdown-menu {
    display: block !important;
  }

  .dropdown-toggle::after {
    display: none !important;
  }
}

/* ===== COMPORTAMIENTO CLICK (MÓVIL) ===== */
@media (max-width: 768px) {
  .dropdown-menu {
    width: 100%;
    margin-top: 0;
    position: static !important;
    box-shadow: none;
  }

  .dropdown-toggle::after {
    display: inline-block !important;
  }

  .navbar-nav {
    flex-direction: column;
    width: 100%;
  }

  .nav-item.dropdown {
    width: 100%;
    text-align: center;
  }

  .navbar-nav {
    justify-content: center;
    text-align: center;
    width: 100%;
  }

  .dropdown-menu {
    position: static !important;
    box-shadow: none !important;
    display: block;
    background-color: white;
  }

  .dropdown-menu .dropdown-item {
    text-align: center;
    color: black;
  }

  .dropdown-menu .dropdown-item:hover {
    background-color: #007bff;
    color: white;
  }

  .navbar-title {
    font-size: 2rem;
  }

  .navbar-top {
    flex-direction: column;
    gap: 10px;
  }

  .navbar-collapse {
    flex-direction: column;
    gap: 10px;
  }
}

/* ====== ESTILO PARA FORMULARIO LOGIN/REGISTRO ======   #fffaf0  */
body {
  background: #fffaf0;
  font-family: 'Glacial Indifference', 'Helvetica Neue', Helvetica, Arial, sans-serif; 
   margin: 0;
  padding: 0;
}

.form-container {
  max-width: 400px;
  margin: 60px auto;
  background-color: white;
  padding: 40px 50px;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  text-align: center;
}

.form-container h2 {
  margin-bottom: 25px;
  color: #333;
  font-size: 28px;
}

.input-group {
  margin-bottom: 20px;
  text-align: left;
}

.input-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
  color: #555;
}

.input-group input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.nav-link-small {
  font-size: 1rem;
}

.input-group input:focus {
  border-color: #5a9bf6;
  outline: none;
}

button {
  width: 100%;
  padding: 14px;
  background-color: #5a9bf6;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #498ce0;
}

.message {
  margin-top: 15px;
  color: #666;
  font-size: 14px;
}

/* ===== Responsive =====*/
@media (max-width: 480px) {
  .form-container {
    margin: 40px 20px;
    padding: 30px;
  }
}

/* ===== TITULO ===== */
.white-strip {
  background-color: #fffaf0; /* franja blanca */
  padding: 6px 0;           /* más estrecha */
  text-align: center;
  margin-top: 20px;
}

.white-strip h2 {
  text-align: center;
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #000; 
}


/* ===== MAIN ===== */
main {
  padding-top: 50px;
  padding-bottom: 50px;
  background-color:  #fffaf0 ;
  margin-top: -10px;
}

main p{
  color: black;
  font-size: 1rem;
}

section {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: no-wrap;
  padding: 5%;
}

section p{
  max-width: 75ch;
  padding: 1.5em;
  text-align: justify;
  font-family: 'Glacial Indifference', 'Helvetica Neue', Helvetica, Arial, sans-serif; 

}

#seccion1{
  background-color: #fffaf0 ;
  position: relative;
  padding-bottom: 8%;
  margin-top: -60px;
  font-family: 'Glacial Indifference', 'Helvetica Neue', Helvetica, Arial, sans-serif; 

}

#seccion2{
  background-color: #fefefe;
  padding-top: 8%;
  font-family: 'Glacial Indifference', 'Helvetica Neue', Helvetica, Arial, sans-serif; 

}

#cita1{
  position: absolute;
  background-color: rgba(238, 233, 233, 0.95);
  padding: 30px;
  border-radius: 10px;
  bottom: -50px;
  font-weight: 500;
  font-size: 1.1rem;
  width: 70%;
  text-align: center;
}

#parrafoCita{
  font-family: 'Glacial Indifference', 'Helvetica Neue', Helvetica, Arial, sans-serif; 
}

.video-container {
  width: 50%;
  min-width: 500px;
  max-width: 900px;
  aspect-ratio: 16/9;
  margin: 0 auto;
  padding: 2%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-container iframe{
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 10px;
}

.img-container{
  width: 30%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#seccion2 img{
  border-radius: 10px;
  width: 100%;
  max-width: 350px;
  padding-left: 4rem;
}

@media (max-width: 768px){
  section{
    flex-direction: column;
  }

  .video-container {
    min-width: 290px;
    width: 100%;
  }

  #seccion2 img{
    border-radius: 10px;
    width: 50vw;
    max-width: 300px;
  }

  #cita1{
    font-size: 1.1rem;
    padding: 20px;
  }
}
