/* Global styles */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f4f4f4;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

/* Header styles */
header {
    background-color: #333;
    color: white;
    padding: 20px 0;
    text-align: center;
}

header nav ul {
    display: flex;
    justify-content: center;
    gap: 20px;
}

header nav ul li {
    margin: 0;
}

header h1 {
    margin: 10px 0;
    font-size: 2rem;
}

header p {
    font-size: 1rem;
    margin-top: 5px;
}

header nav a {
    color: white;
    font-size: 1.1rem;
    transition: color 0.3s;
}

header nav a:hover {
    color: #ddd;
}

/* Footer styles */
footer {
    background-color: #333;
    color: white;
    padding: 10px;
    text-align: center;
    position: relative;
    bottom: 0;
    width: 100%;
}

footer p {
    margin: 0;
    font-size: 0.9rem;
}

/* Responsive styles */
@media (max-width: 768px) {
    header nav ul {
        flex-direction: column;
        align-items: center;
    }

    header h1 {
        font-size: 1.8rem;
    }

    header p {
        font-size: 0.9rem;
    }

    footer p {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.6rem;
    }

    header p {
        font-size: 0.85rem;
    }

    footer p {
        font-size: 0.75rem;
    }
}

.converter-container {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
  }

  .input-group {
    margin-bottom: 15px;
  }

  label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
  }

  .date-inputs {
    display: flex;
    gap: 10px;
  }

  .date-inputs input,
  .date-inputs select {
    width: 100px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
  }

  button {
    padding: 8px 15px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
  }

  button:hover {
    background-color: #0056b3;
  }

  .result {
    margin-top: 20px;
    padding: 10px;
    background-color: #e9ecef;
    border-radius: 5px;
  }

  .modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
  }

  .modal-content {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 600px;
    position: relative;
  }

  .close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
  }

  .button-group {
    display: flex;
    gap: 10px;
    margin-top: 15px;
  }

  .loading {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 20px;
    border-radius: 5px;
    z-index: 1000;
  }
  .date-number {
  font: bold 25px sans-serif; /* Combine font-weight and font-size */
  text-align: center; /* Correct property for centering text */
    color: black;
}

.date-name {
  font: bold 23px sans-serif; /* Combine font-weight and font-size */
  text-align: center; /* Correct property for centering text */
  color: green;
}
  .date-number {
  font: bold 25px sans-serif; /* Combine font-weight and font-size */
  text-align: center; /* Correct property for centering text */
}

.date-name {
  font: bold 23px sans-serif; /* Combine font-weight and font-size */
  text-align: center; /* Correct property for centering text */
  color: green;
}