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

body, html {
    font-family: 'Rajdhani', sans-serif;
    width: 100%;
    height: 100%;
    overflow: hidden;
    user-select: none;
    background-image: url('../assets/bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

h1, h2, h3, .title {
    font-family: 'Audiowide', sans-serif;
    font-weight: normal;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: transparent;
    color: #33eaff;
    text-shadow: #0ff 0.1rem 0.1rem 0.5rem;
    padding: 1.5rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 900;
    height: 10%;
}

#title {
    font-size: 2em;
    text-align: center;
    flex-grow: 1;
    font-weight: bold;
}

.image {
    position: absolute;
    margin: auto;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
}

.middle-logo {
    opacity: 0.5;
}

.profile-pic {
    width: 4rem;
    transition: transform 0.3s ease;
}

.profile-pic:hover {
    transform: scale(1.25);
    cursor: pointer;
}

body.modal-active {
  overflow: hidden;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 900;
    text-shadow: none;
}

.modal-overlay.active {
    display: flex;
}

.box {
    display: flex;
    flex-direction: column;
    background-color: white;
    padding: 1.5rem;
    border-radius: 1rem;
    border: 2px solid #007BFF;
    width: 75%;
    height: 80%;
    overflow-y: auto;
    text-align: center;
    justify-content: flex-start;
    gap: 2rem;
    align-items: center;
}

.middle-close-div {
    display: flex;
    width: 100%;
    justify-content: flex-end;
    position: relative;
    top: 1rem;
    right: -1rem;
    margin: -2rem;
}

.middle-close {
    font-size: 2rem;
    font-weight: bold;
    color: #555;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
    padding: 0 0.75rem;
}

.middle-close:hover {
    transform: scale(1.3);
    color: #33eaff;
}

#user-profile-title {
    color: black;
    text-shadow: none;
}

#user-profile-error {
    color: #ff0000;
}

.middle-button {
    display: none;
}

#user-profile-div {
    width: 100%;
    height: 100%;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.login, .signup {
    position: relative;
    padding: 1.5rem;
    font-size: 1.1rem;
    font-family: 'Audiowide', sans-serif;
    font-weight: 600;
    color: #fff;
    background: none;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s ease;
    border-radius: 5rem;
    width: 30rem;
    color: black;
}

.form_container {
    display: flex;
    flex-direction: column;
    height: 95%;
    justify-content: space-between;
    overflow: show;
}

#login_form input {
    background: white;
}

#password_area {
    display: flex;
    gap: 1rem;
}

#password_eye {
    position: relative;
    width: 2rem;
    transform:
        translateX(13rem)
        translateY(-12.5rem);
    transition: transform 0.3s ease;
    z-index: 1000;
}

#password_eye:hover {
    transform:
        translateX(13rem)
        translateY(-12.5rem)
        scale(1.1);
    cursor: pointer;
}

#password_eye:active {
    transform:
        translateX(13rem)
        translateY(-12.5rem)
        scale(0.9);
}

#avatar_section {
    width: 100%;
    display: flex;
    gap: 2.5rem;
    justify-content: space-between;
    padding: 0 2.5rem;
}

#avatar_preview_div {
    width: 12rem;
    height: 12rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#avatar_preview {
    border-radius: 50%;
    border: 0.25rem solid black;
}

#avatar_options {
    width: 100%;
    height: 100%;
    display: flex;
    gap: 2.5rem;
}

.avatar_option_title {
    text-decoration: underline double;
}

.avatar_options {

}

.avatar_options_section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    width: 20%;
}

.avatar_option {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.avatar_arrow {
    width: 2rem;
    transition: transform 0.3s ease;
}

.avatar_arrow:hover {
    transform: scale(1.2);
    cursor: pointer;
}

.avatar_arrow:active {
    transform: scale(0.8);
}

#down_arrow {
    transform: rotate(180deg);
}

#down_arrow:hover {
    transform: rotate(180deg) scale(1.2);
}

#down_arrow:active {
    transform: rotate(180deg) scale(0.8);
}

.button:hover {
    transform: scale(1.1);
}

.button:active {
    transform: scale(0.9);
}

#buttons {
    display: none;
}

.main-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.buttons {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    height: 75%;
}

.btn {
  position: relative;
  padding: 1.5rem;
  font-size: 1.1rem;
  font-family: 'Audiowide', sans-serif;
  font-weight: 600;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.4s ease;
  border-radius: 5rem;
  width: 15rem;
}


.hologram {
  border: 2px solid rgba(0, 255, 255, 0.5);
  background: rgba(0, 255, 255, 0.1);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
  backdrop-filter: blur(5px);
}

.hologram span {
  position: relative;
  display: inline-block;
  text-shadow: 0 0 8px rgba(0, 255, 255, 0.5);
}

.hologram span::before,
.hologram span::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  opacity: 0;
  filter: blur(1px);
  transition: all 0.3s ease;
}

.hologram span::before {
  top: -2px;
  color: #ff00ff;
  transform: translateX(0);
  animation: glitch 2s infinite;
}

.hologram span::after {
  bottom: -2px;
  color: #00ffff;
  transform: translateX(0);
  animation: glitch 2s infinite reverse;
}

.scan-line {
  position: absolute;
  width: 200%;
  height: 2px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(0, 255, 255, 0.8),
    transparent
  );
  top: 0;
  left: -50%;
  animation: scan 2s linear infinite;
  filter: blur(1px);
}

.line-up {
    /*left: -2rem;*/
    animation: scan 2s linear infinite;
}

.line-down {
    animation: scan-reverse 2s linear infinite;
}

@keyframes glitch {
  0%, 100% { transform: translateX(0); opacity: 0.3; }
  20% { transform: translateX(-5px); opacity: 0.5; }
  40% { transform: translateX(5px); opacity: 0.7; }
  60% { transform: translateX(-3px); opacity: 0.5; }
  80% { transform: translateX(3px); opacity: 0.3; }
}

@keyframes scan {
  0% { top: -10%; }
  100% { top: 110%; }
}

@keyframes scan-reverse {
  0% { top: 110%; }
  100% { top: -10%; }
}

.neon-pulse {
  background: rgba(0, 255, 255, 0.1);
  border: 2px solid #0ff;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
  overflow: visible;
}

.neon-pulse::before,
.neon-pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 2px solid #0ff;
  border-radius: inherit;
  animation: pulseOut 2s ease-out infinite;
  opacity: 0;
}

.neon-pulse::after {
  animation-delay: 1s;
}

@keyframes pulseOut {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}


footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: transparent;
    color: #33eaff;
    text-shadow: #0ff 0.1rem 0.1rem 0.5rem;;
    padding: 1.5rem;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 800;
    height: 10%;
}

.footer-right {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    position: relative;
    align-items: center;
}

::-webkit-scrollbar {
    width: 20px;
}
  
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey; 
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #007BFF; 
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #004085; 
}