/*
* {
    outline: 1px solid rgba(255, 0, 0, 0.5);
}
*/

/* :root */
:root{
    --background-main-color: rgba(36, 0, 28, 0.975);;
    --foreground-main-color: rgba(46, 22, 46, 0.9);
    --foreground-main-color-light: #33224b;
}

/* @keyframes fadeInAnimation */
@keyframes fadeInAnimation {
        from {
        opacity: 0;
        }
        to {
        opacity: 1;
        }
    }

/* @keyframes fadeInGrow */
@keyframes fadeInGrow {
        from {
            opacity: 0;
            transform: scale(0.95);
        }
        to {
            opacity: 1;
            transform: scale(1);
        }
    }

/* @keyframes logoAnimation */
@keyframes logoAnimation {
        from{
            opacity: 0;
            transform: scale(0.95) translateY(-10px);
        }
        to {
            opacity: 1;
            transform: scale(1) translateY(0);
        }
    }

/* @keyframes logoAnimationWide */
@keyframes logoAnimationWide {
        from{
            opacity: 0;
            transform: scale(0.5) translateY(-1000px);
        }
        to {
            opacity: 1;
            transform: scale(1) translateY(0);
        }
    }

/* @keyframes slideDown */
@keyframes slideDown {
        0% {
            opacity: 0;
            transform: translateY(-10px);
        }
        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }

/* .btn[disabled],
.btn:disabled */
.btn[disabled],
    .btn:disabled {
        opacity: 1; /* Reset opacity */
        background-color: initial; /* Keep the original background */
        color: initial; /* Keep the original text color */
        cursor: pointer; /* Allow pointer cursor */
    }

/* .btn-close */
.btn-close {
        filter: invert(1);
    }

/* .btn-primary */
.btn-primary {
        background: none !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0;
    }

/* .big-icon */
.big-icon{
        height: 40px;
        width: auto;
        height: 1;
        
    }

/* .big-logo */
.big-logo {
        width: 120vw;
        max-width: 900px;
        height: auto;
    }

body {
    font-family: 'Exo 2', sans-serif;
    background-color: #f4f4f4;
    color: #333;
    background-color: #a5579e;
    margin: 0;
    padding: 0;
    height: 100vh;  /* Ensure body takes full viewport height */
    overflow-y: auto;  /* Enable scrolling for the whole page */
}

/* .content */
.content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        position: relative;
        color: white;
        
        padding-bottom: 50px;
        font-family: "Exo 2", sans-serif;
        font-weight: 300;
        font-size: 2rem;
        white-space: nowrap;
        z-index: 5;
        
    }

/* .content h4 */
.content h4 {
        font-weight: 400;
        margin-top: -3vh; 
    }

/* .desktop-header */
.desktop-header{
        align-items:center;
        display:flex;
        position: fixed;
        z-index: 10;
        width: 100%;
        padding: 10px;
        color: white;
        background-color: rgba(36, 0, 28, 0.975);
        box-shadow: 0 2px 10px rgba(2.5, 2.5, 2.5, 2.5);
        z-index: 20;
    }

/* .desktop-window */
.desktop-window{
        display: block;
    }

/* .dropdown */
/* First occurrence (positioning context) */
.dropdown {
        position: relative; /* Make the dropdown's container the positioning context for its menu */
    }

/* .dropdown */
/* Second occurrence (padding and alignment) */
.dropdown {
        padding-left:50px;
        padding-right:50px;
        align-items: center;
    }

/* .dropdown-button */
.dropdown-button {
        background-color: transparent;
        color: rgb(253, 247, 255);
        border: none;
        border-radius: 5px;
        cursor: pointer;

        transition: background-color 0.3s ease;
        
    }

/* .dropdown-button:not(#game-selector) */
.dropdown-button:not(#game-selector){
        font-size: 125%;
        padding: 7px;
    }

/* .dropdown-button.show */
.dropdown-button.show{
        background-color: rgba(46, 22, 46, 0.9);

    }

/* .dropdown-item */
.dropdown-item {
        display: flex; 
        color: white;
        text-decoration: none;
        padding: 10px;
        border-radius: 5px;
        transition: background-color 0.3s ease;
    }

/* .dropdown-item:hover */
.dropdown-item:hover {
        background-color: var(--foreground-main-color-light);
        color: white;
    }

