body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #262b3f;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #fff;
    overflow: hidden;
}
#background-video {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: -1; /* Send the video to the background */
}

.menu-container {
    position: relative;
    z-index: 1; /* Bring the menu container to the front */
    padding: 100px;
}

h1 {
    font-size: 36px;
    margin-top: 80px;
    margin-bottom: 50px;
}


.menu-buttons {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(32, 42, 68, 0.9);
    padding: 40px;
    width: 20%;
    height: 200vh;
    left: 100px; /* Adjust as needed */
    top: 0 ; /* Adjust as needed */
}

.menu-buttons .icon-button  {
    display: flex;
    align-items: center;

}

#controls-button,
#settings-button,
#about-button,
#level-button {
    width: 200px;
    padding: 10px 45px;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 20px; /* Adjust the font size as needed */
    color: white;
    background: rgb(255, 210, 66, 0.80);
    transition: 1s;
    box-shadow: 6px 6px 0 black;
    transform: skewX(-15deg);
    margin-top: 50px;
    align-items: center;
}

#controls-button i,
#settings-button i,
#about-button i ,
#level-button i{
    margin-right: 10px; /* Add spacing between icon and text */
}


#controls-button:hover,
#settings-button:hover,
#about-button:hover,
#level-button:hover {
    transform: skewX(-15deg) scale(1.2);
}

#play-button {
    display: flex;
    padding: 10px 45px;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 20px; /* Adjust the font size as needed */
    color: white;
    background: #6225E6;
    transition: 1s;
    box-shadow: 6px 6px 0 black;
    transform: skewX(-15deg);
    margin-top: 50px;
    align-items: center;
}

#play-button:focus {
    outline: none;
}
#play-button:hover {
    transition: 0.5s;
    box-shadow: 10px 10px 0 rgb(255, 210, 66, 0.80);
}

#play-button span:nth-child(2) {
    transition: 0.5s;
    margin-right: 0px;
}

#play-button:hover span:nth-child(2) {
    transition: 0.5s;
    margin-right: 45px;
}

span {
    transform: skewX(-10deg);
}

span:nth-child(2) {
    width: 20px;
    margin-left: 30px;
    position: relative;
    top: 12%;
}

/* Add these styles for the SVG animations */
path.one {
    transition: 0.4s;
    transform: translateX(-60%);
}

path.two {
    transition: 0.5s;
    transform: translateX(-30%);
}

#play-button:hover path.three {
    animation: color_anim 1s infinite 0.2s;
}

#play-button:hover path.one {
    transform: translateX(0%);
    animation: color_anim 1s infinite 0.6s;
}

#play-button:hover path.two {
    transform: translateX(0%);
    animation: color_anim 1s infinite 0.4s;
}

/* Add these SVG animations */
@keyframes color_anim {
    0% {
        fill: white;
    }
    50% {
        fill: #FBC638;
    }
    100% {
        fill: white;
    }
}



.switch-holder {
    display: flex;
    padding: 10px ;
    border-radius: 10px;
	border: #555 solid 1px;
    background-color:rgba(255, 210, 66, 0.80) ;
	box-shadow: 	
	inset 8px 8px 15px rgb(255, 210, 66, 0.80),
	inset 10px 10px 10px rgba(126, 121, 121, 0.3);
    justify-content: space-between;
    align-items: center;
	width: 100px;
	height: 20px;
	position: fixed; 
    bottom: 0; 
    right: 0;
    margin-bottom: 20px; 
	margin-right: 20px; 

}

.switch-label {
font-size: 13px;
}



.switch-toggle {
    height: 40px;
}

.switch-toggle input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    z-index: -2;
}

.switch-toggle input[type="checkbox"] + label {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 25px;
	margin-top: 8px;
    border-radius: 20px;
    cursor: pointer;
    background-color: rgba(231, 231, 231, 0.7);

    
}

.switch-toggle input[type="checkbox"] + label::before {
    position: absolute;
    content: '';
    font-size: 13px;
    text-align: center;
    line-height: 25px;
    top: 2.5px;
    left: 2.5px;
    width: 20px;
    height: 20px;
    border-radius: 20px;
    background-color: #838583;

    transition: .3s ease-in-out;
}

.switch-toggle input[type="checkbox"]:checked + label::before {
    left: 45%;
    content: '';
    background-color: #ffffff;

}

#circular-container2 {
    position: absolute;
    top: 90%; /* Center vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%);
    color: white;
    background: rgba(98, 37, 230, 0.4);
    transition: opacity 5s;
    opacity: 1;
    padding: 5px 10px;
    text-align: center;
    font-family: 'Games', sans-serif;
    width: 380px;
    height: 50px;
    border-radius: 90px;
    z-index: 5;
  }
  
  .circular-opacity-transition {
      opacity: 1
  }

  #msg {
    margin-top: 14px;
    font-size: 20px;
    font-family: 'Games', sans-serif;


  }
  