* {
    margin: 0;
    padding: 0;
}

body{
    background-color:black;
    
}


.logo-THE{
            
    font-family: sans-serif;
    color: white;
    text-align: left;

} 

.logo-WEBB{

   font-family: 'Brittany Signature Script Regular', cursive;
   color: teal;
   font-size:40px;
   
}

  header {

 display: flex;
   justify-content: space-between;
 align-items: center;
 justify-content: space-between;
 padding: 5px;
 
 }


.timeline-dots {
    position: relative;
    z-index: 2;

    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: white;
    cursor: pointer;
    flex-shrink: 0;
    pointer-events: auto;
}

 .controls-btn-random {

    color:white;
    width: 30px;
    height:30px;
    border-radius:20%;
    cursor:pointer; 
    background-color: black;
}



 

 .Copyright {
    position: fixed;
    left: 10px;
    bottom: 5px;

    color: white;
    font-size: 12px;
    line-height: 1.4;

    max-width: calc(100vw - 100px);
    overflow-wrap: anywhere;

    z-index: 30;
}

 .controls-btn-info {

    color:white;
    width:30px;
    height:30px;
    border-radius:20%;
    cursor: pointer;
    background-color: black;


    
 }

#menu0 {
    position: fixed;
    right: 12px;
    bottom: 12px;

    width: 30px;
    height: 30px;

    color: white;
    background-color: black;
    border-radius: 20%;
    cursor: pointer;

    z-index: 100;
}



.timeline-dots {
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
    flex: 0 0 16px;
    aspect-ratio: 1 / 1;
    box-sizing: border-box;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: white;
    position: relative;
    z-index: 2;
    cursor: pointer;
}


.timeline-track {
    position: absolute;

    left: 8%;
    right: 6%;
    top: 50%;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 0;
    margin: 0;

    transform: translateY(-50%);
    z-index: 20;
}

/* Connecting line */

.timeline-track::before {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    top: 50%;

    height: 1px;
    background: white;

    transform: translateY(-50%);

    z-index: 1;
    pointer-events: none;
}

.earth-and-jwst-picture {

   display: flex;
   justify-content: space-between;
   align-items: center;
   width: 100%;
   padding: 170px 40px ;


}

.earth {
    position: absolute;
    left: 0;
    top: 50%;
    width: min(45vw, 900px);
    max-width: none;
    height: auto;
    pointer-events: none;
    transform: translate(-55%, -50%) rotate(56deg);
    z-index: 10;
}

/* James Weebb  */



.jwst {
    position: absolute;

    right: -8.5%;
    top: 50%;

    width: clamp(140px, 18vw, 400px);
    height: auto;

    max-width: none;

    transform: translateY(-40%);

    pointer-events: none;
    z-index: 5;
}

body {
   overflow: hidden;
   height: 100vh;   

}


.controls-btn {
  background-color:black;
  width: 25px;
  height: 25px;
  color:white;
  border-radius: 20%;
  align-items: center;

}

/*  pop-up look up ..
 */


$sky_color_dark: #1F2023;
$sky_color_light: #424472;

html {
    background-image: linear-gradient($sky_color_dark, $sky_color_light);
}

body {
   height: 100vh;
   width: 100vw;
   overflow: hidden;
}


.light {
  height: 100%;
  width: 100%;
  &:after, &:before {
    content: "";
    display: block;
    position: absolute;
  }
  &:before {
    width: 120%;
    height: 120%;
    top: 40%;
    left: -25%;
    
  }
  &:after {
    width: 120%;
    height: 100%;
    top: 65%;
    left: 25%;
   
  }
  pointer-events: none;

}

.star1 {
  animation: 3s linear 1s infinite alternate twinkle;
}

.star2 {
  animation: 4s linear 0s infinite alternate twinkle;
}

.star3 {
  animation: 3.5s linear 0.5s infinite alternate twinkle;
}

.star4 {
  animation: 1.25s linear 1.5s infinite alternate twinkle;
}

