@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");
/* Import Typekit fonts */
@font-face {
  font-family: 'Suse';
  src: url('/static/fonts/SUSE-Light.ttf') format('truetype'); /* Updated format to truetype */
}
@font-face {
  font-family: 'OCR A Std';
  src: url('/static/fonts/OCRAStd.otf') format('opentype'); /* Carica il font locale */
}

#username {
  text-transform: lowercase;
}

body {
  font-family: 'Suse', sans-serif;
  background-color: #000000;
}

        /* Background Parallax Container */
.parallax-bg {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            overflow: hidden;
            background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #2a2a2a 100%);
}

        /* Animated + symbols */
.plus-symbol {
            position: absolute;
            font-size: 24px;
            font-weight: bold;
            opacity: 0.7;
            animation: float 6s ease-in-out infinite;
            transform-origin: center;
            z-index: 1;
}





h2 {
  color: #e6f8ff;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
}


h1 {
  color: #e6f8ff;
  font-weight: bold;
  margin-bottom: 60px;
  text-align: center;
}


h1, h2, .title-layout { 
  font-family: 'OCR A Std', monospace; /* Apply the font to specific elements */
}

.video-bg {
  position: fixed;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.3;
  overflow: hidden;
}

.video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
 .dark-light {
  position: fixed;
  bottom: 50px;
  right: 30px;
  background-color: var(--dropdown-bg);
  box-shadow: -1px 3px 8px -1px rgba(0, 0, 0, 0.2);
  padding: 8px;
  border-radius: 50%;
  z-index: 3;
  cursor: pointer;
  svg {
   width: 24px;
   flex-shrink: 0;
   fill: #ffce45;
   stroke: #ffce45;
   transition: 0.5s;
  }
 }

img {
  width: 325px;
  height: 336px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 0%;
  
  
}
.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 17%; /* Adatta la larghezza in base alle tue necessità */
  height: auto; /* Questo manterrà le proporzioni corrette */
  
}


form {
  width: 30%;
  margin: 0 auto;
  padding: 60px;
  box-shadow: 0 0 10px rgba(94, 93, 93, 0);
  background-color: hwb(0 31% 68% / 0.014); /* White background with 90% opacity */
  position: relative; /* Ensure the form stays above the video */
  z-index: 1;
}

label {
  display: block;
  margin-bottom: 10px;
  color: #fff8f8; /* Dark color for label text */
}

input[type="text"], input[type="password"], input[type="submit"] {
  box-sizing: border-box; /* Ensure padding and border are included in the width */
}

input[type="text"], input[type="password"] {
  width: 100%;
  height: 50px;
  padding: 10px;
  font-size: 16px;
  border: 2px solid #383838;
  background-color: #A6A6A6; /* Colore bianco con opacità */
  border-radius: 5px;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  
}


input[type="text"]:focus, input[type="password"]:focus {
    outline: none;
    border-color: #7FBC50;
    background: #A6A6A6;
    box-shadow: 0 0 20px rgba(127, 188, 80, 0.3);
    transform: translateY(-2px);
}

input::placeholder {
  color: #2e2e2e; /* Choose a darker color */
  opacity: 1; /* Ensure full opacity */
}

input[type="submit"] {
  width: 100%; /* Matches the width of input boxes */
  background-color: #7FBC50;
  color: #fff8f8;
  height: 50px;
  border: none;
  padding: 10px; /* Matches padding of input boxes */
  font-size: 18px; /* Adjusted to match input field text size */
  cursor: pointer;
  border-radius: 5px;
  font-family: 'OCR A Std', monospace;
 
}

input[type="submit"]:hover {
  background-color: #BB4C96;
 
}

input[type="submit"]:active {
  transform: translateY(2px);
}

.error {
  color: red;
  font-size: 14px;
  margin-top: 10px;
}


.recharge-button {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #00698f;
  color: white;
  border: none;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  transition: background-color 0.3s;
}

.recharge-button:hover {
  background-color: #005a8e;
}


/* Ensure the nav bar is aligned to the right */
.nav {
  display: flex;
  justify-content: flex-end; /* Align items to the right */
}

.nav-item {
  margin-left: 15px; /* Adds some spacing between items if needed */
}


/* Style for the navigation link to match the submit button */
.nav-link {
  display: inline-block;
  padding: 15px;
  font-size: 16px;
  color: #fff8f8; /* Color from the submit button */
  background-color: #7FBC50; /* Matches submit button background */
  border: none;
  border-radius: 5px;
  font-family: 'OCR A Std', monospace; /* Matches the submit button font */
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.nav-link:hover {
  background-color: #BB4C96; /* Hover color */
}

.nav-link:active {
  transform: translateY(2px); /* Active click effect */
}

/* Stili per l'effetto typewriter */
.typewriter-container {
    text-align: center;
    margin: 10px auto;
    max-width: 800px;
    height: 80px; /* Altezza fissa per evitare salti di layout */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 10px;
}

.typewriter-text {
    font-family: 'Suse', sans-serif;
    font-size: 24px;
    color: #e6f8ff;
    font-weight: 300;
    line-height: 1.4;
    min-height: 1.4em;
}

.cursor {
    font-family: 'OCR A Std', monospace;
    font-size: 24px;
    color: #7FBC50;
    animation: blink 1s infinite;
    margin-left: 2px;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}



/* Media Queries for Mobile Devices */
@media only screen and (max-width: 768px) {

  .typewriter-container {
        margin: 30px auto;
        height: 60px;
        padding: 0 15px;
    }
    
  .typewriter-text {
        font-size: 18px;
    }
    
  .cursor {
        font-size: 18px;
    }

  
  /* Responsive styles */

  body {
    padding: 10px;
  }

  h1, h2 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-family: 'OCR A Std', monospace;
  }

  .center {
    width: 40%;
  }

  form {
    width: 90%;
    padding: 30px;
    background-color: transparent;
    margin: 0 auto;
    box-sizing: border-box;
  }

  input[type="text"],
  input[type="password"] {
    height: 100px;
    font-size: 4vw;
  }

  input[type="submit"] {
    font-size: 5vw;
    padding: 10px 16px;
  }
  .parallax-element {
            will-change: transform;
  }


}

@media only screen and (max-width: 480px) {


  .typewriter-container {
        margin: 20px auto;
        height: 80px; /* Più alto per testi lunghi su mobile */
        padding: 0 10px;
    }
    
  .typewriter-text {
        font-size: 16px;
    }
    
  .cursor {
        font-size: 16px;
    }


  h1{
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-family: 'OCR A Std', monospace; /* Apply the font to specific elements */
  }

  h2 {
    font-size: 1rem;
    margin-bottom: 20px;
    font-family: 'OCR A Std', monospace; /* Apply the font to specific elements */
  }

  
  body {
  font-family: 'Suse', sans-serif;
  }


  form {
    width: 100%; /* Usa tutta la larghezza disponibile */
    padding: 20px; /* Riduce il padding per schermi molto piccoli */
    margin: 0; /* Rimuove il margine */
    box-sizing: border-box;
  }

  input[type="text"],
  input[type="password"] {
    height: 40px;
    font-size: 16px;
  }

  input[type="submit"] {
    font-size: 16px;
    padding: 6px 12px;
  }

  input[type="submit"] {
    font-size: 16px;
    padding: 10px;
  }
}