@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

:root {
  --blue: #bad8da;
  --blue2: #324856;
  --blue3: #d5e0e0;
  --gray: #535554;
  --orange: #c68d71;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  height: 100vh;
  background-color: var(--blue);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;

  font-family: "Inter", sans-serif;
  -webkit-font-smoothing: antialiased; /* Fontes mais suaves e limpas. Chrome, Safari */
  -moz-osx-font-smoothing: grayscale; /* Firefox no Mac */
}

main {
  width: clamp(18rem, 80vw, 20rem);
  padding: 1.875rem;
  background-color: var(--blue2);
  border-radius: 0.938rem;
  box-shadow: 0 0 2rem rgba(0, 0, 0, 0.267);

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.973);
}

.image {
  height: auto;
  width: clamp(7rem, 5vw, 7rem);
  border-radius: 50%;
}

main h1 {
  text-align: center;
}

.infos {
  line-height: 1.9rem;
}

.infos p {
  color: var(--orange);
  font-size: 0.9rem;
  font-weight: 600;
}

.paragraph {
  font-size: 0.85rem;
}

.social {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.social a {
  padding: 0.6rem;
  width: 100%;
  border-radius: 0.4rem;
  border: none;
  background-color: var(--blue3);

  font-family: "Inter", sans-serif;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue2);
  transition: 0.3s;
}

.social a:hover {
  background-color: var(--orange);
  color: #fff;
}

.social a:focus-visible {
  /* Muda a cor da linha de foco ao navegar com teclado*/
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.attribution {
  font-size: 0.65rem;
  text-align: center;
  color: var(--gray);
}

.attribution a {
  color: var(--blue2);
}

@media (prefers-reduced-motion: reduce) {
  .social a {
    transition: none; /*Remove animação para acessibilidade*/
  }
}
