:root {
    --color1: #ff784f;
    --color1-dark: #c95532;
    --color1-darker: #a84729;
    --color1-light: #ffe4dc;
    --color1-lighter: #fffaf8;
    --almost-black: #2c2c2c;
    --almost-white: #fcfcfc;
    --merge-btn-tooltip-content: "Please load at least 2 IFCs";
    --soon-tooltip-content: "Soon!";
    --estimated-runtime: "Estimated runtime: -";
    --desktop-tooltip-content: "Download the desktop version for free!";
}

body {
    font-family: 'Nunito', 'Segoe UI', 'Arial', 'sans-serif';
    color: var(--almost-black);
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    width: 100%;
    height: 100svh;
    position: fixed;
    display: flex;
    flex-direction: column;
}

#whole-page {
    height: 100svh;
    display: flex;
    flex-direction: column;
}

#overlay {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0);
    color: rgba(255, 255, 255, 0);
    transition: background-color 0.3s, color 0.3s;
    z-index: 5000;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    font-weight: bold;
}

#overlay.active {
    background-color: rgba(157, 190, 216, 0.4);
    color: rgba(255, 255, 255, 1);
    transition: background-color 0.3s, color 0.3s;
}

#overlay.faded {
    pointer-events: all;
    /* Disables every buttons below */
    background-color: rgba(255, 255, 255, 0.6);
    color: rgba(255, 255, 255, 1);
    transition: background-color 0.4s, color 0.1s;
}

#popup-info {
    overflow-y: visible;
    display: block;
    justify-content: center;
    align-items: center;
    position: fixed;
    max-height: 85svh;
    min-width: 60%;
    max-width: 80%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--almost-white);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 20px;
    z-index: 9999;
    opacity: 1;
}

#popup-info-content {
    padding-bottom: 50px;
}

#close-btn {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 200;
}

#close-btn img {
    width: 28px;
    height: 28px;
    cursor: pointer;
    transition: width, height 0.2s;
    background-color: var(--color1-light);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}


#close-btn img:hover {
    width: 32px;
    height: 32px;
}

#popup-message {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--color1-light);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    color: var(--almost-black);
    padding: 10px 20px;
    font-size: 18px;
    z-index: 9999;
    opacity: 0.95;
}

#popup-message.shake {
    animation: shake 0.9s ease-out 1;
}

#popup-message.fadeout {
    animation: fadeOut 0.8s ease-in-out forwards;
}


@keyframes shake {

    0%,
    100% {
        transform: translate(-50%, -50%);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translate(-50%, -50%) translateX(-5px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translate(-50%, -50%) translateX(5px);
    }
}

@keyframes fadeOut {
    from {
        opacity: 0.95;
    }

    to {
        opacity: 0;
    }
}


#header {
    z-index: 100;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: var(--almost-white);
    padding: 16px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 40px;
}

#app-name {
    display: flex;
    flex-direction: row;
}

#app-logo {
    cursor: pointer;
}

#app-logo img {
    display: flex;
    align-items: center;
    cursor: pointer;
    height: 42px;
    pointer-events: none;
}

#title {
    font-size: 1.4rem;
    display: flex;
    flex-direction: row;
    flex-grow: 1;
    align-items: baseline;
    justify-content: flex-start;
    gap: 20px;
    overflow: visible;
    padding: 0 20px;
    text-wrap: balance;
}

#title .current {
    font-family: 'League Spartan', 'Nunito', 'Segoe UI', 'Arial', 'sans-serif';
    font-size: 2.0rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--color1)
}

#download-desktop {
    margin-left: auto;
    font-size: 1.3rem;
    text-transform: none;
    border-radius: 25px;
    border: 1px solid #ccc;
    padding: 6px 12px;
    cursor: pointer;
    position: relative;
    color: var(--almost-black);
    text-decoration: none;
}

