.main h1{
    text-align: center;
    font-size: 45px;
    font-weight: 600;
    margin: 0;
}

.main .choose-image-cont{
    padding: 20px;
    margin-top: 20px;
    border-radius: 20px;
    box-sizing: border-box;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    border: 2.5px dashed #fb320e;
}

.main .choose-image-cont.dragover{
    background-color: #f5f6fb;
}

.main .choose-image{
    width: 250px;
    display: flex;
    padding: 25px 0 5px 0;
    flex-direction: column;
}

.main .file-button button{
    width: 100%;
    float: left;
    color: white;
    border: none;
    outline: none;
    border-radius: 10px;
    text-align: center;
    font-size: 17px;
    padding: 15px 0;
    background-color: #fb320e;
    font-family: 'Poppins', sans-serif;
}

.main .file-button input{
    display: none;
}

.main .choose-image .drop-label{
    width: 100%;
    float: left;
    font-size: 14px;
    padding: 10px 0;
    text-align: center;
}

.main p{
    width: 100%;
    float: left;
    font-size: 15px;
    text-align: center;
    padding: 0 20px;
    box-sizing: border-box;
    color: #2F323D;
}

.main p b{
    padding: 0 2px;
    border-radius: 6px;
    color: white;
    font-weight: 400;
}

.main p .jpeg{
    color: #50c878;
}

.main p .png{
    color: #0062f4;
}

.main p .jpg{
    color: #ffa500;
}

.main .image-compress{
    width: 100%;
    float: left;
    border-radius: 20px;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.main .image-compress .file-cont{
    width: 100%;
    float: left;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
}

.main .img-container{
    float: left;
    width: 200px;
    padding: 10px;
    border: 1px solid #e5e9f8;
    border-radius: 5px;
    margin-top: 20px;
}

.main .img-container img{
    width: 200px;
    height: 200px;
    float: left;
    object-fit: cover;
}

.main .img-container label{
    width: 100%;
    float: left;
    text-align: center;
    font-size: 13px;
    color: #757485;
    white-space: nowrap;
    overflow: hidden;
    padding: 5px;
    box-sizing: border-box;
    text-overflow: ellipsis;
}

.compress-levels{
    width: 100%;
    float: left;
    margin-top: 40px;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
}

.level{
    width: 200px;
    float: left;
    display: flex;
    flex-direction: row;
    padding: 20px 10px;
    border-radius: 10px;
    box-sizing: border-box;
    border: 1px solid #f5f6fb;
}

.active{
    background-color: #f5f6fb;
}

.level span{
    float: left;
    padding: 15px 5px 12px 5px;
}

.level h3{
    width: 100%;
    float: left;
    font-size: 13px;
    margin: 0;
    padding: 5px;
    box-sizing: border-box;
    display: flex;
}

.level h3 b{
    font-weight: 600;
}

.recommended h3 i{
    width: 25px;
    height: 16px;
    float: right;
    background-image: url("../assets/star.png");
    background-position: center;
    background-size: 14px 14px;
    background-repeat: no-repeat;
}

.level h4{
    width: 100%;
    float: left;
    font-size: 12px;
    margin: 0;
    font-weight: 400;
    color: #757485;
    padding: 0 5px;
    box-sizing: border-box;
}

.compress-btn{
    width: 100%;
    float: left;
    padding: 20px 0;
}

.compress-btn input{
    float: right;
    color: white;
    font-size: 14px;
    border: none;
    outline: none;
    border-radius: 10px;
    padding: 12px 25px 12px 45px;
    background-color: #fb320e;
    font-family: 'Poppins', sans-serif;
    background-image: url("../assets/arrow-right-white.svg");
    background-position: 15px;
    background-size: 25px 25px;
    background-repeat: no-repeat;
}

.compressing {
    width: 100%;
    float: left;
    border-radius: 20px;
    padding: 100px 20px;
    box-sizing: border-box;    
}

.loader {
    width: 100px;
    height: 20px;
    float: left;
    left: 50%;
    position: absolute;
    transform: translate(-50%,-50%);    
}

.loader > div {
    content: " ";
    width: 20px;
    height: 20px;
    background: #2196F3;
    border-radius: 100%;
    position: absolute;
    -webkit-animation: shift 2s linear infinite;
    animation: shift 2s linear infinite;
}

.loader > div:nth-of-type(1) {
  -webkit-animation-delay: -.4s;
          animation-delay: -.4s;
}

.loader > div:nth-of-type(2) {
  -webkit-animation-delay: -.8s;
          animation-delay: -.8s;
}

.loader > div:nth-of-type(3) {
  -webkit-animation-delay: -1.2s;
          animation-delay: -1.2s;
}

.loader > div:nth-of-type(4) {
  -webkit-animation-delay: -1.6s;
          animation-delay: -1.6s;
}

@-webkit-keyframes shift {
    0% {
        left: -60px;
        opacity: 0;
        background-color: yellow;
    }
    10% {
        left: 0;
        opacity: 1;
    }
    90% {
        left: 100px;
        opacity: 1;
    }
    100% {
        left: 160px;
        background-color: red;
        opacity: 0;
    }
}

@keyframes shift {
    0% {
        left: -60px;
        opacity: 0;
        background-color: yellow;
    }
    10% {
        left: 0;
        opacity: 1;
    }
    90% {
        left: 100px;
        opacity: 1;
    }
    100% {
        left: 160px;
        background-color: red;
        opacity: 0;
    }
}

.compressed-image{
    width: 100%;
    float: left;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    border: 1px solid #e5e9f8;
}

.compressed-image h3{
    float: left;
    margin: 0;
    margin-bottom: 20px;
    font-weight: 500;
    text-align: center;
}

.compressed-image .percentage{
    display: flex;
    flex-direction: column;
}

.compressed-image .percentage b{
    float: left;
    color: #fb320e;
    font-size: 50px;
    font-weight: 500;
}

.compressed-image .percentage label{
    float: left;
    margin-top: -10px;
    color: #757485;
    text-align: center;
    font-size: 12px;
}

.compressed-image h5{
    font-size: 15px;
    font-weight: 400;
    margin: 0;
    text-align: center;
}

.compressed-image .button{
    margin-top: 30px;
    color: white;
    border: none;
    outline: none;
    font-size: 20px;
    border-radius: 10px;
    padding: 15px 30px 15px 65px;
    background-image: url("../assets/download-white.svg");
    background-position: 20px;
    background-size: 30px 30px;
    background-repeat: no-repeat;
    font-family: 'Poppins', sans-serif;
    background-color: #fb320e;
}

.compressed-image a{
    font-size: 14px;
    color: black;
    padding: 10px 0;
    text-decoration: none;
    text-align: center;
}

.compressed-image a b{
    color: #fb320e;
    font-weight: 400;
}

@media screen and (max-width: 800px) {
    main h1{
        font-size: 30px !important;
    }
    
    main h2{
        font-size: 18px !important;
    }

    main .main{
        width: 100%;
        padding: 10px 0;
        box-sizing: border-box;
    }

    .main .img-container{
        width: 90%;
        height: auto;
    }

    .main .img-container img{
        width: 100%;
        height: auto;
    }

    .level{
        width: 250px;
        margin-top: 10px;
    }

    .content{
        width: 100%;
    }

    .steps{
        padding: 20px;
        box-sizing: border-box;
    }

    .step{
        width: 100%;
    }

    .sequence{
        width: 80px !important;
    }
}