@import url("https://v1.fontapi.ir/css/Estedad");
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  outline: none;
  scroll-behavior: smooth;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  list-style: none
}
body {
  width: 100;
}
.container{
    background-color: #f0f0f0;
    margin: auto;
    padding: 12px;
}
@media (min-width: 550px) {
  .container {
    width: 100%;
  }
}
@media (min-width: 768px) {
  .container {
    width: 95vw;
  }
}
@media (min-width: 992px) {
  .container {
    width: 850px;
  }
}
@media (min-width: 1200px) {
  .container {
    width: 1000px;
  }
}
@media (min-width: 1400px) {
  .container {
    width: 1150px;
  }
}


header{
    height: calc(100vh - 30px);
}


.title{
    text-align: center;
    font-family: Estedad;
    font-weight: 600;
    text-shadow: 1px 2px 15px #0000008a;
    border-bottom: 1px solid #7c7c7c;
    padding: 8px 0 20px;
    box-shadow: 0px 6px 10px 0px #0000001c;
    user-select: none;
}


.text_container{
    height: calc(100% - 50px);
    padding: 10px;
    display: flex;
    flex-direction: column;
    position: relative;
}
#text_box{
    width: 100%;
    flex: auto;
    padding: 40px 8px 8px;
    font-family: Estedad;
    resize: none;
    font-size: 12px;
}
.submit{
    width: 100%;
    height: 40px;
    margin-top: 8px;
    background-color: #0d6efd;
    border-radius: 4px;
    border: 2px solid #0052c9;
    cursor: pointer;
    font-family: 'Estedad';
    color: #fff;
    font-weight: 600;
    transition: .15s all ease-in-out;
    font-size: 12px;
}
.submit:hover{
    background-color: #0052c9;
}
.submit:active{
    transition: none;
    background-color: #003c96;
}
.tool_bar{
    position: absolute;
    top: 10px;
    left: 0;
    width: calc(100% - 20px);
    padding: 5px;
    margin: 0 10px;
    background-color: #0d6efd;
    border-bottom: 2px solid #0052c9;
    display: flex;
}
.tool_bar button{
    background-color: transparent;
    border: none;
    color: white;
    cursor: pointer;
    margin-right: 7px;
    display: flex;
    /* cva */
    user-select: none;
    transition: .15s all ease-in-out;
}
.tool_bar button:hover{
    color: rgb(212, 212, 212);
}
.tool_bar button i{
    font-size: 22px;
}

.result_container{
    min-height: 100vh;
}
.option{
    margin-top: 6px;
    padding: 2px;
    display: flex;
    flex-wrap: wrap;
}
.option > div{
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    font-family: 'Estedad';
    font-size: 12px;
    font-weight: 600;
    padding: 2px 0px;
    cursor: pointer;
}
.option div input{
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0;
    cursor: pointer;
}
.option div label{
    direction: rtl;
    padding-right: 8px;
    cursor: pointer;
    user-select: none;
}
.check_box{
    width: 35px;
    height: 16px;
    background-color: #9b9b9b;
    border-radius: 13px;
    position: relative;
    overflow: hidden;
}
.check_box span{
    width: 14px;
    height: 14px;
    background-color: #fff;
    position: absolute;
    top: 1px;
    left: 1px;
    border-radius: 50%;
    transition: .15s all ease-in-out;
}
.check_box span::before{
    content: ' ';
}



.file_input{
    width: 100%;
    height: 100%;
    opacity: 0;
    position: absolute;
    top: 0%;
    left: 0;
    cursor: pointer;
    z-index: 1;
}
.file_container{
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
}
.file_container div button{
    height: 27px;
    border-radius: 4px;
    font-family: 'Estedad';
    color: #fff;
    font-weight: 600;
    font-size: 11px;
    padding: 3px 7px;
    border: 2px solid #0f613b;
    background-color: #198754;
}
.file_container div{
    position: relative;
    cursor: pointer;
}

.file_container label{
    font-family: 'Estedad';
    direction: rtl;
    font-size: 13px;
    font-weight: bold;
    word-spacing: -1px;
    color: #000;
}
.option div input:checked ~ span{
    left: 20px;
}
.output .submit{
    display: none;
}
.output_tools{
    display: none;
}
.output .output_tools{
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    margin-top: 10px;
}

.output #progrerss{
    background-color: #fff000;
    width: 190px;
    height: 90px;
}

.output .output_container{
    width: 100%;
    flex-wrap: wrap;
    display: flex;
    padding-left: 8px;
}
.output .output_container button{
    height: 41px;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Estedad';
    color: #fff;
    font-weight: 600;
    transition: .15s all ease-in-out;
    font-size: 12px;
}
.output .reset{
    width: 100%;
    margin-top: 8px;
    margin-top: 8px;
    border: 2px solid #0052c9;
    background-color: #0d6efd;
}
.output .get_file{
    flex: auto;
    margin-left: 8px;
    border: 2px solid #0f613b;
    background-color: #198754;
}
.output .copy_output{
    flex: auto;
    border: 2px solid #d6a100;
    background-color: #ffc107;
}
.output .file_container{
    display: none;
}

.reset:hover,.get_file:hover,.copy_output:hover{
    filter: brightness(0.8);
}

.reset:active,.get_file:active,.copy_output:active{
    filter: brightness(0.7);
    transition: none;
}
@media (max-width:768px){
    #progrerss{
        margin: auto !important;
    }
    .output_container{
        width: 100% !important;
        padding: 0 !important;
        margin-top: 8px;
    }
}











