#entry{
    width: clamp(500px, 70%, 700px);
    margin: auto;
    background: initial;
}
#entry:before {
    content: '';
    padding: 0;
    margin: 0;
}
label {
    padding-left: 10px;
    font-size: 1.3rem;
    min-width: 100px;
    display: inline-block;
}

#info {
    position: fixed;
    padding: 20px 40px;
    border: 1px solid #ccc;
    top: 80%;
    border-radius: 30px;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    box-shadow: 0 0 10px 0 #ccc;
    background-color: #4b4b4b;
    color: #eee;
    display: none;
}

#input {
    padding: 1rem;
    margin: 2.5rem 2.5rem 1rem;
    background: var(--main-green);
    border-radius: 1rem;
    border: 2px dashed #eee;
}
#conversion {
    padding: 0 1rem;
    margin: 0;
    flex: 1;
}
#conversion h2 {
    margin-bottom: 0.25rem;
}
.converter_content {
    flex: 1;
}
.converter_content_inner {
    flex: 1;
    padding: 0;
    border: var(--border-light);
    margin-right: 1rem;
    border-radius: 0.5rem;
}
.converter_content_inner > * {
    padding: 0.5rem 1rem;
    /*border-top: var(--border-light);*/
}
#download {
    padding: 1rem;
    margin: 1rem;
    border: var(--thick-border);
    border-color: #2196F3;
    background: #f5f5f5;
    position: relative;
    padding-bottom: 4rem;
}
#download h2 {
    margin-top: 0;
}
#download.hide {
    display: none;
}
.custom-file-upload {
    display: inline-block;
    border: 0;
    padding: 10px 20px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    background-color: #f9f9f9;
    color: #006704;
    margin: 0.5rem 0 0;
    border-radius: 0.25rem;
}

#dragDropText {
    font-size: 1.5rem;
    color: #96ff9a;
    margin: auto;
    margin-top: 15px;
    font-weight: 900;
    width: fit-content;
    opacity: 0;
    text-shadow: 0 0 5px #666;
}
.drag-over {
    border-color: #42b983;
}

#inputPreview,
#outputPreview{
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
#outputPreview {
    display: flex;
}
.file-preview {
    display: flex;
    justify-content: space-between;
    margin: 5px 15px;
    border: 1px solid #ddd;
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    position: relative;
    background: #fff;
}
.file-preview video {
    max-height: 100px;
    width: auto;
}
.file-preview .left,
.file-preview .right {
    display: flex;
    gap: 1rem;
    align-items: center;
}
#outputPreview .file-preview {
    background: #fff;
}
#inputPreview .file-preview img,
#outputPreview .file-preview img {
    max-height: 40px;
    max-width: 100px;
    width: auto;
    border: 1px solid #000;
}
.fileClose {
    background: red;
    padding: 0.5rem;
    border-radius: 50px;
    width: 1.2rem;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}
input[type=range] {
    accent-color: #ff8787;
    margin: auto;
    width: 100%;
    padding: 0;
    max-width: 100%;
}

label, button {
    border-radius: 10px;
}
input[type="color"] {
    height: 50px;
    width: 100%;
    margin: 10px auto 0;
}
input[type="file"] {
    display: none;
}

select {
    margin: 10px auto 0;
    font-size: 18px;
}
#controls {
    display: flex;
    flex-direction: column;
}
#controls label, span.control-label {
    font-size: 1rem;
    font-weight: 600;
    padding: 0;
    padding-right: 1rem;
    min-width: 0;
    margin-bottom: 0.5rem;
}
#controls>div {
    display: inline-grid;
    border: 1px solid #CCC;
    border-radius: 10px;
    padding: 0.75rem;
    margin: 0.5rem 0;
}

#controls>div h3 {
    font-weight: 400;
    margin: 0;
}
#controls>div h3 span {
    color: #cf6d00;
    font-size: 1.5rem;
}

