@font-face {
    font-family: 'Object Sans';
    src: url('fonts/ObjectSans-Regular.woff2') format('woff2'),
         url('fonts/ObjectSans-Regular.woff') format('woff'),
         url('fonts/ObjectSans-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Hide scrollbar for Chrome, Safari, and Edge */
::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for Firefox */
html {
    scrollbar-width: none;
}

body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-family: 'Object Sans', sans-serif;
    background-color: #1c1c1c;
}

video {
    width: 100%;
    height: auto; /* Maintains aspect ratio */
    display: block; /* Removes extra spacing */
}
a {
    color: whitesmoke;
}
li {
    color: whitesmoke;
}
h5 {
    color: lightslategray;
}

.sidebar h5, li, p {
    font-size: 20px;
}

.container-fluid {
    height: 100vh;
    display: flex;
    overflow: hidden;
    padding: 0;
    margin: 0;
    width: 100vw; /* Full viewport width */
}
/* Sidebar */
.sidebar {
    width: 25%; /* Default for desktop */
    height: 100vh;
    background-color: #1c1c1c;
    color: whitesmoke;
    padding: 40px 40px 40px 20px;
    overflow-y: auto;
    transition: transform 0.3s ease-in-out;
}

.video-container {
    width: 75%; /* 9/12 of the grid */
    height: 100vh;
    background-color: #1c1c1c;
    color: whitesmoke;
    padding: 20px 0px;
    overflow-y: auto; /* Video section scrolls independently */
}

.mofgo-logo {
    max-width: 100%; /* Ensure it doesn't overflow */
    height: auto; /* Maintain aspect ratio */
    object-fit: contain; /* Keep proportions without cropping */
}

.hover-underline {
    position: relative;
    text-decoration: none;
    color: inherit; /* Keeps the link color unchanged */
  }

.hover-underline::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px; /* Adjust as needed */
    width: 0;
    height: 2px; /* Thickness of underline */
    background-color: currentColor; /* Matches the text color */
    transition: width 0.3s ease-in-out;
  }

.hover-underline:hover::after {
    width: 100%;
  }

.video-title {
    padding-top: 8px;
    color: whitesmoke;
}

.video-title:hover {
    color: lightslategray;
}

.floating-button-container {
    position: fixed;
    bottom: 48px;
    right: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

/* Default Button Styling */
.button-main {
    position: relative;
    padding: 14px 28px;
    border-radius: 40px;
    background: rgba(154, 153, 157, 0.30);
    box-shadow: 
        0px 8px 16px rgba(15, 15, 17, 0.50), 
        4px 4px 8px rgba(21, 21, 24, 0.50), 
        -8px -8px 16px rgba(15, 15, 17, 0.60) inset, 
        4px 4px 8px #B5B5B5 inset;
    backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease-in-out;
}

/* Text Styling */
.button-text {
    font-family: 'Object Sans', sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: white;
    text-shadow: 0px 4px 8px #000;
}

/* Hover Effect - Previous Styling */
.floating-button-container:hover .button-main {
    background: rgba(24, 23, 31, 0.60);
    box-shadow: 
        0px 8px 16px rgba(15, 15, 17, 0.50), 
        4px 4px 8px rgba(21, 21, 24, 0.50), 
        -8px -8px 16px rgba(15, 15, 17, 0.60) inset, 
        4px 4px 8px #302F3B inset;
    backdrop-filter: blur(16px);
    transform: scale(1.15);
}

/* Style for menu button (⋮) */
.menu-button, .close-button {
    position: fixed;
    top: 16px; /* Adjust spacing */
    left: 16px;
    width: 48px; /* Ensures at least 44px touch area */
    height: 48px;
    background: none;
    border: none;
    color: whitesmoke;
    font-size: 32px; /* Increase size */
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

/* Style for close button (✕) */
.close-button {
    display: none; /* Hidden by default */
}

/* Sidebar - Fullscreen on Mobile */
@media screen and (max-width: 768px) {
    .sidebar {
        position: fixed;
        width: 100%;
        height: 100vh;
        left: 0;
        top: 0;
        padding: 0px 80px;
        transform: translateY(-100%);
        transition: transform 0.3s ease-in-out;
        z-index: 999;
        display: flex;
        flex-direction: column;
        justify-content: center; /* Center content vertically */
        align-items: center;
        text-align: center;
    }

    /* When sidebar is open */
    .sidebar.open {
        transform: translateY(0%); 
    }

    .menu-button {
        display: block;
        position: fixed;
        top: 20px;
        left: 20px;
        background: none;
        border: none;
        color: whitesmoke;
        font-size: 24px;
        cursor: pointer;
        z-index: 1001;
    }

    .mofgo-logo {
        padding-top: 80px;
    }

    /* X Button Styling */
    .close-button {
        position: fixed;
        top: 20px;
        left: 20px;
        background: none;
        border: none;
        color: whitesmoke;
        font-size: 24px;
        cursor: pointer;
        z-index: 1001;
        display: none; /* Initially hidden */
    }

    .sidebar.open + .close-button {
        display: block; /* Show when menu is open */
    }

    .video-container {
        width: 100%; /* Full width minus left/right margin */
        padding: 100px 10px 0 10px; /* Top: 60px, Left/Right: 20px */
    }
    
}
