:root {

    --scaleactive3: 0.97;

}

nav::-webkit-scrollbar {

    display: none;

}

.menu ul a,
.logo {

    background-color: white;

}

#spaceblock {

    display: block;
    height: 151px !important;
    background-color: transparent;
    opacity: 0;

}

.archive {

    min-height: 15px;

}

.archive a,
.archive a img {

    padding: 0 !important;

}

.archive a {

    width: calc(100%/8) !important;

}

.img {

    margin-bottom: 0px !important;

}

.projectimg .img {

    padding-bottom: 0px;

}

.projectimg img {

    border-style: solid;
    border-width: 0;
    border-radius: var(--borderradius);
    transition: visibility 0s linear 0.3s;
}

body {

    z-index: -5;
    overflow-x: hidden;

}

.menubar {

    z-index: 10;
}

#whiteblock {

    width: calc(100%/12);
    height: 150px;
    background-color: white;
    z-index: 10;
}

.projectimg {

    position: relative;
    /* Add this if not present */
    overflow: visible;
    /* Already adjusted */

}

.projectimg::after {

    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-style: solid;
    border-width: 0;
    border-radius: var(--borderradius);
    box-shadow: var(--shadowbutton);
    -ms-box-shadow: var(--shadowbutton);
    -moz-box-shadow: var(--shadowbutton);
    -webkit-box-shadow: var(--shadowbutton);
    transition: var(--transitioneffect);
    z-index: 1;

}

.marginup {

    height: 15px;
}




@media only screen and (min-width: 1555px) {

    .archive a {

        width: calc(100%/12) !important;

    }

    #whiteblock {

        width: calc(100%/12);

    }

}

@media only screen and (max-width: 1155px) {

    .archive a {

        width: calc(100%/8) !important;

    }

    #whiteblock {

        width: calc(100%/8);

    }

}


@media only screen and (max-width: 880px) {


    .marginup {

        height: 81px;
    }

    #whiteblock {

        display: none;

    }

    .gallery {

        margin-top: 0px;
        padding: 85px 5px 0px;

    }

    .gallery_enter {

        grid-column: 1 / 9;
        height: calc(100dvh - 100px);
        padding: 85px 5px 83px;

    }

    .archive a {

        width: calc(100%/6) !important;

    }

    .logo {

        width: 100%;
    }

}

@media only screen and (max-width: 455px) {

    .projectgallery_enter a {

        width: calc(100%/2);

    }

    .archive a {

        width: calc(100%/3) !important;

    }

}

@media only screen and (min-width: 880px) {

    .gallery_enter {

        grid-column: 1 / 9;
        height: calc(100dvh - 30px);
        position: absolute;
        width: calc(100vw - 30px);
        z-index: -1;

    }

    nav {
        z-index: 10;
        height: 140px;
        margin-top: 13px;
        padding: 2px 0;
    }

}