@font-face {
    font-family: "Roboto Condensed";
    src: url('../fonts/RobotoCondensed-Light.ttf');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: "Roboto Condensed";
    src: url('../fonts/RobotoCondensed-LightItalic.ttf');
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: "Roboto Condensed";
    src: url('../fonts/RobotoCondensed-Regular.ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Roboto Condensed";
    src: url('../fonts/RobotoCondensed-Bold.ttf');
    font-weight: bold;
    font-style: normal;
}

body {
    font-family: "Roboto Condensed", "Roboto";
}

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.lightbox.hidden {
    display: none;
}

.lightbox-content {
    position: relative;
    width: calc(100vw - 20vw);
    /* 10vw margin on left and right */
    height: calc(100vh - 20vh);
    /* 10vh margin on top and bottom */
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
    margin: auto;
    border-radius: 4px;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 30px;
    color: white;
    cursor: pointer;
}

.lightbox-nav span {
    position: absolute;
    top: 50%;
    font-size: 40px;
    color: white;
    cursor: pointer;
    user-select: none;
    transform: translateY(-50%);
}

#lightbox-prev {
    left: -60px;
}

#lightbox-next {
    right: -60px;
}

.projekt-div[data-projekt] {
    cursor: pointer;

}


.projekt-div {
    position: relative;

}

.lightbox-icon {
    display: inline;
    width: 15px;
    margin-top: -3px;
    opacity: 70%;
}

@media (max-width: 768px) {
    .lightbox-nav {
        position: absolute;
        bottom: 0;
        width: 100%;
        display: flex;
        justify-content: space-between;
        padding: 1rem;
        box-sizing: border-box;
    }

    .lightbox-nav span {
        position: static;
        transform: none;
        font-size: 32px;
    }

    #lightbox-prev,
    #lightbox-next {
        left: auto;
        right: auto;
    }
}

@media (max-width: 768px) {
    .lightbox-content {
        padding-bottom: 3rem;
    }
}