body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    background: url('/imagen/cielo.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #333;
  }

  header {
    background: linear-gradient(to right, #0d47a1, #1976d2, #64b5f6);
    color: white;
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  
  .header-left {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  
  header img {
    height: 100px;
  }
  
  .header-text {
    text-align: center;
    flex: 1;
  }
  
  .header-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2em;
    margin: 0;
  }
  
  nav {
    background: linear-gradient(to right, #002f6c, #0d47a1, #1565c0);
    display: flex;
    justify-content: center;
    position: relative;
  }
  
  nav a {
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    display: inline-block;
    position: relative;
  }
  
  nav a:hover {
    background-color: rgba(255,255,255,0.15);
  }
  
  /* Dropdown */
  .dropdown {
    position: relative;
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: linear-gradient(to bottom, #0d47a1, #1565c0);
    min-width: 200px;
    z-index: 1;
  }
  
  .dropdown-content a {
    display: block;
    padding: 12px 20px;
  }
  
  .dropdown:hover .dropdown-content {
    display: block;
  }

  .container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    gap: 30px;
  }

  h1{
    font-family: 'Playfair Display', serif;
    color: #fffcfc;
  }

  h2{
    font-family: 'Playfair Display', serif;
    color: #000000;
    text-align: center;
  }

  h3 {
    font-family: 'Playfair Display', serif;
    color: #5a2a27;
    text-align: center;
  }

  table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  th, td {
    border: 1px solid #ccc;
    padding: 12px;
    text-align: center;
    position: relative;
    width: 14.28%;
  }

  th {
    background-color: #0415aa;
    color: white;
  }

  td {
    background-color: white;
  }

  .today {
    font-weight: bold;
    border-radius: 5px;
    border: 3.5px solid #ecbd01;
  }

  .event-day {
    background-color: #007BFF !important;
    color: white;
    font-weight: bold;
    cursor: pointer;
  }

  .past-event {
    background-color: #FF5733 !important;
    color: white;
    font-weight: bold;
  }

  .event-box {
    padding: 10px;
    border-radius: 5px;
    margin: 5px 0;
    color: white;
    font-weight: bold;
  }

  .blue-event {
    background-color: #007BFF;
  }

  .red-event {
    background-color: #FF5733;
  }

  .adviento, .cuaresma {
    background-color: #9b59b6;
    color: white;
  }

  .gaudete, .laetare {
    background-color: #FF00FF;
    color: white;
  }

  .pascua, .navidad {
    background-color: #f0f0f0;
    color: black;
  }

  .pentecostes, .semanaSanta, .corpus {
    background-color: #AA0000;
    color: white;
  }

  .maria {
    background-color: #00DCFF;
    color: white;
  }

  .tiempo-comun {
    background-color: #77b300;
    color: white;
  }

  .liturgical-explanation {
    background-color: rgba(240, 240, 240, 0.9);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
    text-align: left;
  }

  .liturgical-explanation h3 {
    color: #004080;
    margin-bottom: 10px;
  }

  .liturgical-explanation p {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .liturgical-explanation ul {
    margin-left: 20px;
    list-style-type: square;
  }

  footer {
    background: linear-gradient(to right, #002f6c, #0d47a1, #1976d2);
    color: white;
    text-align: center;
    padding: 30px 10px;
  }

  #calendar-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
  }

#info-panel {
  width: 260px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
  padding: 16px;
  font-family: 'Segoe UI', sans-serif;
}

#info-panel h2 {
  font-size: 1.2em;
  color: #0415aa;
  margin-bottom: 10px;
  text-align: center;
}

#info-panel p,
#info-panel span {
  font-size: 1em;
  margin: 6px 0;
  text-align: justify;
  color: #333;
}

#info-panel span {
  display: block;
  font-weight: bold;
  color: #4b0082;
}