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

.container {
    position: relative;
    width: 100%;
    height: 100%;
}

.bg-video {
    position: absolute;
    width: 100%;
    height: auto;
    z-index: -1;
}

.bottom-nav {
    position: absolute;
    bottom: 0;
    width: calc(100% - 164px);  /* Subtracting 164px to account for 82px padding on both sides */
    padding-left: 82px;
    padding-right: 82px;
    display: flex;
    justify-content: space-between;
    height: 1683px;
    background-image: url(images/navbg.png);
    background-size: contain;
    background-repeat: no-repeat;
}

.column {
    display: flex;
    flex-direction: column;
    align-items: center;  /* horizontally center the icons */
    flex-grow: 1;  /* let each column grow to fill the space */
}

.column.even {
    padding-top: 474px;
}

.column {
    padding-top: 237px;
}

.icon {
    max-width: 100%;
    padding-bottom: 50px;
}

/* VIDEO OVERLAY */

.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10;
	opacity: 1;
    visibility: visible;
    transition: opacity 1.3s ease-out;  /* Transition for opacity */
}


.video-overlay.hidden {
    opacity: 0;
    visibility: hidden;  /* To ensure the overlay doesn't capture clicks when hidden */
}


#videoPlayer {
	width: 90%;
    max-width: 90%;
    max-height: 80%;
}

#closeVideo {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: black; 
    border: none;
    width: 100px;  /* Fixed width and height */
    height: 100px;
    font-size: 88px;  /* Adjust as needed */
    color: #999;  /* Dark gray */
    line-height: 35px;  /* Aligns the 'x' vertically */
    text-align: center;  /* Aligns the 'x' horizontally */
    cursor: pointer;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.2);  /* Adds a subtle shadow for depth */
    transition: background-color 0.3s ease;  /* Smooth transition for hover effect */
}

#closeVideo:hover {
    background-color: rgba(255, 255, 255, 1);  /* Solid white on hover */
}



/* Media Query for 1080p */
@media screen and (min-width: 1920px) and (max-width: 2560px) {
    .bottom-nav {
        height: calc(1683px / 2);
        width: calc(100% - 164px);  /* Maintain the width subtraction in this resolution */
        padding-left: 41px;  /* Half of 82px */
        padding-right: 41px;  /* Half of 82px */
    }
    .icon {
        padding-bottom: 25px;  /* Half of 50px */
    }
}