* {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

@media (max-width: 1750px) {
    body {
        width: 100wh;
        height: 100vh;
        background: linear-gradient(45deg, #42fbf4, #fe47ff);
        background-size: 100% 100%;
        background-attachment: fixed;
    }
    .page {
        position: absolute;
        top: 150px;
        left: 50%;
        margin-left: -450px;
        border-radius: 5px;
        background: white;
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
        transform: scale(1);
        visibility: hidden;
    }
    .heading {
        display: block;
        font: 18pt "Roboto";
        text-align: center;
        top: 50%;
        padding-top: 10px;
        padding-bottom: 0px;
    }

    .social {
        position: absolute;
        top: 20px;
        z-index: 3;
        right: 20px;
        cursor: pointer;
    }
    .social img {
        height: 70px;
        width: auto;
        cursor: pointer;
    }

    .donate {
        z-index: 3;
        position: absolute;
        right: 25px;
        margin-top: 65px;
        text-align: center;
        zoom: 1.5;
        -moz-transform: scale(1.5);
        -moz-transform-origin: bottom left;
    }

    @-moz-document url-prefix() {
        .donate {
            margin-top: 115px;
            margin-right: 60px;
        }
    }

    @-webkit-keyframes colorGrad {
        0% {
            background-position: 0% 50%
        }
        50% {
            background-position: 40% 50%
        }
        100% {
            background-position: 0% 50%
        }
    }

    @-moz-keyframes colorGrad {
        0% {
            background-position: 0% 50%
        }
        50% {
            background-position: 40% 50%
        }
        100% {
            background-position: 0% 50%
        }
    }

    @-o-keyframes colorGrad {
        0% {
            background-position: 0% 50%
        }
        50% {
            background-position: 40% 50%
        }
        100% {
            background-position: 0% 50%
        }
    }

    @keyframes colorGrad {
        0% {
            background-position: 0% 50%
        }
        50% {
            background-position: 40% 50%
        }
        100% {
            background-position: 0% 50%
        }
    }
}

@media (max-width: 1750px) {
    .btn {
        width: 290px !important;
        height: 80px !important;
        font-size: 20px !important;
        padding: 22px 10px 0 0 !important;
    }

    #container1 {
        height: 40px;
        padding-bottom: 10px;
        text-align: justify;
        -ms-text-justify: distribute-all-lines;
        text-justify: distribute-all-lines;
    }

    #container2 {
        margin-top: 355px;
        height: 40px;
        padding-bottom: 10px;
        text-align: justify;
        -ms-text-justify: distribute-all-lines;
        text-justify: distribute-all-lines;
    }
    #container3 {
        margin-top: 70px;
        height: 40px;
        padding-bottom: 10px;
        text-align: justify;
        -ms-text-justify: distribute-all-lines;
        text-justify: distribute-all-lines;
    }

    .box1 {
        display: inline-block;
        padding: 10px 0 0 0 !important;
    }
    .box2 {
        display: inline-block;
        padding: 35px 0 0 0 !important;
    }
    .stretch {
        display: inline-block;
        font-size: 0;
        line-height: 0;
        width: 795px;
    }
}

@media (max-width: 1750px) {

    .header {
        position: absolute;
        width: 600px;
        height: 100%;
        left: 50%;
        margin-left: -300px;
        text-align: center;
        color: white;
        font: "Roboto";
    }

    .header h1 {
        font-size: 90px;
        font-weight: bold;
    }
    .header h2 {
        font-size: 20px;
        font-weight: bold;
    }
    .header h3 {
        font-size: 24px;
        display: inline-block;
        margin-top: 300px;
        width: 600px;
    }

    .dz-button {
        position: absolute;
        top: 570px;
        margin-top: -250px;
        left: 50%;
        margin-left: -450px;
        width: 900px;
        position: absolute;
        padding: 520px 0 0 0;
        height: 500px;
        overflow: hidden;
        border: dotted 5px white;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        border-radius: 20px;
        background-size: 60px 60px;
        background-color: rgba(255, 255, 255, 0);
        background-clip: padding-box;
    }

    .dz-button:hover {
        opacity: 1;
        background-color: rgba(255, 255, 255, 0.2);
    }

    .material-icons {
        font-size: 50px !important;
    }
}

@media (min-width: 1751px) and (max-width: 2020px) {
    .settings {
        position: absolute;
        width: 470px;
        height: 100%;
        font: 12pt "Roboto";
        background: #f5f2f0;
        padding: 0 10px;
        left: 0px;
        line-height: 2;
    }
    .btn {
        margin-top: 10px;
        width: 222px;
    }
}

