:root {
  /* Primary */
  --soft-blue: #8bacda;
  --cyan: #00fff7;
  /* Neutral */
  --bg-main: #0d192b;
  --bg-card: #14253d;
  --line: #2f415b;
  --white: #ffffff;
}

/* HTML Elements */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-main);
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  padding: 40px 20px;
}

img {
  max-width: 100%;
}

/* Container Section */
.container {
  background-color: var(--bg-card);
  border-radius: 2.5%;
  padding: 25px;
}

.container img {
  border-radius: 2.5%;
}

/* Text Section*/
.text {
  padding-top: 7px;
}

.text p {
  font-size: 16px;
  font-weight: 300;
  opacity: 0.5;
  padding: 10px 0;
}

.text a {
  color: var(--white);
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
}

.text a:hover {
  color: var(--soft-blue);
  text-decoration: underline;
  cursor: pointer;
}

/* List Section */
.eth li {
  list-style-type: none;
}

.eth ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--line);
}

.eth ul li:first-of-type {
  color: var(--cyan);
}

.eth ul li:last-of-type {
  color: var(--white);
  opacity: 0.5;
}

.eth ul li img {
  height: 60%;
  padding-right: 4px;
}

/* Creator Section */
.avatar {
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-top: 15px;
}

.avatar img {
  width: 50px;
  border: 2px solid var(--white);
  border-radius: 100%;
}

.avatar p {
  opacity: 0.5;
  padding-left: 25px;
}

.avatar a {
  color: var(--white);
  padding-left: 5px;
  text-decoration: none;
}

.avatar a:hover {
  color: var(--soft-blue);
  text-decoration: underline;
  cursor: pointer;
}

/* footer */
.attribution {
  font-size: 12px;
  margin: 10px auto;
  text-align: center;
}

.attribution a {
  color: hsl(228, 45%, 44%);
}

/* media query */
@media screen and (min-width: 376px) {
  .container {
    max-width: 334px;
    max-height: 556px;
    margin-left: auto;
    margin-right: auto;
  }
}
