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

html,body{ /*very important*/
    height: 100%;
    padding: 0;
    margin: 0;
}
body{
    height: 100vh;
    background-color: hsl(0, 0%, 8%);
    font-size: 14px;
    color: hsl(0, 0%, 100%);
    position: relative;
}
main{
    height: 100%;
    display: grid;
}

.container{
    width: 340px;
    justify-self: center ;
    align-self: center;
    background-color: hsl(0, 0%, 12%);
    padding-top: 30px;
    padding-bottom: 30px;
    border-radius: 15px;
}

.avatar{
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 50%;
    width: 100px;
}

h1, h3, p{
    text-align: center;
    font-family: Inter;
}

h1{
    font-weight: 700;
}

h3{
    font-weight: 600;
    margin-top: -10px;
    color: hsl(75, 94%, 57%);
}

p{
    font-weight: 400;
    margin-bottom: 25px;
}


button{
    display: block;
    width: 81%;
    background-color: hsl(0, 0%, 20%);
    color: hsl(0, 0%, 100%);
    margin-top: 15px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    border: none;
    font-weight: 600;
}

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

.container a{
    text-decoration: none;
}

/* Atributions */

footer{
    width: 100%;
}

.attribution {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translate(-50%, 0px);
    font-size: 11px;
    text-align: center;
    align-self: baseline;
}
.attribution a {
    color: hsl(228, 45%, 44%);
}

.attribution a:hover {
    color: hsl(75, 94%, 57%)
}
