@font-face {
    font-family: DatalegreyaDot;
    src: url('../fonts/Datalegreya-Dot.otf');
}

@font-face {
    font-family: DatalegreyaGradient;
    src: url('../fonts/Datalegreya-Gradient.otf');
}

@font-face {
    font-family: DatalegreyaThin;
    src: url('../fonts/Datalegreya-Thin.otf');
}

body {
    padding-top: 65px;
    font-family: "Inter";
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6rem;

    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-feature-settings: "kern"on, "liga"on, "calt"on;
    -moz-font-feature-settings: "kern"on, "liga"on, "calt"on;
    -webkit-font-feature-settings: "kern"on, "liga"on, "calt"on;
    -ms-font-feature-settings: "kern"on, "liga"on, "calt"on;
    font-feature-settings: "kern"on, "liga"on, "calt"on;
    font-variant-ligatures: common-ligatures discretionary-ligatures contextual;
    font-kerning: normal;
}

h5 {
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
}

a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
}

a:hover {
    color:#FFF;
}

#mainContainer {
    padding-top: 10em;
}

#logo img {
    max-height: 40px;
    width: auto;
}

@media (min-width: 800px) {
    .text2Col {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
        -webkit-column-gap: 3em;
        -moz-column-gap: 3em;
        column-gap: 3em;
    }
}

@media (max-width: 800px) {
    .text2Col {
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
        -webkit-column-gap: 3em;
        -moz-column-gap: 3em;
        column-gap: 3em;
    }
}

.nav-item {
    font-family: "Inter";
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #FFF;
    font-weight: bold;
    cursor: pointer;
}

.nav-item.active {
    border-bottom: 4px solid #e77b64;
}



/* Buttons
-------------------------------------------------- */
.btn {
    cursor: pointer;
    text-align: center;
    transition: 0.3s background-color, 0.3s opacity;
}

.btn--info,
.btn--close,
.btn--help {
    /*position: absolute;
    top: 35vh;
    left: 46vw;
    margin-top: 12px;*/
    z-index: 11;
    width: 44px;
    height: 44px;
    opacity: 0.75;
}

.btn--info:hover,
.btn--close:hover,
.btn--help:hover {
    opacity: 1;
}

.closeButton {
    position: absolute;
    z-index: 2;
    right: 0px;
    margin-top: 1vw;
    margin-right: 3vw;
    background-color: transparent !important;
    border-color: transparent !important;
}

.helpButton,
.helpButton:hover,
.helpButton:active {
    background-color: transparent !important;
    border-color: transparent !important;
}

@media screen and (min-width: 480px) {
    .btn--large {
        font-size: 1em;
    }
}

@media screen and (min-width: 600px) {

    .btn--close,
    .btn--info,
    .btn--help {
        width: 60px;
        height: 60px;
    }

    .btn--close,
    .btn--help {}

    .btn--info {}
}


/* Datalegreya
-------------------------------------------------- */

.datalegreya {
    font-family: 'DatalegreyaThin', 'Alegreya Sans', sans-serif !important;
}

.datalegreya--gradient {
    font-family: 'DatalegreyaGradient', 'Alegreya Sans', sans-serif !important;
}

.datalegreya--minmax {
    display: inline-block;
    font-size: 6em;
    line-height: 0.15;
    vertical-align: bottom;
    position: relative;
    top: 0.32em;
    margin-left: 0.2em;
}

.alegreya {
    font-family: 'Alegreya Sans', sans-serif !important;
    font-weight: 100;
}

.pnum {
    -webkit-font-feature-settings: "pnum";
    -moz-font-feature-settings: "pnum";
    -ms-font-feature-settings: "pnum";
    -o-font-feature-settings: "pnum";
    font-feature-settings: "pnum";
}

.legendX {
    color: #f54f29;
}

.legendY {
    color: #f58729;
}

.letter {
    color: #fff;
}

.value {
    color: #ffd393;
}

.startVal {
    color: #1be2ab;
}

.minmax {
    color: #ad8f64;
}

.afterSpace {
    color: #1be2ab;
}

.neutral {
    color: #f00;
}

.io {
    min-height: 50px;
    margin: 0 auto;
    background-color: #343A40;
}

.input,
.output {
    display: inline-block;
    width: 100%;
    text-align: center;
    line-height: 1.5;
    white-space: pre;
}

.input {
    font-family: 'Alegreya Sans';
    font-size: 17px;
    font-weight: 100;
    background-color: transparent;
    pointer-events: auto;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    -o-user-select: text;
    user-select: text;
    word-break: break-all;
}

@media (min-width: 480px) {
    .input {
        font-size: 3.6vw;
    }
}

@media (min-width: 840px) {
    .input {
        font-size: 32px;
    }
}

.input::-webkit-autofill,
.input::-webkit-autofill:hover,
.input::-webkit-autofill:focus,
.input::-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0px 1000px #323131 inset;
}

.input::-webkit-input-placeholder {
    color: #ccc;
    text-shadow: none;
    -webkit-text-fill-color: initial;
}

#srcLegend {
    pointer-events: none !important;
    user-select: none;
}

.output {
    margin-left: -0.15em;
    font-size: 8.5vmax;
}

#io .input,
#io #srcLegend {

}

