:root {

    --scaleactive3: 0.97;

}

.menu ul a,
.logo {

    background-color: white;

}

.projectimg {
    display: block;
    margin: 0;
    padding: 0;
}

.projectimg img {
    display: block;
    width: 100%;
    height: auto;
    user-select: none;
    pointer-events: none;
}

.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;
}

.menubar {

    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;

    }

}

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

    .archive a {

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

    }

}


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


    .marginup {

        height: 81px;
    }

    .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;

    }

}

@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: 800px) {

    .gallery_enter {

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

}