* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* outline: 1px solid red; */
}

body {
    font-family: 'Arial', sans-serif;
    min-height: 100vh;
    overflow-y: auto;
    background: black;
    color: #f8f5f2;
}

/* main div */
.main-div {
    display: flex;
    min-height: 100vh;
    align-items: stretch; /* ← this makes both children equal height */
}

/* left div*/
.left-div {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 30px;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    height: auto;
}
.vertical-logo {
    position: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 30px;
}

.logo {
    width: 180px;     /* adjust size as needed */
    height: auto;    /* keep aspect ratio */
    object-fit: contain;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3); /* optional, can remove */
    background: none; /* no white background */
    border-radius: 0; /* no oval shape */
}

.logo-text {
    color: #f8f5f2;
    font-size: 40px;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase; /* so it shows Y U L A N */
    /* font-style: italic; */
    text-align: center;
    line-height: 1.2;
    writing-mode: horizontal-tb; /* reset */
}
/* left div*/

/* right div*/
.right-div {
    flex: 5;
    display: flex;
    flex-direction: column;
    padding: 30px;
    position: relative;
}

/* video div */
.video-div {
    height: 300px; /* or whatever fixed height you want */
    flex-shrink: 0; /* prevent shrinking */
    margin-bottom: 30px;
}

.video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    opacity: 0.9;
}
/* video div */

/* letter div */
#letterDiv{
    margin-top: 25px;
    margin-left: 50px;
    margin-bottom: 40px;
}

#form{
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center

}

.inputForm{
    width: 250px;
    height: 30px;
    border-radius: 8px;
    border-color: rgba(248, 245, 242, 0.6);
}

#submitForm{
    width: 250px;
    height: 30px;
    padding: 6px 12px;
    background: rgba(248, 245, 242, 0.6);
    color: black;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s ease;
}

#validationDOMDiv{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 20px;
}
/* letter div */

/* footer-div section*/
.footer-div {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer-content-div {
    padding-top: 20px;
    border-top: 1px solid rgba(248, 245, 242, 0.3);
    display: flex;
    align-items: center; 
    justify-content: space-between;
    width: 100%;
}

.footer-content-p {
    font-size: 12px;
    color: rgba(248, 245, 242, 0.6);
    letter-spacing: 2px;
    font-weight: 300;
}

#backToHome{
    padding: 6px 12px;
    background: rgba(248, 245, 242, 0.6);
    color: black;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s ease;
}
/* footer-div section*/
/* right div*/

/* media queries */
@media (max-width: 600px) {
    .right-div{
        max-width: 100vw;
        max-height: 62.5vh
    }
    .footer-div{
        max-width: 100vw;
    }
    .footer-content-div {
        padding-top: 20px;
        border-top: 1px solid rgba(248, 245, 242, 0.3);
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    #letterDiv {
        flex: 0 0 65%;          /* take up 65% of parent height */
        margin-top: auto; /* push it down */
        margin-left: auto;  /* center horizontally */
        margin-right: auto; /* center horizontally */
        max-width: 300px;   /* optional max width to keep it neat */
    }

    .inputForm {
        width: 250px; /* same as desktop */
    }

    #submitForm {
        width: 250px;
    }
}