@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Old+Standard+TT:ital,wght@0,400;0,700;1,400&display=swap');

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #D9D9D9;
}

.custom-navbar {
  background-color: #00477E !important;
}

.custom-navbar .nav-link,
.custom-navbar .navbar-brand {
  color: white !important;
  transition: color 0.3s ease;
}

.custom-navbar .nav-link:hover {
  color: #f474f8cc !important;
  transform: scale(1.05);
}

.navbar-logo {
  max-height: 40px;
  width: auto;
  transition: transform 0.3s ease;
}


h1 { 
    color: #2c3e50;
    text-align: center;
 }
    .section { background: white; 
        padding: 20px; 
        margin-bottom: 20px; 
        border-radius: 10px; 
        margin-left: 15px;
    }
    a.button { 
        display: inline-block;
         padding: 10px 15px; 
         background: #3498db; 
         color: white; 
         border-radius: 5px; 
         text-decoration: none;
         }



.titulopag{
  margin-top: 25px;
  margin-bottom: 25px;
}

.section{
  li{
    margin-bottom: 10px;
}
}

 h1.titulopag {
      margin-top: 2rem;
      margin-bottom: 1.5rem;
      text-align: center;
    }
   
    .accordion-button:not(.collapsed) {
      color: #00477E;
      font-weight: 701;
      background-color: #e7f0fa;
    }


/* === FOOTER === */
footer {
  background-color: #00477E;
  color: white;
  padding: 40px 20px;
  font-family: 'Montserrat', sans-serif;
  animation: fadeIn 1s ease-in;
}

#flexbox {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.foot {
  flex: 1 1 30%;
  min-width: 250px;
  word-wrap: break-word;
  transition: transform 0.3s ease;
}

.foot:hover {
  transform: scale(1.02);
}

.foot .tit {
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: #cfd9e8;
  text-align: center;
}

.foot ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
  text-align: center;
}

.foot ul li {
  margin: 8px 0;
  font-size: 0.95rem;
  line-height: 1.4;
}

.foot ul li i {
  margin-right: 8px;
  color: #f474f8cc;
}

.foot ul li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s ease;
  display: inline-block;
}

.foot ul li a:hover {
  color: #f474f8cc;
}

#copy {
  margin-top: 40px;
  text-align: center;
  font-size: 0.85rem;
  color: #cfd9e8;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  #main {
    background-position: center top;
    height: 70vh;
  }

  main a {
    margin-top: 30vh;
    font-size: 1.2rem;
    padding: 0.5rem 1.2rem;
  }

  #dates-2 {
    flex-direction: column;
    margin: 15px 5%;
  }

  #dates-2 iframe {
    height: 380px !important;
  }

  #sec-2 {
    margin: 5% 10%;
    flex-direction: column;
    align-items: stretch;
  }

  .dates-sec-2 {
    margin-bottom: 30px;
  }

  .dates-sec-2 p {
    font-size: 18px;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  #main {
    height: 60vh;
    padding: 1rem;
  }

  main a {
    margin-top: 25vh;
    font-size: 0.8rem;
    padding: 0.5rem 1.1rem;
  }

  #sec-2 {
    margin: 5% 5%;
  }

  .dates-sec-2 p {
    font-size: 16px;
    padding: 15px;
  }

  #flexbox {
    flex-direction: column;
    align-items: center;
  }

  .foot {
    min-width: 100%;
    max-width: 400px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  #main {
    height: 50vh;
    padding: 0.5rem;
  }

  main a {
    margin-top: 22vh;
    font-size: 0.5rem;
    padding: 0.2rem 0.4rem;
  }

  #dates-1 h1 {
    font-size: 22px;
  }

  #dates-2 {
    padding: 15px;
  }

  #dates-2 iframe {
    height: 350px !important;
  }
}