#download-desktop::before {
    text-transform: none;
    content: var(--desktop-tooltip-content);
    position: absolute;
    background-color: #666666;
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    z-index: 1000;
    font-size: 1rem;
    font-weight: lighter;
    visibility: hidden;
    opacity: 0;
    white-space: nowrap;
    transition: opacity 0.3s;
    overflow: visible;
}

#download-desktop:hover::before {
    opacity: 0.9;
    display: inline-block;
    visibility: visible;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 45px;
}

#download-desktop:hover {
    background-color: var(--color1-light);
    transition: background-color 0.3s;
}

.app {
    cursor: pointer;
}

#other-apps {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: baseline;
    overflow: hidden;
    gap: 10px;
}

#other-apps span {
    position: relative;
    overflow: visible;
}

.soon {
    color: #bdbdbd;
    cursor: default;
}

#dropdown-btn {
    text-transform: uppercase;
    border-radius: 7px;
    padding: 4px 8px;
    margin-left: -8px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#dropdown-btn.active {
    background-color: var(--color1-light);
}

#dropdown-content {
    border-radius: 7px;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    background-color: var(--color1-lighter);
    /* min-width: 160px; */
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 150;
    text-align: right;
    transition: opacity 0.2s, visibility 0.2s;
    display: inline-block;
    white-space: nowrap;
    min-width: max-content;
    max-width: 90vw;
    overflow-wrap: break-word;
    word-break: break-word;
}

#dropdown-content a {
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 7px;
    display: block;
    font-size: 1rem;
    position: relative;
}

#dropdown-content a:hover {
    background-color: #f1f1f1;
}

#dropdown-content.show {
    opacity: 1;
    visibility: visible;
    display: block;
}



#language-selector {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    height: 100%;
    gap: 3px;
}

.language {
    min-width: 75px;
    height: 20px;
    overflow: visible;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    font-size: 0.8rem;
    padding: 0 7px;
    justify-content: space-between;
    gap: 3px;
    align-items: center;
    background-color: #f3f3f300;
    transition: background-color 0.2s;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.language:hover:not(.active) {
    background-color: #f9f9f9;
    cursor: pointer;
}

.language:active:not(.active) {
    background-color: #e6e6e6;
    cursor: pointer;
}

.language.active {
    background-color: #e3f1ff;
}

.flag {
    display: flex;
    flex-flow: row nowrap;
    height: 14px;
    gap: 3px;
}

.flag-icon {
    display: flex;
    gap: 4px;
    height: 15px;
    margin-right: 7px;
}

picture {
    display: flex;
}

#flex-container {
    display: flex;
    flex-direction: row;
    flex: 1;
    margin: 0;
    justify-content: space-between;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
}

#main-div {
    position: relative;
    flex: 1;
}

.masked-overflow {
    overflow-y: auto;
    /* Transparent gradient maskfor scrolling */
    padding: 0 20px;
    max-height: 85svh;


    --scrollbar-width: 20px;
    --mask-height: 30px;
    --mask-height-bottom: 60px;
    --mask-image-content: linear-gradient(to bottom,
            transparent,
            rgba(0, 0, 0, 0.25) calc(var(--mask-height)/2),
            rgba(0, 0, 0, 1) var(--mask-height),
            rgba(0, 0, 0, 1) calc(100% - var(--mask-height-bottom)),
            rgba(0, 0, 0, 0.25) calc(100% - (var(--mask-height-bottom)/2)),
            transparent);

    --mask-size-content: calc(100% - var(--scrollbar-width)) 100%;
    --mask-image-scrollbar: linear-gradient(black, black);
    --mask-size-scrollbar: var(--scrollbar-width) 100%;

    mask-image: var(--mask-image-content), var(--mask-image-scrollbar);
    mask-size: var(--mask-size-content), var(--mask-size-scrollbar);
    mask-position: 0 0, 100% 0;
    mask-repeat: no-repeat, no-repeat;

    -webkit-mask-image: var(--mask-image-content), var(--mask-image-scrollbar);
    -webkit-mask-size: var(--mask-size-content), var(--mask-size-scrollbar);
    -webkit-mask-position: 0 0, 100% 0;
    -webkit-mask-repeat: no-repeat, no-repeat;
}

