/*OVERALL
------------------------------*/
html {
    box-sizing: border-box;
    font-size: 62.5%;
}

body {
    width: 100%;
    height: 100%;
    background: hsl(0, 0%, 8%);
    margin: 0;
    font-family: "Inter", serif;
    font-weight: 400;
}

/*CARD
------------------------------*/
.wrapper {
    display: grid;
    height: 100vh;
    place-items: center;
}

.card {
    max-width: 320px;
    padding: clamp(25px, 5vw, 40px);
    margin: clamp(25px, 5vw, 40px);
    background-color: hsl(0, 0%, 12%);
    border-radius: 10px;
    display: grid;
    place-items: center;
}

.card img {
    width: 86px;
    height: 86px;
    border-radius: 43px;
}

/*Text
------------------------------*/
.card h1 {
    color: white;
    font-weight: 600;
    font-size: 2.4rem;
    margin: 25px 0 10px 0;
    text-align: center;
}

.card h2 {
    color: hsl(75, 94%, 57%);
    font-weight: 600;
    font-size: 1.4rem;
    margin: 0;
    text-align: center;
}

.card p {
    color: white;
    font-weight: 400;
    font-size: 1.4rem;
    max-width: 100%;
    margin: 28px clamp(5px, 2.3vw, 28px);
    text-align: center;
}

/*Button
------------------------------*/

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.social {
    display: grid;
    width: 100%;
    grid-template-rows: repeat(5, 1fr);
    row-gap: 16px;
    place-items: center;
}

.social li {
    width: 100%;
}

.social a {
    display: block;
    text-align: center;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    padding: 14px;
    background-color: hsl(0, 0%, 20%);
    border-radius: 8px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/*Effect
------------------------------*/
.social a:hover,  .social a:focus , .social a:focus-visible {
    background-color: hsl(75, 94%, 57%);
    color: hsl(0, 0%, 8%);
    border-radius: 8px;
}

/*FOOTER
------------------------------*/
.attribution {
    color: white;
    font-weight: 200;
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
}

.attribution a {
    text-decoration: none;
    color:hsl(75, 94%, 57%);
    font-weight: 600;
}
