@media (min-width: 999px) {
    html, body {
        max-width: 100%;
        height: 100%;
    }


    body {
        font-family: "Atkinson Hyperlegible", "Calibri", serif;
        width: 100%;
        height: 100%;
        background: #00000e;
        background-size: cover;
        overflow-y: hidden;
        overflow-x: hidden;
    }
    body {
        font-family: "Atkinson Hyperlegible", "Calibri", serif;
        width: 100%;
        background: url(../images/bg.png) no-repeat top left fixed;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
        display: flex;
        flex-direction: column;
    }

    .headerTitle {
        color: white;
        font-size: xxx-large;
        font-weight: 800;
        letter-spacing: 43px;
        font-family: Metropolis-bold, sans-serif;
        justify-content: center;
    }

    .underHeader {
        color: white;
        font-family: Metropolis-thin, sans-serif;
        justify-content: center;
        font-size: small;
        letter-spacing: 1.5px;
        font-weight: 100;
        opacity: 0.7;
        margin-top: 20px;
    }

    .accentColor {
        color: #c755b0 !important;
    }

    .accentAltColor {
        color: #1592f2 !important;
    }

    .spacer {
        height: 120px;
    }

    .half-spacer {
        height: 60px;
    }

    .quarter-spacer {
        height: 40px;
    }

    a {
        color: #5a6674;
    }

    /* Unvisited link  */
    a:visited {
        color: #5a6674;
    }

    /* Visited link    */
    a:hover {
        color: #5a6674;
        text-decoration: none;
        font-weight: bold;
    }

    /* Mouse over link */
    a:active {
        color: #5a6674;
    }

    a.logout {
        border-radius: 50px;
        font-weight: bold;
        margin: auto 0 auto auto;
        padding: 10px 20px 10px 20px;
    }

    .transparentText {
        background-color: #fff;
        border: 0;
        border-radius: 5px;
        color: #000;
        font-family: inherit;
        mix-blend-mode: screen;
        display: block;
    }

    #logo {
        width: 60px;
        height: 60px;
    }

    .faButton {
        border: none;
        background: none;
        padding: 0;
        height: 25px;
        width: 25px;
    }

    .faButton:hover {
        cursor: pointer;
    }

    .faButton:focus {
        outline: none;
    }

    .faButton i {
        width: 100%;
        color: #c20042;
        font-size: 20px;
    }

    .searchWithImages {
        position: absolute;
        top: 17px;
        right: 80px;
    }

    .centeredButtons {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        color: #c654b1;
        font-size: x-large;
        font-family: 'Metropolis-black', sans-serif;
    }

    .jsonSubtitle {
        flex-basis: 45%;
        text-align: right;
        padding-top: 3px;
    }

    .jsonSubtitleInner {
        display: contents;
        cursor: pointer;
    }

    .sampleClickable {
        position: absolute;
        z-index: 105;
        margin-top: -30px;
        margin-left: 35px;
        color: white;
        opacity: 0.7;
        font-family: Metropolis-thin, sans-serif;
        font-size: 12px;
        letter-spacing: 0.5px;
        cursor: pointer;
    }


    .controlPanel > table {
        width: 100%;
    }

    div.controlPanel table thead th {
        padding: 25px 0 25px 0;
        font-size: 20px;
    }

    div.controlPanel table tbody td {
        padding: 15px 0 15px 0;
        font-size: 16px;
    }

    tr.selected {
        display: block;
        margin: 0 -50px 0 -50px;
        background: #c20042;
        color: white;
        border-radius: 50px;
    }

    tr.selected > td {
        text-align: center;
        display: block;
    }

    .actionPane {
        height: 100%;
        outline: 0px !important;
        -webkit-appearance: none;
        box-shadow: none !important;
        display: inline-block;
        flex-direction: column;
        flex-grow: 4;
        flex-basis: 100%;
    }

    .actionPane > table td, table td * {
        vertical-align: top;
        padding: 20px 0 20px 0;
    }

    .actionPane > table {
        width: 100%;
        text-align: center;
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
        border-collapse: collapse;
        /* height: 38vw; */
        overflow: hidden;
    }

    .actionPane table thead th {
        padding: 20px 0 20px 0;
    }

    .actionPane table thead {
        background-image: linear-gradient(to right, #e6004e, #9a0134);
        color: white;
    }

    .actionPane table tbody {
        background: white;
    }

    .pager {
        padding-bottom: 10px;
    }

    .faButtonFix {
        padding: 0 !important;
    }

    .conversionLangs {
        flex-basis: 45%;
        text-align: left;
        color: #1592F2;
        display: inline-flex;
    }

    .containerConversion {
        padding-left: 5%;
        padding-right: 5%;
        max-width: 100000px !important;
        width: 100%;
        height: 100%;
        padding-bottom: 0px;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
    }

    .big-textarea {
        margin-top: 0px;
        margin-bottom: 0px;
        height: 361px;
        font-family: Roboto Mono, Consolas, Courier New, monospace;
        font-size: .9rem;
        line-height: 1.45;
        text-shadow: 0.015em 0.015em 0 #666;
        color: #666;
        padding: calc(.75rem - 1px);
        overflow-y: scroll;
        font-weight: 300;
        min-height: 50vh;
    }

    .inputPlaceholder {
        position: absolute;
        left: 0;
        margin-top: 90px;
        text-align: left;
        opacity: 1;
        transition: .1s linear opacity;
    }

    .outputPlaceholder {
        position: absolute;
        right: 0;
        margin-top: 20vh;
        margin-bottom: 90px;
        text-align: right;
        opacity: 1;
        transition: .1s linear opacity;
    }

    .hideTrans {
        opacity: 0;
        transition: .1s linear opacity;
    }

    .showTrans {
        opacity: 1;
        transition: .1s linear opacity;
    }

    .placeholder {
        color: #161347;
        position: absolute;
        left: 0;
        top: 0;
        z-index: 100;
        font-family: 'Metropolis-black', sans-serif;
        max-width: 100%;
        font-size: min(10vh, 100px);
        pointer-events: none;
    }

    .notSelectable {
        -webkit-user-select: none; /* Safari */
        -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* IE10+/Edge */
        user-select: none; /* Standard */
        -o-user-select: none;
    }

    /* Language slider */
    .slider {
        -webkit-appearance: none;
        width: 100%;
        height: 15px;
        border-radius: 5px;
        background: #d3d3d3;
        outline: none;
        opacity: 0.5;
        -webkit-transition: .2s;
        transition: opacity .2s;
    }

    .slider:hover {
        opacity: 1;
    }

    .slider::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 25px;
        height: 25px;
        border-radius: 50%;
        background: #de004b;
        cursor: pointer;
    }

    .slider::-moz-range-thumb {
        width: 25px;
        height: 25px;
        border-radius: 50%;
        background: #de004b;
        cursor: pointer;
    }

    .lang-icon {
        height: 50px;
        opacity: 1;
    }

    .center-div {
        margin-left: auto;
        margin-right: auto;
        width: 50%;
    }

    .hiddenLang {
        opacity: 0.1;
    }

    .optionsTitle {
        color: white;
        text-align: left;
        margin-left: 10px;
        margin-bottom: 10px;
        padding-left: 20px;
        font-size: x-large;
    }

    .extraTitle {
        color: white;
        margin-bottom: 10px;
        font-size: x-large;
    }

    .rectangleInput {
        border: 1px #1592f2 solid;
        border-radius: 13px;
        color: #0C4DC3;
        font-family: Metropolis-medium, sans-serif;
        font-style: italic;
        text-align: left;
        padding-left: 10px;
        padding-top: 5px;
        font-size: small;
        margin-bottom: 30px;
    }

    .text-line {
        background-color: transparent;
        color: white;
        outline: none;
        border: none;
        font-family: Metropolis-bold, sans-serif;
        font-size: x-large;
    }
}


