@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

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

body {
  font-family: "Inter", sans-serif;
  background: hsl(0, 0%, 8%);
  font-size: 14px;
}

main {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.card {
    background: hsl(0, 0%, 12%);
    width: 80%;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 5%;
    padding: 1em 2em 1.5em;
    text-align: center;
}

.card img {
    width: 50%;
    margin: 1em auto;
}

.card .info {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

.card h1 {
    font-size: 1.5em;
    color: hsl(0, 0%, 100%);
}

.card .location {
    color: hsl(75, 94%, 57%);
    font-weight: bold;
    font-size: 0.9em;
}

.card .profession {
    color: hsl(0, 0%, 100%);
    font-size: 0.8em;
    font-weight: 200;
    padding: 1.5em 0 1.5em;

}

.card .social {
    display: flex;
    flex-direction: column;
    gap: 0.8em;
}

.card .social a {
    text-decoration: none;
    color:hsl(0, 0%, 100%);
    background-color: hsl(0, 0%, 20%);
    padding: 1em;
    font-size: 0.9em;
    font-weight: 700;
    border-radius: 0.5em;
    transition: background-color .3s ease-in-out, color .3s ease-in-out;
}

.card .social a:hover {
    background-color: hsl(75, 94%, 57%);
    color: hsl(0, 0%, 20%);
}