

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: TWK Lausanne;
}

body {
/*min-height: 100vh;*/
background-color: black;
overflow-x: hidden;
width:100%;
display: grid;
place-items: center;


}


.lineartefact {
  position: absolute;
  top: 370%;
  left: 50%; 
  transform: translate(-50%, -50%);
}

.lineartefact img {
  width: 1100px; /* Adjust the width to make it smaller */
  height: auto; /* Adjust the height to make it smaller */
  display: block; 
  margin: auto; /* Center the image within the container */
}

.lineartefact2 {
  position: absolute;
  top:790%;
  left: 50%; 
  transform: translate(-50%, -50%);
}

.lineartefact2 img {
  width: 1100px; /* Adjust the width to make it smaller */
  height: auto; /* Adjust the height to make it smaller */
  display: block; 
  margin: auto; /* Center the image within the container */
}





.backgroundinfo {
  background-color: black;
/*  width: 80%;*/
  max-width: 1200px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 50px 30px; /* Adjust the gap value as needed */
  margin-top: 1200px; /* Adjust the margin-top value as needed */
}

.backgroundinfo .planetrotate {
  overflow:hidden;
}

.backgroundinfo .planetrotate img{
  padding-left: 30px;
  width: 80%;
  height: auto;
  object-fit: cover;
}

.backgroundinfo .righttext {
  display: flex;
  align-items: flex-start; /* Vertical alignment, change to 'center' or 'flex-end' if needed */
  justify-content: space-between; /* Horizontal alignment, change to 'flex-start' or 'flex-end' if needed */
}


.backgroundinfo .righttext .text{
  padding-left: 20px;
}

.backgroundinfo .righttext .text p{
  font-size: 20px;
  font-family: "TWK Lausanne-300", Helvetica;
  font-weight: 300;
  line-height: 24px;
  letter-spacing: 0px;
  padding-bottom: 15px;
  padding-right: 20px;
  color:white;
}



.atmosphertitle p {
  text-decoration: underline;
  margin-top: 700px;
  font-size: 30px;
  font-family: "TWK Lausanne-300", Helvetica;
  font-weight: 300;
  line-height: 24px;
  letter-spacing: -0.6px;
  padding-bottom: -500%;
  padding-right: 20px;
  color: white;
  text-shadow: 0 0 6px rgba(255, 255, 255, 1); /* Adjust the values for the outer glow */
}

.locationtitle{
/*  background-color: red;*/
}

.locationtitle p {
  text-decoration: underline;
  margin-top: 350%;
  font-size: 30px;
  font-family: "TWK Lausanne-300", Helvetica;
  font-weight: 300;
  line-height: 24px;
  letter-spacing: -0.6px;
  padding-bottom: -500%;
  padding-right: 20px;
  color: white;
  text-shadow: 0 0 6px rgba(255, 255, 255, 1); /* Adjust the values for the outer glow */
}


.locationsubtitle{
/*  background-color: red;*/
}

.locationsubtitle p {
  margin-top: 40%;
  font-size: 30px;
  font-family: "TWK Lausanne-300", Helvetica;
  font-weight: 300;
  line-height: 24px;
  letter-spacing: -0.6px;
  padding-bottom: 15px;
  padding-right: 20px;
  color: white;
  text-shadow: 0 0 6px rgba(255, 255, 255, 1); /* Adjust the values for the outer glow */
}




/*.backgroundinfo .text {
  color:white;
  font-weight: 300;
  font-size: 1vw;
}
*/


.mercuryicon {
  position: absolute;
  top: 150%; /* Center vertically */
  left: 50%; /* Center horizontally */
  transform: translate(-50%, -50%); /* Adjust for centering */
}

.mercuryicon img {
  width: 150px; /* Adjust the width to make it smaller */
  height: auto; /* Adjust the height to make it smaller */
  display: block; /* Ensure the image is treated as a block element */
  margin: auto; /* Center the image within the container */
}


.sunimagetop {
  margin-top: -100vh; /* Initial position off-screen at the top */
  margin-right: -85%; /* Set the initial horizontal position */
  width: 175%;
  height: auto;
  display: flex;
  justify-content: center; /* Horizontally center the content */
  align-items: center; /* Vertically center the content */
  z-index: -1;
  animation: slideInFromTop3 1s ease forwards; /* Apply animation */
}

