div.kep {
    display: inline-block;
}

div.content {
    position: relative;
    max-width: 80vw;
}

div.galeria {
    margin-top: 10px;
}

div.kep {
    background-repeat: no-repeat;
    background-size: cover;
    /* width: calc(60vw / 3 - 1vw); */
    /* height: calc(60vw / 4.5); */
    width: calc(1200px - 72vw);
    height: calc(900px - 50vw);
    min-width: 200px;
    min-height: 150px;
    max-width: 90vw;
    max-height: 90vw;
    display: inline-block;
    cursor: pointer;
}

div.invis {
    display: none;
}

div#viewer {
    position: fixed;
    top: var(--navbar-height);
    left: 0;
    width: 100vw;
    height: calc(100vh - var(--navbar-height));
    background-color: rgba(0, 0, 0, 0.85);
}

img#viewer-img {
    max-width: calc(100vw - 50px);
    max-height: calc(100vh - var(--navbar-height) - 50px);
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 100,
  'GRAD' -25,
  'opsz' 48
}

div#viewer span.material-symbols-outlined {
    color: var(--bg);
    position: fixed;
    font-size: 3rem;
    cursor: pointer;
}

.close {
    top: calc(var(--navbar-height) + 10px);
    right: 10px;
}

.next, .previous {
    top: calc(var(--navbar-height) + 50%);
    transform: translateY(-50%);
}

.next {
    right: 10px;
}

.previous {
    left: 10px;
}

@media only screen and (max-width: 798px) {
    div.kep {
        background-repeat: no-repeat;
        background-size: cover;
        width: 75vw;
        height: 50vw;
        min-width: 200px;
        min-height: 150px;
        max-width: 90vw;
        max-height: 90vw;
        display: inline-block;
        cursor: pointer;
    }
}
