@font-face {
    font-family: 'Inter';
    src: url(assets/fonts/static/Inter-Regular.ttf) format('truetype');
    font-weight: normal;
}

@font-face {
    font-family: 'Inter';
    src: url(assets/fonts/static/Inter-SemiBold.ttf) format('truetype');
    font-weight: 600;
}

@font-face {
    font-family: 'Inter';
    src: url(assets/fonts/static/Inter-Bold.ttf) format('truetype');
    font-weight: 700;
}

*, *::before, *::after {
    font-family: 'Inter';
    box-sizing: border-box;
}

html {
    background-color: hsl(0, 0%, 8%);
    font-size: 14px;
    overflow: hidden;
}

main {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    background-color: hsl(0, 0%, 12%);
    max-width: 30rem;
    min-width: 30rem;
    border-radius: 3%;
    padding-bottom: 18px;
    padding-top: 18px;
}

img {
    max-width: 90px;
    max-height: 90px;
    display: block;
    margin: 20px auto;
    border-radius: 50%;
}

h1 {
    font-size: 1.7em;
    margin-bottom: 10px;
}

h1, p {
    text-align: center;
}

.card-name, .card-occupation, .button {
    color: hsl(0, 0%, 100%);
}

.card-location {
    color: #1591FE;
    font-weight: bold;
    margin-top: 0;
}

.card-occupation {
    padding: 12px 0;
}

.button {
    background-color: hsl(0, 0%, 20%);
    font-weight: bold;
    display: block;
    margin: auto;
    max-width: 80%;
    text-align: center;
    text-decoration: none;
    padding: 15px 0;
    border-radius: 5px;
}

.button:hover {
    background-color: #1591FE;
    color: hsl(0, 0%, 20%);
}

.button:focus {
    background-color: #1591FE;
    color: hsl(0, 0%, 20%);
}