/* @font-face {
    font-family: "Inter";
    src: url(assets/fonts/Inter-VariableFont_slntwght.ttf)
} */

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

* {
    font-family: "Inter", serif;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    
}

body {
    background: hsl(0, 0%, 8%);
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}


.card{
    display: flex;
    flex-direction: column;
    align-items: center;
    background: hsl(0, 0%, 12%);
    width: 400px;
    height: 615px;
    border-radius: 15px;
    transition: all ease 0.3s; 
}

.top{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 20%;
    margin: 15px 0 20px 0;
}

.top img{
    border-radius: 50%; 
    width: 90px;
    height: auto;
}

.mid {
    display: flex;
    width: 100%;
    height: 20%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.user-name{
    color: hsl(0, 0%, 100%);
    font-size: 1.5rem;
    font-weight: 600;
}

.user-location{
    color: hsl(75, 94%, 57%);
    font-size: 0.8rem;
    font-weight: 400;
    margin: 10px;
}

.user-desc{
    color: hsl(0, 0%, 100%);
    font-size: 0.8em;
    font-weight: 400;
    margin: 25px 0 0 0;
}

.down {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 60%;
}

button {
    text-decoration: none;
    height: 45px;
    width: 300px;
    margin: 8px;
    background: hsl(0, 0%, 20%);
    color: hsl(0, 0%, 100%);
    border-radius: 8px;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all ease 0.3s;
}

button:hover{
    background: hsl(75, 94%, 57%);
    color: hsl(0, 0%, 12%);
    cursor: pointer;
}

button:active{
    background: hsl(75, 69%, 38%);
    color: hsl(0, 0%, 12%);
}

@media screen and (max-width: 375px) {
    .card{
        width: 330px;
        height: 600px;
        border-radius: 10px;
        -webkit-border-radius: 10px;
        -moz-border-radius: 10px;
        -ms-border-radius: 10px;
        -o-border-radius: 10px;
}

    button {
        width: 280px;
    }
    
}