 body, html {
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    font-family: "Quicksand", sans-serif;
    color: white;
    overflow: hidden;
  }
  
  .background {
    height: 100%;
    position: relative;
    z-index: 0;
    background-image: url('/images/fire.jpeg');
    background-position: center;
    background-size: cover;
    font-size: 30px;
  }

  .layer {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 0;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.9);
  }

  .overlayActive {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(0, 0, 0);
    transition: opacity 0.5s ease;
    opacity: 1;
  }
  
  .overlayHidden {
    opacity: 0;
    z-index: 0;
  }
  
  .name {
    position: absolute;
    top: 0;
    left: 30px;
  }

  .socials {
    position: absolute;
    top: 30px;
    right: 30px;
    display: flex;
    gap: 5px;
  }

  .links {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px;
    background-color: rgb(255, 255, 255);
    border: 1px solid transparent;
    border-radius: 8px;
    color: rgb(115, 175, 65);
    text-decoration: none;
  }
  .links:first-child {
    color: rgb(245, 95, 65);
  }
  .links:first-child:hover {
    background-color: rgb(245, 95, 65);
    border: 1px solid rgb(255, 255, 255);
    color: rgb(255, 255, 255);
  }
  .links:last-child:hover {
    background-color: rgb(115, 175, 65);
    border: 1px solid rgb(255, 255, 255);
    color: rgb(255, 255, 255);
  }

  .links > svg {
    width: 20px;
    height: 20px;
  }
  
  .middle {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
  }
  
  hr {
    margin: auto;
    width: 50%;
  } 

  #timer {
    font-size: 28px;
  }

  .wrapper {
    margin-top: 50px;
    padding: 20px;
    width: 325px;
    text-align: center;
    border: 2px rgba(255, 255, 255, 0.5) solid;
    border-radius: 5px;
  }

  #newsletter {
    padding: 0;
    margin: 0;
    font-size: 18px;
  }

  .innerWrapper {
    margin: 15px 0 0 0;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
  }

  .inputs {
    padding: 3px;
    width: 180px;
    border: none;
    border-radius: 3px;
    outline: 2px rgb(255, 255, 255) solid;
    text-align: center;
  }
  .inputs:not(:placeholder-shown):valid {
    outline-color: rgb(115, 175, 65);
  }
  .inputs:not(:placeholder-shown):invalid {
    outline-color: rgb(245, 95, 65);
  }
  .inputs:focus:invalid {
    outline-color: rgb(245, 220, 75);
  }
  .inputs::placeholder {
    text-align: center;
   }

  .buttons {
    padding: 4.5px 6px 4.5px 6px;
    border: 2px transparent solid;
    border-radius: 3px;
    color: rgb(255, 255, 255);
    background-color: rgb(115, 175, 65);
    outline: 2px rgb(115, 175, 65) solid;
  }
  .buttons:hover {
    outline: 2px rgb(255, 255, 255) solid;
  }

  /* Loader */
  .loader {
    width: 100px;
    height: 100px;
    position: relative;
    display: flex;
    opacity: 1;
    transition: opacity 0.5s ease;
  }

  .loader:before , .loader:after{
    content: '';
    border-radius: 50%;
    position: absolute;
    inset: 0;
    box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.3) inset;
  }
  .loader:after {
    box-shadow: 0 2px 0 rgb(115, 175, 65) inset;
    animation: rotate 2s linear infinite;
  }
  
  @keyframes rotate {
    0% {  transform: rotate(0); }
    100% { transform: rotate(360deg); }
  }

  @media screen and (max-width: 960px){
    .background {
      font-size: 24px;
    }

    .name {
      top: 10px;
      left: 35px;
      font-size: 22px;
    }

    #timer {
      font-size: 22px;
    }
  }


  @media screen and (max-width: 640px){
    .background {
      font-size: 22px;
    }

    .name {
      top: 5px;
      font-size: 20px;
    }

    .socials {
      top: 20px;
      right: 20px;
    }

    .links {
      padding: 6px;
    }

    .links > svg {
      width: 16px;
      height: 16px;
    }

    #timer {
      font-size: 20px;
    }
  }

  @media screen and (max-width: 480px){
    .background {
      font-size: 18px;
    }

    .name {
      left: 20px;
      font-size: 16px;
    }

    .socials {
      top: 10px;
      right: 10px;
    }

    .links {
      padding: 5px;
    }

    .links > svg {
      width: 15px;
      height: 15px;
    }

    #timer {
      font-size: 16px;
    }
  }