@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap');
* {margin: 0;padding: 0;}
a {text-decoration: none;}
body {font-family: 'Open Sans', sans-serif;background-color: #FFF;}

main {
    display: grid;
    grid-template-columns: 1fr;
    height: 100vh;
    grid-template-rows: auto 40vh 1fr 5vh;
    justify-content: center;
    align-items: start;
    justify-content: center;
}

.topbar .logo {
    display: block;
    background-image: url(images/pdf-convert-group-logo.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    width: 220px;
    height: 44px;
}

.topbar .logo img { width: 200px; }
.topbar {
    height: 100%;
    z-index: 1;
    position: relative;
    border-bottom: 1px solid #CCC;
}

.topbar .centerd {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.topbar .count {
    display: flex;
    align-items: center;
}

.topbar .count span {
    font-weight: bold;
    padding-right: 10px;
    font-size: 1.5em;
}

.centerd {
    width: auto;
    max-width: 1000px;
    display: flex;
    margin: 0 auto;
    height: 100%;
    align-items: center;
}

.topcontent {
    color: #FFF;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: auto;
}
.topcontent p{ color: #000;}

.topcontent .centerd {
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    width: auto;
}

.topcontent h1 {font-size: 2.5em;color: #000;}


.cfbox {
    background-color: rgb(239 46 48);
    border: 0;
    border-radius: 0;
    width: 70%;
    height: 60%;
    display: grid;
    place-items: center;
    margin: 2vh auto 0 auto;
    padding: 15px;
    cursor: pointer;
}

.cfbox i{
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    display: flex;
    border: 1px dashed #FFF;
    border-width: 2px;
    font-style: normal;
    background-color: #bf1919;
}
.cfbox a { text-decoration: none; }

.choose_btn, .btn {
    background-color: #fdfdfd;
    color: #616161;
    display: block;
    padding: 10px 20px;
    border-radius: 0;
    border: 0;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    width: auto;
    text-decoration: none;
    border: 1px solid #ffffff;
}

.btn:hover, .choose_btn:hover {background-color: #DDD;color: #000;}
.choose_btn {
    padding: 10px 30px 10px 50px;
    background-image: url(images/search_icon.png);
    background-repeat: no-repeat;
    background-size: 20px;
    background-position: 15px center;
    font-size: 15px;
    text-transform: uppercase;
}

.maincontent{ margin:20px;}
.maincontent p{ margin:20px; text-align: left;}
.maincontent ol{ margin:20px 50px; text-align: left;}

.boxes, .bottomcontent {
    text-align: center;
    background-color: #fff;
    height: 100%;
    width: auto;
    max-width: 1000px;
    display: flex;
    margin: 0 auto 20px auto;
    height: 100%;
    align-items: stretch;
}

.box {
    width: 33%;
    margin: 20px 10px;
    padding: 1vw;
    border-radius: 20px;
    background-color: #FFF;
    background-position: center 50px;
    background-repeat: no-repeat;
    background-size: 60px;
    padding-top: 160px;
}

.box p{ text-align: justify;}

.box h1 {
    margin-top: 130px;
    font-size: 1em;
    padding-bottom: 1vh;
}

.box p { font-size: .9em; }
.box.ribon { background-image: url(images/icon1.png); }
.box.flag { background-image: url(images/icon2.png);}
.box.pc {background-image: url(images/icon3.png); }

footer {
    background-color: #444;
    color: #FFF;
    height: 100%;
}
footer .centerd {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 100%;
}
footer .nav {
    list-style: none;
    display: flex;
    flex-direction: row;
    margin: 0;
    align-items: center;
}
footer .nav li { padding: 0 10px; }
footer .nav li a {
    font-size: 0.9em;
    color: #FFF;
    text-decoration: none;
}
footer .nav li a:hover { text-decoration: underline; }





/* modal page --------------------------------------------------------------------------------------------------------------------- */

.modal {
    width: auto;
    max-width: 1300px;
    height: auto;
    padding: 50px 0px;
    box-shadow: 0px 22px 55px rgba(83, 83, 83, 0.45);
    background-color: #FFF;
    margin: 30px auto 0 auto;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
    color: #000;
}

.modal .centermodal {
    margin: 3vw;
    width: 50%;
    min-width: 300px;
}

.modal svg, .modal img { width: 100%; }
.modal .fnames {
    display: flex;
    flex-direction: row;
    font-size: 12px;
    align-items: stretch;
    justify-content: space-between;
}

.modal .fnames section { width: 22%; }
.modal .fnames span { display: block; color: #666;}


/* congrats page --------------------------------------------------------------------------------------------------------------------- */

.notif {
    width: 100%;
    height: auto;
    background-color: #FFF;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    color: #000;
    text-align: left;
    z-index: 1;
    margin: 0 auto;
    max-width: 1000px;
}

.filler {
    width: 30%;
    min-width: 200px;
    text-align: center;
    border-right: 1px solid #CCC;
}

.filler img {
    width: 200px;
    display: block;
    margin: 50px auto;
}

.options {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 20px;
    background-color: #FAFAFA;
}

.options .optionbtns {
    margin: 20px 0;
    display: grid;
    grid-template-columns: 49% 49%;
    grid-gap: 15px;
}

.options .gbtn {
    display: block;
    width: auto;
    text-align: center;
    color: #777;
    font-weight: bold;
    background-color: #F2F2F2;
    padding: 20px 0;
    float: left;
    border: 1px solid #CCC;
    border-radius: 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;

}

.options .gbtn img.icon {
    width: 20px;
    margin-right: 10px;
}


.options a.gbtn:hover {
    color: #000;
    background-image: linear-gradient(to top, #c4c5c7 0%, #dcdddf 52%, #ebebeb 100%);
}

.options h3 {
    font-weight: normal;
    color: #666;
}

.converted {
    display: flex;
    flex-direction: row;
    margin-top: 20px;
    align-items: center;
    justify-content: space-between;
    background-image: url(images/pdficon.jpg);
    background-repeat: no-repeat;
}

.converted * { color: #444; }
.converted a:hover, .converted a:hover * { color: #000; }

.file * {
    display: block;
    margin-left: 88px;
}


.download .icons {
    width: 200px;
}

.downloadbtn {
    display: block;
    padding: 10px;
    border: 1px solid #CCC;
    text-align: center;
    border-radius: 10px;
    font-weight: bold;
    background-color: #f2f2f2;
}

@media screen and (max-width: 800px) {
    .converted {
        flex-direction: column;
        background-image: none;
        margin-bottom: 20px;
    }

    .converted .file {
        background-image: url(images/pdficon.jpg);
        background-position: center left;
        background-repeat: no-repeat;
        background-size: contain;
    }

    .converted .file * {
        margin-left: 40px;
    }

    .converted .download {
        width: 100%;
        height: 100px;
        display: block;
        text-align: center;
        margin-top: 20px;
    }

    .options {
        text-align: center;
    }

    .options .gbtn {
        width: auto;
        min-width: 250px;
        max-width: 300px;
    }

    .options .optionbtns {
        grid-template-columns: 60%;
        margin: 2vh auto;
    }

    .bottomcontent {
        align-items: stretch;
    }

    .centerd {
        flex-direction: column !important;
    }
}

@media screen and (max-width: 600px) {
    .notif {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .notif h3 {
        font-weight: normal;
        color: #666;
        display: block;
        font-size: 4vw;
        margin: 0 auto;
    }

    .filler {
        border: 0;
    }

    .filler img {
        width: 150px;
        margin: 0 auto;
    }

    .options .optionbtns {
        grid-template-columns: 100%;
    }

    .options {
        width: auto;
        padding: 20px 0;
    }

    .options .gbtn {
        padding: 10px 0;
    }

    main {
        grid-template-rows: auto 43vh 1fr 50px;
    }

    .bottomcontent {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .bottomcontent .box {
        width: 80%;
        padding: 20px;
    }

    .cfbox {
        width: 90%;
    }

    .centerd .nav {
        flex-direction: column;
    }

}




/* congrats2 page */


.steps p {
    margin: 30px;
}

.steps ol {
    margin: 0 50px;
}

.steps .installbtn {
    margin: 50px auto;
    width: 300px;
    background-color: #169D59;
    border: 0;
    display: block;
    padding: 13px;
    border-radius: 10px;
    color: #FFF;
    font-size: 1.2em;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
}

.installbtn:hover {
    background-color: #19ae63;
}


.leftpane {
    text-align: left;
    padding: 10px;
    width: 40%;
}

.boxfile {
    width: 100%;
    height: 20vh;
    background-color: #F57521;
    position: relative;
    color: #FFF;
}


.boxfile h2 {
    color: #FFF;
    display: block;
    position: absolute;
    left: 20px;
    top: 10px;
}

.boxfile span {
    position: absolute;
    text-align: center;
    bottom: 20px;
    display: block;
    width: 100%;
    font-size: 12px;
}


.filename {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}

.filename p {
    font-size: 12px;
    display: flex;
    align-items: center;
}

.notif .details {
    display: grid;
    grid-template-columns: 30% 70%;
    grid-template-rows: 20px 20px 20px;
    font-size: 12px;
    margin: 10px;
}

.details span {
    text-align: right;
}

.details .fileinfo {
    grid-area: 1 / 1 / 2/ 3;
    font-weight: bold;
}

.convert {
    display: block;
    margin: 20px auto;
    width: 100%;
    font-weight: normal;
}

.svg-icon {
    width: 1em;
    height: 1em;
}

.svg-icon path,
.svg-icon polygon,
.svg-icon rect {
    fill: #F57521;
}

.svg-icon circle {
    stroke: #F57521;
    stroke-width: 1;
}