html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  font-family: "Google Sans Code", sans-serif;
  color: #302E2B;
}

* {
  box-sizing: border-box;
}

body {
  overflow: hidden;
}

.page {
  width: 100%;
  height: 100svh;
  background: #FBF7EB;

  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  min-height: 0;

  display: flex;
  justify-content: center;
  gap: 8rem;

  overflow-y: auto;
  overflow-x: hidden;
}

.wrapper {
  width: 700px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 6rem;
}

.message-wrapper {
  margin: 0;
  display: flex;
  flex-direction: column;
  padding-top: 2rem;
  padding-bottom: 6rem;
  gap: 2rem;
}


.message {
  margin: 0;
  font-size: 0.9rem;
}

.avatar {
  width: 100px;
  height: 100px;
  border-radius: 0.8rem;
}

.avatar-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: end;
}

.socials {
  display: flex;
  gap: 0.5rem;
}

.highlight {
  font-style: italic;
  font-weight: 500;
  color: #CE5739;
}

.social-wrapper {
  width: 36px;
  height: 36px;

  border: 1px solid #D9D6CD;
  border-radius: 0.35rem;
  padding: 0.45rem;

  transition: all 100ms ease-in-out;
}

.social-wrapper:hover {
  border: 1px solid #C0BDB4;
  cursor: pointer;
}

.social {
  width: 100%;
  height: 100%;
}

footer {
  flex-shrink: 0;

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

  width: 100%;
  height: 4rem;
  padding: 1.5rem;

  border-top: 1px solid #E6E4DF;
}

.back-button {
  background: transparent;
  border: none;

  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;

  color: inherit;
  text-decoration: none;
}

.back-button:hover {
  cursor: pointer;
  color: rgb(48 46 43 / 0.8);
}



@media (max-width: 700px) {
  main {
    padding: 0 1.25rem;
    justify-content: flex-start;
  }

  .wrapper {
    width: 100%;
    max-width: 700px;
    margin-top: 3rem;
  }

  .message-wrapper {
    padding-top: 1rem;
    padding-bottom: 4rem;
    gap: 1.5rem;
  }

  .socials {
    max-width: 50%;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .avatar-wrapper {
    align-items: flex-end;
  }

  footer {
    height: 3.5rem;
    padding: 1rem 1.25rem;
  }

  .back-button {
    font-size: 1rem;
  }
}