#navbar {
    position: fixed;
}

@media only screen and (min-width: 768px) {
    #designcontainer {
        /* outline: 2px solid red; */
        /* background-color: lime; */
        position: absolute;
        width: 100vw;
        margin-left: 0;
        height: 100vh;
        margin-top: 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        overflow: visible;
        align-items: flex-start;
        align-content: flex-start;
    }

    .design {
        width: 12.5vw;
        padding-left: 1vw;
        padding-right: 1vw;
        height: 12.5vw;
    }

    #categoryselect {
        width: 84.82vw;
        height: min-content;
        margin-top: 15vh;
        margin-bottom: 2vw;
        display: flex;
        flex-direction: row;
        justify-content: left;
        align-items: center;
        color:rgb(64 54 46);
        font-family: "roc-grotesk", sans-serif;
        font-weight: 400;
        font-style: normal;
        font-size: 1.25vw;
    }

    #categoryselect span {
        margin-left: 3vw;
        margin-right: 3vw;
        cursor: pointer;
    }

    #categoryselect span:first-of-type {
        margin-left: 8px;
    }

    #categoryselect span:hover {
        font-weight: 600;
    }

    #categorybin {
        display: none;
    }

    .hidden {
        display: none;
    }

    .selected {
        opacity: 1.0;
        font-weight: 600;
    }

    .unselected {
        opacity: 0.5;
        font-weight: 400;
    }

    .designcolumn {
        /* background-color: brown; */
        width: 26.5vw;
        height: min-content;
        margin-left: 1.33vw;
        margin-right: 1.33vw;
        margin-bottom: 0vh;
    }

    .designpreview {
        background-color: transparent;
        transition: 0.3s ease;
        width: 100%;
        height: min-content;
        margin-bottom: 2.66vw;
        cursor: pointer;
        /* outline: 2px solid #40362e; */
        border-radius: 8px;
        overflow: hidden;
        outline: 0px solid white;
    }

    .img-wrapper {
        background-color: white;
        /* transition: background-color 1s ease; */
        display: flex;
        /* flex: 1 1 100%; */
        width: 100%;
        overflow: hidden;
        position: relative;
      }
      
    .designimg {
        filter: grayscale(100%);
        transition: filter 0.3s ease;
        /* flex: 0 1 100%; */
        mix-blend-mode: multiply;
        /* object-fit: cover; */
        opacity: 1;
        position: relative;
        width: 100%;
        display: block;
        transform: translate3d(0,0,0);
    }
      
    .img-wrapper::before {
        background-color: #40362e;
        bottom: 0;
        content: '';
        left: 0;
        mix-blend-mode: multiply;
        position: absolute;
        right: 0;
        top: 0;
        width: 100%;
        z-index: 1;
    }

    .designimg:hover {
        filter: grayscale(0%);
    }

    .designpreview:hover {
        background-color: white;
        outline: 4px solid white;
    }
      
}

@media only screen and (max-width: 768px) {
    #designcontainer {
        /* outline: 2px solid red; */
        /* background-color: lime; */
        position: absolute;
        width: 100vw;
        left: 0;
        height: 100vh;
        top: 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        /* align-items: center; */
        align-content: flex-start;
        overflow: visible;
        -webkit-tap-highlight-color: rgba(0,0,0,0);
        -webkit-tap-highlight-color: transparent;
    }

    .design {
        width: 40vw;
        padding-left: 2.5vw;
        padding-right: 2.5vw;
        padding-top: 2.5vw;
        padding-bottom: 2.5vw;
        height: 40vw;
    }

    .designcolumn {
        /* outline: 2px solid red; */
        /* background-color: brown; */
        width: 76vw;
        height: min-content;
        margin-left: 2vw;
        margin-right: 2vw;
    }

    .designcolumn:first-of-type {
        margin-top: 15vh;
    }

    #column2 {
        display: none;
    }

    #column3 {
        display: none;
    }

    .designpreview {
        background-color: transparent;
        transition: 0.3s ease;
        width: 100%;
        height: min-content;
        margin-bottom: 2vh;
        cursor: pointer;
        /* outline: 2px solid #40362e; */
        border-radius: 8px;
        overflow: hidden;
        outline: 0px solid white;
    }

    .designpreview:last-of-type {
        margin-bottom: 15vh;
    }

    .img-wrapper {
        /* background-color: white; */
        /* transition: background-color 1s ease; */
        display: flex;
        /* flex: 1 1 100%; */
        width: 100%;
        overflow: hidden;
        position: relative;
      }
      
    .designimg {
        filter: grayscale(100%) contrast(1);
        transition: filter 0.3s ease;
        /* flex: 0 1 100%; */
        mix-blend-mode: multiply;
        /* object-fit: cover; */
        opacity: 1;
        position: relative;
        width: 100%;
        display: block;
        transform: translate3d(0,0,0);
    }
      
    .img-wrapper::before {
        background-color: #40362e;
        bottom: 0;
        content: '';
        left: 0;
        mix-blend-mode: normal;
        position: absolute;
        right: 0;
        top: 0;
        width: 100%;
        z-index: 1;
    }

    .designpreviewactive {
        transition: 0.7s ease;
        background-color: white;
        outline: 4px solid white;
    }

    .designimgactive {
        transition: 0.7s ease;
        filter: grayscale(0%);
    }

    #categoryselect {
        width: 100vw;
        height: min-content;
        margin-top: 8vh;
        margin-bottom: 2vh;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        color:rgb(64 54 46);
        font-family: "roc-grotesk", sans-serif;
        font-weight: 400;
        font-style: normal;
        font-size: 4.2vw;
    }

    #categoryselect span {
        margin-left: 2vw;
        margin-right: 2vw;
        cursor: pointer;
    }

    #categoryselect span:first-of-type {
        margin-left: 8px;
    }

    #categorybin {
        display: none;
    }

    .hidden {
        display: none;
    }

    .selected {
        opacity: 1.0;
        font-weight: 600;
    }

    .unselected {
        opacity: 0.5;
        font-weight: 400;
    }
}