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

:root {
  font-size: 62.5%;
}

html {
  height: 100vh;
}

body {
  background: url("./assets/background.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  height: 100%;
  font-family: "Sora", sans-serif;
}

.container {
  display: flex;
  flex-direction: column;
  justify-content: center;

  max-width: 54rem;
  margin: auto;

  padding: 2rem;
  color: #fff;
  height: 100%;
}

.profile-picture {
  border-radius: 25%;
  width: 13rem;
  height: 15rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);

  outline: 2px solid #41a377;
}

.username {
  font-weight: 400;
  font-size: 1.7em;
  margin: 1.6rem 0;
}

.description {
  font-size: 1.2em;
  color: #9fa0a1;
}

.list-item,
.contact {
  background: linear-gradient(to right, #5579ba, #41a377);
}

.list-item {
  font-size: 1.2em;

  height: 4em;
  border-radius: 2em;

  display: flex;
}

.list-item img {
  width: 32px;
  height: 32px;
}

a {
  color: #f5f5f5;
  text-decoration: none;
}

img {
  opacity: 0.9;
}

.list {
  list-style: none;
  display: flex;
  flex-direction: column;
  margin: 2em 0;
  gap: 1.5em;
}

.link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-grow: 1;
  padding: 0 4.5rem;
}

footer {
  display: flex;
  gap: 1.5em;
}

.contact {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1em;
  border-radius: 50%;
}

.contact > img {
  width: 1.8em;
}

@media screen and (min-width: 815px) {
  html {
    font-size: 1.6rem;
  }
}