h1 {
    font-family: 'League Spartan', 'Nunito', 'Segoe UI', 'Arial', 'sans-serif';
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-align: center;
    margin: 0;
}

h2 {
    font-size: 1.8rem;
    text-align: center;
    margin-top: 25px;
}

h3 {
    font-size: 1.3rem;
    margin-block-start: 0.8em;
    margin-block-end: 0.6em;
}

p {
    margin-block-start: 1em;
    margin-block-end: 0.6em;
}

ul {
    list-style-type: none;
    padding-inline-start: 20px;
    margin-block-start: 0.6em;
    margin-block-end: 1em;
}

li {
    margin-bottom: 3px
}

table {
    border-collapse: collapse;
    table-layout: fixed;
    width: 100%;
}

th,
td {
    border: 1px solid #bbbbbb;
    padding: 5px 5px;
    word-wrap: break-word;
    text-align: center;
}

#main-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    padding: 0;
    margin: 0;
    flex-basis: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Problème de hauteur du panel si je ne mets pas ça */
#main-panel.processing {
    min-height: 100%;
    height: auto;
}

#main-panel.bigger {
    justify-content: space-between;
}

#main-panel.bigger>#inputs>#files-list-div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
}

#main-panel.processing {
    justify-content: center;
    border: none;
    background-color: transparent;
}

#inputs {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-evenly;
    background-color: var(--almost-white);
    border: 2px dashed #cccccc;
    border-radius: 30px;
    margin: 35px;
    padding: 20px 15px;
    position: relative;
    text-align: center;
    width: calc(100% - 110px);
}

#main-panel.bigger>#inputs {
    margin: 20px;
    width: calc(100% - 80px);
}


#info-btn {
    right: 30px;
    top: 30px;
}

#settings-btn {
    right: 30px;
    top: 85px;
}

.circle-btn {
    position: absolute;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 50;
}

.circle-btn img {
    height: 45px;
    width: 45px;
    cursor: pointer;
    transition: width, height 0.2s;
    background-color: var(--color1-light);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.circle-btn img:hover {
    width: 50px;
    height: 50px;
}

#inputs-title {
    text-wrap: balance;
}

#files-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 20px 0;
    gap: 5px;
    list-style-type: none;
    margin-bottom: 20px;
}

#files-list:empty {
    margin-bottom: 0;
}

#files-list li {
    padding: 5px 10px;
    margin-top: 5px;
    margin-bottom: 5px;
    border: 1px solid #ccc;
    background-color: #f3f9ff;
    transition: background-color 0.4s;
    display: flex;
    text-align: center;
    flex-direction: column;
    justify-content: space-between;
    gap: 15px;
    align-items: center;
    border-radius: 12px;
    font-style: italic;
    text-wrap: nowrap;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.05);
}

#files-list li:not(.processing) {
    cursor: move;
}

#files-list li #upper {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
}

#files-list li #file-img {
    max-height: 70px;
}

#item-label {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 270px;
    min-height: 3rem;
}

#item-label span {
    text-wrap: wrap;
    word-wrap: break-word;
    width: 100%;
}

#item-size {
    white-space: nowrap;
    font-size: 0.8rem;
    margin-left: 2px;
    color: #014a97;
}

.waiting {
    animation: rotateText 3s linear infinite;
}

#files-list li.new-item {
    background-color: #52a1f0;
    transition: background-color 0.05s;
}

#files-list li.warning {
    background-color: rgb(248, 170, 170);
    animation: clignotement 0.5s infinite;
}

#files-list li:hover:not(.processing):not(.new-item) {
    background-color: var(--almost-white);
    transition: background-color 0.2s;
}

