@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@700&display=swap'); 

:root {
  --color-green: #50fa7b;
  --color-rocket: #7159c1;
  --color-red: #ec0909;
}

* {
  margin: 0;
  padding: 0;
  border: 0;
}

body {
  background: #282a36;
  font-family: 'Source Sans Pro', sans-serif;
  color: white;
}

header {
  padding: 16px;
  border-bottom: 1px solid #333;
  background-color: rgba(0, 0, 0, 0.1);
}

.links  {
  text-align:  center;
}

.links a {
  color: white;
  font-size: 22px;
  line-height: 28px;
  margin: 0 16px;
  text-decoration: none;
}
.links a:hover  {
  color: var(--color-red) ;
  transition: color 200ms;
}

#wrapper {
  text-align: center;
  padding: 32px;
}

#wrapper img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 1px solid var(--color-red);
  margin-bottom: 12px;
}

#wrapper h1 {
  font-size: 42px;
  line-height: 42px;
  font-weight: bold;
}

#wrapper h2 {
  font-size: 24px;
  line-height: 34px;
  font-weight: normal;
  margin-top: 8px;
  opacity: 0.8;
}

#wrapper p {
  max-width: 500px;
  margin: 0 auto;
  font-size: 24px;
  line-height: 34px;
}

#wrapper p a {
  color: var(--color-red);
}

#links-footer a{
  border-bottom: 1px solid var(--color-red);
}

/*=== CARDS ===*/
.cards {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

.card {
  background-color:var(--color-rocket);
}

.card__image-container img {
  width: 100%;
}

.card__content,
.card__info {
  padding: 10px;
  font-size: 12px;
}

.card__info {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr ;
}

.card__price {
  background-color: var(--color-rocket);
  filter: brightness(90%);
  padding: 5px 20px;
  border-radius: 20px;
  text-align: center;
}