@keyframes slideInFromTop3 {
  from {
    margin-top: -100vh; /* Start position off-screen at the top */
  }
  to {
    margin-top: -10vh; /* End position, slide in to the center */
  }
}


.sunimagetop img{
width: 100%;
height: auto;
transform: rotate(-130deg); 

}

.textcomp {
/*  background-color: red;*/
  display: flex;
  align-items: flex-start; /* Vertical alignment, change to 'center' or 'flex-end' if needed */
  justify-content: space-between; /* Horizontal alignment, change to 'flex-start' or 'flex-end' if needed */

}

.textcomp p {
  font-size: 20px;
  font-family: "TWK Lausanne-300", Helvetica;
  font-weight: 300;
  line-height: 24px;
  letter-spacing: -1px;
  letter-spacing: 0px;
  padding-left: 30%;
  padding-right: 30%;
  padding-top: 10%;
  color: white;

}

.textcomp2 {
/*  background-color: red;*/
  display: flex;
  align-items: flex-start; /* Vertical alignment, change to 'center' or 'flex-end' if needed */
  justify-content: space-between; /* Horizontal alignment, change to 'flex-start' or 'flex-end' if needed */

}

.textcomp2 p {
  font-size: 20px;
  font-family: "TWK Lausanne-300", Helvetica;
  font-weight: 300;
  line-height: 24px;
  letter-spacing: 0px;
  margin-top: 10%;
  padding-left: 30%;
  padding-right: 30%;
  padding-top: 10%;
  color: white;

}

