html {
  font-family: "Inter", sans-serif;

  max-width: 70ch;
  padding: 0 1em;
  margin: auto;
  line-height: 1.75;
  font-size: 1.25em;

  background: #1d1e39;
  color: #ffffff;

  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  height: inherit;
}

main {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;

  margin: 0;
  padding: 0;
  height: inherit;
}

main section.profile-picture {
  display: flex;
}

main section.profile {
  display: flex;
  flex-direction: column;
  padding: 8px;
}

main section ul.profile-communication {
  display: flex;
  justify-content: flex-start;

  margin: 0 0 0 -20px;
  padding: 1em;

  list-style-type: none;
  list-style-position: inside;
}

main section ul.profile-communication li {
  margin-right: 24px;
}

main section:last-child {
  margin-left: 16px;
}

img {
  display: inline-block;
  width: 250px;
  height: 350px;
  border-radius: 12px;
  object-fit: cover;
}

h1 {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.025em;

  margin: 0;
  padding: 0;
}

h2 {
  font-size: 20px;
  font-weight: 400;

  margin: 0;
  padding: 0;
}

p {
  font-size: 20px;
  font-weight: 400;
  opacity: 0.8;

  margin: 0;
  padding: 0;
}

b {
  color: #a2ffcd;
}

svg {
  color: white;
  transition: scale 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

svg:hover {
  color: #a2ffcd;
  transform: scale(1.25, 1.25);
}

.shadow {
  transition: box-shadow 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.shadow:hover {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.07),
    0 4px 8px rgba(0, 0, 0, 0.07), 0 8px 16px rgba(0, 0, 0, 0.07),
    0 16px 32px rgba(0, 0, 0, 0.07), 0 32px 64px rgba(0, 0, 0, 0.07);
}

.type {
  color: #0000;
  background: linear-gradient(#1d1e39 0 0) 0 50%/150% 95%,
    linear-gradient(#ffffff 0 0) 0 0 /100% 100%;
  -webkit-background-clip: padding-box, text;
  background-clip: padding-box, text;
  background-repeat: no-repeat;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  animation: t 1s forwards, b 1s 0.8s forwards;
}

@keyframes t {
  from {
    background-size: 0 95%, 0 100%;
  }
}
@keyframes b {
  100% {
    background-position: -200% 50%, 0 0;
  }
}

.underline {
  text-decoration: underline rgba(0, 0, 0, 0);
  transition: text-decoration-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.underline:hover {
  text-decoration-color: #a2ffcd;
}

@media (max-width: 640px) {
  main {
    flex-direction: column;
  }

  main section:last-child {
    margin-left: 0;
  }

  main section ul.profile-communication {
    justify-content: center;
    margin: 0 0 0 18px;
  }

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

  h1 {
    font-size: 38px;
    margin-top: 16px;
    text-align: center;
  }

  h2 {
    font-size: 18px;
    text-align: center;
  }

  p {
    font-size: 16px;
    text-align: center;
  }
}