/* Mobile from now on*/
@media (max-width: 998px) {
    html, body {
        max-width: 100%;
        width: 100%;
        overflow-x: hidden;
    }
    body {
        font-family: "Atkinson Hyperlegible", "Calibri", serif;
        width: 100%;
        background: #00000e;
        background-size: cover;
        position: absolute;
    }

    body {
        font-family: "Atkinson Hyperlegible", "Calibri", serif;
        width: 100%;
        background: url(../images/bg_mobile.png) no-repeat top left fixed;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
        display: flex;
        flex-direction: column;
    }


    .headerTitle {
        color: white;
        font-size: xxx-large;
        font-weight: 800;
        letter-spacing: 20px;
        font-family: Metropolis-bold, sans-serif;
        justify-content: center;
    }

    .underHeader {
        color: white;
        font-family: Metropolis-thin, sans-serif;
        justify-content: center;
        font-size: small;
        letter-spacing: 1.5px;
        font-weight: 100;
        opacity: 0.7;
        margin-top: 20px;
        text-align: center;
        margin-left:30px!important;
        margin-right:30px!important;
    }

    .accentColor {
        color: #c755b0 !important;
    }

    .accentAltColor {
        color: #1592f2 !important;
    }

    .spacer {
        height: 60px!important;
    }

    .half-spacer {
        height: 30px;
    }

    .quarter-spacer {
        height: 20px;
    }

    .containerConversion {
        padding-bottom: 0px;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
    }

    .controlPanel {
        border-radius: 30px;
        text-align: center;
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        background-color: rgb(77 75 116 / 35%);
        display: flex;
        flex-direction: column;
    }

    .mobileRow {
        -ms-flex: none !important;
        flex: none !important;
        max-width: initial !important;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        margin-bottom: 50px;
        padding: 0px!important;
    }

    .optionsTitle {
        color: white;
        text-align: left;
        margin-left: 10px;
        margin-bottom: 10px;
        padding-left: 20px;
        font-size: x-large;
    }

    .extraTitle {
        color: white;
        margin-bottom: 10px;
        font-size: x-large;
    }

    .rectangleInput {
        border: 1px #1592f2 solid;
        border-radius: 13px;
        color: #0C4DC3;
        font-family: Metropolis-medium, sans-serif;
        font-style: italic;
        text-align: left;
        padding-left: 10px;
        padding-top: 5px;
        font-size: small;
        margin-bottom: 30px;
    }

    .text-line {
        background-color: transparent;
        color: white;
        outline: none;
        border: none;
        font-family: Metropolis-bold, sans-serif;
        font-size: x-large;
    }

    .centeredButtons {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: center;
        color: #c654b1;
        font-size: x-large;
        font-family: 'Metropolis-black', sans-serif;
    }

    .jsonSubtitle {
        flex-basis: 45%;
        text-align: right;
        padding-top: 3px;
        padding-bottom: 20px;
    }

    .jsonSubtitleInner {
        display: contents;
        cursor: pointer;
    }

    .sampleClickable {
        position: absolute;
        z-index: 105;
        margin-top: -30px;
        margin-left: 35px;
        color: white;
        opacity: 0.7;
        font-family: Metropolis-thin, sans-serif;
        font-size: 12px;
        letter-spacing: 0.5px;
        cursor: pointer;
    }

    .mobileCenterText {
        text-align: center;
    }

    .conversionLangs {
        flex-basis: 45%;
        text-align: left;
        color: #1592F2;
        display: inline-flex;
        justify-content: center;
    }

    .mobileHidden{
        display: none;
    }

    .jsonSubtitleInner {
        display: contents;
        cursor: pointer;
        margin-bottom:20px;
    }

    .inputPlaceholder {
        position: absolute;
        left: 0;
        margin-top: 90px;
        text-align: left;
        opacity: 1;
        transition: .1s linear opacity;
    }

    .outputPlaceholder {
        position: absolute;
        right: 0;
        margin-top: 20vh;
        margin-bottom: 90px;
        text-align: right;
        opacity: 1;
        transition: .1s linear opacity;
    }

    .hideTrans {
        opacity: 0;
        transition: .1s linear opacity;
    }

    .showTrans {
        opacity: 1;
        transition: .1s linear opacity;
    }

    .placeholder {
        color: #161347;
        position: absolute;
        left: 0;
        top: 0;
        z-index: 100;
        font-family: 'Metropolis-black', sans-serif;
        max-width: 100%;
        font-size: 20vw;
        pointer-events: none;
    }

    .notSelectable {
        -webkit-user-select: none; /* Safari */
        -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* IE10+/Edge */
        user-select: none; /* Standard */
        -o-user-select: none;
    }
    .CodeMirror{
        height: 60vh!important;
        border-bottom-left-radius: 30px;
        border-bottom-right-radius: 30px;
    }
    /* Scrollbar for code box*/
    .CodeMirror-vscrollbar::-webkit-scrollbar-button:end:decrement {
        height: 30px;
        display: block;
        background: transparent;
    }
    .mobileFlexWrap{
        flex-direction: column;
        align-items: center;
    }
}