@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;600&display=swap");

:root {
  --gray: #262625;
  --yellow: #f2cb05;
  --medium-yellow: #f2b705;
  --dark-yellow: #f29f05;
  --body-bg-color: var(--gray);
  --light: #f2f2f2;
}

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

htm {
  font-size: 93.8%;
}

body {
  display: flex;
  flex-direction: column;

  align-content: center;
  justify-items: auto;

  font: 300 1rem "Poppins", sans-serif;
  background: var(--body-bg-color);
  color: var(--yellow);
}

header,
section,
main,
footer {
  max-width: 60rem;
  margin: 0 auto;
}

header,
main {
  width: 25rem;
}

header {
  margin-top: 4.375rem;
  margin-bottom: 2.25rem;
}

.avatar {
  width: 13.5rem;
  height: 13.5rem;
  margin-bottom: 15px;
  
  border: 3px solid var(--yellow);
  border-radius: 50%;
  
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.avatar img {
  width: 12.5rem;
  height: 12.5rem;
  
  border-radius: 50%;
  background: #f2f2f2;
}

.profile p {
  font-weight: 600;
  text-align: center;
}

.profile p:first-child {
  text-transform: uppercase;
}

#description {
  /* margin-top: 10px; */
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--dark-yellow);
}

main {
  height: 12.5rem;
  margin-bottom: 2rem;

  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  flex: 1;

  align-content: center;
}

.button {
  width: 20.375rem;
  margin-bottom: 1rem;

  border: 2px solid var(--medium-yellow);
  border-radius: .25rem;
  background: var(--medium-yellow);

  padding: 0.875rem;

  font-weight: 600;
  color: var(--gray);
  text-align: center;
  text-transform: uppercase;

  cursor: pointer;

  transition: ease-in-out 1s;
}

.disable {
  opacity: 50%;
}

a {
  font-weight: 600;
  text-decoration-line: none;
  text-transform: uppercase;
  color: var(--dark-yellow);

  cursor: pointer;
}

a:hover,
.button:hover {
  background: var(--gray);
  color: var(--light);
  transition: 500ms;
}

.socialMedia {
  display: flex;
  flex-wrap: nowrap;
}

.socialMedia img {
  width: 1.5rem;
  height: 1.5rem;
}

.socialMedia i {
  font-size: 1.5rem;
  font-weight: 300;
}

.socialMedia a {
  width: 2rem;
  height: 2rem;
  padding: 2rem;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
}

/* .socialMedia a + a {
  margin-left: 2rem;
} */

.socialMedia a:hover {
  background: #f29f05;
  color: var(--light);
}

/* --- MOBILE --- */
@media (max-width: 720px) {
  html {
    font-size: 87.5%;
  }
}

@media (max-width: 399px) {
  html {
    text-size-adjust: auto;
  }
}