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

:root {
    --green: hsl(75, 94%, 57%);
    --white: hsl(0, 0%, 100%);

    --grey-700: hsl(0, 0%, 20%);
    --grey-800: hsl(0, 0%, 12%);
    --grey-900: hsl(0, 0%, 8%);



}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter";
    line-height: 150%;
    font-weight: 400;
    color: var(--white)
}

body {
    background-color: var(--grey-900);
    min-height: 100vh;
    display: flex;  
    justify-content: center;
    align-items: center;
        
}

.card {
    background-color: var(--grey-800);
    width: 23.75rem;
    padding: 1.5rem;
    border-radius: 0.75rem;
}

.button-group{
    padding: .75rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;    
}

.button-group a {
    width: 100%;
    text-decoration: none;
    text-align: center;
    background-color: var(--grey-700); 
    font-size: .825rem;
    font-weight: 600;
    cursor: pointer; /* Pointer/hand icon */
    padding: .825rem .25rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0;
    display: block;
}

.button-group a:hover {
    background-color: var(--green);
    color: var(--grey-800);
}

.profile {
    display: flex;
    flex-direction: column;
    align-items: center; 
    text-align: center;
    padding: .825rem 1.25rem;
    gap: 1.75rem;   
}


.profile h1 {
    font-size: 1.5rem;
    font-weight: 700;
    padding-bottom: 4px;
}

.profile h2{
    color: var(--green);
    font-size: .825rem;
    font-weight: 600;
}

.profile p {
    font-size: .825rem;
    color: gainsboro;
    font-weight: 400;
}

.profile img {
    border-radius: 50%;
    max-width: 5.625rem;
    max-height: 5.625rem;
}

footer{
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 18px 0;
    color: gray;
    text-align: center;
}

footer a{
    color: gray;
    text-decoration: underline;
}

footer a:hover{
    color: var(--green);
}

@media(max-width: 400px) {
    .card {
        width: 20.25rem;
        padding: 0.5rem;
    }
    footer {
        font-size: .75rem;
        }
}