@media (max-width: 1299px) {
    #preview {
        position: absolute;
        left: 50%;
        margin-left: -400px;
        top: 1750px;
        height: 1170px;
        width: 800px;
        margin-bottom: 50px;
        visibility: hidden;
    }

    .settings {
        position: absolute;
        width: 900px;
        height: 885px;
        font: 12pt "Roboto";
        background: #f5f2f0;
        padding: 0 10px;
        margin-top: 950px;
        left: 50%;
        margin-left: -450px;
        line-height: 2.5;
        margin-bottom: 20px;
    }
}

@media (min-width: 1300px) and (max-width: 1750px) {
    #preview {
        position: absolute;
        right: 25%;
        margin-right: -300px;
        top: 186px;
        height: 915px;
        width: 600px;
        visibility: hidden;
    }

    .settings {
        position: absolute;
        width: 900px;
        height: 885px;
        font: 12pt "Roboto";
        background: #f5f2f0;
        padding: 0 10px;
        margin-top: 950px;
        left: 50%;
        margin-left: -450px;
        line-height: 2.5;
        margin-bottom: 20px;
    }

    .page {
        position: absolute;
        top: 50%;
        margin-top: -400px;
        left: 50%;
        margin-left: -636px;
        width: 1273px;
        height: 900px;
        border: 1px #D3D3D3 solid;
        border-radius: 5px;
        background: white;
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
        transform: scale(1);
        visibility: hidden;
    }
}

@media (min-width: 1751px) {

    .page {
        position: absolute;
        top: 50%;
        margin-top: -450px;
        left: 50%;
        margin-left: -392px;
        width: 1273px;
        height: 900px;
        border-radius: 5px;
        background: white;
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
        transform: scale(1);
        visibility: hidden;
    }

    .material-icons {
        font-size: 25px !important;
    }
}



@media (min-width: 1900px) and (max-width: 2019px) {
    #preview {
        position: absolute;
        right: 25%;
        margin-right: -300px;
        top: 186px;
        height: 915px;
        width: 600px;
        visibility: hidden;
    }
}

@media (min-width: 1751px) and (max-width: 2020px) {
    .header {
        position: absolute;
        width: 600px;
        height: 100%;
        left: 50%;
        margin-left: -55px;
        text-align: center;
        color: white;
        font: "Roboto";
    }

    .header h1 {
        font-size: 90px;
        font-weight: bold;
    }
    .header h2 {
        font-size: 20px;
        font-weight: bold;
    }
    .header h3 {
        font-size: 24px;
        display: inline-block;
        margin-top: 220px;
        width: 600px;
    }

    .dz-button {
        position: absolute;
        top: 50%;
        margin-top: -250px;
        left: 50%;
        margin-left: -205px;
        width: 900px;
        position: absolute;
        padding: 520px 0 0 0;
        height: 500px;
        overflow: hidden;
        border: dotted 5px white;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        border-radius: 20px;
        background-size: 60px 60px;
        background-color: rgba(255, 255, 255, 0);
        background-clip: padding-box;
    }

    .dz-button:hover {
        opacity: 1;
        background-color: rgba(255, 255, 255, 0.2);
    }
}

@media (min-width: 2021px) {
    .header {
        position: absolute;
        width: 600px;
        height: 100%;
        left: 50%;
        margin-left: -55px;
        text-align: center;
        color: white;
        font: "Roboto";
    }

    .header h1 {
        font-size: 90px;
        font-weight: bold;
    }

    .header h2 {
        font-size: 20px;
        font-weight: bold;
    }
    .header h3 {
        font-size: 24px;
        display: inline-block;
        margin-top: 220px;
        width: 600px;
    }


    .dz-button {
        position: absolute;
        top: 50%;
        margin-top: -250px;
        left: 50%;
        margin-left: -205px;
        width: 900px;
        position: absolute;
        padding: 520px 0 0 0;
        height: 500px;
        overflow: hidden;
        border: dotted 5px white;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        border-radius: 20px;
        background-size: 60px 60px;
        background-color: rgba(255, 255, 255, 0);
        background-clip: padding-box;
    }

    .dz-button:hover {
        opacity: 1;
        background-color: rgba(255, 255, 255, 0.2);
    }

    .settings {
        position: absolute;
        width: 470px;
        height: 100%;
        font: 12pt "Roboto";
        background: #f5f2f0;
        padding: 0 10px;
        left: 0px;
        line-height: 2;
    }
    .table {
        width: 450px;
    }


    #preview {
        position: absolute;
        right: 25%;
        margin-right: -300px;
        top: 30px;
        height: 915px;
        width: 600px;
        visibility: hidden;
    }

    .btn {
        margin-top: 10px;
        width: 222px;
    }
}

