/* Import Cinzel */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700&display=swap');

/* ===================== GLOBAL ===================== */

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  max-width: 100%;
}

html{
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body{
  width: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  font-family: "Times New Roman", Times, serif;
  text-align: center;
  font-size: 13px;
}

/* ===================== LINKS ===================== */

a{
  text-decoration: none;
  color: mediumblue;
  overflow-wrap: break-word;
}

a:hover{
  text-decoration: underline;
  color: darkblue;
  font-size: 13px;
  transition: font-size 0.35s ease;
}

abbr{
  color: #0056b3;
}

/* ===================== TYPOGRAPHY ===================== */

p,
li,
h1,
h2,
h3,
span{
  overflow-wrap: break-word;
  word-break: normal;
}

p{
  margin: 10px;
  padding: 5px;
  line-height: 1.7;
}

h2{
  color: orangered;
  line-height: 1.7;
  margin-top: 5px;
}

/* ===================== REFERENCE BOX ===================== */

.ref{
  position: fixed;
  width: 250px;
  height: 300px;
  background-color: black;
  z-index: 70;
  top: 10%;
  left: 15%;
  border-radius: 15px;
  color: white;
  font-size: 15px;
  padding: 30px;
  text-align: left;
  box-shadow: 0px 0px 0.5px black;
  display: none;
}

.ref:hover{
  transform: scale(1.25);
  transition: transform 0.5s ease;
}

.ref ul a{
  text-decoration: none;
  color: blue;
}

.ref a:hover{
  text-decoration: underline;
}

.ref #remove-ref{
  position: absolute;
  right: 0;
  top: 0;
  font-size: 20px;
  margin: 5px;
  padding: 10px;
  overflow: hidden;
}

/* ===================== MENU ===================== */

