.section-passport-opened {
    --largura-passport-opened: calc(1313px / var(--proportion));
    --altura-passport-opened: calc(959px / var(--proportion));
}

@media (max-width: 1280px) {
    .section-passport-opened {
        --proportion: 2.5;
    }
}

@media (min-width: 1280px) {
    .section-passport-opened {
        --proportion: 2.25;
    }
}

@media (min-width: 1366px) {
    .section-passport-opened {
        --proportion: 2;
    }
}

@media (min-width: 950px) {
    .section-passport-opened {
        --section-margin: calc((100% - 950px) / 2);
    }
}

@media (max-width: 950px) {
    .section-passport-opened {
        --section-margin: calc((100% - 800px) / 2);
        --proportion: 3;
    }
}

@media (max-width: 800px) {
    .section-passport-opened {
        --section-margin: calc((100% - 600px) / 2);
        --proportion: 3;
    }
}

.logo {
    background-image: url(./logo.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    image-rendering: pixelated;
    --logo-width: calc(278px / var(--proportion));
    --logo-height: calc(60px / var(--proportion));
    width: var(--logo-width);
    height: var(--logo-height);
    margin: 0px auto;
    position: absolute;
    top: 50px;
    left: calc(100% - var(--logo-width) - var(--section-margin));
}

@media (max-width: 950px) {
    .logo {
        top: 20px;
    }
}

.passport-opened {
    background-image: url(./pass-opened.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    width: var(--largura-passport-opened);
    height: var(--altura-passport-opened);
    margin: 0px auto;
    position: absolute;
    top: 120px;
    left: calc(100% - var(--largura-passport-opened) - var(--section-margin) + 20px);
}

.botoes-acesso-passport-opened {
    position: absolute;
    display: flex;
    width: 350px;
    top: calc(130px + var(--altura-passport-opened));
    left: calc(100% - 297px - var(--section-margin));
}

.botao-acesso-passport-opened {
    font-family: 'Roboto Bold';
    font-size: 13px;
    padding: 5px 10px;
    color: white;
    cursor: pointer;
}

.botao-acesso-passport-opened:hover {
    text-decoration: underline;
}

.id-box {
    border: 1px solid white;
    border-radius: 10px;
    width: 600px;
    padding: 5px;
    position: absolute;
    top: 40px;
    left: var(--section-margin);
}

.block-id-box {
    color: white;
    font-family: 'Roboto Bold';
    font-size: 12px;
    display: inline-block;
    margin: 5px;
}

.block-id-box input {
    border: none;
    background: transparent;
    color: white;
    width: 250px;
    padding: 0px 5px;
    font-family: 'Roboto';
}

.block-id-box:nth-of-type(1) input {
    width: 300px;
}

.block-id-box:nth-of-type(2) input {
    width: 100px;
}

@media (max-width: 1280px) {
    .id-box {
        width: 400px;
    }

    .block-id-box input {
        width: 150px;
    }

    .block-id-box {
        font-size: 10px;
    }

    .block-id-box:nth-of-type(1) input {
        width: 180px;
    }

    .block-id-box:nth-of-type(2) input {
        width: 70px;
    }
}

@media (max-width: 950px) {
    .id-box {
        width: 350px;
    }

    .block-id-box:nth-of-type(1) input {
        width: 150px;
    }

    .block-id-box:nth-of-type(2) input {
        width: 50px;
    }

    .block-id-box input {
        width: 100px;
    }
}

.side-info {
    position: absolute;
    top: 130px;
    left: var(--section-margin);
}

.title-side-info, .error {
    font-family: 'Roboto Bold';
    font-size: 14px;
    color: white;
    margin: 0px;
    margin-bottom: 50px;
}

.item-side-info {
    display: flex;
    margin: 20px;
    cursor: pointer;
}

.item-side-info:hover .text-item-side-info {
    text-decoration: underline;
}

.number-item-side-info {
    background-image: url(./circle.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    color: white;
    font-family: 'Roboto Bold';
    font-size: 12px;
    padding: 10px;
}

.text-item-side-info {
    color: white;
    font-family: 'Roboto Bold';
    font-size: 12px;
    margin: 0px;
    margin-left: 10px;
    padding: 0px;
    padding-top: 10px;
}

.passport-opened ::-webkit-scrollbar {
    width: 5px;
}
.passport-opened ::-webkit-scrollbar-track {
    background: transparent; padding-top: 10px; padding-bottom: 10px;
}

.passport-opened ::-webkit-scrollbar-thumb {
    background: white;
    border-radius: 10px;
}

.passport-opened ::-webkit-scrollbar-thumb:hover {
    background: pink;
}

.caixas-cnpj {
    height: 70%;
    position: relative;
    top: 12%;
    left: -50px;
    border: 1px solid transparent;
    border-radius: 10px;
    background-color: rgb(255, 1, 13);
    padding: 10px;
    width: 200px;
    overflow-y: scroll;
    transition: all 0.5s;
}

.caixa-cnpj {
    height: 18%;
    margin: 8% 2%;
    padding: 3px 10px 0px;
    width: calc(100% - 30px);
    border: 1px solid white;
    border-radius: 10px;
}

.item-caixa-cnpj {
    font-family: 'Roboto Bold';
    font-size: 10px;
    color: white;
}

.item-caixa-cnpj input {
    font-family: 'Roboto Bold';
    font-size: 9px;
    padding: 3px;
    width: 80%;
    border: none;
    background: transparent;
    color: white;
}

.item-caixa-cnpj:nth-of-type(2) input {
    width: 100%;
}

.clickable {
    z-index: 0;
    position: fixed;
    width: 100vw; height: 100vh;
    top: 0px; left: 0px;
}