.spacer30 {
    width: 100%;
    height: 30px;
}

#workcontainer {
    width: 100%;
    height: auto;
    display: flex;
    padding-top: 30px;
    padding-bottom: 60px;
} 

/* #workspacer {
    width: 50%;
} */

#content {
    min-height: auto;
}

#banner {
    width: 100%;
    height: auto;
    padding-top: 30px;
}

#work {
    width: 100%;
    height: auto;
    grid-template-columns: repeat(6, 1fr);
    grid-gap: 20px;
    display: grid;
}

.workimagecontainer {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.workimage {
    width: 100%;
    height: auto;
}

.workimage:hover {
    opacity: 0.25;
}

.workimagecontainer:hover > .workimagetitle {
    display:flex;
    color: black;
}

.workimagetitle {
    font-family: reader-regular;
    font-size: 30px;
    position: relative;
    display: none;
    height: 0px;
    top: -50%;
    text-align: center;
    margin-left: 20px;
    margin-right: 20px;
    display: none;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

#archivecontainer {
    width: calc(100% - 60px);
    min-height: 110vh;
    background-color: black;
    max-width: calc(2400px - 60px);
    margin-left: 0px;
    display: flex;
    flex-direction: column;
    padding-bottom: 60px;
}

#archiveheading {
    width: 100%;
    background-color: black;
    color: white;
    position: sticky;
    padding-top: 30px;
    top: 30px;
    border-bottom: 1px solid white;
    line-height: 60px;
    height: 60px;
    z-index: 20;
    overflow: hidden;
}

#archivexcontainer {
    width: 30px;
    height: 60px;
    position: absolute;
    right: 0px;
    top: 90px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

#archivex1 {
    width: 30px;
    height: 4px;
    background-color: white;
    transform: rotate(45deg);
    position: absolute;
    pointer-events: none;
}

#archivex2 {
    width: 30px;
    height: 4px;
    background-color: white;
    transform: rotate(-45deg);
    position: absolute;
    pointer-events: none;
}

#archivexcontainer:hover > .archivex {
    background-color:rgb(255, 103, 57)
}

.archiveproject {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid white;
}

.archiveopener {
    top: 0px;
    width: 100%;
    height: 60px;
    position: absolute;
}

/* REPLACE WITH ARCHIVE TITLE BAR */

.archivecloser {
    top: 0px;
    width: 100%;
    height: 60px;
    position: absolute;
    display: none;
}

.archiveprojecttitlewrapper {
    width: 100%;
    display: flex;
    height: auto;
    gap: 20px;
    position: sticky;
    padding-top: 15px;
    padding-bottom: 15px;
    top: 121px;
    background-color: black;
    z-index: 2;
}

.archiveprojecttitle {
    position: relative;
    font-family: reader-regular;
    width: 50%;
    font-size: 30px;
    color: white;
    line-height: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-self: flex-start;
    pointer-events: none;
}

.archiveprojectname {
    max-width: calc( 100% - 40px);
}

.archiveprojectpluscontainer {
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s;
}

.plusv {
    width: 4px;
    height: 30px;
    background-color: white;
    position: absolute;
}
.plush {
    width: 30px;
    height: 4px;
    background-color: white;
    position: absolute;
}

.archiveprojecttitlewrapper:hover > .archiveprojecttitle {
    color: rgb(255, 103, 57);
}

.archiveprojecttitlewrapper:hover > .archiveprojecttitle > .archiveprojectpluscontainer > .archiveprojectplus {
    background-color: rgb(255, 103, 57);
}

.archiveprojectcontentcontainer {
    width: 100%;
    height: 0px;
    overflow: hidden;
}

.archiveprojectcontent {
    padding-top: 30px;
    width: 100%;
    height: auto;
    display: flex;
    gap: 20px;
    padding-bottom: 30px;
}

.archiveprojectdescription {
    font-family: reader-regular;
    font-size: 24px;
    color: white;
    width: calc(50% - 10px);
    height: 100%;
    line-height: 36px;
    display: flex;
    flex-direction: column;
}

.descriptiontext {
    width: calc(100% - 40px);
    max-width: 400px;
}

.archiveprojectgallery {
    position: relative;
    width: 25%;
    height: auto;
    margin-bottom: 15px;
}

.archiveprojectgalleryl {
    position: absolute;
    width: 50%;
    height: 100%;
    left: 50%;
    z-index: 80;
}