#files-list li.processing {
    background-color: #eeeeee;
    color: #888;
}

#files-list li.processing #item-size {
    color: #888;
}

#move-icon {
    font-size: 1.3rem;
}

#trash-icon {
    font-size: 1.3rem;
    font-weight: normal;
    cursor: pointer;
}

#trash-icon:hover {
    color: #ff0000;
    transition: color 0.2s;
}

#file-input-label {
    padding-top: 0px;
    padding-bottom: 0px;
}

#file-input {
    display: none;
}

#inputs-oops {
    padding: 0 40px;
    color: #c4c4c4;
    font-weight: lighter;
    font-size: 3rem;
    text-wrap: balance;
}

#files-upload {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#files-upload.smaller>button {
    font-size: 1rem;
    font-weight: normal;
    padding: 5px 10px;
    gap: 8px;
    background-color: var(--almost-white);
    background-image: none;
    border: 1px solid #c5c5c5;
    box-shadow: none;
    color: var(--almost-black);
    transition: border 0.3s;
}

#files-upload.smaller>button:hover {
    border-color: #575757;
}

#files-upload.smaller>span {
    display: none;
}

.btn {
    position: relative;
    font-family: 'Nunito', 'Segoe UI', 'Arial', 'sans-serif';
    font-size: 1.5rem;
    font-weight: bold;
    display: block;
    padding: 20px 30px;
    margin: 0 auto;
    border: none;
    border-radius: 8px;
    /* Pour la transition quand on passe à "smaller" (sinon, border black) */
    border-color: #c5c5c5;
    cursor: pointer;
    /*background-color: var(--color1-dark);*/
    /*background-color: linear-gradient(135deg, var(--color1), var(--color1-dark));*/
    background: linear-gradient(to right, var(--color1) 0%, var(--color1-dark) 25%, var(--color1) 50%, var(--color1-dark) 75%), var(--color1-darker) 100%;
    background-position-x: 66%;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    color: white;
    background-size: 400% auto;
}

.btn:not(:hover):not(:active) {
    animation: callToAction 8s ease-in-out infinite;
}

#floating-merge-btn {
    display: none;
}

#settings-btn {
    display: none;
}

@keyframes callToAction {

    0%,
    85% {
        background-position-x: 0%;
    }

    100% {
        background-position-x: 66%;
    }
}

.btn:hover:not(:disabled) {
    background-position-x: 85%;
}

.btn:active:not(:disabled) {
    background-position-x: right;
}

#load-files-btn {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 30px;
    align-items: center;
}

#sidebar {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    min-width: 260px;
    max-width: 260px;
    background-color: var(--almost-white);
    padding: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

#settings-back {
    display: none;
}

.hidden {
    display: none !important;
}

#config {
    margin-bottom: 20px;
    width: 100%;
    font-size: 0.9rem;
    padding-bottom: 35px;
}

.settings_form {
    display: flex;
    flex-direction: column;
}

.settings_form label {
    max-width: 100%;
    width: max-content;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.config_settings.disabled {
    color: #888;
}

.settings_form:not(.disabled) .radioButton {
    cursor: pointer;
}

input[type="radio"] {
    margin-right: 5px;
}

#start {
    flex-basis: content;
    display: flex;
    flex-direction: row;
    align-items: center;
}

#working {
    padding-bottom: 20px;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    display: flex;
}

#working .status-img {
    height: 100px;
    display: none;
}

#working.processing>#processing-img {
    display: block;
}

#working.success>#success-img {
    display: block;
}

#working.error>#error-img {
    display: block;
}

#processing-img {
    animation: rotateText 2s ease-in-out infinite;
    transform-origin: center;
}

#processing-img-small {
    height: 30px;
    animation: rotateText 2s ease-in-out infinite;
    transform-origin: center;
    margin-right: 20px;
}


.btn:disabled {
    background-color: #ccc;
    background-image: none;
    color: #525252;
    cursor: default;
}