#resetButton {
    background-color: initial;
    border: 1px solid;
    color: #444;
    padding: 10px 25px;
    cursor: pointer;
    margin: 10px 10px 30px;
    box-shadow: 0 2px 0px 0px #888;
}
a.image-download-link,
a.copy-link-button,
a.image-view-link,
a.share-button {
    display: flex;
    text-decoration: none;
    color: #333;
    background: #fff;
    padding: 5px 10px;
    border: 1px solid;
    font-weight: bold;
    box-shadow: 0 2px 0px 0px #888;
    display: block;
    margin: 10px auto;
    width: -webkit-fill-available;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
}
a.image-download-link {
    background: var(--main-blue);
    color: #fff;
}
a.image-download-link::before,
a.copy-link-button::before,
a.share-button::before,
a.image-view-link::before{
    height: 16px;
    float: left;
    width: auto;
    padding: 5px 0;
    margin: -5px 5px 0px 0px;
}
a.copy-link-button:hover,
a.image-view-link:hover,
a.share-button:hover {
    background: var(--focusin-hover);
    box-shadow: 0 2px 0px 0px #444;
}
.file-preview .fileinfo,
.file-info {
    max-width: 150px;
}
.file-info {
    color: #007dff;
    display: flex;
    justify
    font-size: 14px;
    margin: 10px 0 0;
}
.file-preview .file-name {
    font-size: small;
}
#disclaimer {
    font-size: 14px;
    margin: 1rem 1rem 0rem 2.5rem;
}
.stepn{
    display: none;
    color: #444;
    width: 50px;
    height: 50px;
    border: 1px solid #ffd43b;
    line-height: 50px;
    text-align: center;
    border-radius: 30px;
    margin-left: -50px;
    margin-top: 0;
    position: absolute;
    backdrop-filter: blur(5px);
}
#clearInputsButton {
    position: absolute;
    right: 1rem;
    bottom: 0;
    color: #555;
    font-size: 14px;
    padding: 0.25rem 0.75rem;
    margin: 0.5rem 0;
    border: 0;
    transition: 0.3s ease;
    border-radius: 4px;
}
#clearInputsButton:disabled {
    color: #aaa;
}

.desc-label {
    display: none;
    position: fixed;
    max-width: 250px;
    border-radius: 20px;
    bottom: 10px;
    left: 10px;
    width: 100%;
    background-color: #444;
    color: #eee;
    font-size: 14px;
    padding: 15px;
    box-sizing: border-box;
    z-index: 99;
}

@media only screen and (max-width: 600px) {
    #entry{
        width: calc(100% - 100px);;
    }
}
#howto span.button{
    font-weight: 500;
    border: 1px solid #000;
    padding: 2px 5px;
    border-radius: 5px;
    font-family: Futura;
}
#downloadButton {
    position: absolute;
    right: 0;
    bottom: 0.5rem;
    width: 200px;
}
  
  .range-container input[type="range"] {
    width: calc(100% - 1rem);
  }
  
  
  .range-scale {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-top: 6px;
    padding: 0 2px;
    color: #555;
  }

input[type="number"] {
    font-size: 1rem;
}
.control .desc {
    padding: 1rem 0;
    font-size: 14px;
    color: #456;
}
#controls .control.default, .control {
    background: #ffffff;
}
input.invalid {
    border-color: red;
    background-color: #ffecec;
}
.control-unit {
    padding-left: 0.5rem;
}
#control_resizeWidth,
#control_resizeHeight {
    width: 100px;
}
input, select {
    background: #f0fff0;
}
#howto h3 {
    margin: 0;
}
#chooseFileButton {
    transition: 0.3s ease;
}
#chooseFileButton:hover, #clearInputsButton:hover {
    box-shadow: 0 5px 15px #080;
}
input[type="text"], input[type="number"], select {
    font-size: 1rem;
}
#converter_buttons_wrapper {
    display: flex;
    justify-content: space-between;
}
#cancelButton {
    border: navajowhite;
    background: #ff4343;
    color: white;
}