/* .dropdown-item span */
.dropdown-item span {
        /*padding-top: 0.25vh;*/
        filter: drop-shadow(5px 5px 5px #222);
        font-size: 100%;
    }

/* .dropdown-menu */
.dropdown-menu {
        display: block !important;  /* Allow Bootstrap to control visibility */
        position: absolute !important; /* Ensure dropdown is positioned relative to button */
        top: 100% !important; /* Make sure it appears *below* the button */
        left: 0;
        background-color: var(--foreground-main-color);
        border-radius: 10px;
        width: 100%;
        padding: 10px;
        opacity: 0;
        transform: translateX(0px) translateY(0px) !important; /* Small downward shift for animation */
        text-align: center;
        align-items: center;
        justify-content: center;
        transition: opacity 0.3s ease, transform 0.3s ease;
        visibility: hidden;
    }

/* .dropdown-menu.show */
.dropdown-menu.show {
        opacity: 1;
        visibility: visible;
    }

/* .dropdown-toggle::after */
.dropdown-toggle::after {
        border-top: 0.4em solid var(--caret-color, #ff0000);
        display: none !important;
    }

/* .fade-overlay */
.fade-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: black;
        z-index: 1000; /* High z-index to cover all content */
        opacity: 1;
        transition: opacity 1.5s ease-out;
        pointer-events: none; /* Ensure it doesn't block user interaction */
    }

/* .fade-overlay.hidden */
.fade-overlay.hidden {
        opacity: 0;
        pointer-events: none;
    }

/* .grow-3s */
.grow-3s {
        opacity: 0;
        animation: fadeInGrow 3s ease forwards;
    }

/* .grow-5s */
.grow-5s {
        opacity: 0;
        animation: fadeInGrow 5s ease forwards;
    }

/* .grow-7s */
.grow-7s {
        opacity: 0;
        animation: fadeInGrow 7s ease forwards;
    }

/* .invis */
.invis{
        position: absolute;
        top: 0;
        left: 0;
        
        height: 300%;
        width: 100%;
        z-index:5;
        background: transparent;

        text-align: center;
        align-items:center;
        justify-content: center;
    }

/* .item-grid-container */
.item-grid-container {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 2fr; /* Two columns: 1 fraction and 3 fractions */
        grid-gap: 0; /* Add some spacing between grid items */
        align-items: center; /* Align items vertically */
    }

/* .item1 */
.item1 {
        grid-column: 1; /* First column for icon */
    }

/* .item2 */
.item2 {
        grid-column: 2; /* Second column for text */
    }

/* .logoAnimation */
.logoAnimation{
        opacity: 0;
        animation: logoAnimation 5s ease forwards;
    }

/* .logoAnimationWide */
.logoAnimationWide{
        opacity: 0;
        animation: logoAnimationWide 1.5s ease forwards;
    }

/* header .logo */
header .logo {
        max-width: 150px;
        margin-left: 1rem;
        margin: 1rem;
    }

/* header .logo-mobile */
header .logo-mobile {
        display: block; 
        max-width: 200px; 
        margin: 0 auto; 
        padding: 1rem;
    }

/* .mobile-dropdown .dropdown-toggle */
.mobile-dropdown .dropdown-toggle {
        background: var(--foreground-main-color);
        border: none;
        color: white;
        width: 250px; /* Makes button wider */
        max-width: 250px; /* Adjust as needed */
        text-align: left; /* Aligns text to the left */ 
        padding: 10px 15px; /* Increases padding for better touch */
    }

/* .mobile-header */
.mobile-header {
        display: none; 
        position: relative;
        top: 0; 
        left: 0;
        min-height: 50px;
        width: 100%; 
        background: var(--background-main-color);
        color: white;
        padding: 15px;
        z-index: 10;
    }

/* .mobile-window */
.mobile-window { 
        display: none; 
    }

/* .offcanvas */
.offcanvas{
        background-color:var(--background-main-color);
    }

/* .offcanvas-body */
.offcanvas-body {
        display: flex;
        flex-direction: column;
        align-items: flex-start; /* Aligns content to the left */
        padding-left: 20px; /* Adjust as needed */
    }

/* .small-logo */
.small-logo{
        align-content: center;
        width: 300px;
        height:auto;
    }

/* .slide-down-3s */
.slide-down-3s{
        opacity: 0;
        animation: slideDown 3s ease forwards;
    }

/* a img.big-icon */
a img.big-icon{
        width: auto;
    }

/* button */
button{
        background-color: #180f25;
    }

/* button:hover */
button:hover{
        cursor: pointer;
    }

/* footer */
footer {
        text-align: center;
        padding: 10px;
        background-color: rgba(36, 0, 28, 0.975);
        color: white;
    }

/* iframe */
iframe {
        width: 100%;
        height: 100%;
        border: none;
        display: block;
    }

/* main */
main{
        display: flex;
        position: relative;
        flex-direction: column;
        justify-content: flex-start;
        padding: 0;
        overflow-y: auto; /* or remove overflow entirely if not needed */
    }

/* main::before */
main::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(12, 2, 12, 0.9); /* Red overlay with transparency */
        pointer-events: none; /* Ensures the overlay doesn't interfere with interactions */
    }

/* #home-screen */
#home-screen {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column; /* Stacks content vertically */
        width: 100%;
        height: calc(100vh - 70px);
        overflow: hidden;
        position: relative;
    }

/* .embedded-page */
.embedded-page{
        width: 85.5vw;
        height: 100vh;

        
        margin: 10vh 7.5vw;
        border-radius: 10px;
        position: relative;
        /* Use a fixed height or min-height based on your design */
        overflow: auto;  /* Allow scrolling if content overflows */
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    }

/* .icon-label */
.icon-label{
        font-size: 1.5vw;
    }

/* .video-background */
.video-background {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* .video-content */
.video-content {
        position: relative;
        color: white;
         
        text-align: center;
        font-size: 2rem;
    }

/* .video-overlay */
.video-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(20, 16, 20, 0.2);
    }

/* @media (max-width: 768px) */
@media (max-width: 768px) {
.desktop-header {
    display: none; 
}
.desktop-window {
    display: none;
}
.embedded-page{
    height: 2800px
}
.flex-container {
    flex-direction: column; 
}
.flex-item {
    width: 100%; 
}
h4 {
    font-size: 3vw; 
}
.logo-mobile {
    display: block !important;
}
.mobile-header {
    display: flex;
}
.mobile-window{
    display: block;
}
}

/* @media (min-width: 769px) */
@media (min-width: 769px) {
.btn-primary {
    display: none !important;
}
.desktop-header {
    display: flex; 
}
.logo-mobile {
    display: none !important;
}
.mobile-header {
    display: none; 
}
}
