* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
a {
    text-decoration: none;
    color: #000;
}

@font-face {
    font-family: 'Rubik';
    src: url('../fonts/Rubik-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Rubik';
    src: url('../fonts/Rubik-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

body {
    background: #fffdf2;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
header {
    background: #e8e8e8;
    width: 100%;
    height: 70px;
    z-index: 1041;
    position: fixed;
    right: 0;
    left: 0;
    top: 0;
    -webkit-box-shadow: 0 3px 6px 0 rgba(50, 50, 50, .3);
    box-shadow: 0 3px 6px 0 rgba(50, 50, 50, .3);
}
nav {
    display: flex;
    align-items: center;
    height: 70px;
    justify-content: space-between;
    margin: 0 45px;
}
/* From Uiverse.io by ke1221 */ 
a.logo {
  display: block;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #090909;
  padding: 0.7em 1.7em;
  font-size: 16px;
  border-radius: 0.5em;
  /* background: #e8e8e8; */
  cursor: pointer;
  border: 1px solid #e8e8e8;
  transition: all 0.3s;
  box-shadow: 6px 6px 12px #c5c5c5, -6px -6px 12px #ffffff;
  font-family: "Rubik", sans-serif;
  background: linear-gradient(45deg, rgb(228, 232, 236) 0%, rgb(234 234 234) 100%);
}

a.logo:active {
  background: linear-gradient(45deg, rgb(218, 221, 224) 0%, rgb(241, 241, 241) 100%);
  box-shadow: -2px -7px 10px #d4d7da, 4px 6px 10px #f1f1f1, inset -2px -7px 10px #f1f1f1, inset 4px 6px 10px #d4d7da;
  transition: all .3s;
}

.nav-actions {
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}

/* MobileMenu */

.menu-button {
    width: 45px;
    height: 45px;
    transform: scale(1);
    border-style: none;
    outline: none;
    cursor: pointer;
    border-radius: 50%;
    background: rgb(228, 232, 236);
    background: linear-gradient(45deg, rgb(228, 232, 236) 0%, rgb(234 234 234) 100%);
    border: 1px solid #e8e8e8;
    transition: all 0.3s;
    box-shadow: 6px 6px 12px #c5c5c5, -6px -6px 12px #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-button:active {
  background: rgb(218, 221, 224);
  background: linear-gradient(45deg, rgb(218, 221, 224) 0%, rgb(241, 241, 241) 100%);
  box-shadow: -2px -7px 10px #d4d7da, 
    4px 6px 10px #f1f1f1,
    inset -2px -7px 10px #f1f1f1, 
    inset 4px 6px 10px #d4d7da;
  transition: all .3s;
  transform: scale(.95);
}

.menu-button:active svg {
  transform: scale(.9);
  transition: all .3s;
}

/* MobileMenu End */

.additional-services {
    margin-left: 10px;
}

.wrapper {
    margin: 0 auto;
    max-width: 1440px;
    min-height: 100%;
    position: relative;
}
.main {
    margin-top: 70px;
    overflow: hidden;
}
.main-home-text {
    position: relative;
    padding: 30px 45px;
    text-align: center;
    color: #111;
}
h1.main-home-title {
    font-size: 24px;
    font-family: 'Rubik';
}
h2.main-home-subtitle {
    font-size: 17px;
    color: gray;
    font-weight: 400;
    font-family: 'Rubik';
    margin-top: 8px;
}
.main-navigation {
    box-sizing: border-box;
    display: flex;
    margin: 0px 30px;
}
.subnavigation-link {
    text-decoration: none;
    display: block;
    width: 100%;
    margin: 15px;
    position: relative;
}
.subnavigation {
    height: 70px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    background: linear-gradient(145deg, #e6e4da, #ffffff);
    box-shadow: 6px 6px 10px #cfcdc4, -6px -6px 10px #ffffff;
    transition: ease 0.1s all;
}
.navigation-text {
    font-family: "Rubik", sans-serif;
    font-size: 16px;
    user-select: none;
}
.subnavigation img {
    margin-right: 8px;
    user-select: none;
}
.subnavigation:hover {
    box-shadow: 3px 3px 7px #cfcdc4, -6px -6px 10px #ffffff;
    transition: ease 0.2s all;
}

.subnavigation:active {
    box-shadow: inset 3px 3px 6px #b5b5b5, inset -3px -3px 6px #ffffff;
    transition: ease 0.3s all;
}

/* .subnavigation-link.word2pdf.active .subnavigation {
    border-bottom: 2px solid #63c8ff;
}

.subnavigation-link.pptx2pdf.active .subnavigation {
    border-bottom: 2px solid #d35400;
}

.subnavigation-link.excel2pdf.active .subnavigation {
    border-bottom: 2px solid #27ae60;
}

.subnavigation-link.epub2pdf.active .subnavigation {
    border-bottom: 2px solid #FFC107;
}

.subnavigation-link.odt2pdf.active .subnavigation {
    border-bottom: 2px solid #3498db;
} */

.subnavigation-link.active .subnavigation {
    box-shadow: inset 3px 3px 6px #b5b5b5, inset -3px -3px 6px #ffffff;
}

.subnavigation-link.active .navigation-text {
    font-weight: 700;
}

.convert-box {
    margin: 15px 45px 20px;
    box-sizing: border-box;
}

.convert-flex {
    /* display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    height: 280px;
    background: white;
    border-radius: 10px;
    transition: all 0.2s ease;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px inset, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px inset;
    background-color: rgb(235, 235, 235);
    box-shadow: inset 3px 3px 6px #d1d1d1,
            inset -3px -3px 6px #ffffff; */
  background-color: #e8e8e8;
  border-radius: 10px;
  padding: 8px;
  height: 280px;
  transition: all 0.3s;
  box-shadow: 6px 6px 10px #cfcdc4, -6px -6px 10px #ffffff;
}

div#dropZone {
    /* border: 2px dashed #4b5563;
    border-radius: 10px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: ease 0.2s all; */
    background-color: #e4e4e4;
    border: none;
    border-radius: 10px;
    box-shadow: inset 5px 5px 5px #c4c4c4,
                inset -5px -5px 5px #ffffff;
    padding: 10px;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
}

div#dropZone:hover#dropZone svg {
    transition: all 0.3s;
    animation: blink 1s infinite linear;
}

div#dropZone svg {
    width: 40px;
    height: auto;
    color: #b1b1b1;
    transition: all 0.3s;
}

div#dropZone p {
    padding: 10px;
}

div#dropZone p span {
    color: gray;
    display: block;
    padding-top: 5px;
    font-style: italic;
}

