@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;700&display=swap");

:root {
  --white: hsl(0, 0%, 100%);
  --light-gray: hsl(212, 45%, 89%);
  --grayish-blue: hsl(220, 15%, 55%);
  --dark-blue: hsl(218, 44%, 22%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-size: 15px;
  font-family: "Outfit", sans-serif;
  background-color: var(--light-gray);
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 340px;
  margin: auto auto;
}

.card {
  background-color: var(--white);
  padding: 15px;
  margin: 10px;
  border-radius: 18px;
}

.card img {
  width: 100%;
  border-radius: 16px;
}

.text {
  text-align: center;
  padding: 0 10px;
}

.text h2 {
  color: var(--dark-blue);
}

.text p {
  color: var(--grayish-blue);
}

.footer {
  height: 50px;
  color: var(--dark-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  gap: 8px;
  margin-top: auto;
}

.fa-github {
  color: var(--dark-blue);
  font-size: 24px;
  transition: transform 0.3s ease-in-out;
}

.fa-github:hover {
  transform: rotate(360deg) scale(1.2);
}
