@font-face {
    font-family: "Inter";
    src: url("/assets/fonts/Inter-VariableFont_slnt\,wght.ttf") format("truetype");
}

* {
    margin: 0;
    padding: 0;
}

:root {
    --green: hsl(75, 94%, 57%);
    --grey700: hsl(0, 0%, 20%);
    --grey800: hsl(0, 0%, 12%);
    --grey900: hsl(0, 0%, 8%);
}

body {
    font-family: "Inter";
    background-color: var(--grey900);
}

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

.container {
    background-color: var(--grey800);
    height: 31.25rem;
    width: 21.875rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    border-radius: 20px;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/* profile section */

.profile {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile img {
    border-radius: 50%;
    width: 5rem;
    margin-bottom: 1rem;
}

.profile h1 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: .5rem;
}

.profile h2 {
    color: var(--green);
    font-size: .7rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.profile p {
    color: white;
    font-size: .8rem;
    font-weight: 200;
}

/* button section */

.links {
    display: flex;
    height: 50%;
    flex-direction: column;
    justify-content: space-around;
    width: 75%
}

button {
    background-color: var(--grey700);
    border: none;
    width: 100%;
    height: 2.5rem;
    border-radius: 5px;
    color: white;
    font-weight: 700;
    font-size: .8rem;
}

button:hover,
button:focus {
    background-color: var(--green);
    color: var(--grey900);
    cursor: pointer;
}

/* attribution section */

.attribution { 
    font-size: 0.6rem; 
    text-align: center; 
    color: white;
}

.attribution a { 
    color: hsl(228, 100%, 82%); 
}


@media only screen and (max-width: 375px) {
    html {
        font-size: 14px;
    }
}