.locationpictcontainer {
  padding: 1%;
/*  background-color: red;*/
/*  margin-bottom: -20px;*/
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.locationpict {

  /* max-width: 80%; */
}

.locationpict img {
  margin-left: 5%;
object-fit: cover;
/*  margin-left: -150px;*/
  width: 90%;
  height: auto;
/*  display: block;*/
}

.celestialcontainer {
/*  background-color: red;*/
width: 50%;
height: 100%;
height: ;
  padding: 5%;
/*  background-color: red;*/
/*  margin-bottom: -20px;*/
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.celestialpict {
margin-left: 10%;

  /* max-width: 80%; */
}

.celestialpict img {
  
object-fit: cover;
/*  margin-left: -150px;*/
  width: 100%;
  height: auto;
/*  display: block;*/
}







.flex-container {
 margin-top: 100px;
/* background-color: blue;*/
 width: 70%; /* Adjusted width for 2 boxes in a row with margin and padding */
 height: auto;
 display: flex;
 flex-direction: row;
 flex-wrap: wrap;
 justify-content: center;
 grid-gap: 200px;
 padding-bottom: 40px;
 padding-top: 40px;
}

.flex-box {
    position: relative;
/*    background-color: red; */
    width: 10em;
    height: 10em;
    color: white;
    font-size: 25px;
    text-align: center;
    line-height: 200px;
    margin: 10px;
    transition: transform 0.3s ease; /* Adding smooth transition */
}

.flex-box:hover {
    transform: scale(1.2); /* Increase size on hover */
}


.flex-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.caption {
  font-family: "TWK Lausanne-400", Helvetica;
  font-weight: 400;
  position: absolute;
  bottom: 0;
  top: 13em;
  left: 0;
  width: 100%;
  letter-spacing: -0.5px;
  font-size: 18px;
  color: #fff;
  padding: 10px;
  box-sizing: border-box;
  text-align: center;
}


/*.flex-container {
  background-color: red;
  padding: 2%;
  margin-top: 300px;
  width: 50vw;
  display: flex;
  flex-direction: column;
  gap: 250px;
  justify-content: center;
}

.flex-row {
  justify-content: center;
  display: flex;
  gap: 20px;

}

.flex-item {
  margin-left: 20px;
  justify-content: center;
  flex: 3;
  max-width: calc(40% - 1px);
  position: relative;
  
  transition: transform 0.3s;
}

.flex-item img {
  justify-content: center;
  width: 60%; 
  height: auto;

}

.flex-item:hover{
  transform: scale(1.2); 
}

.caption {
  
  position: absolute;
  bottom: -70px;
  left: -80px;
  width: 100%;
  padding: 10px;
  text-align: center;
  font-weight: 300;
  letter-spacing: -0.5px;
  font-size: 18px;
  background-color: rgba(0, 0, 0, 0);
  color: #fff;

}
*/
  .accordion-container{
      
    padding: 10px;
    margin-top: 350px;
    width: 70%;
  }


  /* accordion title text styles */
    .accordion-container p.accordion {
      font-family: "TWK Lausanne-400", Helvetica;
  font-weight: 400;

     color: white;
      font-size: 1.5em;
    }

    /* accordion content text styles */
   .accordion-container .accordion-content p {
    font-family: "TWK Lausanne-300", Helvetica;
  font-weight: 300;
  color: white;
  font-size: 40px;
  text-shadow: 0 0 8px rgba(255, 255, 255, 1); /* Add an outer glow effect */
}


    /* accordion content link styles */
    .accordion-container .accordion-content a {

     color: white;
      font-size: 25px;
      font-style: italic;
    }

    /* accordion title styles */
    .accordion-container .accordion {

      cursor: pointer;
      padding: 15px 15px;
      margin: 0;
      font-weight: 300;
    }

    /* accordion icon box styles */
    .accordion-container .accordion::after {
      content: '✕';
      float: right;
      transform: rotate(-45deg);
      font-size: 18px;
      color: white;
      transition: .2s ease-out;

    }

    /* accordion icon box styles: opened  */
    .accordion-container .active::after {
      content: "✕";
      transform: rotate(0deg);
      font-size: 18px;
      color: white;
    }

    /* accordion content box styles: default */
    .accordion-container .accordion-content {

      padding: 0 10px;
      overflow: hidden;
      max-height: 0;
      transition: max-height 0.2s ease-out;
      border-bottom: 1px solid #999;
    }





@keyframes breathing {
  0% { transform: scale(1); }
  50% { transform: scale(1.04); }
  100% { transform: scale(1); }
}

.mercuryimagebottomcontainer {
  margin-bottom: -20px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  animation: breathing 3s ease-in-out infinite; /* Adjust the animation duration and easing as needed */
  z-index: -1;
}

.mercuryimagebottom {
  /* max-width: 80%; */
}

.mercuryimagebottom img {
  margin-left: -150px;
  width: 130%;
  height: 10%;
  display: block;
  animation: breathing 3s ease-in-out infinite; /* Apply the breathing animation to the image */
}


.breakdown{
  background-color: black;
/*  width: 80%;*/
  max-width: 1200px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 50px 30px; /* Adjust the gap value as needed */
  margin-top: 25%; /* Adjust the margin-top value as needed */
}

.breakdown .log {
  overflow:hidden;

}

.breakdown .log img{
  padding-left: 30px;
  width: 80%;
  height: auto;
  object-fit: cover;
}

.breakdown .righttext3 {
  display: flex;
  align-items: flex-start; /* Vertical alignment, change to 'center' or 'flex-end' if needed */
  justify-content: space-between; /* Horizontal alignment, change to 'flex-start' or 'flex-end' if needed */
}


.breakdown .righttext3 .text3{

  padding-left: 20px;
}

.breakdown .righttext3 .text3 p{
  font-size: 20px;
  font-family: "TWK Lausanne-300", Helvetica;
  font-weight: 300;
  line-height: 24px;
  letter-spacing: 0px;
  padding-bottom: 15px;
  padding-right: 20px;
  color:white;
}

.breakdown .righttext3 .text3 ul{
  font-size: 20px;
  font-family: "TWK Lausanne-300", Helvetica;
  font-weight: 300;
  line-height: 24px;
  letter-spacing: 0px;
  padding-bottom: 15px;
  padding-right: 20px;
  color:white;
}

.breakdown .righttext3 .text3 li{
  
}







.header {

  position: fixed;
  top: -100px; /* Start off-screen */
  left: 40px;
  width: 60%;
  padding: 10px 30px;
  background: linear-gradient(rgba(255, 248, 248, 0.1), rgba(0, 0, 0, 0.1));
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(10px);
  border: 0.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  z-index: 100;
  animation: slideInFromTop 1s ease forwards; /* Apply animation */
}

@keyframes slideInFromTop {
  from {
    top: -100px; /* Start position */
  }
  to {
    top: 30px; /* End position */
  }
}
/*
.header::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 5%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: 0.5s;
}
*/
.header:hover::before {
  left: 95%;
}

/*.mainlogo{
  width: 18px;
  height: 18px;
}

.mainlogo img {
  width: 100%;

}*/

.logo {  
font-family: "TWK Lausanne-400", Helvetica;
  font-weight: 400;                         
  color: #fff;
  font-size: 18px;
  text-decoration: none;
  letter-spacing:-0.5px;
  cursor: default;
    transition: 0.3s;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.8); /* Add an outer glow effect */
}

.navbar a {
  font-family: "TWK Lausanne-300", Helvetica;
  font-weight: 300;
  color: #fff;
  font-size: 11px;
  font-weight: 300;
  text-decoration: none;
  margin-left: 35px;
  transition: 0.3s;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.8); /* Add an outer glow effect */
}

