* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

html, body {
  height: 100%;
  width: 100%;
}

#main {
  height: 100%;
  width: 100%;
  background-color: #f0ebe2;
  overflow-x: hidden;
}

/* ================= NAV ================= */
#nav {
  position: fixed;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 30px 40px;
  z-index: 100;
}

#header1 {
  background-color: #1d1d1d;
  color: white;
  padding: 13px 16px;
  font-size: 24px;
  border-radius: 50px;
  font-weight: 400;
}

#header2 {
  background-color: #1d1d1d;
  color: white;
  padding: 14px 24px;
  font-size: 24px;
  border-radius: 50px;
  font-weight: 600;
  margin-left: 7px;
}

/* ================= INTRO ================= */
#intro {
  padding: 55px;
  height: 68%;
  width: 100%;
}

#intro h1 {
  color: #1d1d1d;
  font-size: 130px;
  line-height: 125px;
}

#place {
  margin-top: 45px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#place h3, #place h4 {
  font-size: 33px;
  font-weight: 600;
}

/* ================= HERO IMAGE ================= */
#hero-img {
  height: 87%;
  width: 100%;
  background-image: url(https://assets-global.website-files.com/64589fb989b2b33c593db89d/6458a6db645ec6a527000cfa_home-hero-p-1600.webp);
  background-size: cover;
  background-position: center;
}

/* ================= ABOUT ================= */
#about {
  padding: 30px 57px;
  min-height: 60%;
  width: 100%;
  background-color: #f0ebe2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

#about h2 {
  font-size: 64px;
  font-weight: 600;
  width: 62%;
  line-height: 70px;
  letter-spacing: -2px;
}

#about-part2 {
  width: 36%;
  height: 100%;
  padding: 0 58px;
  border-left: 2px solid #292929;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#about-part2 h3 {
  font-size: 32px;
  font-weight: 600;
}

#icones i {
  background-color: #292929;
  color: white;
  padding: 8px;
  font-size: 23px;
  border-radius: 50px;
  margin-right: 8px;
  cursor: pointer;
  transition: 0.3s;
}

#icones i:hover {
  background-color: #555;
}

/* ================= WORK ================= */
#work {
  background-color: #f0ebe2;
  min-height: 60%;
  width: 100%;
  display: flex;
  border-top: 2px solid #292929;
  padding: 40px 57px;
  flex-wrap: wrap;
}

#work1 {
  padding-right: 50px;
  width: 35%;
  border-right: 2px solid #292929;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

#work1 h3 {
  font-size: 27px;
  font-weight: 500;
}

#work1 i {
  font-size: 30px;
}

#work2 {
  width: 65%;
  padding-left: 30px;
}

.work2-part {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0 50px 35px 0;
  flex-wrap: wrap;
}

.work2-part:nth-child(1) {
  border-bottom: 2px solid #292929;
}

.work2-part:nth-child(2) {
  padding-top: 30px;
}

.work2-part .elem {
  width: 50%;
}

.work2-part .elem:nth-child(1) {
  border-right: 2px solid #292929;
  padding-right: 50px;
}

.work2-part .elem:nth-child(2) {
  padding-left: 50px;
}

.work2-part .elem h4 {
  font-size: 32px;
  font-weight: 600;
}

.work2-part .elem p {
  color: #3d3d3d;
  font-size: 15px;
  font-weight: 500;
  padding-top: 9px;
}

/* ========================================================= */
/* ================= RESPONSIVENESS ========================= */
/* ========================================================= */

/* Tablet View */
@media (max-width: 1024px) {
  #intro h1 {
    font-size: 90px;
    line-height: 95px;
  }

  #place h3, #place h4 {
    font-size: 24px;
  }

  #about h2 {
    font-size: 48px;
    line-height: 56px;
    width: 100%;
  }

  #about-part2 {
    width: 100%;
    border-left: none;
    border-top: 2px solid #292929;
    margin-top: 40px;
    padding-top: 20px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  #work {
    flex-direction: column;
    padding: 30px;
  }

  #work1 {
    width: 100%;
    border-right: none;
    border-bottom: 2px solid #292929;
    padding-bottom: 20px;
    margin-bottom: 25px;
  }

  #work2 {
    width: 100%;
    padding-left: 0;
  }

  .work2-part {
    flex-direction: column;
    gap: 25px;
  }

  .work2-part .elem {
    width: 100%;
    border-right: none !important;
    padding: 0 !important;
  }

  .work2-part .elem h4 {
    font-size: 26px;
  }
}

/* Mobile View */
@media (max-width: 768px) {
  #nav {
    justify-content: space-between;
    padding: 20px;
  }

  #header1, #header2 {
    font-size: 18px;
    padding: 10px 16px;
  }

  #intro {
    padding: 30px 25px;
  }

  #intro h1 {
    font-size: 58px;
    line-height: 65px;
  }

  #place {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 25px;
  }

  #place h3, #place h4 {
    font-size: 20px;
  }

  #hero-img {
    height: 60vh;
  }

  #about {
    flex-direction: column;
    padding: 40px 25px;
  }

  #about h2 {
    font-size: 36px;
    line-height: 44px;
    width: 100%;
  }

  #about-part2 {
    width: 100%;
    flex-direction: column;
    border: none;
    align-items: flex-start;
    padding: 0;
    margin-top: 25px;
  }

  #about-part2 h3 {
    font-size: 22px;
  }

  #icones i {
    font-size: 20px;
  }

  #work {
    flex-direction: column;
    padding: 25px;
  }

  #work1 {
    width: 100%;
    justify-content: space-between;
    border: none;
    padding: 0;
  }

  #work2 {
    width: 100%;
  }

  .work2-part {
    flex-direction: column;
    padding: 0;
    gap: 30px;
  }

  .work2-part .elem {
    width: 100%;
    padding: 0;
    border: none;
  }

  .work2-part .elem h4 {
    font-size: 22px;
  }

  .work2-part .elem p {
    font-size: 14px;
  }
}

/* Very Small Screens */
@media (max-width: 480px) {
  #intro h1 {
    font-size: 42px;
    line-height: 50px;
  }

  #place h3, #place h4 {
    font-size: 18px;
  }

  #about h2 {
    font-size: 28px;
    line-height: 36px;
  }

  #about-part2 h3 {
    font-size: 18px;
  }

  #work1 h3 {
    font-size: 20px;
  }

  .work2-part .elem h4 {
    font-size: 20px;
  }
}
