html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

@font-face {
  font-family: 'Seagal';
  src: url('./fonts/Seagal-Roman.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.fullscreen-section {
    position: fixed;
    height: 100vh;
    height: -webkit-fill-available; /* For iOS Safari */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .video-background {
    width: 100%;
    height: 100%;
  }
  
  .video-background video {
    width: 100%;
    height: 100vh;
    object-fit: cover;
  }
  
  /* Background container */
  .background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
  }
  
  /* Image background - replace 'background.png' with your actual image path */
  .image-background {
    width: 100%;
    height: 100%;
    background-image: url('./assets/background.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
  }
  
  /* Content container */
  .content-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    width: 100%;
    padding: 1vh;
    color: black;
    box-sizing: border-box;
    font-family: 'Seagal';
  }

  
  
  /* Header row */
  .header-row {
    display: flex;
    flex-direction: column;
    gap: 1vh;
    width: 100%;
  }
  

  .first-row-header {
    display: flex;
    justify-content: end;
    width: 100%;
    font-weight: 400;
    font-size: 1.6vh;
    letter-spacing: 1px;
  }

  .sole-description-text {
    display: flex;
    width: 84%;
    text-align: start;
    font-weight: 400;
    font-size: 2.6vh;
    line-height: 3vh;
  }

  /* Center content */
  .center-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
  }
  
  .center-content h1 {
    font-family: 'Seagal';
    font-weight: 700;
    font-size: 48px;
    margin-bottom: 20px;
  }
  
  .center-content p {
    font-family: 'Seagal';
    font-weight: 400;
    font-size: 1.7vh;
  }
  
  /* Footer row */
  .footer-row-desktop {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    font-family: 'Seagal';
    width: 100%;
  }

  .footer-row-mobile {
    display: none;
  }
  
  .footer-logo img {
    height: 20vh;
    width: auto;
  }
  
  .footer-emails {
    display: flex;
    gap: 8vw;
  }

  .footer-emails a {
    color: black;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-items: center;
    font-size: 1.7vh;
    transition: opacity 0.3s;
  }

  .mini-icon {
    width: 16px;
    height: 16px;
    margin-right: 5px;
    vertical-align: middle;
}

  .footer-emails a:hover {
    opacity: 0.8;
  }



/* Fix the overlay animation */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #AEDAEB;
  padding: 1vh;
  z-index: 1000;
  display: none;
  overflow: hidden;
  font-family: 'Seagal';
  color: black;
  transform: translateY(-100%); /* Move entire overlay up initially */
  transition: transform 0.5s ease-out; /* Fixed typo in your transition */
}

/* When active, move the entire overlay down into view */
.overlay.active {
  transform: translateY(0);
}

.overlay-content {
  position: relative;
  z-index: 1002;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

/* Class added by JavaScript when overlay is displayed */
.overlay.active .overlay-content {
  transform: translateY(0); /* End position (normal position) */
  opacity: 1;
}


.close-overlay {
  cursor: pointer;
  transition: opacity 0.3s;
  font-family: 'Seagal';
}

.close-overlay:hover {
  opacity: 0.8;
}

.overlay-main-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
}

.overlay-main-content h2 {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 32px;
  margin-bottom: 24px;
}

.overlay-main-content p {
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 20px;
}

#info-button {
  cursor: pointer;
  transition: opacity 0.3s;
  font-family: 'Seagal';
}

#info-button:hover {
  opacity: 0.8;
}
  
  /* Mobile telephone screens */
  @media screen and (max-width: 600px)  and (min-height: 350px) {
    .header-row {
      font-size: 1.6vh;
    }
    
    .center-content p {
      font-size: 1.6vh;
    }

    .sole-description-text {
      display: flex;
      width: 98%;
      text-align: start;
      font-weight: 400;
      font-size: 1.8vh;
    }

    .footer-row-desktop {
      display: none;
    }
    
    .footer-row-mobile {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 3vh;
    }

    .footer-logo img {
      height: auto;
      width: 100%;
    }

    .footer-links-mobile {
      display: flex;
      flex-direction: row;
      align-items: center;
      gap: 10vw;
    }
    
    .footer-emails {
      flex-direction: row;
      width: 100%;
      justify-content: space-between;
      font-size: 1.6vh;
    }
  }



  /* Mobile telephone screens */

  @media screen and (min-width: 600px) and (max-width: 1100px) and (min-height: 451px) {
    .header-row {
      font-size: 1.6vh;
    }
    
    .center-content p {
      font-size: 1.6vh;
    }

    .sole-description-text {
      display: flex;
      width: 98%;
      text-align: start;
      font-weight: 400;
      font-size: 2vh;
    }

    .footer-row-desktop {
      display: none;
    }
    
    .footer-row-mobile {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 3vh;
    }

    .footer-logo img {
      height: auto;
      width: 100%;
    }
    
    .footer-emails {
      flex-direction: row;
      width: 100%;
      font-size: 1.6vh;
      justify-content: space-between;
    }

    .footer-links-mobile {
      display: flex;
      flex-direction: row;
      align-items: center;
      gap: 10vw;
    }
  }