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

:root {
  --dark-cyan: hsl(185, 75%, 39%);
  --very-dark-desaturated-blue: hsl(229, 23%, 23%);
  --dark-grayish-blue: hsl(227, 10%, 46%);
  --dark-gray: hsl(0, 0%, 59%);
  font-size: 62.5%;
}

body {
  font-size: 1.6rem;
  height: 100vh;
  background: rgb(25, 162, 174);
  background: linear-gradient(
    45deg,
    rgba(25, 162, 174, 1) 0%,
    rgba(23, 211, 227, 1) 50%,
    rgba(25, 162, 174, 1) 100%
  );
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}

body * {
  font-family: "Kumbh Sans", sans-serif;
}

.card {
  background: white url(images/bg-pattern-card.svg) no-repeat top center/contain;
  width: 100%;
  max-width: 450px;
  border-radius: 16px;
  text-align: center;
  padding: 2rem 0;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.15);
}

.profile-image {
  text-align: center;
  margin: 8rem auto 1rem;
}

.profile-image img {
  width: 35%;
  max-width: 200px;
  border-radius: 50%;
  border: 4px solid white;
}

.info h1 {
  font-size: 1.8rem;
  color: var(--very-dark-desaturated-blue);
  font-weight: bold;
}

.info h1 span {
  color: var(--dark-gray);
}

.info p {
  color: var(--dark-gray);
  font-size: 1.4rem;
  margin-top: 1rem;
}

.line {
  width: 100%;
  height: 1px;
  background-color: hsla(0, 0%, 59%, 0.407);
  margin: 2rem 0;
}

.profile-infos {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.profile-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-items: center;
  gap: 0.5rem;
}

.profile-info h2 {
  color: var(--very-dark-desaturated-blue);
  font-size: 1.8rem;
}

.profile-info span {
  color: var(--dark-gray);
  font-size: 1.2rem;
}

.attribution {
  font-size: 1.1rem;
  text-align: center;
  color: white;
}

.attribution a {
  color: white;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.2s;
}

.attribution a:hover {
  color: var(--dark-grayish-blue);
}

@media (min-width: 500px) {
  :root {
    font-size: 80%;
  }
}

@media (min-width: 800px) {
  :root {
    font-size: 90%;
  }
}