@media (min-width: 1750px) and (max-width: 7680px) {
    body {
        
        width: 100wh;
        height: 100vh;
        background: linear-gradient(45deg, #42fbf4, #fe47ff);
        background-size: 150% 150%;
        -webkit-animation: colorGrad 5s ease infinite;
        -moz-animation: colorGrad 5s ease infinite;
        -o-animation: colorGrad 5s ease infinite;
        animation: colorGrad 5s ease infinite;
    }

    .heading {
        display: block;
        font: 18pt "Roboto";
        text-align: center;
        top: 50%;
        padding-top: 10px;
        padding-bottom: 0px;
    }

    #checkBox:checked ~ .page {
        pointer-events: none;
    }

    #pdfcanvas {
        width: 1588px;
        height: 1123px;
    }
    
    #container2 {
        margin-top: -10px;
    }
        #container3 {
        margin-top: -10px;
    }

    .social {
        position: fixed;
        top: 20px;
        z-index: 3;
        right: 20px;
        cursor: pointer;
    }
    .social img {
        height: 50px;
        width: auto;
        cursor: pointer;
    }

    .donate {
        z-index: 3;
        position: fixed;
        right: 25px;
        margin-top: 65px;
        text-align: center;
        zoom: 1.2;
        -moz-transform: scale(1.2);
    }

    @-moz-document url-prefix() {
        .donate {
            margin-top: 80px;
            right: 35px;
        }
    }

    @-webkit-keyframes colorGrad {
        0% {
            background-position: 0% 50%
        }
        50% {
            background-position: 100% 50%
        }
        100% {
            background-position: 0% 50%
        }
    }

    @-moz-keyframes colorGrad {
        0% {
            background-position: 0% 50%
        }
        50% {
            background-position: 100% 50%
        }
        100% {
            background-position: 0% 50%
        }
    }

    @-o-keyframes colorGrad {
        0% {
            background-position: 0% 50%
        }
        50% {
            background-position: 100% 50%
        }
        100% {
            background-position: 0% 50%
        }
    }

    @keyframes colorGrad {
        0% {
            background-position: 0% 50%
        }
        50% {
            background-position: 100% 50%
        }
        100% {
            background-position: 0% 50%
        }
    }
}

canvas {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -moz-font-smoothing: antialiased;
    font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    font-smooth: always;
}

#custom,
#high,
#medium,
#low,
#scan-total {
    width: 40px;
    height: 30px;
    font-size: 20px;
    font-weight: 500;
    margin: -5px 0px 0px 0px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0);
}

#fast,
#average,
#slow {
    right: 10px;
    width: 70px;
    height: 35px;
    font-weight: bold;
    font-size: 20px;
    text-align: center;
    margin: -5px 0px 0px 0px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

#icon-size,
#target-size,
#link-size {
    right: 10px;
    width: 40px;
    height: 30px;
    font-size: 20px;
    text-align: center;
    margin: -5px 0px 0px 0px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

#time-l,
#time-m,
#time-h,
#total {
    right: 10px;
    width: 130px;
    height: 30px;
    font-size: 20px;
    font-weight: 500;
    text-align: center;
    margin: -5px 0px 0px 0px;
    border: 1px solid rgba(255, 255, 255, 0);
    border-radius: 4px;
    box-sizing: border-box;
}

#icon-size,
#target-size,
#link-size {
    width: 50px;
}

#green,
#yellow,
#red {
    position: fixed;
    margin: 25px 20px 10px 120px;
}

.box1 {
    display: inline-block;
}

.genpdf {
    position: absolute;
    top: 10%;
    left: 50%;
    z-index: -1;
}

.subpage {
    width: 642px;
    height: 972px;
    z-index: -1;
    border-style: dashed;
    border-color: rgba(0, 0, 0, 0.2);
    border-width: 1px;
}

.subpage p {
    width: 350px;
    left: 50%;
    top: 60px;
    padding: 15px;
    position: absolute;
    margin-left: -175px;
    text-align: center;
    z-index: 9999;
    border: 1px solid;
    border-radius: 25px;
    font: "Roboto";
    font-size: 42px;
    font-weight: bold;
    background: -webkit-linear-gradient(180deg, #42fbf4, #ec74ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.loader {
    position: absolute;
    top: 50%;
    margin-left: -30px;
    margin-top: -30px;
    left: 50%;
    text-align: center;
    transform: scale(2);
    transform-origin: 50% 50%;
    visibility: hidden;
}

#low-row {
    background-color: #5FFBF1 !important;
}

#med-row {
    background-color: #86A8E7 !important;
}

#hi-row {
    background-color: #ec74ff !important;
}

#spinner {
    z-index: 9999;
}

.sidenav {
    position: absolute;
}

.sidenav-trigger {
    top: 2px;
    left: 10px;
    position: absolute;
}

.settings {
    z-index: 0;
}

.logo {
    font-size: 45px !important;
}