h1 {
    margin: 0;
}

:root {
    --width-canva: 100%;
}

iframe {
    display: flex;
    width: 100%;
    height: 100%;
    max-height: calc(100% - 154px);
}

#pdf-viewer {
    height: 100%;
    overflow: auto;
    width: 100%;
    max-width: 100%;
    min-width: 100%;
    height: max-content;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    overflow: auto;

    canvas{
        width: 100%;
        border-bottom: 2px solid #000;
        margin: 0;
        padding: 0;
        width: var(--width-canva)
    }
}

.zoom{
    position: fixed;
    bottom: 24px;
    right: 24px;
    opacity: .25;
    & > div{
        background: orangered;
        fill: #fff;
        border-radius: 60px;
        width: 54px;
        height: 54px;
        border: 2px solid #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        svg{
            width: 30px;
            height: 45px;
        }
        &:hover{
            filter: brightness(1.5)
        }

    }
    &:hover{
        opacity: .9
    }
}

footer {
    margin-top: 0;
}

@media only screen and (max-height: 400px) {
    #pdf-viewer{
        height: max-content!important;;
        max-height: max-content;
        min-height: max-content;
    }
}