body, html {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: url('chl.webp') no-repeat center center fixed; 
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    z-index: -1; /* To ensure it stays below the content */
}

.portrait {
    height: 40px; /* Adjust to your preferred size */
    width: auto; /* Maintain the aspect ratio */
    margin-right: 4%; /* Space between the image and the first menu item */
    /* border-radius: 50%; Makes the portrait circular */
}

.main-menu {
    position: fixed; /* Will keep it at the top even when you scroll */
    top: 90%;
    left: 66%; /* Setting left to 30% since the width is 40%, making it centered */
    width: 34%; /* Set the width to 40% */
    background-color: rgba(0, 0, 0, 0.5); /* Black with 50% opacity */
    padding: 10px 0;
    padding-left: 15px;
    text-align: center; /* Ensures the content within is centered */
    display: flex; /* Makes the portrait and the menu items align horizontally */
    align-items: center; /* Vertically centers the portrait and the menu items */
}

.main-menu ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: space-around; /* Distributes the menu items evenly */
    flex-grow: 1; /* Allows the <ul> to take up the remaining horizontal space after the portrait */
}

.main-menu li {
    flex: 1; /* Ensures each menu item takes up equal space */
    text-align: center;
}

.main-menu a {
    color: white;
    text-decoration: none;
    font-size: 20px; /* Making it a bit larger for better visibility */
    font-family: 'Playfair Display', serif; /* Setting our elegant font */
    transition: color 0.3s;
}

/* ... rest of your styles ... */


.main-menu a:hover {
    color: #ddd; /* Slightly darker when hovered */
}

.welcome-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* This ensures perfect centering */
    font-size: 3em; /* Adjust as needed */
    color: white;
    font-family: 'Playfair Display', serif; /* Assuming you're still using this elegant font from earlier. If not, choose a font that you like. */
}

/* ... existing styles ... */

.word-cloud {
    position: absolute;
    top: 18%;
    left: 65%;
    transform: translate(-50%, -50%);
    width: 350px; /* Adjust based on your desired size */
    height: 250px; /* Adjust based on your desired size */
    font-family: 'Playfair Display', serif;
}

.word {
    position: absolute;
    color: white;
    opacity: 0.9; /* A bit of transparency for overlapping words */
}

.word1 {
    top: 10%;
    left: 30%;
    font-size: 1.2em;
}

.word2 {
    bottom: 20%;
    left: 15%;
    font-size: 1.5em;
}

.word3 {
    top: 15%;
    right: 10%;
    font-size: 1.4em;
}

.word4 {
    bottom: 10%;
    right: 20%;
    font-size: 1.3em;
}

.word5 {
    top: 40%;
    left: 5%;
    font-size: 1em;
}

.word6 {
    bottom: 54%;
    left: 40%;
    font-size: 1.6em;
}

.word7 {
    top: 60%;
    right: 5%;
    font-size: 1.1em;
}

.word8 {
    bottom: 40%;
    right: 40%;
    font-size: 1.7em;
}
.word9 {
    top: 0%;
    left: 10%;
    font-size: 1.4em;
}

.word10 {
    bottom: 0%;
    left: 50%;
    font-size: 1.2em;
}

.word11 {
    top: 2%;
    right: 35%;
    font-size: 1.3em;
}

.word12 {
    top: 85%;
    right: 60%;
    font-size: 1.2em;
}

.word13 {
    bottom: 60%;
    right: 5%;
    font-size: 1.6em;
}

/* ... rest of your styles ... */