body {
    min-height: 105vh;
    font-family: Proxima-Nova;
    background-color: white;
}

video {
    width: 100%;
}

img {
    width: 100%;
}

button {
    display: block;
    margin: 0;
    margin-top: 20px;
    background-color: rgba(0,0,0,.9);
    color: white;
    outline: none;
    border: none;
    cursor: pointer;
    padding: 15px 20px;
    text-transform: uppercase;
    font-family:inherit;
    letter-spacing: .5px;
    transition: all 0.3s;
}

button span {
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: 0.5s;
  }
  
  button span:after {
    content: '\00bb';
    position: absolute;
    opacity: 0;
    top: 0;
    right: -20px;
    transition: 0.5s;
  }

  button:hover {
      background-color: rgba(0,0,0,.5);
  }
  
  button:hover span {
    padding-right: 25px;
  }
  
  button:hover span:after {
    opacity: 1;
    right: 0;
  }

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    margin-bottom: 10px;
}

h2 {
    font-size: 1.25em;
}

h3 {
    font-size: 1.1em;
    font-weight: 300;
}

h4 {
    font-size: 1.5em;
}

h5 {
    font-size: 1.1em;
}

p {
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

.scrollToTopBtn {
    position: fixed;
    height: 40px;
    width: 40px;
    bottom: 25px; 
    right: 25px;
    z-index: 999;
    display: none;
    outline: none;
    border: none;
    mix-blend-mode: difference;
    cursor: pointer;
}

@media screen and (min-width: 800px) {
    .scrollToTopBtn {
        height: 50px;
        width: 50px;
        bottom: 50px; 
        right: 50px;
    }   
}

header {
    overflow: hidden;
    position: relative;
}

header .video-wrapper {
    height: 0;
    position: relative;
    padding-bottom:26.05%;
    overflow: hidden;
    background-image: url("../img/afterflash_banner_test.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

header .video-wrapper iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
}

main {
    padding: 30px 15px 60px 15px;
}

@media screen and (min-width: 1000px) {
    main {
        width: 900px;
        margin: 0 auto;
    }
}

nav {
    display: flex;
    flex-direction: column;
    margin: 0px 0px 35px;
    padding: 75px 0px 25px 0px;
    position: fixed;
    top: 0;
    left: -100%;
    z-index: 998;
    background-color: #F8F8F8;
    width: 100%;
    transition: all .3s ease-in-out;
}

.navItem {
    position: relative;
    top: -100%;
    font-size: .9em;
    font-weight: 600;
    text-transform: uppercase;
    transition: all .25s;
    padding: 15px 25px 15px 25px;
}

nav a:hover {
    opacity: .5;
}

#mobile-menu {
    position: fixed;
    top: 35px;
    left: 25px;
    z-index: 999;
    color: white;
    mix-blend-mode: difference;
}

@media screen and (min-width: 800px) {
    nav {
        position: relative;
        top: auto;
        left: auto;
        background-color: transparent;
        flex-direction: row;
        justify-content: space-between;
        margin: 0px 0px 35px 0px;
        padding: 0;
        background-color: none;
    }

    .navItem {
        padding: 0;
    }

    #mobile-menu {
        display: none;
    }
}

.button-group {
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: right;
    font-size: .9em;
    margin-top: 40px;
}

.button-group button {
    background: none;
    border: none;
    outline: none;
    color: rgba(0,0,0,.5);
    font: inherit;
    padding: 0;
    cursor: pointer;
    margin-left: 5%;
}

.button-group button:active {
    color: rgba(0,0,0,1);
}

.button-group button:focus {
    color: rgba(0,0,0,1);
}

@media screen and (min-width: 800px) {
    .button-group {
        flex-direction: row;
    }
}

.grid {
    margin-top: 20px;
    position: relative;
    transition: all .4s;
}

.element-item {
    position: relative;
    height: 200px;
    width: 100%;
    display: flex;
    color: white;
    overflow: hidden;
    margin-bottom: 10px;
}

.element-item img {
    position: absolute;
    width: 100%;
    height: 200px;
    object-fit: cover;
    z-index: -1;
    transition: all .4s;
}

.element-item:hover img {
    transform: scale(1.5);
}

.item-wrap {
    height: auto;
    width: 100%;
    z-index: 0;
    background-color: rgba(0,0,0,.7);
    transition: all .4s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.item-wrap h2, .item-wrap h3, .item-wrap p {
    opacity: 1;
    transition: all .3s ease .2s;
    width: 90%;
}

.element-item:hover h2, .element-item:hover h3, .element-item:hover p {
    opacity: 1;
}

@media screen and (min-width: 800px) {
    .element-item {
        width: 33%;
        margin-bottom: 0;
    }
}

@media screen and (min-width: 1000px) {
    .element-item {
        width: 25%;
    }

    .item-wrap {
        position: absolute;
        top: -150%;
        margin: 0;
        height: 100%;
    }

    .element-item:hover .item-wrap {
        top: 0;
    }

    .item-wrap h2, .item-wrap h3, .item-wrap p {
        opacity: 0;
    }
}

#more {
    background-color: #F8F8F8;
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    padding: 75px 50px;
}

#more article {
    width: 100%;
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
}

#more button {
    margin-top: auto;
    align-self: flex-start;
}

@media screen and (min-width: 1000px) {
    #more {
        flex-direction: row;
    }

    #more article {
        width: 25%;
        margin-bottom: 0;
    }
}

#artist-nav {
    font-weight: 700;
}

#artist-nav a {
    color: rgba(0,0,0,.4);
    font-weight: 600;
}

.artist {
    margin-bottom: 40px;
}

footer {
    background-color: #262626;
    padding: 50px 0 50px 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

footer img {
    height: 40px;
    align-self: center;
    width: initial;
}

@media screen and (min-width: 800px) {
    footer img {
        height: 80px;
    }
}

.work-template h1 {
    font-size: 2em;
    margin-bottom: 15px;
}

.work-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    margin-bottom: 20px;
}

.work-wrapper ul {
    background-color: rgba(0,0,0,.9);
    padding: 25px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.work-wrapper ul li {
    text-transform: uppercase;
    margin-bottom: 25px;
}

.work-wrapper ul li:last-of-type {
    margin-bottom: 0px;
}

.work-wrapper ul li span {
    display: block;
    font-size: 1.5em;
    text-transform: none;
}

.work-resources {
    display: block;
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: bold;
    transition: all .25s;
}

.work-resources::after {
    content: "\01F865";
    position: relative;
    margin-left: 5px;
    transition: all .25s;
    display:inline-block;
}

.work-resources:hover {
    opacity: .5;
}

.work-resources:hover.work-resources::after {
    transform: rotate(45deg);
}



@media screen and (min-width: 800px) {
    .work-wrapper {
        grid-template-columns: 2fr 1fr;
    }

    .work-wrapper ul {
        padding: 100px 25px;
    }

    .work-wrapper ul li {
        margin-bottom: 0px;
    }
}







