@import url('https://fonts.googleapis.com/css2?family=Mozilla+Headline:wght@200..700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

body {
  background-color: black;
}

img {
  width: 100px;
  height: 100px;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 2rem auto;
  max-width: 1200px;
  padding: 0 0.3rem;
  flex-wrap: wrap;
}

.navigation ul {
  display: flex;
  list-style-type: none;
  gap: 2rem;
  flex-wrap: wrap;
}

.navigation a {
  text-decoration: none;
  color: #eee;
}

.navigation a:hover {
  color: burlywood;
}

hr {
  opacity: 25%;
}

section h1,
section a,
p {
  color: #eee;
}

.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 5rem auto;
  max-width: 1200px;
  flex-wrap: wrap;
  padding: 0 1rem;
  gap: 2rem;
}

#img2 {
  width: 600px;
  height: auto;
  max-width: 100%;
}

#img1 {
  width: 110px;
  height: 250px;
  position: relative;
  top: -10px;
}

.arrow {
  position: absolute;
  transform: translateX(-5.5rem) translateY(1.5rem);
}

.herocod {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.name {
  font-size: 3rem;
  color: #eee;
}

.title {
  font-size: 4rem;
  color: darkgray;
}

.heroBtns {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  font-size: 2rem;
  flex-wrap: wrap;
}

.hireMe {
  background-color: beige;
  color: black;
  border-radius: 24px;
  text-decoration: none;
  padding: 0.5rem 1rem;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0);
}

.aboutMe {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 5rem auto;
  max-width: 1200px;
  gap: 4rem;
  flex-wrap: wrap;
  padding: 0 1rem;
}

.textContainer {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.textTitle {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 2rem;
}

.aboutName {
  color: #eee;
}

.aboutTitle {
  color: darkgray;
}

.aboutMePar {
  text-align: justify;
  color: rgba(238, 238, 238, 0.75);
}

.aboutMeImg {
  height: auto;
  width: 300px;
  max-width: 100%;
}

#img3 {
  height: auto;
  width: 300px;
  max-width: 100%;
}

.contactContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  margin: 2rem auto;
  max-width: 1200px;
  padding: 0 1rem;
}

.contactTitle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 2rem;
}

.contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.contact h3,
.contact a {
  color: #eee;
  text-decoration: none;
}

.email {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.socialMedia {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.socialMedia a {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  background-color: rgba(57, 62, 70, 0.5);
  backdrop-filter: blur(4px);
  padding: 1rem;
}

.socialMedia img {
  width: 24px;
  height: 24px;
}

footer {
  color: #eee;
  padding: 2rem;
  text-align: center;
}

/* Tablet Screens */
@media (max-width: 1023px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 0 1rem;
  }

  .hero {
    flex-direction: column;
    align-items: center;
  }

  .name,
  .title {
    font-size: 2.5rem;
  }

  .arrow {
    display: none;
  }

  .aboutMe {
    flex-direction: column-reverse;
    align-items: center;
  }

  .textContainer {
    align-items: center;
    text-align: center;
  }

  .contact {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .contactContainer {
    padding: 0 1rem;
  }
}

/* Mobile Screens */
@media (max-width: 768px) {
  .name {
    font-size: 2rem;
  }

  .title {
    font-size: 2.5rem;
  }

  .heroBtns {
    font-size: 1.2rem;
    flex-direction: column;
    align-items: center;
  }

  .textTitle {
    font-size: 1.5rem;
  }

  .aboutMePar {
    padding: 0 1rem;
    text-align: center;
  }

  .socialMedia {
    gap: 0.5rem;
  }

  .socialMedia a {
    padding: 0.5rem;
  }

  .socialMedia img {
    width: 20px;
    height: 20px;
  }

  .contactTitle {
    font-size: 1.5rem;
    flex-direction: column;
    gap: 0;
  }

  .aboutMeImg,
  #img3 {
    width: 250px;
  }
}
