/* Base Styles */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Arial, sans-serif;
    overflow-x: hidden;
}

.background-image {
    position: fixed; /* Ensures the background stays fixed during scroll */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/ActiveSeniorsAlleyway.webp') no-repeat center center;
    background-size: cover;
    z-index: -1;
}

.header {
    display: flex;
    flex-direction: column; /* Stack items vertically on small screens */
    align-items: center;
    justify-content: center;
    background: rgba(215, 175, 0, 0.5);
    padding: 20px;
    color: #fff;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    font-size: 1.5rem;
}

.logo {
    font-size: 2rem;
}

.additional-text {
    font-size: 1rem;
    margin-top: 10px;
}

.separator {
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    width: 100%;
    margin: 0;
}

.main-content {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: left;
    min-height: calc(100vh - 10rem); /* Adjusted for header and footer */
    color: #000;
}

.frosted-glass {
    padding: 20px;
    background: rgba(245, 205, 0, 0.85);
    width: 90%; /* Full width on small screens */
    max-width: 600px; /* Limit width on larger screens */
    border-radius: 10px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.headline {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: #222;
    text-align: center;
}

.options {
    display: flex;
    flex-direction: column; /* Stack options vertically on small screens */
    gap: 20px;
}

.option {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    padding: 15px;
}

.option-title {
    font-weight: 900;
    margin-bottom: 1rem;
}

.footer {
    padding: 1rem;
    text-align: center;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.footer a {
    color: #fff;
    text-decoration: underline;
}

/* Media Queries for Larger Screens */
@media (min-width: 768px) {
    .header {
        flex-direction: row; /* Align items horizontally */
        justify-content: space-between;
        padding: 1rem 3rem;
    }

    .main-content {
        padding: 3rem;
    }

    .frosted-glass {
        width: 80%;
        max-width: 500px;
    }

    .headline {
        text-align: left;
    }

    .options {
        flex-direction: row; /* Place options side by side */
    }

    .option {
        flex: 1;
    }

    .option:not(:last-child) {
        margin-right: 1rem;
    }
}

@media (max-width: 767px){
   body {
      font-size: 2vw;
   }
   .headline {
      font-size: 1.2rem;
   }
}

@media screen and (orientation:portrait) {
   .background-image {
      background: url('images/ActiveSeniorsAlleyway.webp') no-repeat 75% center;
      background-size: cover;
   }
}
