* {
  margin: 0;
  padding: 0;
  font-family: "General Sans";
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  background-color: black;
}

#mini-circle {
  height: 10px;
  width: 10px;
  background-color: white;
  border-radius: 50%;
  position: absolute;
  z-index: 9999;
  transition: all 0.1s ease-out;
}

#main {
  width: 100%;
}

#home {
  position: relative;
  height: 100vh;
  width: 100%;
  color: white;
  background-color: black;
}

#nav {
  width: 100%;
  padding: 35px 40px;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#nav a {
  font-size: 18px;
  text-decoration: none;
  color: white;
}

#nav h4 {
  font-weight: 500;
}

#heading {
  margin-top: 2rem;
}

.bounding {
  width: fit-content;
  overflow: hidden;
}

.bounding .bounding_elem {
  transform: translateY(100%);
}

.bounding .bounding_element {
  transform: translateY(100%);
}

#heading h1 {
  font-family: "General Sans";
  font-size: 10vw;
  font-weight: 500;
  line-height: 0.9;
  color: #a3a3a3;
  margin-left: 35px;
}

#heading #sec-h1 {
  margin-left: 12rem;
}

.block_text {
  display: flex;
  flex-direction: column;
  align-items: end;
  width: fit-content;
}

.block_text h5 {
  text-align: right;
  font-weight: 500;
  font-size: 15px;
  line-height: 3;
}

#small-head {
  display: flex;
  flex-direction: column;
  align-items: end;
  width: 100%;
  text-transform: uppercase;
  margin-top: 130px;
  padding-right: 40px;
}

#small-head h4 {
  font-weight: 500;
  text-align: right;
}

#home-footer {
  width: 100%;
  position: absolute;
  bottom: 7px;
  padding: 0 2vw;
  display: flex;
  justify-content: space-between;
  gap: 2px;
}

#home-footer .text2 {
  margin-right: 120px;
}

#home-footer a {
  color: white;
  text-transform: uppercase;
  text-decoration: none;
}

#home-footer #iconset {
  display: flex;
  justify-content: center;
  gap: 5px;
}

#home-footer .circle {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background-color: gray;
}

#second {
  padding-top: 10vw;
  padding-right: 10vw;
  padding-left: 35px;
  width: 100%;
  color: white;
}

.elem {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  width: 100%;
  padding: 4vw 1vw;
  padding-right: 0;
  border-top: 1px solid #a3a3a3;
}

.elem h1 {
  text-transform: uppercase;
  font-size: 6.5vw;
  color: #a3a3a3;
  font-weight: 500;
}

.elem h4 {
  font-weight: 500;
}

.elemlast {
  border-bottom: 1px solid #a3a3a3;
}

.elem img {
  opacity: 0;
  position: absolute;
  pointer-events: none;
  transform: translate(-50%, -50%);
  height: 140%;
  z-index: 999;
}

.btn {
  width: 100%;
  padding-top: 2.5rem;
}

.btn a {
  text-decoration: none;
  color: white;
  background-color: black;
  border: 1px solid white;
  padding: 8px 16px;
  border-radius: 1rem;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.4s ease-in;
}

.btn a:hover {
  color: black;
  background-color: white;
}

#about {
  background-color: black;
  padding: 10vw 10vw;
  padding-left: 40vw;
  width: 100%;
  display: flex;
  gap: 80px;
}

#about img {
  height: 200px;
}

#about-text {
  color: white;
  font-weight: 500;
  width: 25rem;
}

#about-text h5 {
  text-transform: uppercase;
  color: #a3a3a3;
  margin-bottom: 10px;
}

#about-text p {
  line-height: 1.5;
  margin-bottom: 30px;
}

#about-text a {
  text-decoration: none;
  color: white;
  background-color: black;
  border: 1px solid white;
  padding: 8px 16px;
  border-radius: 1rem;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.4s ease-in;
}

#about-text a:hover {
  color: black;
  background-color: white;
}

#subscribe {
  color: white;
  padding: 20px 30px;
  background-color: black;
}

#subscribe h5 {
  color: #a3a3a3;
  text-transform: uppercase;
}

#subscribe h3 {
  font-size: 14px;
  font-weight: 500;
  padding-bottom: 8vw;
}

#footer {
  background-color: black;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0;
  padding: 5px 40px 40px 30px;
}

#footer #footer-left {
  display: flex;
  gap: 20px;
}

#footer #footer-right {
  display: flex;
  gap: 50px;
}

#footer #footer-right a {
  font-size: 1rem;
  text-decoration: none;
  color: white;
  font-weight: 500;
  text-transform: uppercase;
}
/* ==========Hover effects========== */
.underline {
    position: relative;
    text-decoration: none;
    color: white;
  }
  
  .underline::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px; /* Adjust for spacing below text */
    width: 0;
    height: 1px;
    background-color: white;
    transition: width 0.3s ease;
  }
  
  .underline:hover::after {
    width: 100%;
  }


/* ==========Responsive Media Queries========== */

@media (max-width: 1024px) {
  #heading h1,
  .elem h1 {
    font-size: 8vw;
  }

  #about {
    padding-left: 10vw;
    flex-direction: column;
    align-items: flex-start;
  }

  #about-text {
    width: 100%;
  }

  #heading #sec-h1 {
    margin-left: 2rem;
  }

  #home-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

@media (max-width: 600px) {
  #nav {
    padding: 1rem;
  }

  #heading h1 {
    font-size: 12vw;
    margin-left: 1rem;
  }

  #heading #sec-h1 {
    margin-left: 1rem;
  }

  .elem {
    flex-direction: column;
    align-items: flex-start;
  }

  .elem h1 {
    font-size: 9vw;
  }

  .btn a {
    font-size: 0.9rem;
    padding: 6px 12px;
  }

  #about img {
    height: auto;
    width: 100%;
    max-width: 300px;
  }

  #subscribe h3 {
    font-size: 0.9rem;
  }

  #footer {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  #footer #footer-left,
  #footer #footer-right {
    flex-direction: column;
    gap: 0.5rem;
  }
}