.soon::before {
    text-transform: none;
    content: var(--soon-tooltip-content);
    position: absolute;
    background-color: #666666;
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    z-index: 1000;
    font-size: 1rem;
    font-weight: lighter;
    visibility: hidden;
    opacity: 0;
    white-space: nowrap;
    transition: opacity 0.3s;
}

.soon:hover::before {
    opacity: 0.9;
    display: inline-block;
    visibility: visible;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.btn.merge::before {
    content: var(--estimated-runtime);
    position: absolute;
    background-color: #ffffffb6;
    color: var(--color1-darker);
    padding: 1px;
    font-size: 0.9rem;
    font-style: italic;
    font-weight: lighter;
    visibility: visible;
    opacity: 1;
    white-space: nowrap;
    top: -23px;
    left: 50%;
    transform: translateX(-50%);
}

.btn.merge:disabled::before {
    content: var(--merge-btn-tooltip-content);
    position: absolute;
    background-color: #333;
    color: #fff;
    padding: 4px;
    border-radius: 4px;
    z-index: 1000;
    font-size: 1rem;
    font-weight: lighter;
    visibility: hidden;
    opacity: 0;
    white-space: nowrap;
    transition: opacity 0.3s;
}

.btn.merge:disabled:hover::before {
    opacity: 0.9;
    display: inline-block;
    visibility: visible;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
}

#merge-btn {
    width: 100%;
    margin: 0;
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px;
    background-color: var(--almost-white);
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    margin-top: 35px;
    text-align: center;
}

#output-promo-logos {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    gap: 20px;
    margin-top: 5px;
    width: 100%;
}

#output-promo-logos img {
    max-height: 60px;
    max-width: 100%;
}

#linkedin-big {
    color: var(--almost-white);
    background-color: rgb(0, 119, 181);
    font-size: 1.5rem;
    padding: 7px 12px;
    border-radius: 7px;
}


#output {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 15px;
    max-width: 90vw;
    /* max-height: 100svh; */
}

#output-title {
    padding-bottom: 30px;
    text-align: center;
}

#output-text {
    display: block;
    text-align: center;
    word-wrap: break-word;
    text-wrap: wrap;
    max-width: 100%;
}

#error-message {
    margin-block-start: 10px;
    display: block;
    text-align: center;
    word-wrap: break-word;
    text-wrap: wrap;
    max-width: 100%;
    font-weight: bold;
}

#copyBtn {
    z-index: 10;
    background-color: var(--almost-white);
    border: 1px solid #ccc;
    border-radius: 4px;
    position: absolute;
    top: 5px;
    right: 20px;
    width: 30px;
    padding: 4px;
    transition: background-color 0.3s;
    cursor: pointer;
}


#footer {
    background-color: var(--color1-lighter);
    text-align: center;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1px 40px;
    font-size: 0.9rem;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.05);
}

#copyright a {
    color: var(--almost-black);
}

#legal {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

a {
    text-decoration: inherit;
    color: var(--color1-dark);
    cursor: pointer;
}

a:hover {
    text-decoration: underline;
}

#medias {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.social {
    margin-left: 10px;
    font-size: 23px;
    color: rgb(109, 109, 109);
    transition: color 0.3s;
}

.social:hover {
    color: rgb(0, 0, 0);
}

#try-desktop {
    text-align: center;
    font-size: 0.9rem;
    margin-top: 20px;
    background-color: var(--almost-white);
    border-radius: 10px;
    padding: 2px 12px;
    margin-left: auto;
    margin-right: auto;
}

#whole-download-page {
    /* background-color: var(--almost-white);
    border-radius: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1); */
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    margin: 20px;
    text-align: center;
    overflow-y: auto;
}

