/* inter fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');



/* Varibales */
:root{
    /* colors */
    
--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%);

}

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: "Inter", sans-serif;
}

body{
    background-color: var(--Grey-900);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.card{
    margin: 3rem 0;
    width: 350px;
    background-color: var(--Grey-800);
    padding: 1.5rem 1rem 1rem 1em;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 0.35rem;
}
.avatar img{
    width: 64px;
    border-radius: 50%;
}
.card .card-info h1{
    margin: 1.5rem 0 0.2rem 0;
    color: var(--White);
}
.card .card-info span{
    color: var(--Green);
    display: block;
    margin-bottom: 1.5rem;
}
.card .card-info p{
    color: var(--White);
    margin-bottom: 0.5rem;
    font-size: 12px;
}
.card .btn-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.btn{
    width: 100%;
    margin: 0.5rem 0;
    padding: 1rem 0;
    color: var(--White);
    font-weight: 700;
    background-color: var(--Grey-700);
    border-radius: 0.35rem;
    border: none;
    transition: 0.3s ease-in-out;
    cursor: pointer;
}
.btn:hover{
    background-color: var(--Green);
    color: var(--Grey-900);
}
.attribution{
    color: var(--White);
    text-decoration: none;
}
.attribution a{
    text-decoration: none;
    color: var(--Green);
}



@media (max-width: 450px){
    .card{
        width: 300px;
    }
    .card .card-info h1{
        font-size: 20px;
    }
    .card .card-info span{
        font-size: 12px;
    }
    .card .card-info p{
        font-size: 10px;
    }
    .attribution{
        display: flex;
        align-items: center;
        font-size: 10px;
    }
    body{
        min-height: 100vh;
    }
}