@font-face {
  font-family: 'Avenir-Medium';
  src: url('../Fonts/Avenir-Medium.woff2') format('woff2'),
       url('../Fonts/Avenir-Medium.woff') format('woff'),
       url('../Fonts/Avenir-Medium.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Avenir-Light';
  src: url('../Fonts/Avenir-Light.woff2') format('woff2'),
       url('../Fonts/Avenir-Light.woff') format('woff'),
       url('../Fonts/Avenir-Light.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
:root {
 --pure--white: #ffffff;
   --red-sorrow: #590400;
   --yellow-star:#ecdb2a;
  --pure-black: #000000;
  --grey-zone: #ababab;
  --cosmic-cobalt: #26428b;
  --lavender: #e6e6fa;
  --grey--azure: #3a596f;
  --opal: #c0d6c7;
}
body, html {
  margin: 0;
  padding: 0;
  font-family: Avenir-Light;
  background-color: var(--pure-black);
   overflow-x: hidden;
  overflow-y: auto;
  scroll-behavior: smooth;
  overscroll-behavior-y: contain;
}
  .video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100svh;
    overflow: hidden;
    z-index: 0;
  }

  .video-container iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100svh;
    min-width: 177.78svh;  /* preserves 16:9 scaling */
    min-height: 56.25vw;
    max-height: 150svh;
    max-width: 150vw;
    transform: translate(-50%, -50%);
    border: 0;
  }
  .page{
  display: flex;
  flex-direction: column;
}
.header {
  position: fixed;
  top: clamp(0%, 0%, 5%);
  width: 100%;
  padding: 1em 0;
  text-align: center;
  justify-content: center;
  z-index: 1000;
  border-bottom: 0.01em solid #ffffff;
  background-color: black;
  }
   .home-link {
    color: rgb(255, 255, 255);
    text-decoration: none;
font-size: clamp(0.375rem, 0.4vw + 0.5rem, 5.3125rem);
 font-weight: 300;
    margin: 0 clamp(4px, 0.5vw + 0.5rem, 30px);
    }
    .home-link:hover {
      color:grey;
      }
.star {
width: clamp(1.5625rem, 0.9vw + 0.9rem, 6.25rem);
  display:flex;
  text-decoration: none;
  list-style: none;
  animation: scaleLoop 5s ease-in-out infinite;
}
.reachs, .reachus {
  display:flex;
  color:var(--pure--white);
  text-decoration: none;
  list-style: none;
  font-weight: 300;
  font-size: clamp(0.375rem, 0.4vw + 0.5rem, 5.3125rem);
  z-index: 1;
  margin-top:clamp(0.2rem, 0.2vw + 0.02rem, 0.5rem);
}
.reachs:hover, .reachus:hover {
  color:var(--cosmic-cobalt);
}
.container-1{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
}

.logo {
  position:fixed;
  top:clamp(8rem,20vw - 11rem,20rem);
width: clamp(1.5625rem, 0.9vw + 0.9rem, 6.25rem); 
  z-index: 1;
  }
  #link {
    color: var(--yellow-star);
  }
#subtext {
    display: flex;
    color:var(--pure--white);
 font-size: clamp(0.625rem, 0.8vw + 0.5rem, 4.375rem);
    text-align:center;
    z-index: 1;
    white-space: nowrap;
    font-weight: 300;
  
}
.container-3 {
text-align: center;
justify-content: center;
align-items: center;
    display: flex;
    flex-direction: column;
    z-index: 4;
 

  }
.container-3 .titlebox {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 0;
  letter-spacing: clamp(0.2rem,2vw,0.8rem);
}
#headtext {
 font-size: clamp(0.625rem, 0.8vw + 0.5rem, 4.375rem);
  display: flex;
text-align: center;
align-items: center;
  color:var(--pure--white);
  text-decoration: none;
    list-style: none; 
    font-weight: 300;
  margin-top:2.5rem;
}
#headtext:hover {
  color:var(--cosmic-cobalt);
}
 #infotext {
font-size: clamp(0.375rem, 0.4vw + 0.5rem, 5.3125rem);
line-height: clamp(0.9rem, 0.6vw + 0.7rem, 2rem);
text-align: justify;
text-align-last: left;
  color:var(--pure--white);
  font-weight: 350;
   width: clamp(25vw, 10rem + 5vw, 85vw);
  margin: 0 auto; 
  margin-top:clamp(3rem, 2.8vw + 2rem, 9rem);
  font-weight: 300;
  z-index: 10;
  }
.container-3 li {
    list-style: none;
}
.title:hover {
  color:rgb(136, 136, 136);
}

.footer-container {
  justify-content: center;
  align-items: center;
 z-index: 1;
}
.footerNS {
  display: flex;
  justify-content: center;
 
}
.footer-links {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  position: fixed;
  bottom:0%;
}
.footer,
.privacy {
  display: flex;
    margin: 0;
    font-size: clamp(0.09375rem, 0.4vw + 0.2rem, 2.1875rem);
    color: var(--pure--white);
     font-weight: 300;
     text-align: center;
     text-decoration: none;
    justify-content: center;
     z-index: 1;
}
 @keyframes scaleLoop {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.3);
  }
}