.mainbutton, #convertBtn {
    margin: 20px auto;
    padding: 10px;
    height: 70px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    transition: ease 0.1s all;
    background: #2980b9;
    color: white;
    border: none;
    font-family: 'Rubik';
    text-transform: uppercase;
    cursor: pointer;
    font-size: 17px;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}

button#convertBtn:hover {
    background: #399bdb;
}

.bg-ppt {
    background: #d35603 !important;
}

.bg-xls {
    background: #27ae60 !important;
}

.bg-odt {
    background: #3fb2ff !important;
}

.file-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  margin: 20px auto;
  height: auto;
  transition: all 0.2s ease;
  border-radius: 10px;
}

.filebox {
  margin: 10px;
  text-align: center;
  width: 120px;
}

.fileicon {
  position: relative;
}

.fileicon img {
    border-radius: 10px;
    background: linear-gradient(145deg, #ffffff, #e6e4da);
    padding: 10px;
}

span.xbutton {
    position: absolute;
    width: 15px;
    height: 15px;
    top: 0;
    right: 20px;
    border-radius: 50%;
    background: #282828;
    color: white;
    font-size: 11px;
    transform: translate(5px, 0px);
    cursor: pointer;
}

span.xbutton:hover {
    background: chocolate;
}

.filename {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
}

.progress-bar {
  width: 100%;
  background-color: lightgray;
  height: 14px;
  border-radius: 4px;
  margin-top: 5px;
}

.progress-bar-fill {
  height: 100%;
  background-color: green;
  width: 0%;
  border-radius: 4px;
  position: relative;
}

.error {
    color: red;
    margin: 5px 45px;
    text-align: center;
}

span.progress-numb {
  font-size: 12px;
  font-weight: 200;
  color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.extra-info {
    margin: 40px 45px 20px;
    box-sizing: border-box;
}

.extra-info p {
    font-size: 17px;
    color: gray;
    font-weight: 400;
    font-family: 'Rubik';
    margin-top: 8px;
    font-style: italic;
}

.extra-info h2, .extra-info h3 {
    font-size: 20px;
    color: #3f3f3f;
}

/* Loader */

.loader {
  width: 10rem;
  height: 10rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  border-radius: 50%;
  box-shadow: 6px 6px 12px #c5c5c5, -6px -6px 12px #ffffff;
}

.loader:before {
  height: 4rem;
  width: 4rem;
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  background: #ececec;
  border-radius: 50%;
  border: 2px solid #e2e1e1;
  box-shadow: inset -5px -5px 9px rgba(255,255,255,0.45), 5px 5px 9px rgba(94,104,121,0.3);
}

.loader span {
  width: 80%;
  height: 80%;
  border-radius: 50%;
  background: linear-gradient(to bottom, rgb(89, 92, 252), rgb(226, 57, 241));
  /* animation: rotate .5s infinite linear; */
}

.loader-box {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.87);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #e8e8e8;
    z-index: 10;
    display: none;
}

.loading-text {
    margin-top: 25px;
    font-family: 'Rubik';
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.1;
    text-align: center;
    padding: 0 10px;
}

.error-place {
    color: red;
    margin-bottom: 30px;
    padding: 0 10px;
    text-align: center;
    transition: all 0.3s;
}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes blink {
    
    50% {
        color: green;
        transform: scale(1.1);
    }

    100% {
        color: #b1b1b1;
        transform: scale(1);
    }
}
/* Loader end */

@media (max-width: 800px) {
    nav {
        margin: 0 30px;
        transition: ease 0.2s all;
    }
    .main-navigation {
        display: grid;
        grid-template-columns: 1fr 1fr !important;
        gap: 15px;
        transition: ease 0.2s all;
    }
    .subnavigation-link {
        margin: 8px auto;
    }
    .subnavigation {
        box-shadow: 3px 3px 5px #cfcdc4, -6px -6px 5px #ffffff;
    }
    .convert-flex {
        box-shadow: 3px 3px 5px #cfcdc4, -6px -6px 5px #ffffff;
    }
    .convert-box, .extra-info {
        margin: 15px 30px 20px;
        transition: ease 0.2s all;
    }
}

@media (max-width: 470px) {
    .wrapper {
        display: flex;
        flex-direction: column;
    }
    a.logo {
        font-size: 13px;
        height: 35px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .menu-button {
        width: 37px;
        height: 37px;
    }
    .main-home-text {
        padding: 20px 18px;
        order: 1;
    }
    h1.main-home-title {
        font-size: 20px;
        margin-bottom: 10px;
    }
    h2.main-home-subtitle {
        font-size: 16px;
    }
    .main-navigation {
        display: flex;
        flex-direction: column;
        gap: unset;
        margin: 2px 18px 20px;
        order: 5;
    }
    .extra-info {
        order: 4;
        margin: 0 18px 20px;
    }
    .subnavigation {
        box-shadow: 2px 2px 2px #cfcdc4, -6px -6px 2px #ffffff;
    }
    .subnavigation-link {
        margin: 8px 0;
    }
    .convert-box {
        margin: 0 18px 20px;
        order: 3;
        transition: ease 0.2s all;
    }
    div#dropZone svg {
        color: green;
    }
    div#dropZone:hover#dropZone svg {
        animation: unset;
    }
    div#dropZone p {
        font-size: 14px;
    }
    .mainbutton, #convertBtn {
        margin: 10px auto 20px;
        font-size: 14px;
    }
    header, nav {
        height: 60px;
        transition: ease 0.3s all;
    }
    nav {
        margin: 0 18px;
    }
    .main {
        margin-top: 60px;
    }
    .error {
        order: 2;
    }
    div#dropZone p span {
        font-size: 12px;
        color: gray;
        display: block;
        padding-top: 5px;
    }
    .mob-hide {
        display: none;
    }
}