.menu-bar{
  position: fixed;
  width: 220px;
  height: 100%;
  top: 0;
  right: -250px;
  background-color: black;
  z-index: 10;
  color: white;
  transition: 0.75s;
  font-size: 17.5px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.menu-bar h2{
  padding: 15px;
  text-align: center;
  color: white;
  font-size: 25px;
}

.xmark{
  position: absolute;
  top: 0;
  right: 0;
  padding: 0.1px 5px;
  cursor: pointer;
  font-size: 23.5px;
}

.xmark:hover{
  background-color: red;
  transition: 0.15s;
  border-radius: 0.5px;
}

.xmark:active{
  background-color: red;
  border-radius: 1px;
}

.menu-bar > div:last-child{
  display: flex;
  flex-direction: column;
  gap: 25px;
  padding: 15.5px;
}

.menu-bar > div:last-child > div{
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
}

.menu-bar > div:last-child > div:hover{
  border-right: 2px solid white;
  transition: 0.25s;
}

.menu-item{
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.menu-item span{
  font-size: 15px;
  text-align: left;
}

.menu-bar a{
  color: white;
  text-decoration: none;
  font-size: 15px;
}

.menu-bar a:hover{
  padding-left: 5px;
  text-decoration: none;
  font-size: 15.5px;
  transition: 0.25s;
}

/* ===================== OPENAI LOGO ===================== */

.openai-logo{
  animation: spin 4s linear infinite;
  transform-origin: center;
}

@keyframes spin{
  from{
    transform: rotate(0deg);
  }
  to{
    transform: rotate(360deg);
  }
}

/* ===================== HEADER ===================== */

.header{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-right: 8px;
  padding-left: 8px;
  background-color: darkred;
  margin-bottom: 20px;
  border: none;
  box-shadow:
    rgba(0, 0, 0, 0.1) 0px 0px 0.4px 0px,
    rgba(0, 0, 0, 0.3) 0px 5.5px 5px 0.05px;
}

.header h1{
  font-family: 'Cinzel', serif;
  color: #e6d3a0;
  font-size: 1.5rem;
}

.header i{
  padding: 5px;
  font-size: 20px;
  color: darkturquoise;
}

.header img{
  width: 40px;
  height: 37.5px;
  border-radius: 50px;
  margin: 7.5px;
}

.logo img:hover{
  transform: scale(1.15);
  transition: transform 0.5s ease;
}

.header i:active{
  color: lightgreen;
  transform: scale(1.5);
  transition: transform 0.25s ease;
}

/* ===================== TITLE ===================== */

.title{
  color: darkblue;
  font-size: 17px;
  margin: 8.5px 10.5px 10px;
  padding: 5px;
  font-weight: 500;
  box-shadow: 0px 0px 3.5px red;
  border-radius: 15px;
  position: sticky;
  top: 0;
  z-index: 1;
}

.title:active{
  transform: scale(0.95);
  transition: transform 0.3s ease;
  box-shadow: 0px 0px 25.5px 0.75px;
}

/* ===================== IMAGES ===================== */

img,
video,
iframe{
  width: 100%;
  display: block;
  max-width: 100%;
}

img,video{
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 10px;
  border: 0.5px solid aqua;
  margin: 7.5px 0 15.5px;
  box-shadow:
    rgba(60, 64, 67, 0.3) 0px 1px 2px 0px,
    rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
}

img:hover{
  transform: scale(1.15);
  transition: transform 0.65s ease;
}


img::visited{
  transform: scale(1.10);
  transition: transform 0.65s ease;
}

/* ===================== CONTENT ===================== */

.sun,
.sun-helio{
  width: 100%;
  padding-left: 10px;
  padding-right: 10px;
}

.sun{
  margin-bottom: 30px;
  border-bottom: 0.05px solid darkblue;
  padding-bottom: 10px;
}

.sun-helio{
  margin-top: 20px;
  margin-bottom: 5px;
  padding-bottom: 10px;
}

.sun ul,
.final-list{
  list-style-type: disc;
  padding-left: 25px;
}

.sun li,
.final-list li{
  margin: 8px 0;
  line-height: 1.7;
  text-align: left;
}

.final-content{
  margin-top: 20px;
  border-top: 0.05px solid darkblue;
  text-align: left;
  padding: 10px 0 0 10px;
}

/* ===================== ICON BAR ===================== */

.icon{
  display: flex;
  justify-content: space-between;
  padding: 15px;
  background-color: aqua;
  font-size: 25px;
}

.icon a i{
  color: magenta;
}

.icon i{
  color: crimson;
}

.icon i:hover{
  transform: scale(1.075);
  transition: transform 0.3s ease;
}

.icon i:active{
  transform: scale(2.5);
  transition: transform 0.1s ease;
}

/* ===================== FAQ ===================== */

.faq-box{
  position: fixed;
  width: 300px;
  max-height: 400px;
  overflow-y: auto;
  background-color: black;
  color: white;
  top: 12%;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 15px;
  padding: 20px;
  z-index: 40;
  display: none;
  box-shadow: 0px 5px 50px black;
}

.faq-box i{
  position: absolute;
  right: 10px;
  top: 10px;
  cursor: pointer;
  font-size: 25px;
}

.faq-item{
  margin-bottom: 15px;
  border-bottom: 0.5px solid gray;
  padding-bottom: 10px;
}

.faq-q{
  font-weight: bold;
  cursor: pointer;
}

.faq-a{
  display: none;
  margin-top: 5px;
  font-size: 14px;
}

/* ===================== STARWALK ===================== */

.starwalk{
  position: fixed;
  top: 15%;
  left: 15%;
  background-color: black;
  width: 250px;
  height: 300px;
  color: white;
  z-index: 50;
  text-align: center;
  padding: 10px;
  border-radius: 20px;
  box-shadow: 0px 0.5px 2.5px black;
  display: none;
}

.starwalk-box-head{
  display: flex;
  justify-content: space-between;
  padding: 10px;
  font-size: 1.25rem;
}

.Getbutton{
  padding: 10px 25px;
  background-color: coral;
  color: white;
  border-radius: 15px;
  box-shadow: 0px 1.5px 2.5px magenta;
}

.Getbutton:active{
  transform: scale(0.90);
  transition: transform 0.01s ease;
}

/* ===================== ABOUT ===================== */

.about-box{
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  padding: 25px;
  background: black;
  color: white;
  border-radius: 15px;
  z-index: 60;
  display: none;
  box-shadow: 0px 0px 15px darkorange;
}

#remove-about{
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  font-size: 20px;
}

.about-box h3{
  text-align: center;
  margin-bottom: 15px;
  font-size: 25px;
}

.about-box p{
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.about-links{
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-item{
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-item i{
  font-size: 20px;
}

.about-item a{
  color: white;
  text-decoration: none;
  font-size: 13px;
}

/* ===================== SLIDER ===================== */

.slider{
  overflow: hidden;
  width: 100%;
  margin: 10px 0;
}

.track{
  display: flex;
  width: max-content;
  min-width: max-content;
  animation: scroll 25s linear infinite;
  will-change: transform;
  transform: translate3d(0,0,0);
}

.track img{
  width: 300px;
  height: 175px;
  object-fit: cover;
  flex-shrink: 0;
}

@keyframes scroll{
  0%{
    transform: translateX(0);
  }
  100%{
    transform: translateX(-50%);
  }
}

/* ===================== MOBILE ===================== */

@media screen and (max-width: 599px){

  .header{
    width: 100%;
    min-height: 60px;
    padding-left: 5px;
    padding-right: 5px;
  }

  .header h1{
    font-size: 1rem;
    line-height: 1.25;
  }

  .header img{
    width: 38px;
    height: 38px;
    margin: 4px;
  }

  .header i{
    font-size: 18px;
  }

  .menu-bar{
    width: 210px;
    right: -210px;
  }

  .title{
    width: calc(100% - 18px);
    margin-left: auto;
    margin-right: auto;
    font-size: 15.5px;
    line-height: 1.45;
    padding: 8px;
  }

  h2{
    font-size: 18px;
  }

  p,
  li{
    font-size: 13.5px;
  }

  .track img,video{
    width: 260px;
    height: 146px;
  }

  .feedback,
  .faq-box,
  .about-box,
  .ref,
  .starwalk{
    width: 92vw;
    max-width: 92vw;
    max-height: 85vh;
    overflow-y: auto;
    left: 50%;
    transform: translateX(-50%);
  }

  .feedback{
    transform: translate(-50%, -50%);
  }

  .ref:hover{
    transform: translateX(-50%);
  }
}

/* ===================== EXTRA SMALL ===================== */

@media screen and (max-width: 360px){

  .header h1{
    font-size: 0.88rem;
  }

  .title{
    font-size: 14px;
  }

  h2{
    font-size: 17px;
  }

  p,
  li{
    font-size: 12.5px;
  }

  .track img,video{
    width: 220px;
    height: 124px;
  }

  .menu-bar{
    width: 190px;
    right: -190px;
  }
}

/* ===================== TABLET ===================== */

@media screen and (min-width: 600px) and (max-width: 1023px){

  body{
    font-size: 14px;
  }

  .sun,
  .sun-helio{
    width: 94%;
    max-width: 720px;
    margin: 0 auto 30px;
  }

  .title{
    width: 94%;
    max-width: 720px;
    margin: 10px auto;
  }

  .header h1{
    font-size: 1.5rem;
  }

  .track img,video{
    width: 320px;
    height: 180px;
  }

  .feedback,
  .faq-box,
  .about-box{
    width: 420px;
  }

  .ref,
  .starwalk{
    left: 50%;
    transform: translateX(-50%);
  }

  .ref:hover{
    transform: translateX(-50%) scale(1.15);
  }
}

/* ===================== DESKTOP ===================== */

@media screen and (min-width: 1024px){

  body{
    font-size: 16px;
  }

  .sun,
  .sun-helio{
    width: 92%;
    max-width: 1100px;
    margin: 0 auto 40px;
  }

  .title{
    width: 92%;
    max-width: 1100px;
    margin: 20px auto;
    font-size: 28px;
  }

  .header h1{
    font-size: 1.7rem;
  }

  .track img,video{
    width: 400px;
    height: 225px;
  }

  .feedback{
    width: 520px;
  }

  p{
    font-size: 18px;
  }

  h2{
    font-size: 28px;
  }
}

/* ===================== LARGE SCREENS ===================== */

@media screen and (min-width: 1440px){

  body{
    font-size: 18px;
  }

  .sun,
  .sun-helio{
    max-width: 1300px;
  }

  .title{
    max-width: 1300px;
    font-size: 34px;
  }

  h2{
    font-size: 34px;
  }

  p,
  li{
    font-size: 20px;
    line-height: 1.9;
  }

  .track img{
    width: 500px;
    height: 281px;
  }

  .feedback{
    width: 700px;
  }

  .faq-box,
  .about-box{
    width: 500px;
  }
}

/* ===================== ULTRA WIDE ===================== */

@media screen and (min-width: 1800px){

  .sun,
  .sun-helio{
    max-width: 1500px;
  }

  .title{
    max-width: 1500px;
  }

  .track img{
    width: 580px;
    height: 326px;
  }
}

/* ===================== LANDSCAPE MOBILE ===================== */

@media screen and (max-height: 500px) and (orientation: landscape){

  .menu-bar{
    overflow-y: auto;
  }

  .feedback,
  .faq-box,
  .about-box,
  .ref,
  .starwalk{
    max-height: 88vh;
    overflow-y: auto;
  }

  .ref,
  .faq-box,
  .starwalk{
    top: 4%;
  }
}

/* ===================== TOUCH DEVICES ===================== */

@media (hover: none){

  img:hover,
  .logo img:hover,
  .icon i:hover{
    transform: none;
  }

  .ref:hover{
    transform: translateX(-50%);
  }

  a:hover{
    font-size: inherit;
  }

  .menu-bar > div:last-child > div:hover{
    border-right: none;
  }
}