body {
  font-family: 'Roboto', sans-serif;
  font-weight: bold;
    height: 100vh;
    margin: 0;
    position: relative;
    overflow: hidden;
    background-color: #1E1F22;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    transition: transform 1s ease;
}
::selection {
background-color: #F53150;
color: #ffffff;
}
.button-container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.buttons-row {
    display: flex;
    gap: 25px;
    align-items: center;
}

.button-group {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.button {
    width: 100px;
    height: 100px;
    cursor: pointer;
    overflow: hidden;
    border-radius: 5px;
    transition: transform 0.3s, box-shadow 0.3s;
  user-select: none; /* Disable text selection */
  pointer-events: auto; /* Enable mouse events for clicking */
}

.button:hover {
    transform: scale(3);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.button img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.button-text {
    position: absolute;
    width: 100%;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    opacity: 0;
    text-align: center;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    transition: opacity 0.3s, bottom 0.3s;
    text-transform: uppercase;
    white-space: nowrap;
}

.button:hover + .button-text {
    opacity: 1;
    bottom: -150px;  /* adjusted to account for the enlarged button */
}

.moved-logo {
    transform: translateY(-150px);
}


.leftBg {
    transform: translateX(-100%);
}

.middleBg {
    transform: translateX(0);
}

.rightBg {
    transform: translateX(100%);
    visibility: hidden; /* Initially hide the right background */
    transition: transform 1s ease, visibility 0s linear 1s; /* Enable the transition for smooth movement with delayed visibility */
}

.vignette {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at center, transparent, #000 80%);
    pointer-events: none;
    z-index: 5;
    opacity: 75%;
}

a {
    text-decoration: none;
    color: inherit;
    display: inline-block;
}

.logo-container {
    position: relative;
    margin-bottom: 20px;
    z-index: 2000;
	transition: transform 0.3s ease-out;
}

#logo {
    width: 450px;
    height: auto;
  user-select: none; /* Disable text selection */
  pointer-events: auto; /* Enable mouse events for clicking */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #logo {
        width: 250px;
    }

    .button {
        width: 70px;
        height: 70px;
    }
}


.button:active {
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

/* Add media queries as needed for other mobile-specific styles */
@media (max-width: 768px) {
    /* Example: Resize buttons for mobile screens, adjust as needed */
    .button {
        width: 80px; 
        height: 80px;
    }
}

/* Loading screen styles */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 1s;
    z-index: 2001;
}

#logo {
    width: 500px;
    height: auto;
    user-select: none;
    opacity: 0;
    animation: logoFadeIn 2s forwards;
}

#loading-bar-container {
    width: 300px;
    height: 30px;
    background: #333;
    border-radius: 15px;
    margin-top: 20px;
}

#loading-bar {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #F53150 0%, #F53150 100%);
    border-radius: 15px; /* Rounded edge on all sides */
    transition: width 2s ease;
    animation: fillBar 2s linear;
}
@keyframes fillBar {
    0% { width: 0; }
    100% { width: 100%; }
}

@keyframes logoFadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* Loading screen styles */

/* Add this to your existing CSS */

.menu-button {
  position: absolute;
  top: 50px;
  right: 20px;
  z-index: 10;
  cursor: pointer;
}

.menu-button i {
  font-size: 24px;
  color: #ffffff;
}

.menu-content {
  display: none;
  position: absolute;
  top: 22px;
  right: 0;
  width: 200px;
  background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.7));
  padding: 20px;
  border-radius: 5px;
  transform-origin: top right;
  transform: scaleY(0);
  transition: transform 0.3s ease-in-out;
}

.menu-button.active .menu-content {
  display: block;
  transform: scaleY(1);
}

.menu-button.active i {
  transform: rotate(90deg);
}
.menu-content a:hover {
  opacity: 0.8;
}


.menu-content a {
  display: block;
  color: #ffffff;
  text-decoration: none; /* Remove underlines */
  font-size: 18px;
  margin-bottom: 10px;
}