/* GENERAL */


*,
*:before,
*:after {
    box-sizing: border-box;
}

html {
    height: 100%;
    background-color: rgb(250, 250, 249);
    font-family: sans-serif;
    line-height: 1.15;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    width: 100%;
    margin: 0;
    font-family: 'Gotham Pro', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
    color: #777;
}

img {
    display: block;
    border-style: none;
    outline: none;
    background-color: inherit;
}


/* FONTS */


@font-face {
    font-family: 'Gotham Pro';
    src: url('../fonts/GothamPro.woff2') format('woff2'),
         url('../fonts/GothamPro.woff') format('woff');
    font-weight: normal;
    font-style: normal
}


/* TEXT */


a {
    color: inherit;
    text-decoration: none;
    outline: none;
    border: 0;
    background-color: transparent;
    -webkit-text-decoration-skip: objects;
}

a:active,
a:hover {
    outline-width: 0;
}

a:hover,
.selected,
strong,
h1 {
    color: #444;
}

.logo svg {
    fill: #666;
}

strong {
    font-weight: normal;
}

p,
h1,
h2,
h3,
table tr td {
    padding: 0;
    margin-top: 0;
    margin-bottom: 1.25rem;
    line-height: 1.65rem;
}

body {
    font-size: 0.75rem;
}

p:last-child {
    margin-bottom: 0;
}

h1 {
    font-size: 0.8125rem;
    font-weight: normal;
    line-height: 2;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 0;
}

.no-break {
    word-break: keep-all;
}

.toggle {
    display: none;
}

