/* General Styles */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    font-family: 'Montserrat', sans-serif;
}

body {
    background: url('./images/latempleC.jpg') no-repeat center center fixed;
    background-size: cover;
}

.overlay {
    height: 100vh;
    width: 100vw;
    background-color: rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
    overflow-y: auto; /* Enable scrolling on overlay */
    box-sizing: border-box; /* Include padding in the overlay size */
}

.content {
    text-align: left;
    color: white;
    max-width: 700px;
    width: 100%; /* Ensure content width does not exceed container */
}
.calendar-container {
    background-color: rgba(145, 211, 242, 0);
    position: relative;
    padding-bottom: 75%; /* Adjust based on desired aspect ratio */
    height: 0;
    overflow: hidden;
  }

  .calendar-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

h1 {
    font-size: 3em;
    font-weight: 400;
    margin-bottom: 20px;
    margin-right: 40px;
}

/* Navigation buttons */
nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    margin: 10px 0;
}

nav ul li a.button {
    display: inline-block;
    padding: 5px 10px;
    text-decoration: none;
    background-color: rgba(62, 170, 217, 0.5);
    color: white;
    font-size: 1.5em;
    font-weight: 400;
    border-radius: 50px;
    transition: background-color 0.3s ease, color 0.3s ease;
    word-wrap: break-word;
    white-space: normal;
    width: auto;
    box-sizing: border-box;
}

nav ul li a.button:hover {
    background-color: white;
    color: #3eaad9;
}

/* Media Queries */
@media (max-width: 768px) {
    h1 {
        font-size: 2em;
    }
    nav ul li a.button {
        font-size: 1.2em;
        padding: 10px 20px;
    }
    .content {
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.5em;
    }
    nav ul li a.button {
        font-size: 1em;
        padding: 8px 16px;
    }
    .content {
        max-width: 250px;
    }
    
}