@font-face {
    font-family: 'DM Serif';
    font-style: normal;
    font-weight: 400;
    src: local(''),
    url('../fonts/dm-serif/dm-serif-display-v9-latin-ext_latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ url('../fonts/dm-serif/dm-serif-display-v9-latin-ext_latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

@font-face {
    font-family: 'Satoshi';
    font-style: normal;
    font-weight: 400;
    src: local(''),
    url('../fonts/satoshi/Satoshi-Regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ url('../fonts/satoshi/Satoshi-Regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

html {
    padding: 20px;
}

body {
    font-size: 14px;
    line-height: 20px;
    font-family: 'Satoshi', sans-serif;
    font-weight: 400;
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
    color: #26312D;
}

h1 {
    font-family: 'DM Serif', serif;
    font-weight: 400;
    font-size: 25px;
    line-height: 30px;
    margin: 20px 0;
}


.page-logo {
    padding: 20px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #E8EDEB;
}

a {
    color: #26312D;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    display: inline-flex;
}

a::after {
    position: absolute;
    right: 0;
    bottom: 0;
    content: '';
    width: 100%;
    height: 1px;
    background-color: #009640;
}

a:hover::after {
    animation: fade-out-in-line 300ms;
    animation-fill-mode: forwards;
}


@keyframes fade-out-in-line {
    40% {
        transform: translate3d(99%, 0%, 0);
    }

    60% {
        transform: translate3d(-100%, 0%, 0);
        opacity: 0;
    }

    100% {
        transform: translate3d(0%, 0%, 0);
    }
}


@media (min-width: 768px) {
    html {
        padding: 24px;
    }

    body {
        font-size: 16px;
        line-height: 24px;
    }

    h1 {
        font-size: 28px;
        line-height: 36px;
        margin: 24px 0;
    }
}
