* {
    padding: 0;
    margin: 0;
  }

  .header {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    position: fixed;
    width: 100%;
  }

  .header p {
    font-size: 20px;
    margin: 0 15px 0 15px;
  }
  
  .wrapper {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  
  #div-mask-front {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }

  #div-mask-back {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  
  #div-mask-front p,
  #div-mask-back p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 30px;
  }
  
  #div-mask-back {
    --m1: 0.1%;
    --m2: 0%;
    --mask: radial-gradient(
      circle at var(--x, 50%) var(--y, 50%),
      black var(--m1),
      transparent var(--m2)
    );
    position: absolute;
    width: 100%;
    height: 100%;
  
    -webkit-mask-image: var(--mask);
    mask-image: var(--mask);
  }
  
  #div-mask-front h1 {
    font-size: 80px;
    color: transparent;
    text-align: center;
    background: radial-gradient(circle at center, #050505 0.02em, white 0);
    background-size: 0.25rem 0.25rem;
    -webkit-background-clip: text;
    background-clip: text;
  }

  #div-mask-front h2 {
    font-size: 40px;
    color: transparent;
    text-align: center;
    padding: 0 15px 0 15px;
    background: radial-gradient(circle at center, #050505 0.02em, white 0);
    background-size: 0.25rem 0.25rem;
    -webkit-background-clip: text;
    background-clip: text;
  }
  
  #div-mask-back pre {
    color: white;
    font-size: 16px;
  }
  
  .area {
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
  }
  
  .circles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }
  
  .circles li {
    --color: rgba(255, 255, 255, 0.3);
    position: absolute;
    display: block;
    list-style: none;
    width: 20px;
    height: 20px;
    background: var(--color);
    animation: animate 25s linear infinite;
    bottom: -150px;
  }
  
  .circles li:nth-child(1) {
    left: 25%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
  }
  
  .circles li:nth-child(2) {
    left: 10%;
    width: 20px;
    height: 20px;
    animation-delay: 2s;
    animation-duration: 12s;
  }
  
  .circles li:nth-child(3) {
    left: 70%;
    width: 20px;
    height: 20px;
    animation-delay: 4s;
  }
  
  .circles li:nth-child(4) {
    left: 40%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
    animation-duration: 18s;
  }
  
  .circles li:nth-child(5) {
    left: 65%;
    width: 20px;
    height: 20px;
    animation-delay: 0s;
  }
  
  .circles li:nth-child(6) {
    left: 75%;
    width: 110px;
    height: 110px;
    animation-delay: 3s;
  }
  
  .circles li:nth-child(7) {
    left: 35%;
    width: 150px;
    height: 150px;
    animation-delay: 7s;
  }
  
  .circles li:nth-child(8) {
    left: 50%;
    width: 25px;
    height: 25px;
    animation-delay: 15s;
    animation-duration: 45s;
  }
  
  .circles li:nth-child(9) {
    left: 20%;
    width: 15px;
    height: 15px;
    animation-delay: 2s;
    animation-duration: 35s;
  }
  
  .circles li:nth-child(10) {
    left: 85%;
    width: 150px;
    height: 150px;
    animation-delay: 0s;
    animation-duration: 11s;
  }
  
  @keyframes animate {
    0% {
      transform: translateY(0) rotate(0deg);
      opacity: 1;
      border-radius: 0;
    }
  
    100% {
      transform: translateY(-1000px) rotate(720deg);
      opacity: 0;
      border-radius: 50%;
    }
  }
  
  pre {
    backdrop-filter: blur(15px) saturate(100%);
    -webkit-backdrop-filter: blur(15px) saturate(100%);
    border-radius: 12px;
    background-color: rgba(68, 63, 63, 0.6);
    padding: 2rem 1rem;
  }
  
  pre .variable {
    color: #9cdcfe;
  }
  
  pre .string {
    color: #ce9178;
  }
  
  pre .character {
    color: #d4d4d4;
  }
  
  pre .bracket {
    color: #ffd700;
  }
  
  pre .number {
    color: #b5cea8;
  }

  
  .center-container {
    text-align: center;
  }
  
  .heading {
    font-size: 24px;
    margin-bottom: 20px;
  }
  
  .flag-card {
    background-color: gray;
    padding: 20px;
    margin: 10px;
    border-radius: 8px;
    display: inline-block;
  }
  
  .flag-card img {
    width: 85px;
    height: auto;
    display: block;
    margin: 0 auto 10px;
  }
  
  .flag-card h2 {
    font-size: 18px;
  }

  /* Aggiungiamo regole per dispositivi mobili */
  #language_flags {
        display: none;
      }

  @media (max-width: 768px) {
      .wrapper {
        flex-direction: column;
      }
      
      #div-mask-front h1 {
        font-size: 40px;
      }
      
      #div-mask-front h2 {
        font-size: 24px;
      }
      
      /* Rimuoviamo l'animazione complessa su dispositivi mobili */
      #div-mask-back {
        display: none;
      }

      #language_flags {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
      }
    }

    #progressBar {
        width: 95%;
        margin: 5px auto;
        height: 12px;
        background-color: #650000;
        position: relative;
      }
      
      #progressBar .bar {
        height: 100%;
        text-align: right;
        padding: 0;
        line-height: 50px;
        width: 0;
        background-color: #00590f;
        box-sizing: border-box;
        position: relative;
      }
      
      #progressBar .label {
        position: absolute;
        top: 1px;
        left: 50%;
        transform: translate(-50%);
        color: #fff;
        font-size: 15px;
        height: 15px;
        display: inline-block;
        line-height: 10px;
      }