/** 

NOT ALL THIS IS MY CODE

Nav bar and the <li> and <ul> css code
came from w3schools. 

Others came from other sites that i forgot about.
The only thing thats mine is the body + html css.

The search css came from Hypersite-v2. Check
that site out on replit.

sorry for skidding ur code if u happen to 
recognize it

-dachxd


**/
#broken{
    color:red;
      }
  #subtitle{
    color:white;
  }
  html, body {
    height: auto;
    width: 100%;
    background-size: 100%; 
    
  }
  body, ul {
    margin: 0;
    padding: 0;
}
  a{
    background-color:black;
  }
  input{
    margin:auto;
    width: 400px;
    height: 60px;
    background: #0f0f0f;
    border-radius: 5px;
    margin:auto;
    border: 2px white solid;
    width: 300px;
    height: 57px;
    border-radius: 5px;
    background: transparent;
    border: none;
    color: white;
    font-size: 18px;
    outline: none;
    margin-left:10px;
  }
  .block {
        display: block;
        width: 50%;
        border: none;
        background-color: #000000;
        color: white;
        padding: 14px 28px;
        font-size: 24px;
        cursor: pointer;
        text-align: center;
      }
  .block:hover {
    color:#383838;
    background-color:#181818;
    opacity: 0.3;
    transition: 0.7s;
  }
  h1{
    color: white;
  }
  h2{
    color: red;
  }
  p1{
    color:grey;
    Background-color:Black;
    font-family: "Times New Roman", Times, serif;
  }
  p{
    color:grey;
    Background-color:Black;
    font-family: "Times New Roman", Times, serif;
  }

  
  
  
   .search {
       width: 300px;
       height: 57px;
       border-radius: 5px;
       background: transparent;
       border: none;
       color: white;
       font-size: 18px;
       outline: none;
       margin-left:10px;
       
       
     }
    ::placeholder {
      width: 50%;
    padding: 10px;
    border:white;
    background-color: #181818	;
    border-radius: 40px;
    margin-bottom: 70px;
    color:white;
    }
  
  .submit-button {
      background: transparent;
      border: none;
      width: 55px;
      height: 60px;
      color: white;
    margin-left:5px;
  }
  
  .searchbox{
    width: 50%;
    padding: 10px;
    border:white;
    background-color: #181818	;
    border-radius: 40px;
    margin-bottom: 70px;
    color:white;
   
    
  }
  
  
  body {
    margin: 0;
    overflow: hidden;
}

#space {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: -1;
}

.star {
    position: absolute;
    background-color: #fff;
    border-radius: 50%;
    animation: twinkling 5s infinite, moving linear 20s infinite;
}

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

@keyframes moving {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(100%);
    }
}

#content-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
}

.nav-links {
  list-style-type: none;
  display: flex;
  gap: 20px;
}

.nav-links li a {
  text-decoration: none;
  color: #fff; 
  padding: 10px 15px; 
  border-radius: 5px; 
  font-size: 18px; 
  position: relative; 
  transition: color 0.3s ease; /* i cant gurantee that chat gpt didnt help */
}

/* New hover effect */
.nav-links li a::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #0077b6; 
  transform: scaleX(0); 
  transform-origin: right;
  transition: transform 0.3s ease; 
}

.nav-links li a:hover::before {
  transform: scaleX(1); /* scale thing on hover */
}
  .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
  font-size: 32px;
  font-weight: bold; 
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2); 
}

  .navbar {
    background-color:black; 
    color: #fff; 
    padding: 10px 0;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2); /* Add a subtle shadow */
  }
  .main {
    padding: 16px;
    margin-top: 30px;
    height: 1500px; 
  }
  
  