@font-face {
    font-family: "Old Standard TT";
    src: url("../fonts/Old_Standard_TT/OldStandardTT-Regular.ttf");
}

@font-face {
    font-family: "Karla";
    src: url("../fonts/Karla/Karla-Regular.ttf");
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Karla", serif;
    font-size: 16px;
    overflow-x: hidden;
    width: 100vw;
}

input[type=checkbox] {
    display: none;
}

input[type=checkbox]:checked ~ #menu {
    max-height: calc(5rem * 3);
    height: auto;
    transition: all 1s cubic-bezier(.5, 1, .22, 1);
}

p,
.mobileMenu {
    color: gray;
}

a,
a:active,
a:hover {
    color: gray;
    text-decoration: none;
    font-size: 1.2em;
}

a.decoration {
    display: flex;
    align-items: center;
    justify-content: center;
}

label {
    margin-bottom: 0 !important;
    font-size: 1.2em;
}

#menu {
    max-height: 0;
    overflow: hidden;
    transition: all 1s cubic-bezier(.325, 1, .22, 1);
}

#menu a {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 2.5rem;
}

span {
    background: #fff;
    margin: 0 5px;
}

#menu a.active {
    font-weight: bold;
}

.menuContainer {
    margin-bottom: 3em;
}

.illustration {
    height: 100%;
    width: auto;
}

.illustration-container {
    height: calc(100vh - 220px)
}

.overlay {
    opacity: 1;
    transition: 0.3s;
}

.overlay:hover {
    opacity: 0.75;
}

.fade-in {
    animation: fadeIn ease 1s;
    -webkit-animation: fadeIn ease 1s;
    -moz-animation: fadeIn ease 1s;
    -o-animation: fadeIn ease 1s;
}

.grid:after {
    content: '';
    display: block;
    clear: both;
}

.grid-sizer,
.grid-item {
    width: 100%;
}

.gutter-sizer {
    width: 0;
}

.grid-item img {
    padding-bottom: 10px;
    width: 100%;
}

.grid-item a {
    pointer-events: none;
}

.logo {
    width: 70%;
    height: auto;
}

.logo-top {
    display: none;
}

.logo-bottom {
    display: block;
    padding-bottom: 3em;
}

.cta {
    padding-top: 2em;
}

@media (min-width: 768px) {
    p, label {
        font-size: 1.5em;
        line-height: 1.5em;
    }

    span {
        font-size: 1.5em;
        line-height: 2.5rem;
    }

    label {
        margin-bottom: 1em !important;
    }

    .logo-bottom {
        display: block;
        padding-bottom: 4em;
    }

    .row {
        padding: 0 2em;
    }
}

@media (min-width: 1365px) and (orientation: landscape) {
    p, label, span {
        font-size: 1em;
    }

    .gutter-sizer {
        width: 10px;
    }

    /* 3 columns for medium screens */
    .grid-sizer,
    .grid-item {
        width: calc(33% - 15px);
    }

    .grid-item a {
        pointer-events: visible;
    }

    .logo-top {
        display: block;
    }

    .logo-bottom {
        display: none;
    }

    #menu {
        max-height: 12rem;
    }

    .menuContainer {
        padding: 2rem;
    }

    .mobileMenu {
        display: none;
    }

    .cta {
        display: none;
    }

    .logo {
        width: 100%;
        height: auto;
        padding-top: 3.5rem;
    }

    .bio {
        display: block;
        padding-top: 2rem;
    }

    .about {
        display: none;
    }

    .description {
        display: none;
    }
}

@media (min-width: 1600px) {
    /* 4 columns for large screens */
    .grid-sizer,
    .grid-item {
        width: calc(25% - 13px);
    }

    .illustration-container {
        height: calc(100vh - 120px - 24px)
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@-moz-keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@-o-keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@-ms-keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}