body {
    max-width: 100vw;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}
#header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap; /* This will allow the items to wrap to the next line */
}

h1 {
    font-size: 24px;
    width: 100%; /* This will force the h1 to take the full width of the header, moving the navbar to the next line */
}

.prestige {
    font-weight: bold;
    margin-right: -4px;
}

.neptune {
    color: rgba(28, 242, 13, 0.981);
    margin-right: 4px;
}

.subtitle {
    font-size: 16px;
    margin-top: -1px;
    color: rgb(71, 120, 234);
}

.navbar {
    margin-left: 35%;
    margin-top: -40px;
}

.navbar a {
    margin: 0 10px;
    font-weight: bold;
    color: blue;
}

.navbar a:hover {
    border-bottom: 2px solid green;
}


#hamburger {
    font-size: 2em;
    display: none;
}
.navbar a img {
    width: 20px; /* Adjust as necessary */
    height: 20px; /* Adjust as necessary */
}

.arrow {
    font-weight: lighter; /* Adjust as necessary */
     font-size: 1em; /* Adjust as necessary */
}


#home {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.text-container p {
    margin: 5px;
    padding: 0;
    font-size: 16px;
    line-height: 26px;
}


#home .image-container img {
  width: 80%; /* set image width */
    height: auto; /* maintain image aspect ratio */
    margin: 40px auto; /* center the image */
}

#home .image-container p {
    text-align: center;
}
/* light orange color for text background */


.text-container {
    background-color: #f6e0c9;
    text-align: left;
    width: 80%;
    margin: 0 auto; /* Adjusted margin */
 
}
#home .image-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 80%;
    margin: 0 auto;
}

.image-container img,
.text-container {
    width: 100%;
    margin: 0;
    padding: 0;
}


.text-container {
    background-color: #f6e0c9;
    text-align: justify;
    hyphens: auto;
    padding: 5px;
    max-width: 80%;  /* Adjust this value as needed */
    margin: 0 auto;  /* Centers the container */
    word-break: break-word;
    margin-bottom: 10px;
}
.image-container img {
    grid-row: 1; /* Places the image in the first 3 fraction rows */
}

.image-container .text-container {
    grid-row: 2; /* Places the text in the last fraction row */
}
#home .image-container:first-child img {
    margin-bottom: 30px; /* adjust as needed */
}

#location img,
#amenities img,
#pricing img,
#contact img {
    width: 65%;  /* Or your desired width */
    height: auto;  /* Maintain aspect ratio */
    margin-left: 180px;
}
#location .text-container,
#amenities .text-container,
#pricing .text-container,
#contact .text-container {
     width: 65%;  /* Or your desired width */
    height: auto;  /* Maintain aspect ratio */
    margin-left: 180px;
    margin-top: 10px;
    margin-bottom: 20px;
   
}

@media screen and (max-width: 600px) {
    #header {
        flex-direction: column;
        margin-top: -20px;
    }
    .navbar {
        display: none;
        margin-left: 0;
        margin-top: -10px;
        width: 100%; /* This will make the navbar take the full width of the header */
    }
     .navbar.responsive {
        display: flex;
        flex-direction: column;
    
    }
     #home .image-container {
        width: 100%;
        margin-bottom: 15px; /* Adjusted margin-bottom */
    }
    
 
       .image-container img {
        width: 100%; /* Adjusted width */
        margin-bottom: 5px; /* Reduced margin-bottom */
        transform: scale(1.20);
    }

  .text-container {
        background-color: #f6e0c9;
        text-align: justify;
        hyphens: auto;
        padding: 10px; /* Adjusted from 10px 0 to apply padding on all sides */
        width: 100%; 
        max-width: calc(100% - 20px); /* Adjusted max-width to account for padding */
        margin: 0 auto; /* Centers the container */
        word-break: break-word;
    }
    h1 {
        font-size: 24px; 
        margin-top: -30px;
    }
    .subtitle {
        font-size: 20px;
    }
    .navbar a {
        font-size: 16px; 
    }
    #home .image-container p {
        font-size: 16px; 
    }
    
    #hamburger {
        display: block;
        margin-right: -350px;
    }
    #location img,
#amenities img,
#pricing img,
#contact img {
    width: 81%;  /* Or your desired width */
    height: auto;  /* Maintain aspect ratio */
    margin-left: 45px;
    margin-top: 20px;
}
#location .text-container,
#amenities .text-container,
#pricing .text-container,
#contact .text-container {
    width: 92%;  /* Or your desired width */
    height: auto;  /* Maintain aspect ratio */
    margin-left: 10px;
    margin-top: 30px;
    margin-bottom: 20px;
   
}
   
}
