* {
    font-family: 'inter';
}

@font-face {
    font-family: 'inter';
    src: url(./fonts/static/Inter-Regular.ttf);
}

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

.centerBox {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px;
    max-width: 310px;
}


.socialBox {
    width: 100%;
    background-color: hsl(0, 0%, 12%);
    display: flex;
    flex-direction: column;
    align-items: center;
    border: none;
    border-radius: 10px;
    color: hsl(0, 0%, 100%);
    padding: 24px;
}

#avatar {
    width: 80px;
    border-radius: 40px;
    margin-bottom: 0;
}

h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

h4 {
    color: hsl(75, 94%, 57%);
    margin-top:  0;
    font-size: 14px;
    font-weight: 600;
}

p {
    font-size: 14px;
    color: hsl(0, 0%, 100%);
    padding: 4px;
    font-weight: 400;
    margin-top: 4px;
    margin-bottom:  8px;
    text-align: center;
}

button {
    padding: 12px;
    border-radius: 10px;
    border: none;
    background-color: hsl(0, 0%, 20%);
    color: hsl(0, 0%, 100%);
    font-weight: 800;
    width: 100%;
    margin: 8px;
}

button:hover {
    background-color: hsl(75, 94%, 57%);
    color: #111111;
}

button:focus {
    outline: none;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5),
                0 0 10px 5px rgba(255, 255, 255, 0.5);
}

.attribution {
    color: hsl(0, 0%, 100%);
    margin: 8px;
    padding: 12px;
    text-align: center;
    font-size: 14px;
}

a {
    color: hsl(75, 94%, 57%);
}

.cursebreakers {
    color: aquamarine;
}

a:hover {
    color: azure;
}

::selection {
    background-color: hsl(75, 94%, 57%); 
    color: #111111;
}

::-moz-selection {
    background-color: hsl(75, 94%, 57%);
    color: #111111;
}


@media screen and (max-width: 400px) {
    .centerBox {
        max-width: 250px;
    }

    p {
        font-size: 13px;
    }

}
