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

body {
  font-family: "Inter", sans-serif;
}

.container {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 64px auto 0 auto;
  padding: 64px;
}

.personal-info {
  display: flex;
  flex-direction: column;
  height: fit-content;
  position: sticky;
  top: 0;
}

.picture {
  height: 180px;
  width: 180px;
  background-image: url("./images/favicon.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 90px;
}

.name {
  margin-top: 32px;
  font-size: 44px;
  font-weight: bold;
}

.title {
  margin-top: 16px;
  font-size: 20px;
  line-height: 1.75rem;
}

.social {
  display: flex;
  flex-direction: column;
}

.social-links {
  display: flex;
  gap: 16px;
}

.card {
  width: 175px;
  height: 175px;
  padding: 24px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 24px;
  opacity: 1;
  background-color: #fff;
  color: #666;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 400ms ease, transform 400ms ease;
}

.project-card {
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  margin-top: 12px;
}

.project-card-title {
  font-size: 20px;
  font-weight: 500;
  margin-left: 8px;
}

.email-card {
  width: 100%;
  padding: 24px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  opacity: 1;
  background-color: #fff;
  color: #666;
  font-size: 14px;
  margin-top: 16px;
}

.card:hover {
  background-color: #e9f4fa;
}

.card:active {
  transform: scale(0.95);
}

.social-link {
  display: inline-block;
  margin-top: 14px;
  font-weight: 300;
  text-decoration: none;
}

@media screen and (width < 900px) {
  .container {
    flex-direction: column;
    align-items: center;
  }

  .personal-info {
    width: 100%;
    align-items: center;
    position: static;
  }

  .social {
    margin-top: 32px;
  }
}

@media screen and (width < 600px) {
  .container {
    padding: 32px;
  }

  .social-links {
    flex-direction: column;
  }

  .social {
    width: 100%;
  }

  .card {
    width: 100%;
    height: 150px;
  }

  svg {
    display: block;
  }
}

.divider {
  margin-top: 32px;
}
