<link href="https://fonts.googleapis.com/css2?family=Shadows+Into+Light&family=Sacramento&display=swap" rel="stylesheet">body {
    margin: 0;
    padding: 0;
    font-family: 'Shadows Into Light', cursive;
    position: relative;
    /* Make the body a positioned container */
    height: 100vh;
    /* Ensures the body takes up the full viewport height */
    text-align: center;
}


h1 {
    font-family: 'Sacramento', cursive !important;
    color: #ae54b0;
    font-size: 50px;
    margin-bottom: 15px;
    font-weight: normal;
    /* Make the text normal weight */
}

h5 {
    font-family: 'Shadows Into Light', cursive;
    font-size: 22px;
    color: #40314a;
}

.background {
    min-height: 100vh;
    /* Ensure the container spans the full height of the viewport */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    /* Keeps content on top of the background */
    background-image:
        url('images/311512_poster\ \(mirror\).jpeg');
    background-size: 100% auto;
    /* Full width, auto height */
    background-repeat: repeat-y;
    /* Repeat only vertically */
}

/* General content box styling */
.content {
    background-color: #fff9f0 !important;
    padding: 100px;
    border: 10px solid #a0b559;
    border-radius: 500px 500px 0 0;
    /* Keeps the arch consistent */
    width: 65%;
    /* Same width for all pages */
    margin: 55px auto;
    /* Centers and keeps spacing */
}


.title {
    font-family: 'Sacramento', cursive !important;
    /* Apply Sacramento font */
    color: #ae54b0;
    font-size: 50px;
    margin-bottom: 15px;
}

/* ナビゲーション */
nav {
    margin-bottom: 25px;
}

nav a {
    font-size: 16px;
    text-decoration: none;
    color: #ae54b0;
    margin: 0 10px;
    padding: 5px 10px;
    border-radius: 5px;
}

nav a.active {
    background-color: #eba2c3;
}

/* ハート */
.hearts {
    font-size: 24px;
    color: #b36a5e;
    margin: 15px 0;
}

/* アドレス */
.address {
    font-family: 'Sacramento', cursive;
    color: #ae54b0;
    font-size: 30px;
    margin-top: 15px;
}

/* 🌿 Buttons with natural tones */
button,
.btn {
    background-color: #55b6cf !important;
    /* Earthy green */
    color: #F7E1AE !important;
    /* Yellow text */
    border: 2px solid #F7E1AE;
    /* Accent border */
    padding: 10px 20px;
    font-size: 20px;
    font-weight: normal;
    cursor: pointer;
    border-radius: 2px;
    text-decoration: none;
    /* Remove underline */
    transition: background 0.3s ease;
}

button:hover,
.btn:hover {
    background-color: #a0b559 !important;
    /* Lighter green on hover */
}


.rsvp-form {
    width: 100%;
    /* Makes sure it fills the .content box */
    max-width: none;
    /* Removes max-width limitation */
    padding: 20px;
    /* Adjusts padding to match other pages */
}
}

/* RSVPフォーム */
form {
    margin: 20px 0;
}

form input {
    display: block;
    width: 80%;
    margin: 10px auto;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form button {
    width: 50%;
}

/* メッセージ */
.message {
    font-size: 18px;
    color: #ae54b0;
    margin-top: 25px;
}

/* 戻るボタン */
.back-btn {
    background: #8a2be2;
}

.back-btn:hover {
    background: #6b4eac;
}


@media (max-width: 768px) {
    .content {
        width: 80%;
        padding: 50px 25px;
        border-radius: 500px 500px 0 0;
        /* Only top corners are rounded */
        margin-left: auto;
        /* Center it */
        margin-right: auto;
        /* Center it */
    }
}

.title {
    font-size: 42px;
}

.address {
    font-size: 28px;
}

.btn {
    font-size: 18px;
    padding: 10px 20px;
}

.message {
    font-size: 16px;
}
}

/* 曲リクエストフォームのスタイル */
#request-form h2 {
    color: #ae54b0;
    font-size: 24px;
    margin-bottom: 15px;
}

#request-form input {
    display: block;
    width: 80%;
    margin: 10px auto;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

footer p {
    margin-top: 10px;
    font-size: 14px;
    color: #7f7f7f;
}

/* Countdown timer styles */
.countdown {
    font-family: 'Shadows Into Light', cursive;
    font-size: 22px;
    color: #40314a;
    padding: 10px;
    border-radius: 10px;
    width: 300px;
    margin: 10px auto;
    text-align: center;
}