@keyframes rotateText {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


@keyframes clignotement {

    0%,
    100% {
        background-color: #f3f9ff;
    }

    50% {

        background-color: rgb(248, 170, 170);
    }
}


@media only screen and (max-width: 1000px) {
    #header {
        padding: 5px 10px;
    }

    #inputs {
        margin: 20px;
        width: calc(100% - 80px);
    }

    .btn {
        padding: 15px 20px;
    }

    #files-list {
        padding: 0;
    }

    #files-list li {
        gap: 5px;
    }

    #item-label {
        width: 225px;
    }

    #files-list li #file-img {
        max-height: 40px;
    }

    #popup-info {
        min-width: 80%;
        max-width: 90%;
    }

    #sidebar {
        min-width: 230px;
        max-width: 230px;
        padding: 15px;
    }

    #output-title {
        padding-bottom: 15px;
    }

    #working .status-img {
        height: 80px;
    }

    .circle-btn img {
        height: 35px;
        width: 35px;
    }

    .circle-btn img:hover {
        width: 40px;
        height: 40px;
    }

    #info-btn {
        right: 15px;
        top: 15px;
    }

    #settings-btn {
        right: 15px;
        top: 55px;
    }

    #inputs-oops {
        font-size: 2.5rem;
        padding: 0 30px;
    }

    #footer {
        font-size: 0.8rem;
    }

    #download-desktop {
        display: none;
    }

}

@media only screen and (max-width: 850px) {
    .language {
        min-width: auto;
    }

    .flag-icon {
        display: none;
    }
}

@media only screen and (max-width: 600px) {

    #title {
        font-size: 1.0rem;
        padding: 0 10px;
    }

    #title .current {
        font-size: 1.4rem;
    }

    #other-apps {
        display: none;
    }

    #item-label {
        width: 65vw;
    }

    #sidebar.show {
        opacity: 1;
        transform: translateX(0);
        display: flex;
    }

    #sidebar {
        z-index: 9000;
        min-width: 260px;
        max-width: 260px;
        opacity: 0.5;
        right: 0;
        top: 0;
        bottom: 0;
        position: absolute;
        transform: translateX(100%);
        padding: 10px;
        transition: transform 0.4s ease-out, opacity 0.4s ease-out;
    }


    #sidebar.show>#settings-back {
        position: absolute;
        top: 25px;
        right: 20px;
        display: block;
        padding: 3px;
        cursor: pointer;
        z-index: 9100;
    }

    #img-back {
        height: 30px;
    }

    #merge-btn {
        display: none;
    }

    #floating-merge-btn {
        display: block;
        position: absolute;
        bottom: 10px;
        right: 40px;
        left: 40px;
        padding: 10px;
        text-align: center;
    }

    #settings-btn {
        display: flex;
    }

    #main-panel.bigger>#inputs {
        margin-bottom: 75px;
    }

    #app-name {
        flex-direction: column;
    }

    #app-logo img {
        max-height: 36px;
    }

    #dropdown-content a {
        padding: 7px 15px;
        font-size: 0.9rem;
    }

    .social {
        font-size: 20px;
    }

    #title {
        margin: 5px 0;
    }

    #working .status-img {
        height: 50px;
    }

    #popup-info {
        padding: 10px;
    }

    #inputs-oops {
        font-size: 2rem;
        padding: 0 20px;
    }

    #footer {
        padding: 1px 10px;
    }

    #footer.hidden-on-smartphone {
        display: none;
    }

    #legal {
        gap: 15px;
    }

    #output-promo-div {
        padding: 10px;
    }

    #output-promo-logos {
        gap: 10px;
        margin-top: 2px;
    }

    #output-promo-logos img {
        max-height: 40px;
    }

    #linkedin-big {
        font-size: 1.1rem;
        padding: 4px 7px;
    }

}

@media only screen and (max-width: 460px) {

    #title,
    #dropdown-btn {
        gap: 5px;
        font-size: 0.9rem;
    }
}

@media only screen and (max-width: 350px) {
    #item-label {
        width: 50vw;
    }
}