:root {
  --color-light-50: #f8fafc;

  --color-dark-50: #797984;
  --color-dark-100: #312d37;
  --color-dark-900: #000;
}
#main {
  text-align: center;
  width: 80%;
  margin: auto;
  height: 80%;
  min-height: 840px;
}

.loginbox {
  font-size: 12pt;
  font-weight: bold;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

#login_button {
  width: 60%;
  background-color: #000;
  color: #ffffff;
  font-weight: bolder;
  border-radius: 4px;
}

#login_button:hover {
  width: 60%;
  background-color: #ffffff;
  color: #000000;
  font-weight: bolder;
  border-radius: 4px;
}

#login_button:active {
  width: 58%;
  background-color: #4d4b4b;
  color: #ffffff;
  font-weight: bolder;
  border-radius: 4px;
}


#login_box{
  border: 1px solid #ffffff;
  border-radius: 5px;
  width: 20%;
  padding-bottom: 60px;
  margin: auto;
}

#password{
  text-align: center;
}

#username{
  text-align: center;
}

#logo {
  width: 100%;
}
body {
  background-image: linear-gradient(180deg, rgb(255, 255, 255), #717171);
}
.dark#body {
  background-image: linear-gradient(180deg, #131313, #000000);
}

.dark#login_form {
  color: white;
  background-image: linear-gradient(180deg, #131313, #000000);
}

#mode_icon {
  cursor: pointer;
  font-size: 20px;
  padding: 5px;
  position: absolute;
}
.dark#mode_icon {
  cursor: pointer;
  font-size: 20px;
  background-color: white;
}

#titulo {
  text-align: center;
  color: white;
  background-color: rgb(88, 88, 88);
  border-radius: 20px;
}

#main-box {
  padding-top: 5%;
  padding-bottom: 1%;
}

/* CSS */
.button-49,
.button-49:after {
  width: 100%;
  max-width: 250px;

  height: 76px;
  line-height: 78px;
  font-size: 1.125rem;
  font-family: "Bebas Neue", sans-serif;
  background: linear-gradient(45deg, transparent 5%, #262526 5%);
  box-shadow: 10px, 10px, 13px rgba(0, 0, 0, 0.33);
  border: 0;
  color: #fff;
  letter-spacing: 3px;
  box-shadow: 6px 0px 0px #00e6f6;
  outline: transparent;
  position: relative;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.button-49:after {
  --slice-0: inset(50% 50% 50% 50%);
  --slice-1: inset(80% -6px 0 0);
  --slice-2: inset(50% -6px 30% 0);
  --slice-3: inset(10% -6px 85% 0);
  --slice-4: inset(40% -6px 43% 0);
  --slice-5: inset(80% -6px 5% 0);

  content: "ALTERNATE TEXT";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    transparent 3%,
    #00e6f6 3%,
    #00e6f6 5%,
    #572481 5%
  );
  text-shadow: -3px -3px 0px #f8f005, 3px 3px 0px #00e6f6;
  clip-path: var(--slice-0);
}

.button-49:hover:after {
  animation: 1s glitch;
  animation-timing-function: steps(2, end);
}

@keyframes glitch {
  0% {
    clip-path: var(--slice-1);
    transform: translate(-20px, -10px);
  }
  10% {
    clip-path: var(--slice-3);
    transform: translate(10px, 10px);
  }
  20% {
    clip-path: var(--slice-1);
    transform: translate(-10px, 10px);
  }
  30% {
    clip-path: var(--slice-3);
    transform: translate(0px, 5px);
  }
  40% {
    clip-path: var(--slice-2);
    transform: translate(-5px, 0px);
  }
  50% {
    clip-path: var(--slice-3);
    transform: translate(5px, 0px);
  }
  60% {
    clip-path: var(--slice-4);
    transform: translate(5px, 10px);
  }
  70% {
    clip-path: var(--slice-2);
    transform: translate(-10px, 10px);
  }
  80% {
    clip-path: var(--slice-5);
    transform: translate(20px, -10px);
  }
  90% {
    clip-path: var(--slice-1);
    transform: translate(-10px, 0px);
  }
  100% {
    clip-path: var(--slice-1);
    transform: translate(0);
  }
}

@media (min-width: 768px) {
  .button-49,
  .button-49:after {
    width: 300px;
    height: 86px;
    line-height: 88px;
  }
}

/*Main Button Story*/
.button-50,
.button-50:after {
  width: 100%;
  max-width: 250px;
  height: 76px;
  line-height: 78px;
  font-size: 1.125rem;
  font-family: "Bebas Neue", sans-serif;
  background: linear-gradient(45deg, transparent 5%, #1c2b18 5%);
  border: 0;
  color: #fff;
  letter-spacing: 3px;
  box-shadow: 6px 0px 0px #ff0432;
  outline: transparent;
  position: relative;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.button-50:after {
  --slice-0: inset(50% 50% 50% 50%);
  --slice-1: inset(80% -6px 0 0);
  --slice-2: inset(50% -6px 30% 0);
  --slice-3: inset(10% -6px 85% 0);
  --slice-4: inset(40% -6px 43% 0);
  --slice-5: inset(80% -6px 5% 0);

  content: "AGE Of Chaos";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    transparent 3%,
    #f600d9 3%,
    #a7b2b3 5%,
    #ff0432 5%
  );
  text-shadow: -3px -3px 0px #f82d05, 3px 3px 0px #00e6f6;
  clip-path: var(--slice-0);
}

.button-50:hover:after {
  animation: 1s glitch;
  animation-timing-function: steps(2, end);
}

@keyframes glitch {
  0% {
    clip-path: var(--slice-1);
    transform: translate(-20px, -10px);
  }
  10% {
    clip-path: var(--slice-3);
    transform: translate(10px, 10px);
  }
  20% {
    clip-path: var(--slice-1);
    transform: translate(-10px, 10px);
  }
  30% {
    clip-path: var(--slice-3);
    transform: translate(0px, 5px);
  }
  40% {
    clip-path: var(--slice-2);
    transform: translate(-5px, 0px);
  }
  50% {
    clip-path: var(--slice-3);
    transform: translate(5px, 0px);
  }
  60% {
    clip-path: var(--slice-4);
    transform: translate(5px, 10px);
  }
  70% {
    clip-path: var(--slice-2);
    transform: translate(-10px, 10px);
  }
  80% {
    clip-path: var(--slice-5);
    transform: translate(20px, -10px);
  }
  90% {
    clip-path: var(--slice-1);
    transform: translate(-10px, 0px);
  }
  100% {
    clip-path: var(--slice-1);
    transform: translate(0);
  }
}

@media (min-width: 768px) {
  .button-50,
  .button-50:after {
    width: 300px;
    height: 86px;
    line-height: 88px;
  }
}
