/* Reset default styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body styles */
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f4f4f4;
  padding: 20px;
}

/* Header styles */
header {
  text-align: center;
  margin-bottom: 20px;
}

header h1 {
  font-size: 2.5rem;
  color: #2c3e50;
}

/* Calendar container for responsiveness and footer hiding */
.calendar-container {
  position: relative;
  overflow: hidden;
  padding-bottom: 70%; /* Adjusted from 75% to crop the footer (560/800 = 0.7) */
  height: 0;
  max-width: 800px; /* Match iframe width */
  margin: 0 auto; /* Center the calendar */
}

.calendar-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 114.29%; /* 800/700 ≈ 114.29% to fill the container vertically */
  transform: translateY(-40px); /* Shift up to hide the footer (adjust as needed) */
}

/* Footer styles */
footer {
  text-align: center;
  margin-top: 20px;
  padding: 10px 0;
  font-size: 0.9rem;
  color: #666;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  header h1 {
    font-size: 1.8rem;
  }

  .calendar-container {
    padding-bottom: 90%; /* Adjust for smaller screens */
  }

  .calendar-container iframe {
    transform: translateY(-30px); /* Smaller offset for mobile */
  }
}