@import url("https://fonts.googleapis.com/css?family=Hanken%20Grotesk:700|Hanken%20Grotesk:400");

:root {
  --text: #c5c5d1;
  --background: #191924;
  --secondary: #2a2a3c;
  --hover: #34344b;
  --accent: #494969;
}

h1 {
  font-size: 4.21rem; /* 67.36px */
}
h2 {
  font-size: 3.158rem; /* 50.56px */
}
h3 {
  font-size: 2rem;
}
p {
  font-size: 1rem;
  line-height: 175%;
}
* { 
  scroll-behavior: smooth;
  box-sizing: border-box;
  font-family: "Hanken Grotesk";
  font-size: 1rem;
  transition: all ease 0.1s;
}

body {
  background: radial-gradient(80% 120% at 50% 10%, #0a1f38 0%, rgba(54,13,91,1) 0%, rgba(0,0,0,1) 80%);
  color: var(--text);
  margin: 0;
}

a {
  text-decoration: none;
  color: inherit;
  position: relative;
  opacity: 0;
  text-wrap: nowrap;
  display: block;
}

main {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  position: relative;
  width: 100%;
  min-height: 100vh;
  gap: 5%;
}


#sidebar {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 20%;
  height: 100vh;
  padding: 1rem;
}

.progress-bar {
  position: fixed;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border: 2px solid var(--secondary);
  border-radius: 2rem;
  padding: 1rem;
  cursor: pointer;
}

.content {
  position: relative;
  max-width: 50%;
  padding: 0;
}

.section {
  height: 140vh;
}

li {
  list-style: none;
  width: 1rem;
  height: 1rem;
  background-color: var(--secondary);
  border-radius: 1rem;
}

li:hover {
  background-color: var(--hover);
}

.progress-bar:hover li {
  width: 100%;
  height: 100%;
  padding: 0.5rem 1rem;
}

li.active {
  background-color: var(--accent);
}

.progress-bar:hover a {
  opacity: 1;
}

#home {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100vh;
  color: #ffffff;
}

#home .logo-image {
  width: 150px; 
  height: auto;
  margin-bottom: 1rem;   
}

#home h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin: 0;
  color: #ffffff;
}

#home p {
  font-size: 1.2rem;
  color: #c5c5d1;
  max-width: 600px;
  line-height: 1.5;
  margin-top: 1rem;
}

.left-image {
  width: 150px; 
  height: 50px;
}

.button-text {
  font-size: 1rem;
  color: #c5c5d1;
  margin-right: 1rem;
}

.highlight {
    color: white;
    font-size: 18px;
    font-weight: bold;
}

.jbutton-container {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.join-button {
  padding: 0.8rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  background-color: #5a4fb9;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.review-button {
  padding: 0.8rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  background-color: transparent;
  border: 2px solid #5a4fb9;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.join-button:hover,
.review-button:hover {
  background-color: #453c9f;
  border-color: #453c9f;
}

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  z-index: 0;
}

@media screen and (max-width: 800px) {
  #sidebar {
     position: fixed;
     top: 30px;
     left: 50%;
     transform: translateX(-50%);
     display: flex;
     flex-direction: row;
     justify-content: center;
     align-items: center;
     width: auto;
     height: auto;
     padding: 0.5rem;
     background-color: var(--secondary);
     z-index: 1;
     border-radius: 1rem;
   }

  .progress-bar {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    padding: 0.5rem;
  }
  .progress-bar::after {
    display: none;
  }

  main {
    flex-direction: column;
    padding: 0 5%;
    width: 100%;
    height: 307vh;
  }
  .content {
    margin-top: 20px;
    max-width: 100%;
  }
  .section {
    height: auto;
    padding: 1rem;
  }
  #home h1 {
    font-size: 3rem;
  }
  h2 {
    font-size: 2rem;
  }
  p {
    font-size: 0.9rem;
  }

  footer {
    display: none;
  }
}

@media screen and (max-width: 1024px) {
    footer {
        display: none;
    }
}