.countdown p {
    margin: 10px 0;
    font-size: 24px;
}

/* Form-specific Styles */
.rsvp-form {
    background-color: #fff9f0;
    padding: 30px;
    border: 2px solid #a0b559;
    border-radius: 10px;
    width: 80%;
    max-width: 600px;
    margin: 0 auto;
}

.rsvp-form label {
    display: block;
    margin-bottom: 8px;
    font-family: 'Lora', serif;
    font-size: 18px;
}

.rsvp-form input,
.rsvp-form select,
.rsvp-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: 'Lora', serif;
}

.rsvp-form button {
    background-color: #32afcf;
    color: #F7E1AE;
    border: 2px solid #F7E1AE;
    padding: 10px 20px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease;
    font-family: 'Shadows Into Light', cursive;
}

.rsvp-form button:hover {
    background-color: #a0b559;
}


/* Hamburger menu style */
.hamburger-menu {
    display: none;
    /* Hidden by default */
    font-size: 30px;
    cursor: pointer;
    position: absolute;
    /* Position it absolutely */
    top: 20px;
    /* Adjust the top position */
    left: 20px;
    /* Adjust the left position */
}

/* Navigation links */
#nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* General Navigation Link Styles */
nav a {
    font-size: 16px;
    text-decoration: none;
    color: #ae54b0;
    margin: 0 10px;
    padding: 10px 20px;
    border-radius: 5px;
    display: inline-block;
}

/* Mobile-specific styles */
@media (max-width: 768px) {

    /* Hide the links by default on mobile */
    #nav-links {
        display: none;
        flex-direction: column;
        align-items: center;
        width: 100%;
        background-color: #ffeac2;
        /* Light background */
        position: absolute;
        top: 60px;
        /* Adjust based on your header height */
        left: 0;
        padding: 5px 0;
    }

    /* Show hamburger menu only on mobile */
    .hamburger-menu {
        display: block;
        color: #622775;
        /* Color for hamburger */
        padding: 15px;
        width: 40px;
        /* Adjust width to create a square shape */
        height: 40px;
        /* Adjust height to match width */
        display: flex;
        flex-direction: column;
        /* Stack icon and text vertically */
        justify-content: center;
        align-items: center;
        background-color: #ffeac2;
        border-radius: 10px;
    }


    /* Styling the links in the hamburger menu */
    #nav-links a {
        padding: 15px 0;
        font-size: 18px;
        width: 100%;
        text-align: center;
    }

    /* Show navigation links when the hamburger menu is clicked */
    #nav-links.active {
        display: block;
    }
}

.hamburger-menu::after {
    content: "Menu";
    /* Text to appear below */
    display: block;
    /* Forces the text onto a new line */
    font-family: 'Sacramento', cursive;
    /* Fixed missing semicolon */
    font-size: 22px;
    /* Fixed syntax error */
    color: #ae54b0;
    /* Match the hamburger icon color */
    text-align: center;
    margin-top: 0px;
    /* Space between icon and text */
    margin-bottom: 5px;
    /* Space between icon and text */
}

/* Container for the select element */
.select-container {
    position: relative;
    width: 100%;
    /* Ensures container fills the available width */
}

/* Style for the select box */
select {
    -webkit-appearance: none;
    /* Removes default iOS styling */
    -moz-appearance: none;
    /* Removes default Firefox styling */
    appearance: none;
    /* Removes default styling */
    width: 100%;
    /* Ensures it fills the container */
    padding: 10px 30px 10px 10px;
    /* Add padding for the arrow */
    font-size: 16px;
    /* Matches other inputs */
    border: 2px solid #a0b559;
    /* Custom border */
    border-radius: 5px;
    /* Slight rounding */
    background-color: #ffffff;
    /* Matches RSVP form background */
    color: #40314a;
    /* Dark text for readability */
    text-align: center !important;
    /* Center text inside the fields */
    cursor: pointer;
}

/* Center text in dropdown options */
select option {
    text-align: center;
    /* Centers the option text */
    padding: 10px;
    /* Add padding to give options some space */
}

/* Custom arrow added after the select container */
.select-container::after {
    content: "▼";
    font-size: 14px;
    color: #ae54b0;
    position: absolute;
    right: 10px;
    top: 40%;
    transform: translateY(-50%);
    pointer-events: none;
    /* Ensure it doesn’t interfere with selection */
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
    select {
        font-size: 18px;
        /* Slightly larger for mobile */
        padding: 12px 30px 12px 12px;
        /* Adjust padding for mobile */
    }
}