/* Base Styles */
body {
    margin: 0;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
    background: #000; /* Backup color in case the canvas doesn't load */
}

#canvas_container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* Webpage Content */
header {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    z-index: 10;
}

header h1 {
    font-size: 3rem;
    margin: 0.5rem 0;
}

header p {
    font-size: 1.2rem;
    margin: 0;
}

main {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    z-index: 10;
}

main h2 {
    font-size: 2rem;
    margin: 0.5rem 0;
}

main p {
    font-size: 1rem;
    margin: 0;
}


/* Other Elements */
button {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

/* Ensure canvas stays in the background */
canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    display: block;
}

body {
    margin: 0;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
    background-image: url("./images/test2.jpg");
    background-size: cover;
    backdrop-filter:  brightness(50%);
}

        
         .menu-icon {
            display: inline-block;
            width: 30px;
            height: 20px;
            cursor: pointer;
        }

        .menu-icon span {
            display: block;
            height: 4px;
            width: 100%;
            background-color: #333;
            margin-bottom: 4px;
            border-radius: 2px;
        }

        .menu-icon span:last-child {
            margin-bottom: 0;
        }
        
         .fullscreen-icon {
            display: inline-block;
            width: 24px;
            height: 24px;
            border: 2px solid #333;
            position: relative;
            cursor: pointer;
        }

        .fullscreen-icon::before,
        .fullscreen-icon::after {
            content: "";
            position: absolute;
            width: 10px;
            height: 2px;
            background-color: #333;
        }

        /* Horizontal bar */
        .fullscreen-icon::before {
            top: 50%;
            left: 2px;
            transform: translateY(-50%);
        }

        /* Vertical bar */
        .fullscreen-icon::after {
            left: 50%;
            top: 2px;
            height: 10px;
            width: 2px;
            transform: translateX(-50%);
        }
        
   .ratio-9x16 {
            position: relative;
            width: 100%;
            max-width: 90%; /* Limit the width of the video */
            max-height: 90%;
            margin: 0 auto; /* Center the video horizontally */
            padding-bottom: 177.78%; /* 9:16 aspect ratio */
        }
        .ratio-9x16 > video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
             object-fit: contain;
        }
        
      
        
        .modal-content {
            background-color: transparent !important; /* Ensure full transparency */
            border: none;
            box-shadow: none;
        }

        /* Transparent modal-dialog background */
.modal-dialog {
    max-height: 90vh; /* Limit modal height to 90% of the viewport */
    overflow-y: auto; /* Enable scrolling if content exceeds height */
}

        /* Semi-transparent backdrop */
        .modal-backdrop.show {
            background-color: rgba(0, 0, 0, 0.5); /* Optional: Adjust opacity of the backdrop */
        }
        
        

        .modal-dialog-centered {
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh; /* Ensure the dialog is vertically centered */
        }
