*,
*:before,
*:after {
    box-sizing: bordex-box;
}

html{
    font-size: 16px;
}


body{
    margin:0;
    padding: 0;
background-image: url(../assets/images/7.jpg);
background-size: cover;
    text-align: center;    
}

main {
    width: 430px;
    height: 100vh;
    margin: 0 auto;
    overflow: hidden;
    border: solid 10px #000000;
    border-top: 50px solid black;
    border-radius: 50px;
    padding-top: -50px;
    border-bottom: 20px solid black;

   
}
.project3bg-image img {
    max-width: 100%; /* Ensures it fits the container */
    height: auto; /* Maintains aspect ratio */

}

.video-container{
    margin-top: 20px;
}

/* position of the form is here */
.reservation {
    position: absolute;
    top: 10%;
    left: 8%;
}

input::placeholder {
    color: #00a651;
}

/* Form container styling */
form {
    max-width: 355px;
    height: auto;
    margin: 0 auto;
    font-family: Arial, sans-serif;
    text-align: left;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
   
}


/* Label styling */
form label {
    display: block;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 16px;

}


form label span {
    color: #e63946;
}

/* Input, select, and textarea field styling */
form input[type="text"],
form input[type="number"],
form select,
form textarea {
    width: 100%;
    border: 1px solid #aaa;
    border-radius: 4px;
    font-size: 0.95rem;
    color: #333;
    text-align: left;
    box-sizing: border-box;
    height: 35px;
    margin-top: 5px;
}


/* Placeholder text styling */
form input::placeholder {
    color: #aaa;
}

form input:focus,
form select:focus,
form textarea:focus {
    border-color: #007bff;
    outline: none;
}

/* Submit button styling */
form .reserve {
    width: 100%;
    padding: 15px;
    border-radius: 4px;
    background-color: #fff;
    color: rgb(255, 255, 255);
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease, background-color 0.3s ease;
}

form .reserve:hover {
    background-color: #007bff;
    color: #fff;
}

/* Style for form sections */
form p {
    margin-bottom: 7px;
}

/* Side-by-side styling for Date and Time */
.form-row {
    display: flex;
    gap: 20px;
   
}

.form-row p {
    flex: 1;
    margin-bottom: 0;
}

#inputRequest{
    height: 60px;
    padding-top: 15px;
   
}

textarea::placeholder {
    color: #aaa; 
}

.titleBanner{
    font-size: 20px;
    padding: 10px;
    color: white;
}

.reveal{
    color: #ffffff;
}

/* size fof the pages  */
#landingPage, #splashPage, #restaurantPage{
    max-width: 430px;
    height: 933px;
   
} 

/* Modal Styling */
.modal {
    display: none; 
    position: fixed;
    z-index: 1000; 
    left: 0;
    top: 0; /* Keep it at the top */
    width: 100%;
    height: 100%; /* Ensure the background covers the full height of the screen */
    background-color: rgba(0, 0, 0, 0.5);
    padding-top: 200px; /* Add space above the modal content to shift it down */
}

.modal-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    width: 50%;
    margin: 10% auto;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    line-height: 20px;
}

.close {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 24px;
    cursor: pointer;
   
}
#okayBtn {
    padding: 10px 20px;
    background-color: #000000;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 20px;
    font-family: helvetica;
    

}

#okayBtn:hover {
    background-color: #354fab;
    color: rgb(255, 255, 255);
}




/* --------------Desktop-specific styles-------- */
@media (min-width: 1024px) {
    body {
        width: auto;
        height: 100vh;
        overflow: hidden; 
        margin: 0 auto;
    }

    main {
        width: 400px;
        height: 750px;
        margin: 0 auto;
        overflow: hidden;
    }

    .reservation {
        position: absolute;
        top: 10%;
        left: 5.8%;
    }

    

    form {
        width: 355px;
        height: 535px;
        margin: 0 auto;
        font-family: Arial, sans-serif;
        text-align: left;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        margin-top: -30px;
       
    }
    #landingPage, #splashPage, #restaurantPage{
        max-width: 430px;
        height: 933px;
    } 


form p {
    margin-bottom: 0px;
}

    
}
