@font-face {
    font-family: FS Ingrid;
    src: url('fonts/FSIngridWeb-Regular.woff') format('woff');
    font-style: normal;
    font-weight: 400;
}

@font-face {
    font-family: FS Ingrid;
    src: url('fonts/FSIngridWeb-Bold.woff') format('woff');
    font-style: normal;
    font-weight: 700;
}

html {
    font-size: 16px;
}

body {
    align-items: center;
    background-color: #f0f0f0;
    display: flex;
    font-family: FS Ingrid, sans-serif;
    font-size: 1rem;
    flex-direction: column;
    letter-spacing: .2px;
    line-height: 1.3333;
    min-height: 100vh;
}

main {
    background-color: white;
    margin: 3rem;
    max-width: 710px;
    padding: 3rem 3rem 1.75rem;
    text-align: center;
}

p {
    margin-top: 0;
    margin-bottom: 1.25em;
}

img {
    margin-bottom: 2.5rem;
    width: 160px;
}

.link {
    color: #e51937;
    font-size: 1.25rem;
    font-weight: bold;
}

footer {
    background-color: #1c5381;
    color: white;
    font-size: 0.8rem;
    padding-bottom: 0.5em;
    padding-top: 1.5em;
    margin-top: auto;
    text-align: center;
    width: 100%;
}

footer p {
    margin-bottom: 1em;
}

footer span {
    display: block;
}

footer a {
    color: inherit;
}

@media (min-width: 768px) {
    html {
        font-size: 20px;
    }

    img {
        width: 200px;
    }

    footer span {
        display: inline-block;
    }

    footer span:nth-child(2) {
        margin-left: 0.75rem;
        padding-left: 0.75rem;
        position: relative;
    }

    footer span:nth-child(2)::before {
        background-color: white;
        content: '';
        height: 20px;
        left: 0;
        position: absolute;
        width: 2px;
    }
}

@media (min-width: 1200px) {
    main {
        margin: 6rem;
    }
}
