/* BODY & BACKGROUND */
body {
    margin: 0;
    padding: 0;
    background: url('src/gradient.png') no-repeat center center fixed;
    background-size: cover;
    font-family: Arial, sans-serif;
}

.landing {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 1000px;
    /* Increase max width if needed */
    margin: 50px auto;
    text-align: center;
    font-size: inherit;
    /* Ensure it doesn't override h1 font size */
    overflow: visible;
    /* Prevent text from getting clipped */
}

/* NAVIGATION BAR */
nav {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    justify-content: flex-start;
    /* Aligns buttons to the left */
}

nav button {
    background-color: #ecbd78;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 20px;
}

.content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-button:hover {
    background: #E47A7D;
}

/* LANDING PAGE */
.landing-page {
    display: flex;
    height: 100vh;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.landing-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* BIRTHDAY IMAGE */
.image-placeholder img {
    width: 300px;
    height: auto;
    border-radius: 10px;
}

.text {
    text-align: center;
}

.happy {
    font-family: 'Selima', cursive;
    font-size: 77.8px !important;
    color: #d28377 !important;
}

.isabelle {
    font-family: 'League Spartan', sans-serif;
    font-size: 55.6px !important;
    font-weight: bold;
    color: #d28377 !important;
}



/* MESSAGE SECTION */
#messages {
    text-align: center;
    padding: 40px;
    background: #FFF5E1;
    margin-top: 20px;
    border-radius: 20px;
    width: 80%;
    margin: auto;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

/* MESSAGE INPUT FORM */
.container {
    max-width: 500px;
    background: white;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    margin: 40px auto;
    text-align: center;
}

input,
textarea {
    background: #FFF5E1;
    width: 90%;
    margin: 10px 0;
    padding: 12px;
    border: 2px solid #F4A29D;
    border-radius: 10px;
    font-size: 16px;
}

/* SUBMIT BUTTON */
.submit-button {
    background: #F4A29D;
    color: white;
    padding: 12px 20px;
    border: none;
    cursor: pointer;
    border-radius: 20px;
    font-weight: bold;
    transition: 0.3s ease;
}

.submit-button:hover {
    background: #E47A7D;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {

    /* Stack the content vertically */
    .content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    /* Adjust image size for smaller screens */
    .image-placeholder img {
        width: 80%;
        max-width: 250px;
        height: auto;
    }

    /* Adjust landing container for better spacing */
    .landing {
        padding: 20px;
        width: 95%;
    }
}