@font-face {
    font-family: 'Pluto Sans';
    src: url('fonts/PlutoSansRegular.woff');
    font-weight: 400;
    font-style: normal;
}

body {
    margin: 0;
    padding: 30px;
    background: rgb(51, 51, 51);
    color: #fff;
    text-align: center;
    font-family: 'Pluto Sans', sans-serif;
}

.pdf-toolbar {
    position: absolute;
    top: 30px;
    left: 30px;
    right: 30px;
    display: flex;
    justify-content: space-between;
    z-index: 2;
}

#pdf-download {
    cursor: pointer;
    transition: opacity 0.3s ease;
}

#pdf-download:hover {
    opacity: 0.7;
}

.pdf-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 30px;
    right: 30px;
    display: flex;
    justify-content: space-between;
    font-size: 35px;
    z-index: 2;
    height: 250px;
}

.pdf-navigation div {
    cursor: pointer;
    transition: opacity 0.3s ease;
    width: 20%;
    display: flex;
    align-items: center;
}

.pdf-navigation div:hover {
    opacity: 0.7;
}

.pdf-navigation div:before {
    margin: 0;
}

#next {
    justify-content: end;
}

.pdf-stage {
    position: relative;
    width: auto;
    height: calc(100vh - 60px);
}

.pdf-stage canvas {
    position: absolute;
    inset: 0;
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: calc(100vh - 60px);
    opacity: 0;
    transition: opacity .25s ease;
    image-rendering: optimizeQuality;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
}

.pdf-stage canvas.active {
    opacity: 1;
}

.pdf-navigation [role="button"] {
    cursor: pointer;
}

@media screen and (max-width: 768px) {
    .pdf-navigation div {
        color: #79c043;
    }
}