* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

#main {
  height: 100%;
  width: 100%;
  background-color: white;
  position: relative;
  overflow: hidden;
}

/* ---------- NAVBAR ---------- */
#nav {
  height: 100px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0px 40px;
}

#menupart1 {
  display: flex;
  align-items: center;
  gap: 10px;
}

#menupart1 h3,
#menupart1 i {
  font-size: 16px;
  border: 1.5px solid black;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 50px;
  cursor: pointer;
  transition: 0.3s ease;
}

#menupart1 h3:hover,
#menupart1 i:hover {
  background-color: black;
  color: white;
}

#nav h1 {
  font-weight: 500;
  font-size: 22px;
  text-transform: uppercase;
  text-align: center;
}

#menupart3 {
  display: flex;
  align-items: center;
  gap: 10px;
}

#btn1 {
  background-color: white;
  padding: 7px 12px;
  border-radius: 50px;
  border: 1.5px solid black;
  font-size: 15.5px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.3s;
}

#btn1:hover {
  background-color: black;
  color: white;
}

#btn2 {
  color: white;
  background-color: orangered;
  border-radius: 50px;
  border: none;
  padding: 7px 12px;
  font-size: 15.5px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.3s;
}

#btn2:hover {
  background-color: black;
}

/* ---------- MAIN HEADING ---------- */
#main > h1 {
  font-size: 140px;
  font-weight: 400;
  text-transform: uppercase;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  line-height: 1;
}

/* ---------- IMAGES ---------- */
img {
  height: 350px;
  width: 300px;
  object-fit: cover;
  object-position: center;
  border-radius: 26px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: 0.4s ease;
}

#m1 { transform: translate(-50%, -50%) rotate(-30deg); }
#m2 { transform: translate(-50%, -50%) rotate(-20deg); }
#m3 { transform: translate(-50%, -50%) rotate(-10deg); }
#m4 { transform: translate(-50%, -50%) rotate(0deg); }

img:hover {
  transform: translate(-50%, -50%) scale(1.05);
  z-index: 10;
}

/* ---------- BOTTOM TEXTS ---------- */
#btm-left, #btm-right {
  position: absolute;
  bottom: 5%;
  font-size: 17px;
}

#btm-left { left: 3%; }
#btm-right { right: 3%; }

#socio {
  position: absolute;
  bottom: 8%;
  right: 9%;
  display: flex;
  gap: 10px;
  font-size: 20px;
}

#socio i {
  cursor: pointer;
  transition: 0.3s;
}

#socio i:hover {
  color: orangered;
}

/* ---------- RESPONSIVENESS ---------- */

/* Tablets */
@media (max-width: 1024px) {
  #main > h1 {
    font-size: 90px;
  }

  img {
    height: 280px;
    width: 230px;
  }

  #nav {
    padding: 0 25px;
  }
}

/* Mobile Devices */
@media (max-width: 768px) {
  #nav {
    height: 80px;
    padding: 0 20px;
  }

  #menupart1 h3, #menupart1 i {
    font-size: 14px;
    padding: 4px 8px;
  }

  #nav h1 {
    font-size: 18px;
  }

  #btn1, #btn2 {
    font-size: 13px;
    padding: 5px 10px;
  }

  #main > h1 {
    font-size: 55px;
    top: 48%;
  }

  img {
    height: 200px;
    width: 160px;
  }

  #btm-left, #btm-right {
    font-size: 14px;
  }

  #socio {
    bottom: 7%;
    right: 5%;
    font-size: 18px;
  }
}

/* Very Small Devices */
@media (max-width: 480px) {
  #main > h1 {
    font-size: 38px;
    width: 90%;
  }

  #nav {
    flex-direction: column;
    height: auto;
    padding: 15px;
    gap: 10px;
  }

  #menupart3 {
    gap: 6px;
  }

  img {
    height: 150px;
    width: 120px;
  }

  #btm-left, #btm-right {
    font-size: 12px;
  }

  #socio {
    right: 50%;
    transform: translateX(50%);
  }
}
