* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: white;
}

html,
body {
  width: 100%;
  height: 100%;
}

#main {
  height: 100%;
  width: 100%;
  background-color: black;
}

#nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 30px;
}

#nav-part2 {
  display: flex;
  align-items: center;
  gap: 30px;
}

#nav h3 {
  font-size: 25px;
  text-transform: uppercase;
  font-weight: 400;
}

#main h1 {
  font-size: 150px;
  text-transform: uppercase;
  font-weight: 400;
  line-height: 120px;
  width: 80%;
  margin-left: 10%;
  position: relative;
  z-index: 10;
}

#main h1:nth-child(2) {
  margin-top: 180px;
}

#main h1:nth-child(3),
#main h1:nth-child(4) {
  text-align: center;
}

img {
  height: 400px;
  width: auto;
  position: absolute;
  top: 12%;
  left: 40%;
}

#img1 {
  rotate: 20deg;
  left: 65%;
}

#img2 {
  rotate: 10deg;
  left: 55%;
}

.main_title {
  font-family: Arial, Helvetica, sans-serif;
  color: rgb(133, 13, 156);
  font-size: 30px;
}

/* Mobile-first responsiveness */
@media (max-width: 768px) {
  #nav {
    height: 56px;
    padding: 0 16px;
  }

  #nav h3 {
    font-size: 16px;
    letter-spacing: 0.5px;
  }

  #nav-part2 {
    gap: 12px;
    flex-wrap: wrap;
  }

  #main h1 {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 24px;
    font-size: 42px;
    line-height: 1.2;
  }

  #main h1:nth-child(2) {
    margin-top: 24px;
  }

  #main h1:nth-child(3),
  #main h1:nth-child(4) {
    text-align: left;
  }

  .main_title {
    font-size: 42px;
  }

  img {
    position: static;
    display: block;
    width: 90%;
    max-width: 420px;
    height: auto;
    margin: 16px auto;
    rotate: 0deg;
    top: auto;
    left: auto;
  }
}

@media (max-width: 480px) {
  #nav h3 {
    font-size: 14px;
  }

  #nav-part2 {
    gap: 8px;
  }

  .main_title {
    font-size: 32px;
  }

  #main h1 {
    font-size: 32px;
  }

  img {
    width: 100%;
    max-width: 360px;
    margin: 12px auto;
  }
}
