/* Critical CSS here */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}
    
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.background video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    object-position: center;
}

@media (max-width: 1024px) {
    .background video {
        width: 100%;
        height: 100vh;
    }
}
/* Critical CSS here */

.placeholder-countdown-box {
    position: relative;
    height: 28%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly; /* Flytta nedräkningen och bilderna till botten */
    align-items: center; /* Centrera innehållet horisontellt */
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
    z-index: 1; /* Se till att innehållet är över bakgrundsbilden */
  }

 /* Placeholder for countdown-box på mobila enheter */
 @media (max-width: 1024px) {
  .placeholder-countdown-box {
    position: relative;
    height: 42%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Flytta nedräkningen och bilderna till botten */
    align-items: center; /* Centrera innehållet horisontellt */
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
    z-index: 1; /* Se till att innehållet är över bakgrundsbilden */
  }
}

  .countdown-box {
    background-color: rgba(0, 0, 0, 0.7); /* Svart bakgrund med lite genomskinlighet för nedräkningen */
    padding: 20px;
    border-radius: 10px;
    border: 2px solid white;
    text-align: center;
  }


  
  h1 {
    font-size: 3rem; /* Titel storlek */
    margin-top: 0px;
    margin-bottom: 10px;
    text-align: center;
  }
  
  #countdown {
    font-size: 2rem;
  }

  @media (max-width: 1024px) {
    h1 {
      font-size: 2rem;
    }
    #countdown {
      font-size: 1.5rem;
    }
    .profile-pictures img {
      width: 70px;
      height: 70px;
    }
  }

  

  .countdown-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1rem;
      text-align: center;
  }

  .countdown-item {
      display: flex;
      flex-direction: column;
      align-items: center;
  }

  .countdown-number {
      font-size: 2.5rem;
      font-weight: bold;
  }

  .countdown-label {
      font-size: 1rem;
      margin-top: 0.5rem;
  }

  @media (max-width: 1024px) {
      .countdown-number {
          font-size: 1.5rem;
      }
      .countdown-label {
          font-size: 0.8rem;
      }
  }