.archiveprojectgalleryr {
    left: 0px;
    position: absolute;
    width: 50%;
    height: 100%;
    z-index: 80;
}

.carousel {
    width: 100%;
    height: auto;
    background: black;
}

/* white circles */
.flickity-page-dots .dot {
    cursor: none;
    width: 8px;
    height: 8px;
    opacity: 1;
    background: transparent;
    border: 1px solid white;
  }
/* fill-in selected dot */
.flickity-page-dots .dot.is-selected {
background: white;
}

.flickity-button {
    height: 100%;

  }
.flickity-prev-next-button {
width: 50%;
height: 100%;
border-radius: 0;
}

.flickity-prev-next-button.previous {
left: 0px;
opacity: 0;
cursor: none;
}
.flickity-prev-next-button.next {
right: 0px;
opacity: 0;
cursor: none;
}


.archiveprojectimage {
    width: 100%;
    height: auto;
}

.archiveprojectvideo {
    width: 100%;
    height: auto;
}

.playbuttonwrapper {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    background-color: black;
    opacity: 0.3;
    display: flex;
    justify-content: center;
    align-items: center;
}

.playbutton {
    pointer-events: none;
    width: 0px;
    height: 0px;
    border-left: 60px solid white;
    border-top: 40px solid transparent;
    border-bottom: 40px solid transparent;
}

.pseudopause {
    width: 100%;
    height: 100%;
    top: 0px;
    position: absolute;
    display: none;
}

.pausebuttonwrapper {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    display: none;
    background-color: black;
    opacity: 0;
    justify-content: center;
    align-items: center;
}

.pausebutton {
    width: 20px;
    height: 80px;
    border-left: 20px solid white;
    border-right: 20px solid white;
    pointer-events: none;
}

.pausebuttonwrapper:hover {
    opacity: 0.3;
}

.archiveprojectspacer {
    display: none;
}

/* #copyright {
    color: white;
    background-color: black;
} */

.hidden {
    opacity: 0!important;
}

.weblink {
    color: white!important;
    text-decoration: underline 1px solid white!important;
}

.weblink:hover {
    color: rgb(255, 103, 57)!important;
    text-decoration: underline 1px solid rgb(255, 103, 57)!important;
}


@media only screen and (max-width: 1400px) {
    #work {
        grid-template-columns: repeat(4, 1fr);
    }
    .archiveproject {
        /* width: calc((100% - 40px)*2/3 + 20px); */
        width: 100%;
    }
    .archiveprojectgallery {
        width: 50%;
    }
    .archiveprojectdescription {
        width: 50%;
    }
}

@media only screen and (max-width: 1000px) {
    #work {
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 15px;
    }

    #archivecontainer {
        width: calc(100% - 40px);
    }

    .archiveproject {
        width: 100%;
    }

    .archiveprojectcontent {
        gap: 15px;
    }
}

@media only screen and (max-width: 600px) {
    .archiveprojectpluscontainer {
        display: none;
    }
    .archiveprojecttitlewrapper {
        justify-content: space-between;
    }
    .archiveprojecttitle {
        width: 100%;
    }
    .archiveprojectyear {
        width: auto;
    }
    #work {
        grid-template-columns: repeat(1, 1fr);
    }
    .workimagetitle {
        padding-top: 15px;
        padding-bottom: 15px;
        font-size: 30px;
        position: relative;
        display: block;
        height: auto;
        top: 0;
    }
    .archiveprojectcontent {
        flex-direction: column;
    }
    .archiveprojectdescription {
        width: 100%;
    }
    .archiveprojectgallery {
        width: 100%;
    }
}

@media only screen and (max-width: 400px) {

    .archiveprojecttitle {
        font-family: reader-bold;
        font-size: 18px;
        color: white;
        line-height: 30px;
    }
}

@media (pointer: coarse) {
    .workimagetitle {
        padding-top: 15px;
        padding-bottom: 15px;
        position: relative;
        display: block;
        height: auto;
        top: 0;
    }
    .workimage:hover {
        opacity: 1;
    }
    .workimagecontainer {
        justify-content: flex-start;
    }
    .archiveopener:hover ~ .archiveprojecttitlewrapper > .archiveprojecttitle {
        color: white;
    }
    
    .archivecloser:hover ~ .archiveprojecttitlewrapper > .archiveprojecttitle {
        color: white;
    }
    .flickity-button {
        display: none;
    
      }
}