label {
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

sup {
    top: -0.5em;
    vertical-align: baseline;
    font-size: 65%;
    line-height: 0;
    position: relative;
}


/* TRANSITIONS */


a,
button {
    -webkit-transition: color 250ms;
    -moz-transition: color 250ms;
    -o-transition: color 250ms;
    -ms-transition: color 250ms;
    transition: color 250ms;
}


/* CONTENT */


.container {
    position: absolute;
    width: 100%;
    height: 100%;
}

.content {
    width: 100%;
    padding-top: 64px;
}

.home .content {
    height: 100%;
    padding: 0;
}


/* MENU */


.logo {
    position: absolute;
    display: inline-block;
    top: 0;
    left: 0;
    width: 100%;
    height: 64px;
    padding: 23px 0 0 18px;
    background-color: rgb(250, 250, 249);
    z-index: 50;
}

.logo .arrow {
    display: none;
}

.menu {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    z-index: 25;
}

.main-menu {
    height: 100%;
    padding-top: 64px;
    background-color: rgb(250, 250, 249);
    overflow: auto;
    opacity: 0;
    transition: opacity 250ms ease;
    pointer-events: none;
}

.menu ul li a {
    display: block;
    line-height: 48px;
    text-align: center;
    padding: 0 18px;
}

.top > a,
.top label a {
    font-size: 0.8125rem;
    color: #444;
}

.sub-menu {
    margin-bottom: 18px;
}

.main-menu .sub-menu {
    margin-top: 18px;
}

.menu-btn {
    position: absolute;
    top: 0;
    right: 0;
    line-height: 64px;
    padding: 0 18px;
    text-transform: uppercase;
    z-index: 50;
}


/* CONTENT */


.background {
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.home .background,
.untitled-i-miss-you .image {
    background-position: bottom center;
}

.content img {
    width: 100%;
    height: auto;
}

.description {
    padding: 18px;
}


/* TEXT */


.contact .content,
.error .content {
    width: 100%;
    height: 100%;
    overflow: auto;
}

.contact .outside,
.error .outside {
    width: 100%;
    height: 100%;
    margin: 0 auto;
}

.outside {
    max-width: 725px;
}

.text {
    display: table;
    width: 100%;
    height: 100%;
    padding: 0 18px;
}

.text .table {
    display: table-cell;
    vertical-align: middle;
    text-align: left;
}

.text .table div {
    width: 100%;
    display: inline-block;
}

.about .content,
.contact .content,
.contact .text .table div,
.error .text .table div {
    text-align: center;
}

.about table {
    width: 100%;
    margin-bottom: 18px;
    padding: 0;
    border-collapse: collapse;
}

.about table tr,
.about table tr td {
    margin: 0;
    padding: 0;
    vertical-align: top;
}

.about table tr td:first-child {
    width: 10%;
    min-width: 80px;
}


/* MOBILE */


@media screen and (max-width: 767px) and (orientation: portrait) {

    .home .background {
        background-size: 168%;
        background-color: rgb(244, 243, 239);
    }

}


/* DESKTOP */


@media screen and (max-width: 1023px) {

    .logo svg {
        fill: #999;
    }

    .logo .stewart {
        margin-left: 5px;
    }

    .menu {
        display: table;
    }

    .menu .description {
        display: none;
    }

    .menu ul.sub-menu li a,
    .menu ul li.top a {
        line-height: 38px;
    }

    .main-menu {
        height: auto;
        display: table-cell;
        vertical-align: middle;
        padding-bottom: 22px;
    }

    .menu-toggle:checked + .logo + label + .menu .main-menu {
        opacity: 1.0;
        pointer-events: auto;
    }

    .menu-toggle:checked + .logo + label + .menu + .container {
        overflow: hidden;
    }

    .menu-btn {
        position: absolute;
        top: 0;
        right: 0;
        margin: 0;
        padding: 0;
        width: 64px;
        height: 64px;
        font-size: 0;
        text-indent: -625rem;
        background-color: rgb(250, 250, 249);
        overflow: hidden;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        box-shadow: none;
        border-radius: none;
        border: none;
        cursor: pointer;
        z-index: 250;
    }

    .menu-btn:focus {
        outline: none;
    }

    .menu-btn span {
        top: 50%;
        left: 21px;
        right: 21px;
        height: 1px;
    }

    .menu-btn span::before,
    .menu-btn span::after {
        content: '';
        left: 0;
        width: 100%;
        height: 1px;
    }

    .menu-btn span,
    .menu-btn span::before,
    .menu-btn span::after {
        position: absolute;
        display: block;
        background: #AAA;
    }

    .menu-btn span::before {
        top: -7px;
    }

    .menu-btn span::after {
        bottom: -7px;
    }

    .menu-btn span {
        -webkit-transition: background 0 100ms;
        transition: background 0 100ms;
    }

    .menu-btn span::before,
    .menu-btn span::after {
        -webkit-transition-duration: 200ms, 200ms;
        transition-duration: 200ms, 200ms;
        -webkit-transition-delay: 200ms, 0;
        transition-delay: 200ms, 0;
    }

    .menu-btn span::before {
        -webkit-transition-property: all, -webkit-transform;
        transition-property: all, transform;
    }

    .menu-btn span::after {
        -webkit-transition-property: all, -webkit-transform;
        transition-property: all, transform;
    }

    .menu-toggle:checked + .logo + .menu-btn span {
        background: none;
    }

    .menu-toggle:checked + .logo + .menu-btn span::before {
        top: 0;
        -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform: rotate(45deg);
    }

    .menu-toggle:checked + .logo + .menu-btn span::after {
        bottom: 0;
        -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }

    .menu-toggle:checked + .logo + .menu-btn span::before,
    .menu-toggle:checked + .logo + .menu-btn span::after {
        -webkit-transition-delay: 0, 200ms;
        transition-delay: 0, 200ms;
    }

}


/* DESKTOP */


@media screen and (min-width: 1024px) {

    p,
    h1,
    h2,
    h3,
    table tr td {
        padding: 0;
        margin-top: 0;
        margin-bottom: 1.2rem;
        line-height: 1.5rem;
    }

    .container {
        position: absolute;
    }

    .content {
        position: absolute;
        width: 100%;
        height: 100%;
        transition: transform 350ms;
        padding: 0;
        z-index: 20;
    }

    .logo {
        top: 12px;
        left: 24px;
        width: auto;
        height: auto;
        line-height: inherit;
        padding: 0;
    }

    .samuel,
    .stewart,
    .arrow {
        position: absolute;
    }

    .samuel {
        top: 12px;
    }

    .stewart {
        top: 42px;
    }

    .menu-btn {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        cursor: pointer;
        z-index: 50;
    }

    .menu-btn span {
        display: none;
    }

    .menu {
        width: 400px;
        background-color: rgb(250, 250, 249);
        z-index: 10;
    }

    .menu .description {
        padding: 98px 24px 0;
    }

    .main-menu {
        height: auto;
        padding-top: 20px;
    }

    .menu ul {
        opacity: 1;
        pointer-events: auto;
    }

    .menu ul li a {
        display: inline-block;
        text-align: left;
        padding: 0 24px;
        line-height: 30px;
    }

    .menu-toggle:checked + .logo + label,
    .menu-toggle:checked + .logo + label + .menu + .container .content {
        transform: translateX(400px);
    }

    .menu ul li.top > a,
    .menu ul li.top label a {
        font-size: 0.75rem;
    }

    .text {
        padding: 100px 24px 0;
    }

    .content {
        background-color: rgb(250, 250, 249);
    }

    .image {
        position: absolute;
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
    }

    .image img,
    .content .description {
        display: none;
    }

    .about .menu .description {
        display: none;
    }

    .about .menu {
        padding-top: 80px;
    }

}
