@font-face {
    font-family: 'icon-worksregular';
    src: url('icon-works-webfont.eot');
    src: url('icon-works-webfont.eot?#iefix') format('embedded-opentype'),
        url('icon-works-webfont.woff') format('woff'),
        url('icon-works-webfont.ttf') format('truetype'),
        url('icon-works-webfont.svg#icon-worksregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: 'Kanit', sans-serif;
    font-weight: 300;
    scroll-behavior: smooth;
}

section {
    font-size: 1.44em;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    background-size: cover;
}

.title-section img {
    max-width: 160px;
    width: 100%;
}

.title-section h1 {
    font-size: 5em;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.title-section h2 {
    margin: 0 0 3em 0;
}

h2 {
    font-weight: lighter;
}

.title-section h1 span {
    padding: 0 .2em;
}

.scroller {
    position: absolute;
    bottom: 16px;
    font-size: 4em;
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s;
}

.scroller:hover {
    opacity: .5;
}

img {
    max-width: 96px;
    width: 100%;
}

.about-section p {
    max-width: 1024;
    padding: 0 32px;
    text-align: center;
}

#contact-link {
    font-family: courier;
}

a {
    opacity: .5;
    color: inherit;
    text-decoration: none;
}

/* Backgrounds and colors */

.title-section {
    color: #111;
    background-color: white;
    background-image: url('nyc.jpg');
}

footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: #111;
    color: #444;
    display: flex;
    border-top: 4px #444 solid;
    justify-content: center;
    flex-wrap: wrap;
}

footer section {
    display: inline-block;
    width: inherit;
    flex-grow: 1;
    padding: 16px;
    min-height: inherit;
    font-size: .9em;
    max-width: 512px;
    min-width: 256px;
}

footer section h1 {
    margin: 0;
    font-size: 1em;
    color: #555;
}

footer section p {
    font-size: 1em;
    padding: 0;
    margin: 0;
}

footer section:nth-child(2) {
    text-align: right;
}

@media (max-width: 1023px) {
    section {
        min-height: 0;
        padding: 128px 0;
        flex-grow: 1;
    }

    .scroller {
        display: none;
    }

    body {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
    }

    .about-section p {
        max-width: 100%;
        text-align: left;
        padding: 0 32px;
    }

    section img {
        display: none;
    }

    .title-section img {
        display: inherit;
    }
}