* {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  box-sizing: border-box;
}

body {
  overflow: hidden;
  background: black;
  margin: 0;
  padding: 0;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: contain;
  background-position: center;
}

body::before {
  content: "";
  position:fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/static/main/images/evolibrium.png');
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: contain;
  background-position: center;
  z-index: -1000; /* Ensure it stays behind your content */
  /* Initial state */
  opacity: 1;
  background-size: 1200px;
}


input { position: absolute; display: none; }
* {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.menu {
  margin: 0 auto;
  position: absolute;
  top: 45%;
  left: 49.5%;
  margin-left: -25px;
  margin-top: -25px;
}


.btn {
  width: 60px;
  border-radius: 50px;
  position: absolute;
  overflow: hidden;
  cursor: pointer; 
  color: white;
  font-size: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}

.btn a {
  text-decoration: none;
  color: white;
}

.btn:hover a {
  color:#fa8f32;
}


.btn:first-child{
  left: -40px;
  width: 150px;
  height: 50px;
  font-size: 20px;
  letter-spacing: 2px;
}

.material-icons.md-36 {
  font-size: 36px;
  color: black;
}

.btn:not(:first-child) {
  opacity: 0;
  z-index: -2;
  transition: all 0.6s cubic-bezier(.87,-.41,.19,1.44);
}
.btn:nth-child(2) { top: 0px; transition-delay: 0s; }
.btn:nth-child(3) { top: 0px; left: 0px; transition-delay: 0.1s; }
.btn:nth-child(4) { left: 0px; transition-delay: 0.2s; }
.btn:nth-child(5) { top: 0px; left: 0px; transition-delay: 0.3s; }
.btn:nth-child(6) { top: 0px; transition-delay: 0.4s; }
.btn:nth-child(7) { top: 0px; left: 0px; transition-delay: 0.5s; }
.btn:nth-child(8) { left: 0px; transition-delay: 0.6s; }
.btn:nth-child(9) { top: 0px; left: 0px; transition-delay: 0.7s; }

input#toggle:checked ~ #show-menu .btn:nth-child(2) {
  top: -130px;
  opacity: 1;
}

input#toggle:checked ~ #show-menu .btn:nth-child(3) {
  top: -90px;
  left: 90px;
  opacity: 1;
}

input#toggle:checked ~ #show-menu .btn:nth-child(4) {
  left: 130px;
  opacity: 1;
}

input#toggle:checked ~ #show-menu .btn:nth-child(5) {
  top: 90px;
  left: 90px;
  opacity: 1;
}

input#toggle:checked ~ #show-menu .btn:nth-child(6) {
  top: 130px;
  opacity: 1;
}

input#toggle:checked ~ #show-menu .btn:nth-child(7) {
  top: 90px;
  left: -90px;
  opacity: 1;
}

input#toggle:checked ~ #show-menu .btn:nth-child(8) {
  left: -130px;
  opacity: 1;
}

input#toggle:checked ~ #show-menu .btn:nth-child(9) {
  top: -90px;
  left: -90px;
  opacity: 1;
}

.menuBtn, .closeBtn {
  position: absolute;
  font-family: 'Audiowide', cursive;
}
.closeBtn {
  padding: 5px;
  border-radius: 25%;
  border-bottom: 1px solid white;
}

.wheel-font {
  font-size: 2.5rem;
  font-weight: bold;
}

.auth-container {
  display: flex;
  align-items: center;
  margin-left: auto;
}

#evocontent {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 1000;
}
.regh1 {
  text-align: center;
  margin-bottom: 20px;
  margin-top: 50px;
}

.form-group {
  background-color: #3a3a3e;
  padding: 20px;
  border-radius: 8px;
  width: 50%;
  max-width: 800px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}

form {
  display: block;
  margin-top: 0em;
  unicode-bidi: isolate;
}


.username {
  position: absolute;
  top: 50px;
  right: 100px;
  font-size: 1.2em;
  color: white;
}

/* Animation styles */
@keyframes backgroundZoom {
    from {
        opacity: 1;
        background-size: 1200px;
    }
    to {
        opacity: 0;
        background-size: 10000px;
    }
}

body.animate-bg::before {
    animation: backgroundZoom 1.75s ease-in-out forwards;
}

/* Menu fade out animation */
.menu.fade-out {
    animation: fadeOut 0.5s ease-out forwards;
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

