body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden; /* Prevent horizontal scroll */
    background-color: black; /* Set background color to black */
}

.navbar {
    background-color: black;
    height: 60px;
    display: flex;
    align-items: center;
    padding-left: 10px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.logo {
    height: 25px; /* Consider making this responsive with a percentage or vw unit */
}

.nav-button {
    background-color: transparent;
    color: white;
    border: none;
    margin-right: 10px;
    cursor: pointer;
}

.nav-button:hover {
    color: grey;
}

#video-container {
    position: relative;
    height: 100%;
    display: none; /* Initially hide the video tiles */
}

#main-video {
    width: 100%;
    height: calc(100% - 60px); /* Adjust height to fit the screen minus the navbar height */
    position: absolute;
    top: 60px; /* Position below the navbar */
    left: 0;
    background-color: black; /* Ensure black background around the video */
}

#video-tiles {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    z-index: 3;
    gap: 0px;
    opacity: 0.8;
}

.tile {
    background-size: cover;
    width: 280px;
    height: 180px;
    cursor: pointer;
    overflow: hidden;
    background-position: center; 
    margin: 5px;
    opacity: 0.8;
}

.custom-button {
    height: 180px;
    width: 50px;
    background-color: black;
    opacity: 0.9;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 24px;
    margin: 0px;
    padding: 0px;
}

.custom-button:hover {
    background-color: rgba(128, 128, 128, 0);
    color: black;
}

.popup-box {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-weight: bold;
    z-index: 100;
    padding: 20px;
    font-size: 45px;
    border: none;
    box-sizing: border-box;
    font-family: 'Gotham', sans-serif;
}

.popup-button {
    background-color: rgb(116, 110, 110);
    color: rgb(255, 255, 255);
    border: none;
    padding: 10px 20px;
    font-size: 30px;
    margin: 10px;
    cursor: pointer;
    width: 300px; /* Fixed width */
    text-align: center; /* Center the text inside the button */
    border-radius: 10px; /* Rounded corners */
    font-weight: bold;
}

.popup-button:hover {
    background-color: rgb(239, 239, 239);
}

.white-text-box {
    background-color: white;
    color: black;
    padding: 10px;
    margin-top: 10px;
    border-radius: 5px;
    opacity: 0.85;
    text-align: left;
    font-family: 'calibri', serif;
    font-size: 24px;
}

/* Adjustments for Popup Box #4 video frame */
#popup-box-4 video {
    width: 640px; /* Updated width */
    height: 360px; /* Updated height */
    margin-top: 20px; /* Space above the video */
}

.love {
    height: 35px; /* Consider making this responsive with a percentage or vw unit */
    position: absolute;
    right: 200px;
}

.couple {
    height: 40px; /* Consider making this responsive with a percentage or vw unit */
    position: absolute;
    right: 150px;
}
