* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

html, body {
  height: 100%;
  width: 100%;
  overflow-x: hidden;
}

#main {
  height: 100%;
  width: 100%;
}

/* ========== NAVBAR ========== */
#nav {
  padding: 46px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  flex-wrap: wrap;
}

#nav-part1, #nav-part2 {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

#nav-part1 {
  width: 35%;
}

#nav-part2 {
  width: 33%;
}

#nav h2, #nav h3, #nav h4 {
  color: rgb(36, 35, 35);
  font-size: 22px;
  font-weight: 500;
}

/* ========== CONTENT ========== */
#content {
  margin-top: 48px;
  padding: 44px 50px;
}

#content h3 {
  color: rgb(36, 35, 35);
  font-size: 30px;
  font-weight: 500;
}

#content h1 {
  margin-top: 28px;
  font-size: 140px;
  line-height: 125px;
  letter-spacing: -7px;
  font-weight: 500;
}

/* ========== CASE SECTION ========== */
#case {
  padding: 44px 50px;
  margin-top: 130px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

#case h4, #case h5 {
  font-size: 26px;
  font-weight: 500;
}

#right {
  display: flex;
  align-items: center;
  gap: 40px;
}

#line {
  height: 2px;
  width: 160px;
  background-color: black;
}

/* ========== PROJECT SECTION ========== */
#project {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 57px;
  gap: 30px;
  flex-wrap: wrap;
}

.elem {
  width: 48%;
}

.elem-img {
  height: 550px;
  background-color: rgb(155, 178, 196);
  border-radius: 30px;
  background-size: cover;
  background-position: center;
}

#img1 {
  background-image: url(https://is1-ssl.mzstatic.com/image/thumb/Purple211/v4/bb/34/3b/bb343b7d-ebbe-f509-04d6-c3c0625e482a/AppIcon-0-0-1x_U007epad-0-1-85-220.png/512x512bb.jpg);
}

#img2 {
  background-image: url(https://cdn.dribbble.com/userupload/14173199/file/original-78db7307f7647f3c28b57dbbf9dccf93.jpg);
}

/* ========== BOTTOM SECTION ========== */
.bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 33px 0;
  flex-wrap: wrap;
  gap: 15px;
}

.bottom i {
  padding: 15px 25px;
  font-size: 24px;
  border: 2px solid #000;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.bottom i:hover {
  background-color: black;
  color: #fff;
}

.bottom h2 {
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 6px;
}

.bottom h4 {
  font-size: 21px;
  font-weight: 500;
  color: #807a7a;
}

/* =========================================================
   RESPONSIVE DESIGN
   ========================================================= */

/* Tablet (1024px and below) */
@media (max-width: 1024px) {
  #nav {
    padding: 30px;
  }

  #nav-part1, #nav-part2 {
    width: 45%;
  }

  #content h1 {
    font-size: 100px;
    line-height: 100px;
  }

  #case {
    margin-top: 90px;
    padding: 30px;
  }

  #case h4, #case h5 {
    font-size: 22px;
  }

  .elem {
    width: 100%;
  }

  .elem-img {
    height: 450px;
  }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {
  #nav {
    flex-direction: column;
    gap: 20px;
    padding: 25px;
  }

  #nav-part1, #nav-part2 {
    width: 100%;
    justify-content: space-around;
  }

  #content {
    padding: 30px 25px;
  }

  #content h3 {
    font-size: 22px;
  }

  #content h1 {
    font-size: 70px;
    line-height: 68px;
    letter-spacing: -3px;
  }

  #case {
    flex-direction: column;
    gap: 30px;
    padding: 30px 25px;
  }

  #line {
    width: 100px;
  }

  #case h4, #case h5 {
    font-size: 20px;
  }

  #project {
    flex-direction: column;
    padding: 20px;
    gap: 25px;
  }

  .elem {
    width: 100%;
  }

  .elem-img {
    height: 350px;
    border-radius: 20px;
  }

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

  .bottom h2 {
    font-size: 24px;
  }

  .bottom h4 {
    font-size: 18px;
  }

  .bottom i {
    font-size: 20px;
    padding: 12px 18px;
  }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
  #content h1 {
    font-size: 50px;
    line-height: 50px;
    letter-spacing: -2px;
  }

  #content h3 {
    font-size: 18px;
  }

  #case h4, #case h5 {
    font-size: 18px;
  }

  .elem-img {
    height: 280px;
  }

  .bottom h2 {
    font-size: 20px;
  }

  .bottom h4 {
    font-size: 16px;
  }
}
