body * {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    outline: none;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    margin: 0;
    background: #fff;
    font-size: 62.5%;
    margin: 0 5%;
}

header {
    position: relative;
    z-index: 1;
}

.header-container {
    position: absolute;
    width: 90%;
    z-index: 2;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    padding-top: 40px;
    padding-right: 20px;
}

.nav-container {
    position: fixed;
    width: 90%;
    height: 100vh;
    background-color: white;
    transition: all 0.25s ease-out;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-20px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20% 0;
}

.nav-container.open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0)
}

header a {
    font-size: 3em;
    font-weight: 700;
    margin-bottom: 40px;
    border-bottom: transparent solid 3px;
}

header a:hover {
    border-bottom: rgb(255, 58, 58) solid 3px;
}

.icon {
    position: absolute;
}

.exit {
    z-index: 1;
}

.hamburger, .exit {
    position: fixed;
    top: 30px;
    right: 5%;
    visibility: visible;
    cursor: pointer;
    padding: 10px;
    background-color: #fff;
    border: solid 3px #000;
    height: 50px;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hide {
    visibility: hidden;
}

.active {
    font-weight: 500;
    border-bottom: none;
}

.active:hover {
    border-bottom: none;
    color: #000;
}

.introduction-container {
    height: 100vh;
    min-height: 568px;
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.introduction {
    max-width: 900px;
}

h1 {
    font-size: 2.5em;
    font-weight: 500;
    margin-bottom: 30px;
}

a {
    text-decoration: none;
    color: #000;
    border-bottom: #000 2px solid;
    transition: 0.2s ease-in-out;
    cursor: pointer;
    font-weight: 500;
}

a:hover {
    border-bottom: rgb(255, 58, 58) 2px solid;
    color: rgb(255, 58, 58);
}

.interaction {
    position: absolute;
    background-color: transparent;
    border-radius: 50%;
    transition: ease-in-out 0.2s;
    left: 0;
    top: 18%;
    opacity: 0;
    font-size: .8em;
}

.interaction-obj:hover ~ .interaction {
    opacity: .5;
}

.interaction:hover {
    opacity: 1;
}

.email {
    font-size: 2em;
}

.arrow-container {
    position: absolute;
    bottom: 30px;
    left: 49.5%;
}

.arrow {
    font-size: 3em;
    font-weight: 500;
    -webkit-transform: scaleY(-1);
    transform: scaleY(-1);
}

.work {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.card {
    max-width: 400px;
    height: auto;
    background-color: #fff;
    box-shadow: 0 1px 6px 0 rgba(32, 33, 36, 0.28);
    overflow: hidden;
    margin: 10px 0;
    transition: 0.2s ease-in-out;
}

.card:hover {
    box-shadow: 0 1px 12px 0 rgba(32, 33, 36, 0.28);
}

.card-img {
    height: 300px;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: auto;
}

.card-text {
    margin: 30px 30px;
}

.card h2 {
    font-weight: 500;
}

h2 {
    font-size: 2.5em;
    font-weight: 500;
    margin-bottom: 20px;
}

.inspirations-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.inspirations {
    margin: 100px 0 0;
    max-width: 600px;
}

.contact {
    margin: 100px 0 200px;
    max-width: 600px;
}

.card-a {
    font-size: 2em;
    font-weight: 500;
}

/* ocd */

.spacer {
    height: 60px;
}

.story-introduction {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-image {
    width: 80%;
    height: auto;
    max-width: 400px;
    margin-top: 30px;
}

.main-image.gif {
    margin-bottom: 30px;
    max-height: 600px;
    width: auto;
}

.button-section {
    margin-bottom: 60px;
}

.cards {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.end-cards {
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

h3 {
    font-size: 1.5em;
    text-transform: uppercase;
}

.story-section h2{
    font-weight: 700;
}

p {
    font-size: 1.8em;
    padding-bottom: 20px;
}

li {
    font-size: 1.8em;
    list-style: none;
    padding-bottom: 5px;
}

.story-section {
    margin-top: 40px;
}

ol {
    list-style-type: upper-roman;
    counter-reset: my-awesome-counter;
}

ol li {
    counter-increment: my-awesome-counter;
    margin-bottom: 10px;
}

ol li::before {
    content: counter(my-awesome-counter) ". ";
}

.table-image {
    max-width: 1021px;
}

.image-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 10px 0 30px;
}

.image-section img {
    width: 100%;
}

.wires {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    max-width: 120%;
}

.small img {
    max-height: 275px;
    max-width: 120%;
    object-fit: contain;
}

.large img {
    max-height: 600px;
}

.overflow {
    width: auto;
    max-height: 700px;
    object-fit: contain;
}

.space {
    color: #fff;
}

h4 {
    font-size: 2.2em;
    margin-bottom: 8px;
    margin-top: 16px;
}

h5 {
    font-size: 1.8em;
    margin-bottom: 8px;
    margin-top: 8px;
}

.table-card {
    padding: 30px;
    box-shadow: 0 1px 10px 0 rgba(32, 33, 36, 0.28);
    font-size: .8em;
    margin-top: 30px;
    margin-bottom: 30px;
}

.screenshot {
    box-shadow: 0 1px 10px 0 rgba(32, 33, 36, 0.28);
    max-width: 300px;
    margin-top: 20px;
    margin-right: 10px;
    margin-left: 10px;
}

.new {
    box-shadow: 0 1px 12px 0 rgba(32, 33, 36, 0.28);
    transform: scale(1.05);
    margin-top: 30px;
}

.cards-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 50px 0;
}

.grid-card {
    flex-grow: 0;
    max-width: 400px;
    height: auto;
    background-color: #fff;
    box-shadow: 0 1px 6px 0 rgba(32, 33, 36, 0.28);
    overflow: hidden;
    margin: 10px 5%;
}

.grid-card-img {
    height: 300px;
    overflow: hidden;
}

.grid-card-img img {
    width: 100%;
    height: auto;
}

.buttons {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    background-color: #fff;
    border: black solid 3px;
    padding: 10px 20px;
    transition: 0.1s ease-in-out;
    cursor: pointer;
    text-shadow: none;
    font-size: 1.4em;
}

.buttons:hover {
    backface-visibility: hidden;
    background-color: #000;
    color: #fff;
    border: #000 solid 3px;
}

.large-two-columns .card {
    max-width: none;
}

.top-image {
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media screen and (min-width: 1024px) {
    .header-container {
        height: 100vh;
        background-color: #fff;
        flex-direction: column;
        justify-content: center;
        transform: translateY(-100vh);
    }

    .nav-container {
        visibility: visible;
        opacity: 1;
        background: transparent;
        flex-direction: row;
        position: fixed;
        height: auto;
        padding: 0;
        justify-content: flex-end;
        right: 5%;
    }

    .hamburger, .exit {
        display: none;
    }

    header a {
        margin-top: 50px;
        margin-left: 40px;
        font-size: 2.2em;
    }

    h1 {
        font-size: 3.2em;
    }

    .email {
        font-size: 2.2em;
    }

    .work {
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
    }

    .cards {
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
    }

    .card {
        margin: 0 10px;
    }

    .story-section {
        margin: 80px 0 40px;
    }

    .button-section {
        margin: 0 0 100px;
    }

    .wires {
        flex-direction: row;
        margin: 0 -5%;
    }

    .large-two-columns {
        display: grid;
        grid-template-columns: 48% 48%;
        gap: 4%;        
    }

    .large-two-columns .left{
        text-align: right;
        padding-right: 80px;
    }

    .large-two-columns .right {
        grid-column: 2;
    }

    .large-two-columns .button-section {
        margin-bottom: 0;
    }

    .large-two-columns .card {
        max-width: 900px;
        margin: 0;
    }

    .grid-card {
        margin: 20px;
    }
    
}