body {
  margin: 0 auto;
  font-family: "Segoe UI", sans-serif;
  background-color: #111014;
  color: #fff;
  max-width: 1180px;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
}

header h1 {
  font-weight: bold;
}

.social-icons {
  display: flex;
}
.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  border-radius: 50px;
  background-color: #fafafa;
  height: 28px;
  width: 28px;
  margin-left: 1rem;
}

.social-icons a:hover {
  background-color: #ddd;
}
.social-icons img {
  width: 24px;
}

.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 2rem;
}

.hero-text {
  width: 65%;
}

.hero-text h2 {
  font-size: 3rem;
  margin: 0;
}

.hero-text p {
  margin-top: 1rem;
  line-height: 1.5;
  font-size: 1.1rem;
}

.hero-image {
  align-items: center;
  justify-content: flex-end;
  display: flex;
  width: 35%;
}
.hero-image img {
  border-radius: 100%;
  height: 300px;
  max-width: 100%;
}

.intro {
  display: flex;
  align-items: center;
  flex-direction: column;
  font-size: 1rem;
  padding: 2rem;
  padding: 2rem;
  text-align: left;
}

.intro .quarter-line {
  margin-top: 2rem;
  margin-bottom: 3rem;
}

.projects {
  align-items: center;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  padding-top: 0;
}

.project h2 {
  text-align: center;
}
.project {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  padding-top: 0;
  text-align: left;
  width: 40%;
  margin-bottom: 2rem;
}
.project iframe {
  width: 400px;
  height: 600px;
}

.project > img {
  max-width: 100%;
  margin: 1rem 0;
  border-radius: 10px;
}

.buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
  font-size: 1rem;
}

.buttons a {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #fafafa;
  color: #fafafa;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  text-decoration: none;
  font-weight: bold;
  font-family: "Helvetica", sans-serif;
}

.buttons a:hover {
  background-color: #333;
}

.buttons a img {
  width: 24px;
  margin-right: 0.5rem;
}

footer {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  margin-top: 2rem;
}
footer a {
  font-size: 1.2rem;
  font-family: "Helvetica", sans-serif;
}

footer a:hover {
  background-color: #ddd;
}

.half-line,
.quarter-line {
  display: block;
  height: 1px;
  background-color: #fafafa;
}
.half-line {
  width: 50vw;
}
.quarter-line {
  width: 25vw;
}

.linkedin-button {
  background-color: #fafafa;
  color: black;
  padding: 0.5rem 1rem;
  border-radius: 40px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: bold;
}
.linkedin-button img {
  margin-right: 4px;
}

a {
  transition: all 100ms;
}

@media (max-width: 950px) {
  .hero {
    padding-top: 0;
    padding-bottom: 0;
    flex-direction: column-reverse;
  }
  .hero-text,
  .hero-image {
    width: 100%;
  }
  .hero-text h2 {
    font-size: 2.2rem;
    margin-top: 2rem;
  }
  .hero-image {
    justify-content: center;
  }
  .project {
    width: 100%;
  }
  .project iframe {
    width: 100%;
  }
  .intro {
    padding-top: 0;
    padding-bottom: 0;
  }

  .intro .quarter-line {
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
  .half-line {
    width: 50vw;
  }
  footer {
    padding-top: 0;
    margin-top: 0;
  }
}
