body {
    margin: 0;
    background-color: #F0F0F0;
    position: relative;
    font-family: 'Playfair Display', serif;
}

h1 {
    font-size: 63px;
    margin: .5em 0;
    font-weight: bold;
}

h1 a {
    text-decoration: none;
}

h2 {
    font-size: 50px;
    font-weight: normal;
    margin: 0 0 1em 0;
}

h3 {
    font-size: 32px;
    margin: .25em 0;
}

h4 {
    font-size: 25px;
    margin: .25em 0;
}

p {
    font-size: 24px;
}

a { 
   color: #1a1a1a;
}

.link {
    width:20px;
    margin: 0 10px;
}

.container {
    border-left: 1em solid #000;
    min-height: 100vh;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: calc(100% - 1em);
}

aside {
    min-width: 15vw;
    margin: 1em 0;
    max-height: 100vh;
    min-height: 100vh;
    display: table;
}

main {
    display: block;
    margin: 10vh 11vw 10vh 0;
    width: 100%;
    background: #fff;
    border: .4em solid #000;
    padding: 5%;
  }

nav {
    display: table-cell;
    vertical-align: middle;
}

nav a {
    display: block;
    font-size: 2em;
    text-decoration: none;
    text-align: center;
    padding: .5em;
    color: #000;
    font-weight: bold;
}

nav a.active {
    background-color: black;
    border-top: .1em solid #000;
    border-bottom: .1em solid #000;
    color: white;
}

footer {
    position: absolute;
    bottom: 0;
    left: 50%;
    -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
            transform: translateX(-50%);
    display: table;
    height: 10vh;
  }

footer a {
    text-decoration: none;
    color: #000;
    display: table-cell;
    opacity: 50%;
    font-size: 20px;
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition: .3s all ease;
    vertical-align: middle;
    height: 100%;
    padding: 0 5px;
  }

footer a img {
    vertical-align: middle;
}

footer a:hover {
    opacity: 100%;
}

/* home page */

#home .content {
    max-width: 60%;
}

.main-image {
    border: .3em solid #000;
    position: absolute;
    right: 4%;
    top: 50%;
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
    width: 35vw;
}

/* press and work pages */

#work .content {
    display: flex;
}

#work .headings {
    max-width: fit-content;
}

#work h1 {
    font-size: 42px;
    font-weight: normal;
    border-right: 1px solid black;
    margin: 0;
  }

#work h2 {
    font-size: 62px;
    font-weight: bold;
    border-right: 1px solid black;
    margin: 0;
    padding: .25em 0 .75em 0;
}

.work-cover {
    width: 100%;
}

#accordian-content {
    padding-left: 3em;
}

#accordian-content section {
    display: none;
}

#accordian-content section.active {
    display: block;
}

#accordian-titles h3 {
    padding-right: 3em;
    font-size: 24px;
    font-weight: normal;
    cursor: pointer;
    padding-bottom: 1em;
    transition: .3s all ease;
    padding-top: 1em;
    margin: 0;
    border-right: 1px solid black;
}

#accordian-titles h3.active {
    border-bottom: 1px solid black;
    border-top: 1px solid black;
    border-right: none;
}

#empty {
    border-right: 1px solid black;
    height: 50px;
 }

.main-image-mobile {
    width: 60vw;
    margin: auto;
    border: .3em solid #000;
    display: none;
}

#menu__toggle {
    opacity: 0;
    position: absolute;
}
#menu__toggle:checked + .menu__btn > span {
    transform: rotate(45deg);
}
#menu__toggle:checked + .menu__btn > span::before {
    top: 0;
    transform: rotate(0deg);
}
#menu__toggle:checked + .menu__btn > span::after {
    top: 0;
    transform: rotate(90deg);
}
#menu__toggle:checked ~ aside {
    left: 0 !important;
}
.menu__btn {
    position: fixed;
    top: 15px;
    left: 20px;
    width: 26px;
    height: 26px;
    cursor: pointer;
    z-index: 15;
    opacity: 0;
}
.menu__btn > span,
.menu__btn > span::before,
.menu__btn > span::after {
    display: block;
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #000;
    transition-duration: .25s;
}
.menu__btn > span::before {
    content: '';
    top: -8px;
}
.menu__btn > span::after {
    content: '';
    top: 8px;
}

/* responsiveness */

@media screen and (max-width: 1150px) {
    h1, #work h1 {
        font-size: 50px;
        margin: .3em 0;
        padding: 0;
    }

    h2, #work h2 {
        font-size: 40px;
        margin: 0 0 1em 0;
        padding: 0;
    }

    h3 {
        font-size: 28px;
    }
}

@media screen and (max-width: 850px) {
    .menu__btn {
        opacity: 1;
    }
    #home .content {
        max-width: 100%;
    }
    aside {
        position: fixed;
        width: 250px;
        background: #f0f0f0;
        margin: 0;
        left: -500px;
        transition: .3s all ease;
        border-left: 1em solid black;
        z-index: 10;
        box-shadow: 2px 1px 3px rgba(0, 0, 0, .1);
        min-height: 100vh;
      }
    h1, h2, p, h3, h4 {
        text-align: center;
    }
    #empty {
        border: none !important;
        height: 0;
    }
    .main-image-mobile {
        display: block;
    }
    .main-image {
        display: none;
    }
    main {
        margin: 2em 2em 5em 2em;
        padding: 2%;
    }
    #work .headings {
        max-width: none;
    }
    #accordian-titles h3 {
        font-size: 17px;
        transition: .3s all ease;
        padding: .3em 0;
        margin: auto;
        text-align: center;
        width: max-content;
        border-right: none;
    }
    #accordian-titles h3.active {
        border-bottom:none;
        border-top: none;
        border-right: none;
        border-bottom: 1px solid black;
    }
    #work .content {
        display: block;
    }
    #accordian-content {
        padding-left: 0;
      }
    #work h2 {
        margin: 0 0 .1em 0;
        padding: 0;
        border: none;
    }
    #work h1 {
        border: none;
    }
}