#io:after {
    content: 'Try it!';
    opacity: 0.5;
    position: relative;
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.025em;
    text-transform: uppercase;
    left: 0;
    margin-top: 1em;
}

#i {
    border: 0px;
    border-bottom: 1px solid rgba(248, 248, 248, 0.5);
    height: 2em;
    caret-color: white;
    color: transparent;
    position: absolute;
    height: 2em;
    top: 0;
    left: 15px;
    width: calc(100% - 30px);
    z-index: 1;
    margin-top: -0.25em;
}

textarea:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="time"]:focus,
input[type="week"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="color"]:focus,
.uneditable-input:focus {
    border-color: rgba(126, 239, 104, 0);
    box-shadow: 0 0px 0px rgba(0, 0, 0, 0.075) inset, 0 0 0px rgba(126, 239, 104, 0.6);
    outline: 0 none;
}


#i:hover,
#i:focus,
#i:active {
    /*background-color: #202224;*/
}

#o {
    min-height: 18vw;
}

/*#o:before {
    content: '▼';
    opacity: 0.5;
    position: relative;
    font-size: 1rem;
    display: block;
    top: 0;
    padding-left: 2rem;
}*/

@media screen and (min-width: 425px) {

    #io:after {
        font-size: 0.875rem;
    }

    #o {
        font-size: 10.75vw;
    }

    #o:before {
        font-size: 2rem;
    }
}

.carousel-item.howtoitem {
    background-color: #202224;
    padding: 0rem 2rem 8rem 2rem;
    min-height: 24rem;
}

.carousel-item .row {
    padding-top: 2rem;
}

.carousel-item .datalegreya {
    font-size: 4.5rem;
    padding-left: 1rem;
}

.carousel-item .alegreya {
    font-size: 2rem;
    padding-right: 1rem;
}

.carousel-item .instructions {
}
.carousel-item .result {
   position: absolute;
   bottom: 3rem;
   width: 100%;
   left: 15px;

}

.carousel-item h5 {
    font-size: 1rem;
    padding-top: 0.2rem;
    text-transform: uppercase;
}

.carousel-item .arrow {
    font-size: 3.2rem;
    position: absolute;
    margin-left: 0.7rem;
    color: #FFF;
}

.carousel-item .warning {
    width: 3em;
    height: auto;
    position: absolute;
    margin-left: -0.3rem;
}

.carousel_bullet {
    box-sizing: content-box;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    width: 9px !important;
    height: 9px !important;;
    margin-right: 9px !important;;
    margin-left: 9px !important;;
    text-indent: -999px;
    cursor: pointer;
    background-color: #fff;
    background-clip:content-box !important;
    border-top: 0px solid transparent !important;
    border-bottom: 0px solid transparent !important;;
    border-radius: 15px;
    opacity: .5;
    transition: opacity .6s ease;
}

.iconesMinMax {
    position: relative;
    width: 4em;
    height: auto;
    margin-right: 2em;
}

.howtoText {
    max-width: 30rem;
}

.howtoText.text2Col {
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    break-inside: avoid;
}

.carousel-control-next,
.carousel-control-prev {
    width: 5%;
}

/**
converter //////////////////////////////////////////////////////:
*/
#converter h3 {
    color: #FFF;
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 1.75rem;
    font-weight: 100;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 2.5em;
}

#converter h4 {
    color: #fff;
    font-family: 'Alegreya Sans', sans-serif;
    letter-spacing: 0.025em;
    font-size: 1.25rem;
    font-weight: 400;
    padding-bottom: .5em;
    border-bottom: 1px solid rgba(255, 255, 255, .25);
    margin-top: 0.1em;
    margin-bottom: 0.8em;
}

#converter h5 {
    color: #AAA;
    font-family: 'Alegreya Sans', sans-serif;
    font-size: .875rem;
    text-transform: uppercase;
    margin-top: 1.2em;
}

.helpText {
    line-height: 1.25;
    color: #AAA;
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 16px;
    margin-top: .5em;
}

#converter #mainContainer {
    padding-top: 0em;
    display: block;
    min-height: 100vh;
}

#outputs {
    position: relative;
}

#converter #copyToClipboard {
    position: absolute;
    top: 15px;
    right: 15px;
    border-radius: 0.4em;
    z-index: 1;
}

[data-text="61"] {
    height: 40px;
}


#converter .inputForm {
    font-size: 2em;
}

#converter #outputText {
    margin-top: 0.3em;
    font-size: 4em;
    background: #1d2024;
    border: none;
}

#converter #outputText {
    margin-top: 0.2em;
    font-size: 6em;
    background: #1d2024;
    border: none;
    /*font-family: 'DatalegreyaThin';*/
    color: #FFF;
    opacity: 0.8;
}

#converter #outputCode {
    font-size: 2em;
    background: #1d2024;
    border: none;
    font-family: 'Alegreya Sans', sans-serif;
    font-weight: 400;
    color: #FFF;
    opacity: 0.8;
}

#converter .legendInvalid{
    background-color: #fdd5d5;
}

#converter .legendValid{
    background-color: #d5fde1;
}



#converter .family_gradient{
    font-family: "DatalegreyaGradient";
}

#converter .family_thin{
    font-family: "DatalegreyaThin";
}

#converter .family_dot{
    font-family: "DatalegreyaDot";
}