.navbar a:hover {
  color: #f00;
}

#menu-icon {
  font-size: 36px;
  color: #fff;
  display: none;
}




.sunbigtext {
  position: absolute;
  top: 250px;
  left: 200px;
  margin-top: 10px;
  text-shadow: 0px 0px 23px #ffffff;
  font-family: "TWK Lausanne-400", Helvetica;
  font-weight: 400;
  color: #ffffff;
  font-size: 16vw;
  letter-spacing: -0.06em;
  line-height: normal;
  opacity: 0;
  transform: translateX(-100%);
  animation: fadeInAndSlide 1.5s forwards;
}

@keyframes fadeInAndSlide {
  0% {
    opacity: 0;
    transform: translateX(-40%);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}




html{
  scroll-behavior: smooth;
}

.back-to-top {
  font-family: "TWK Lausanne-300", Helvetica;
  font-weight: 300;
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  padding: 0.5rem;
  text-decoration: none;
  transition: background 0.2s ease-out; /* Add transition for a smoother effect */
  background: linear-gradient(to right, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0)); /* Adjust the gradient colors and transparency */
  backdrop-filter: blur(10px); /* Adjust the blur intensity as needed */
}

.back-to-top:hover {
  background: linear-gradient(to right, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.2)); /* Adjust the hover gradient colors and transparency */
}


.back-to-top span {
  color:white;
  font-size: 3rem;
  transition: 0.2 ease-out;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8); /* Add an outer glow effect */
}


.back-to-top:hover span{
transform: translateY(-4px);

}


/* Add media query for smaller screens */
/*@media (max-width: 768px) {



}
*/

@media (max-width: 992px) {

    .backgroundinfo {
    width: 80%;
    grid-template-columns: 1fr;
    grid-gap: 100px; /* Adjust the gap value as needed */
    }

.flex-container {
 margin-left: -180px;

}

  /*.mercuryimagetop{
      width: 65%;
      max-height: 10vh;
      right: -30%;
      transform: rotate(45deg);
    }*/

}

/* BREAKPOINTS FOR NAVIGATION BAR */
@media (max-width: 992px) {
  .header {
    padding: 1.25rem 4%;
  }
}

@media (max-width: 768px) {




    .backgroundinfo .righttext .text{
    padding-left: 0px;
    padding-right: 150px;
    }
    .backgroundinfo {
    margin-left: 20%;
    }



  .sunbigtext {
    margin-left: -1em; /* Adjust the left value for smaller screens */
  }

  .accordion-container{
  margin-left: -10%;
   width: 70%;
  }

  .moons p {
   margin-left: -30%;
}

.atmosphertitle p {
margin-left: -25%;
/*justify-content: center;*/
}


  #menu-icon {
    display: block;
  }

  .navbar {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 0.5rem 4%;
    display: none;
  }

  .navbar.active {
    display: block;
  }

  .navbar a {
    display: block;
    margin: 1.5rem 0;

  }

  .nav-bg {
    position: fixed;
    top: 110px;
    left: 0;
    width: 65%;
    height: 150px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    z-index: 99;
    display: none;
  }

  .nav-bg.active {
    display: block;
  }


  .flex-container {
 margin-left: 0;

}

.locationsubtitle{
width:60%;
margin-left: 10%;
}

.atmosphertitle p {
margin-left: -10%;
/*justify-content: center;*/
}


}

@media (max-width: 768px) {
 .accordion-container{
  margin-left: 0;
   width: 80%;
  }
}