.star5 {
  animation: 4s linear 2s infinite alternate twinkle;
}

.star6 {
  animation: 2.5s linear 1s infinite alternate twinkle;
}

@keyframes twinkle {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* stars  code-llok up- up side */ 


/* popup bottom*/


.popup-screen {

  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 100%;
  background-color: rgba(0 , 0, 0, 0.75);
  z-index: 9999;
}

.popup-window {

  position: relative;

  width: min(1000px, 90vw);
  max-height: 85vh;
  padding: 25px;
  
  background-color: #050a1f;
  border: 1px solid #00ffff;
  border-radius:  12px;
  box-shadow: 0 0 25pc rgba(0, 255, 255, 0.35);
  overflow-y: auto;

  box-sizing: border-box;



}

.popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;

  border:1px solid #00ffff;
  border-radius: 6px;
  background-color: #050a1f;
  color: white;

  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;

}

.popup-close:hover {


  background-color: #00ffff;
  color: black;

}

#popup-img {
  width: 80%;
  max-width: 800px;
  height: auto;
  max-height: 600px;
  object-fit: contain;
  margin: 0 auto 20px auto;
}

.popup-divider {
  width: 100%;
  height:1px;
  margin-top: 20px;
  background-color: rgba(255, 255, 255, 0.25);

}



.popup-content {

  color: white;

}


#popup-text {

  color: white;
  margin-top:10px;
  line-height: 1.6;
  
  font-size: 16px;
  
}

#popup-title {


  margin-top: 20px;
  margin-bottom:14px;
  color: #00ffff;
  font-size: 28px;
  line-height: 1.2;


}

.popup-screen[aria-hidden="true"] {

  display: none;
}



/* shoot star */


.shooting-star {
  position: fixed;

  width: 5px;
  height: 5px;

  background: white;
  border-radius: 50%;

  box-shadow:
    0 0 6px white,
    0 0 12px #00ffff,
    0 0 20px #00ffff;

  opacity: 0;

  pointer-events: none;

  z-index: 0;
}

.shooting-star::before {
  content: "";

  position: absolute;

  top: 50%;
  right: 0;

  width: 150px;
  height: 4px;

  transform: translateY(-50%);

  background: linear-gradient(
    to right,
    transparent,
    rgba(0, 255, 255, 0.2),
    #00ffff,
    white
  );

  clip-path: polygon(0 50%, 100% 0, 100% 100%);
}


/* what site */

      .whatweb{
        display: none;
        position: fixed;
        inset: 0;
        z-index: 10000;
        align-items: center;
        justify-content: center;
        background-color: rgba(0, 0, 0, 0.8);
        color: white;


      }

      .whatweb-content {

        position: relative;
        width: min(600px, 85vw);
        max-height: 80vh;
        overflow-y: auto;
        box-sizing: border-box;

        padding: 35px;
        background-color: #050a1f;
        border: 1px solid #00ffff;
        border-radius: 15px;
        box-shadow: 0 0 25px rgba(0, 255, 255, 0.25);


      }

      .whatweb h2 {
        color: #00ffff;
        margin-bottom: 15px;
        font-size: 30px;


      }

      .whatweb-close {
        position: absolute;
        top: 10px;
        right: 10px;
        width: 32px;
        height: 32px;
        background-color: #050a1f;
        color: white;
        border: 1px solid #00ffff;
        border-radius: 6px;
        cursor: pointer;

      }

      .whatweb-close:hover{
        background-color: #00ffff;
        color: black;
      }
 /*nothing from you -idk /*



 /*seems to be cooking */

 
html {
    width: 100%;
    height: 100%;
    margin: 0;
    background-image: linear-gradient($sky_color_dark, $sky_color_light);
}

body {
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
}

#star-field {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

#star-field > div {
    pointer-events: none;
}



/* Lock the main scene to the viewport */

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
}

main {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
}



@font-face {
    font-family: 'Brittany Signature Script Regular';
    font-style: normal;
    font-weight: normal;
    src: url('BrittanySignatureScript.woff') format('woff');
}