@import url(fontawesome-all.min.css);
@import url("https://fonts.googleapis.com/css?family=Roboto:400,700");

/*
	Eventually by HTML5 UP
	html5up.net | @ajlkn
	Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

body {
    -webkit-text-size-adjust: none;
}

mark {
    background-color: transparent;
    color: inherit;
}

input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

input,
select,
textarea {
    -moz-appearance: none;
    -webkit-appearance: none;
    -ms-appearance: none;
    appearance: none;
}

/* Basic */
@-ms-viewport {
    width: device-width;
}

body {
    -ms-overflow-style: scrollbar;
}

@media screen and (max-width: 480px) {

    html,
    body {
        min-width: 320px;
    }
}

html {
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

html,
body {
    height: 100%;
    overflow-x: hidden;
    width: 100%;
}

@media screen and (max-height: 640px) {

    html,
    body {
        height: auto;
        min-height: 100%;
    }
}

body {
    display: -moz-flex;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -moz-flex-direction: column;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -moz-justify-content: center;
    -webkit-justify-content: center;
    -ms-justify-content: center;
    justify-content: flex-start;
    background-color: #000;
    padding: 6em 4em 4em 4em;
}

body.is-preload *,
body.is-preload *:before,
body.is-preload *:after {
    -moz-animation: none !important;
    -webkit-animation: none !important;
    -ms-animation: none !important;
    animation: none !important;
    -moz-transition: none !important;
    -webkit-transition: none !important;
    -ms-transition: none !important;
    transition: none !important;
}

body>* {
    position: relative;
    z-index: 2;
}

@media screen and (max-width: 1680px) {
    body {
        padding: 6em 3.5em 3.5em 3.5em;
    }
}

@media screen and (max-width: 736px) {
    body {
        padding: 5em 2em 2em 2em;
    }
}

@media screen and (max-width: 360px) {
    body {
        padding: 5em 1.25em 1.25em 1.25em;
    }
}

/* BG */
#bg {
    -moz-transition: opacity 2s ease-in-out;
    -webkit-transition: opacity 2s ease-in-out;
    -ms-transition: opacity 2s ease-in-out;
    transition: opacity 2s ease-in-out;
    height: 100%;
    left: 0;
    opacity: 0.375;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1;
}

#bg div {
    background-size: auto 100%;
    background-repeat: repeat-x;
    background-position: 0% center;
    height: 100%;
    left: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    visibility: hidden;
    width: 100%;
}


#bg div.visible {
    -moz-animation: bg 45s linear infinite;
    -webkit-animation: bg 45s linear infinite;
    -ms-animation: bg 45s linear infinite;
    animation: bg 45s linear infinite;
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

#bg div.visible.top {
    z-index: 2;
}

@media screen and (max-width: 1280px) {
    #bg div.visible {
        -moz-animation: bg 29.25s linear infinite;
        -webkit-animation: bg 29.25s linear infinite;
        -ms-animation: bg 29.25s linear infinite;
        animation: bg 29.25s linear infinite;
    }
}

@media screen and (max-width: 736px) {
    #bg div.visible {
        -moz-animation: bg 18s linear infinite;
        -webkit-animation: bg 18s linear infinite;
        -ms-animation: bg 18s linear infinite;
        animation: bg 18s linear infinite;
    }
}

#bg div:only-child {
    -moz-animation-direction: alternate !important;
    -webkit-animation-direction: alternate !important;
    -ms-animation-direction: alternate !important;
    animation-direction: alternate !important;
}

body.is-preload #bg {
    opacity: 0;
}

/* 
@-moz-keyframes bg {
    0% {
        -moz-transform: translateX(0);
        -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
        transform: translateX(0);
    }

    100% {
        -moz-transform: translateX(-25%);
        -webkit-transform: translateX(-25%);
        -ms-transform: translateX(-25%);
        transform: translateX(-25%);
    }
}

@-webkit-keyframes bg {
    0% {
        -moz-transform: translateX(0);
        -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
        transform: translateX(0);
    }

    100% {
        -moz-transform: translateX(-25%);
        -webkit-transform: translateX(-25%);
        -ms-transform: translateX(-25%);
        transform: translateX(-25%);
    }
}

@-ms-keyframes bg {
    0% {
        -moz-transform: translateX(0);
        -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
        transform: translateX(0);
    }

    100% {
        -moz-transform: translateX(-25%);
        -webkit-transform: translateX(-25%);
        -ms-transform: translateX(-25%);
        transform: translateX(-25%);
    }
}

@keyframes bg {
    0% {
        -moz-transform: translateX(0);
        -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
        transform: translateX(0);
    }

    100% {
        -moz-transform: translateX(-25%);
        -webkit-transform: translateX(-25%);
        -ms-transform: translateX(-25%);
        transform: translateX(-25%);
    }
} */

/* Type */
body,
input,
select,
textarea {
    color: rgba(255, 255, 255, 0.75);
    font-family: "Roboto", sans-serif;
    font-size: 16pt;
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.65em;
}

@media screen and (max-width: 1680px) {

    body,
    input,
    select,
    textarea {
        font-size: 12pt;
    }
}

@media screen and (max-width: 1280px) {

    body,
    input,
    select,
    textarea {
        font-size: 11pt;
    }
}

@media screen and (max-width: 980px) {

    body,
    input,
    select,
    textarea {
        font-size: 12pt;
    }
}

@media screen and (max-width: 736px) {

    body,
    input,
    select,
    textarea {
        font-size: 12pt;
    }
}

@media screen and (max-width: 480px) {

    body,
    input,
    select,
    textarea {
        font-size: 12pt;
    }
}

a {
    -moz-transition: border-bottom-color 0.2s ease, color 0.2s ease;
    -webkit-transition: border-bottom-color 0.2s ease, color 0.2s ease;
    -ms-transition: border-bottom-color 0.2s ease, color 0.2s ease;
    transition: border-bottom-color 0.2s ease, color 0.2s ease;
    border-bottom: dotted 1px rgba(255, 255, 255, 0.25);
    color: #1cb495;
    text-decoration: none;
}

a:hover {
    border-bottom-color: transparent;
    color: #1cb495 !important;
    text-decoration: none;
}

strong,
b {
    color: #fff;
    font-weight: 700;
}

em,
i {
    font-style: italic;
}

p {
    margin: 0 0 2em 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #fff;
    font-weight: 700;
    line-height: 1em;
    margin: 0 0 1em 0;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
    color: inherit;
    text-decoration: none;
}

h1 {
    font-size: 2.5em;
    line-height: 1.25em;
}

h2 {
    font-size: 1.75em;
    line-height: 1.5em;
}

h3 {
    font-size: 1.35em;
    line-height: 1.5em;
}

h4 {
    font-size: 1.1em;
    line-height: 1.5em;
}

h5 {
    font-size: 0.9em;
    line-height: 1.5em;
}

h6 {
    font-size: 0.7em;
    line-height: 1.5em;
}

sub {
    font-size: 0.8em;
    position: relative;
    top: 0.5em;
}

sup {
    font-size: 0.8em;
    position: relative;
    top: -0.5em;
}

blockquote {
    border-left: solid 8px rgba(255, 255, 255, 0.35);
    font-style: italic;
    margin: 0 0 2em 0;
    padding: 0.5em 0 0.5em 2em;
}

code {
    background: rgba(255, 255, 255, 0.125);
    border-radius: 6px;
    border: solid 2px rgba(255, 255, 255, 0.35);
    font-family: "Courier New", monospace;
    font-size: 0.9em;
    margin: 0 0.25em;
    padding: 0.25em 0.65em;
}

pre {
    -webkit-overflow-scrolling: touch;
    font-family: "Courier New", monospace;
    font-size: 0.9em;
    margin: 0 0 2em 0;
}

pre code {
    display: block;
    line-height: 1.75em;
    padding: 1em 1.5em;
    overflow-x: auto;
}

hr {
    border: 0;
    border-bottom: solid 2px rgba(255, 255, 255, 0.35);
    margin: 2em 0;
}

hr.major {
    margin: 3em 0;
}

/* Section/Article */
section.special,
article.special {
    text-align: center;
}

header p {
    color: rgba(255, 255, 255, 0.5);
    position: relative;
    margin: 0 0 1.5em 0;
}

header h2+p {
    font-size: 1.25em;
    margin-top: -1em;
    line-height: 1.5em;
}

header h3+p {
    font-size: 1.1em;
    margin-top: -0.8em;
    line-height: 1.5em;
}

header h4+p,
header h5+p,
header h6+p {
    font-size: 0.9em;
    margin-top: -0.6em;
    line-height: 1.5em;
}

@media screen and (max-width: 980px) {
    header br {
        display: none;
    }
}

@media screen and (max-width: 736px) {
    header br {
        display: inline;
    }
}

@media screen and (max-width: 480px) {
    header br {
        display: none;
    }
}

/* Icon */
.icon {
    text-decoration: none;
    border-bottom: none;
    position: relative;
}

.icon:before {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    text-transform: none !important;
    font-family: 'Font Awesome 5 Free';
    font-weight: 400;
}

.icon>.label {
    display: none;
}

.icon:before {
    line-height: inherit;
}

.icon.solid:before {
    font-weight: 900;
}

.icon.brands:before {
    font-family: 'Font Awesome 5 Brands';
}

/* List */
ol {
    list-style: decimal;
    margin: 0 0 2em 0;
    padding-left: 1.25em;
}

ol li {
    padding-left: 0.25em;
}

ul {
    list-style: disc;
    margin: 0 0 2em 0;
    padding-left: 1em;
}

ul li {
    padding-left: 0.5em;
}

/* Icons */
ul.icons {
    cursor: default;
    list-style: none;
    padding-left: 0;
}

ul.icons li {
    display: inline-block;
    padding: 0 1em 0 0;
}

ul.icons li:last-child {
    padding-right: 0;
}

ul.icons li .icon:before {
    font-size: 1.25em;
}

ul.icons li a {
    color: inherit;
}

/* Form */
form {
    margin: 0 0 2em 0;
}

form .message {
    text-decoration: none;
    -moz-transition: opacity 0.2s ease-in-out, -moz-transform 0.2s ease-in-out;
    -webkit-transition: opacity 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out;
    -ms-transition: opacity 0.2s ease-in-out, -ms-transform 0.2s ease-in-out;
    transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
    -moz-transform: scale(1.05);
    -webkit-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
    height: 2.75em;
    line-height: 2.75em;
    opacity: 0;
}

form .message:before {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    text-transform: none !important;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

form .message:before {
    margin-right: 0.5em;
}

form .message.visible {
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    opacity: 1;
}

form .message.success {
    color: #1cb495;
}

form .message.success:before {
    content: '\f00c';
}

form .message.failure {
    color: #ff2361;
}

form .message.failure:before {
    content: '\f119';
}

label {
    color: #fff;
    display: block;
    font-size: 0.9em;
    font-weight: 700;
    margin: 0 0 1em 0;
}

@-moz-keyframes focus {
    0% {
        -moz-transform: scale(1);
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
    }

    50% {
        -moz-transform: scale(1.025);
        -webkit-transform: scale(1.025);
        -ms-transform: scale(1.025);
        transform: scale(1.025);
    }

    100% {
        -moz-transform: scale(1);
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
    }
}

@-webkit-keyframes focus {
    0% {
        -moz-transform: scale(1);
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
    }

    50% {
        -moz-transform: scale(1.025);
        -webkit-transform: scale(1.025);
        -ms-transform: scale(1.025);
        transform: scale(1.025);
    }

    100% {
        -moz-transform: scale(1);
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
    }
}

@-ms-keyframes focus {
    0% {
        -moz-transform: scale(1);
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
    }

    50% {
        -moz-transform: scale(1.025);
        -webkit-transform: scale(1.025);
        -ms-transform: scale(1.025);
        transform: scale(1.025);
    }

    100% {
        -moz-transform: scale(1);
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes focus {
    0% {
        -moz-transform: scale(1);
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
    }

    50% {
        -moz-transform: scale(1.025);
        -webkit-transform: scale(1.025);
        -ms-transform: scale(1.025);
        transform: scale(1.025);
    }

    100% {
        -moz-transform: scale(1);
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
    }
}

input[type="text"],
input[type="password"],
input[type="email"],
select,
textarea {
    -moz-appearance: none;
    -webkit-appearance: none;
    -ms-appearance: none;
    appearance: none;
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    -moz-transition: border-color 0.2s ease, background-color 0.2s ease;
    -webkit-transition: border-color 0.2s ease, background-color 0.2s ease;
    -ms-transition: border-color 0.2s ease, background-color 0.2s ease;
    transition: border-color 0.2s ease, background-color 0.2s ease;
    background-color: transparent;
    border-radius: 6px;
    border: none;
    border: solid 2px rgba(255, 255, 255, 0.35);
    color: inherit;
    display: block;
    outline: 0;
    padding: 0 1em;
    text-decoration: none;
    width: 100%;
}

input[type="text"]:invalid,
input[type="password"]:invalid,
input[type="email"]:invalid,
select:invalid,
textarea:invalid {
    box-shadow: none;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus {
    -moz-animation: focus 0.1s;
    -webkit-animation: focus 0.1s;
    -ms-animation: focus 0.1s;
    animation: focus 0.1s;
    background-color: rgba(255, 255, 255, 0.125);
    border-color: #1cb495;
}

select {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' preserveAspectRatio='none' viewBox='0 0 40 40'%3E%3Cpath d='M9.4,12.3l10.4,10.4l10.4-10.4c0.2-0.2,0.5-0.4,0.9-0.4c0.3,0,0.6,0.1,0.9,0.4l3.3,3.3c0.2,0.2,0.4,0.5,0.4,0.9 c0,0.4-0.1,0.6-0.4,0.9L20.7,31.9c-0.2,0.2-0.5,0.4-0.9,0.4c-0.3,0-0.6-0.1-0.9-0.4L4.3,17.3c-0.2-0.2-0.4-0.5-0.4-0.9 c0-0.4,0.1-0.6,0.4-0.9l3.3-3.3c0.2-0.2,0.5-0.4,0.9-0.4S9.1,12.1,9.4,12.3z' fill='rgba(255, 255, 255, 0.35)' /%3E%3C/svg%3E");
    background-size: 1.25rem;
    background-repeat: no-repeat;
    background-position: calc(100% - 1rem) center;
    height: 2.75em;
    padding-right: 2.75em;
    text-overflow: ellipsis;
}

select option {
    color: #fff;
    background: #000;
}

select:focus::-ms-value {
    background-color: transparent;
}

select::-ms-expand {
    display: none;
}

input[type="text"],
input[type="password"],
input[type="email"],
select {
    height: 2.75em;
}

textarea {
    padding: 0.75em 1em;
}

input[type="checkbox"],
input[type="radio"] {
    -moz-appearance: none;
    -webkit-appearance: none;
    -ms-appearance: none;
    appearance: none;
    display: block;
    float: left;
    margin-right: -2em;
    opacity: 0;
    width: 1em;
    z-index: -1;
}

input[type="checkbox"]+label,
input[type="radio"]+label {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
    cursor: pointer;
    display: inline-block;
    font-size: 1em;
    font-weight: 400;
    padding-left: 2.4em;
    padding-right: 0.75em;
    position: relative;
}

input[type="checkbox"]+label:before,
input[type="radio"]+label:before {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    text-transform: none !important;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

input[type="checkbox"]+label:before,
input[type="radio"]+label:before {
    background: rgba(255, 255, 255, 0.125);
    border-radius: 6px;
    border: solid 2px rgba(255, 255, 255, 0.35);
    content: '';
    display: inline-block;
    font-size: 0.8em;
    height: 1.65em;
    left: 0;
    line-height: 1.65em;
    position: absolute;
    text-align: center;
    top: 0;
    width: 1.65em;
}

input[type="checkbox"]:checked+label:before,
input[type="radio"]:checked+label:before {
    background: #1cb495;
    border-color: #1cb495;
    color: #ffffff;
    content: '\f00c';
}

input[type="checkbox"]:focus+label:before,
input[type="radio"]:focus+label:before {
    border-color: #1cb495;
    box-shadow: 0 0 0 2px #1cb495;
}

input[type="checkbox"]+label:before {
    border-radius: 6px;
}

input[type="radio"]+label:before {
    border-radius: 100%;
}

::-webkit-input-placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
    opacity: 1.0;
}

:-moz-placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
    opacity: 1.0;
}

::-moz-placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
    opacity: 1.0;
}

:-ms-input-placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
    opacity: 1.0;
}

.formerize-placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
    opacity: 1.0;
}

/* Button */
input[type="submit"],
input[type="reset"],
input[type="button"],
button,
.button {
    -moz-appearance: none;
    -webkit-appearance: none;
    -ms-appearance: none;
    appearance: none;
    -moz-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, opacity 0.2s ease-in-out;
    -webkit-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, opacity 0.2s ease-in-out;
    -ms-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, opacity 0.2s ease-in-out;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, opacity 0.2s ease-in-out;
    background-color: #1cb495;
    border-radius: 6px;
    border: 0;
    color: #ffffff !important;
    cursor: pointer;
    display: inline-block;
    font-weight: 700;
    height: 2.75em;
    line-height: 2.75em;
    padding: 0 1.125em;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
}

input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
button:hover,
.button:hover {
    background-color: #1fcaa7;
}

input[type="submit"]:active,
input[type="reset"]:active,
input[type="button"]:active,
button:active,
.button:active {
    background-color: #199e83;
}

input[type="submit"].disabled,
input[type="submit"]:disabled,
input[type="reset"].disabled,
input[type="reset"]:disabled,
input[type="button"].disabled,
input[type="button"]:disabled,
button.disabled,
button:disabled,
.button.disabled,
.button:disabled {
    opacity: 0.5;
}

@media screen and (max-width: 480px) {

    input[type="submit"],
    input[type="reset"],
    input[type="button"],
    button,
    .button {
        padding: 0;
    }
}

/* Header */
#header h1 {
    font-size: 3.25em;
    margin: 0 0 0.55em 0;
}

#header p {
    font-size: 1.35em;
    line-height: 1.65em;
}

#header a {
    color: inherit;
}

@media screen and (max-width: 736px) {
    #header h1 {
        font-size: 2em;
    }

    #header p {
        font-size: 1em;
    }
}

@media screen and (max-width: 480px) {
    #header {
        margin: 0 0 1em 0;
    }
}

/* Signup Form */
#signup-form {
    display: -moz-flex;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    position: relative;
}

#signup-form input[type="text"],
#signup-form input[type="password"],
#signup-form input[type="email"] {
    width: 18em;
}

#signup-form>* {
    margin: 0 0 0 1em;
}

#signup-form> :first-child {
    margin: 0 0 0 0;
}

@media screen and (max-width: 480px) {
    #signup-form {
        -moz-flex-direction: column;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    #signup-form input[type="type"],
    #signup-form input[type="password"],
    #signup-form input[type="email"] {
        width: 100%;
    }

    #signup-form>* {
        margin: 1.25em 0 0 0;
    }

    #signup-form .message {
        bottom: -1.5em;
        font-size: 0.9em;
        height: 1em;
        left: 0;
        line-height: inherit;
        margin-top: 0;
        position: absolute;
    }
}

/* Footer */
#footer {
    -moz-transition: opacity 0.5s ease-in-out;
    -webkit-transition: opacity 0.5s ease-in-out;
    -ms-transition: opacity 0.5s ease-in-out;
    transition: opacity 0.5s ease-in-out;
    bottom: 4em;
    color: rgba(255, 255, 255, 0.5);
    left: 4em;
    opacity: 0.5;
    position: absolute;
    /* antes absolute o relative */
}

#footer .icons {
    margin: 0 0 0.5em 0;
}

#footer .copyright {
    font-size: 0.8em;
    list-style: none;
    padding: 0;
}

#footer .copyright li {
    border-left: solid 1px rgba(255, 255, 255, 0.25);
    display: inline-block;
    line-height: 1em;
    margin: 0 0 0 0.75em;
    padding: 0 0 0 0.75em;
}

#footer .copyright li:first-child {
    border-left: 0;
    margin-left: 0;
    padding-left: 0;
}

#footer .copyright a {
    color: inherit;
}

#footer:hover {
    opacity: 1;
}

#footer> :last-child {
    margin-bottom: 0;
}

@media screen and (max-width: 1680px) {
    #footer {
        bottom: 3.5em;
        left: 3.5em;
    }
}

@media screen and (max-width: 736px) {
    #footer {
        bottom: 2em;
        left: 2em;
    }
}

@media screen and (max-width: 360px) {
    #footer {
        bottom: 1.25em;
        left: 1.25em;
    }
}

@media screen and (max-height: 640px) {
    #footer {
        bottom: auto;
        left: auto;
        margin: 1em 0 0 0;
        position: relative;
    }
}

#header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    left: 50%;
    transform: translateX(-50%);
}

@keyframes bgScroll {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: -100% center;
    }
}


#bg div.visible {
    animation: bgScroll 15s linear infinite;
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

#info-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3em;
    margin-bottom: 2em;
}

.info-block h1 {
    font-size: 2.5em;
    color: white;
    margin: 0;
}

.info-block.up {
    border: 3px solid #1cb495;
    border-radius: 12px;
    padding: 0.5em 1em;
    background-color: rgba(28, 180, 149, 0.1);
    transition: all 0.3s ease-in-out;
}

.info-block.down {
    border: 3px solid #ff3e4d;
    border-radius: 12px;
    padding: 0.5em 1em;
    background-color: rgba(255, 62, 77, 0.1);
    transition: all 0.3s ease-in-out;
}

#tendenciaPpal {
    color: white;
    font-size: 1.8em;
    transition: color 0.3s ease-in-out;
}

#tendenciaPpal.alert {
    color: #ff3e4d;
    /* rojo alerta */
}

#tendenciaSec {
    font-size: 1.2em;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.5em;
}

.connect-btn {
    background-color: #003366;
    color: white;
    padding: 10px 20px;
    border: 1px solid white;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    min-width: 180px;
    text-align: center;
}

#getCuliButton {
    display: none;
    padding: 0;
    width: 180px;
    height: 50px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 6px;
    background-color: #003366;
    color: white;
    border: 1px solid white;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    /* 🔥 esto es clave */
    transition: background-color 0.2s ease-in-out, opacity 0.2s ease-in-out;
}

.pulse-animation {
    animation: pulse 2s infinite;
}

#getCuliButton:disabled {
    background-color: #555;
    opacity: 0.5;
    cursor: not-allowed;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* === Lluvia de CULIs =========================== */
@keyframes culiFall {
    0% {
        transform: translateY(-150%);
        opacity: 1;
    }

    100% {
        transform: translateY(110vh);
        opacity: 0.8;
    }
}

.rain-culi {
    position: fixed;
    top: -50px;
    /* arranca fuera de pantalla            */
    /* width: 28px; */
    /* tamaño base → luego lo variamos JS   */
    height: auto;
    pointer-events: none;
    /* que no “molesten” al usuario         */
    z-index: 9999;
    /* por encima del fondo animado          */
    animation: culiFall linear 2.4s forwards;
}

.chapa-row {
    display: flex;
    justify-content: center;
    gap: 2em;
    margin-top: 2em;
    flex-wrap: wrap;
}

.chapa {
    text-align: center;
    max-width: 150px;
    color: white;
}

.chapa img {
    width: 100%;
    max-width: 150px;
    height: auto;
}

.chapa h3 {
    margin: 0.5em 0 0.2em 0;
    font-size: 1.1em;
    color: #ffd700;
    /* Dorado estilo chapa */
}

.chapa p {
    margin: 0;
    font-size: 0.75em !important;
    color: rgba(255, 255, 255, 0.8);
}

.chapa img {
    animation: float 4s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

.mini-nft-btn {
    margin-top: 0.5em;
    padding: 6px 12px;
    font-size: 0.75em;
    background-color: #1cb495;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

.mini-nft-btn:hover {
    background-color: #17a187;
}

.mini-nft-btn {
    display: none;
    /* oculto por defecto */
}

.get-culi-style {
    background-color: #003366;
    color: white;
    border: 1px solid white;
    border-radius: 6px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: background-color 0.2s ease-in-out, opacity 0.2s ease-in-out;
}

.get-culi-style:hover {
    background-color: #005199;
}

.hero-submsg {
    font-size: 1.1em;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 1em;
    animation: glowText 3s ease-in-out infinite alternate;
}

@keyframes glowText {
    from {
        text-shadow: 0 0 5px #1cb495;
    }

    to {
        text-shadow: 0 0 15px #1cb495;
    }
}

.culi-banner {
    text-align: center;
    color: #f5c842;
    /* antes: #1cb495 */
    font-size: 0.9em;
    margin-bottom: 1em;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.85;
}

#culiContainer {
    display: flex;
    text-align: center;
    margin-top: 20px;
    flex: 1;
}


#nftDetalle>.nft-card {
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    padding: 30px;
    max-width: 700px;
    margin: 40px auto;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    text-align: center;
    font-size: 0.75em;
}

.nft-card p {
    color: white;
    text-align: center;
    font-size: 0.75em;
    line-height: 1.2;
    margin: 0.2em 0;
}

.nft-card strong {
    font-weight: 600;
    font-size: 1.05em;
    color: #f5c842;
    display: inline-block;
    margin-bottom: 0.1em;
}

/* === Controles stats (Grid, centrados y alineados por la base) === */
.controls-row {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(260px, 1fr) minmax(420px, 2fr) auto;
    /* Horas | Device | Medidas | Botón */
    column-gap: 1.25rem;
    row-gap: 0.75rem;
    align-items: end;
    /* ✅ todos a la misma línea de base */
    justify-items: center;
    /* centrado horizontal de cada celda */
    max-width: 1100px;
    margin: 0 auto;
}

/* Par "label + control" en una única línea */
.controls-row .control {
    display: grid;
    grid-template-columns: 100px 1fr;
    /* label fijo + campo flexible */
    align-items: center;
    /* centra verticalmente label y campo */
    width: 100%;
    min-width: 220px;
}

.controls-row .control label {
    margin: 0;
    text-align: right;
    opacity: 0.9;
}

/* Botón en la cuarta columna, alineado con la base */
.controls-row .control-button {
    align-self: end;
    /* ✅ misma base que el resto */
}

/* Bloque de métricas: label + rejilla de checks */
.controls-row .metric-control {
    display: grid;
    grid-template-columns: 100px 1fr;
    /* label fijo + grupo */
    align-items: end;
    /* alinea con la base */
    width: 100%;
    min-width: 420px;
}

.controls-row .metric-control>label {
    margin: 0;
    text-align: right;
    opacity: 0.9;
}

/* Rejilla de métricas: 2 filas, añade columnas según espacio */


/* === Responsive: en pantallas estrechas, 2 columnas + botón abajo alineado === */
@media (max-width: 900px) {
    .controls-row {
        grid-template-columns: 1fr 1fr;
        /* 2 columnas */
        justify-items: stretch;
    }

    /* Horas y Device ocupan la fila 1, cada uno una columna */
    .controls-row .control:nth-of-type(1) {
        grid-column: 1;
    }

    .controls-row .control:nth-of-type(2) {
        grid-column: 2;
    }

    /* Medidas ocupa toda la fila 2 */
    .controls-row .metric-control {
        grid-column: 1 / span 2;
    }

    /* Botón ocupa la fila 3 al final, centrado */
    .controls-row .control-button {
        grid-column: 1 / span 2;
        justify-self: center;
        align-self: center;
    }
}

/* === FIX métricas: que el input no ocupe celda y el grupo no desborde === */

/* El contenedor de métricas mantiene label a la izquierda y el grupo a la derecha (ya lo tienes) */
.controls-row .metric-control {
    display: grid;
    grid-template-columns: 100px 1fr;
    /* label fijo + grupo */
    align-items: end;
    /* alinear con la base del resto */
    width: 100%;
    min-width: 420px;
}

/* La grid interna de métricas se adapta al ancho disponible
   - Cada etiqueta (con su checkbox “pintado” vía :before) es una celda
   - Se auto-ajusta a 140–180px por item y crea nuevas filas si hace falta */
.metric-group {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.5rem 1rem;
    align-items: center;
}

/* IMPORTANTÍSIMO: sacamos el <input> del flujo de la grid para que NO ocupe celda */
.metric-group input[type="checkbox"] {
    position: absolute;
    /* mantiene accesibilidad y asociación con el label */
    left: -9999px;
    /* fuera de la vista, pero operativo */
    width: 1px;
    height: 1px;
    margin: 0;
    padding: 0;
    border: 0;
}

/* El label representa el “item” visual de la métrica (checkbox + texto) */
.metric-group label {
    margin: 0;
    padding-left: 2.4em;
    /* ya dibuja la cajita del check con :before */
    display: inline-flex;
    align-items: center;
    height: 2.75em;
    /* igual altura que selects y botón → misma línea de base */
    white-space: nowrap;
    /* evita cortes raros en nombres largos */
}

/* =================================================================== */
/* FIX FOOTER GLOBAL: Para que baje al final de la página (no flotante) */
/* MOVIDO DESDE CLIMA.CSS */
/* =================================================================== */

#footer {
    /* 1. Anulamos la posición absoluta de la plantilla original */
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;

    /* 2. Ajustes de espaciado y centrado */
    width: 100%;
    margin-top: 4rem;
    padding-bottom: 2rem;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    /* 3. Aseguramos visibilidad */
    opacity: 1 !important;
}

/* Ajuste adicional para pantallas grandes */
@media screen and (min-width: 1680px) {
    #footer {
        left: auto !important;
        bottom: auto !important;
    }
}

/* =================================================================== */
/* NAV SUPERIOR UNIFICADA (GLOBAL) - CULIverse                         */
/* =================================================================== */

#iotLoginContainer {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    padding: 6px 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    flex-wrap: wrap;
    /* Para móviles */
    justify-content: flex-end;
}

/* Estilo de los botones de navegación */
.login-action-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 20px;
    color: #fff;
    cursor: pointer;
    font-size: 0.75rem;
    /* ~12px */
    font-weight: 600;
    padding: 6px 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    text-decoration: none !important;
    line-height: 1;
    height: 32px;
    white-space: nowrap;
}

/* Efecto Hover Global */
.login-action-btn:hover {
    background-color: #1cb495;
    /* Verde CULIverse */
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(28, 180, 149, 0.4);
}

/* Asegurar que iconos y texto hereden color en hover */
.login-action-btn:hover i,
.login-action-btn:hover span {
    color: #fff !important;
}

/* Enlaces Privados (Estilo diferenciado opcional, ej: borde dorado) */
.private-nav-item {
    display: none;
    /* Oculto por defecto */
    border: 1px solid rgba(245, 200, 66, 0.3);
    /* Sutil borde dorado */
}

.private-nav-item:hover {
    background-color: #f5c842;
    /* Hover Dorado */
    box-shadow: 0 4px 10px rgba(245, 200, 66, 0.4);
}

/* Inputs de Login */
.login-inputs-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

#iotLoginContainer input[type="email"],
#iotLoginContainer input[type="password"] {
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 0 !important;
    color: #fff;
    font-size: 13px;
    padding: 4px 2px;
    height: auto;
    width: 110px;
    outline: none;
    transition: all 0.3s ease;
}

#iotLoginContainer input:focus {
    border-bottom-color: #f5c842 !important;
    width: 130px;
}

/* Botón Logout (Rojo) */
.login-action-btn.logout:hover {
    background-color: #ff3e4d;
    box-shadow: 0 4px 10px rgba(255, 62, 77, 0.4);
}

/* Mensajes de feedback */
#iotLoginMsg {
    position: absolute;
    top: 120%;
    right: 10px;
    background: rgba(255, 62, 77, 0.9);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.3s ease;
    pointer-events: none;
}

#iotLoginMsg.show {
    opacity: 1;
    transform: translateY(0);
}

#iotLoginMsg.success {
    background: rgba(28, 180, 149, 0.9);
}

/* Responsive: Móviles */
@media (max-width: 900px) {
    #iotLoginContainer {
        top: 10px;
        right: 10px;
        padding: 8px;
        max-width: 98%;
        gap: 5px;
    }

    .login-action-btn {
        padding: 0;
        width: 34px;
        height: 34px;
        border-radius: 50%;
        /* Botones redondos solo icono */
    }

    .login-action-btn span {
        display: none;
        /* Ocultar texto en móvil */
    }

    #iotLoginContainer input[type="email"],
    #iotLoginContainer input[type="password"] {
        width: 80px;
    }
}


/* =================================================================== */
/* CONTROLES ESTILO GLASS & CHIPS (GLOBAL)                             */
/* Reutilizable para Clima y Stats                                     */
/* =================================================================== */

/* Layout Grid para controles */
.controls-row {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) minmax(260px, 1fr) minmax(420px, 2fr) auto;
    column-gap: 1.25rem;
    row-gap: .75rem;
    align-items: center;
    justify-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

.controls-row .control {
    display: grid;
    grid-template-columns: 90px 1fr;
    align-items: center;
    width: 100%;
    min-width: 240px;
}

.controls-row .control label {
    margin: 0;
    text-align: right;
    opacity: .9;
    padding-right: .5rem;
    font-size: 0.9rem;
    color: #f5c842;
    white-space: nowrap;
}

/* Panel de métricas y Botón */
.metric-panel {
    width: 100%;
    min-width: 420px;
    align-self: end;
}

.controls-row .control-button {
    align-self: center;
}

/* Selects Estilo Glass */
.select-wrapper {
    position: relative;
    width: 100%;
}

.select-wrapper::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #f5c842;
    pointer-events: none;
}

#controls select {
    /* Nota: asegúrate que tu div padre en stats tenga id="controls" */
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: #fff;
    padding: 0.6rem 1rem;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

#controls select:hover,
#controls select:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: #f5c842;
}

#controls select option {
    background-color: #1b1b1b;
    color: #fff;
}

/* Chips / Etiquetas de Selección (Metric Chips) */
.metric-group {
    display: flex !important;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-start;
    align-items: center;
}

.metric-chip input[type="checkbox"] {
    display: none;
}

/* FIX: Anulamos el cuadrado que pone main_even.css por defecto */
.metric-chip input[type="checkbox"]+label::before {
    content: none !important;
    display: none !important;
}

.metric-chip label {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 32px;
    padding: 0 14px !important;
    margin: 0;
    font-size: 0.75rem !important;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.metric-chip label:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.metric-chip input[type="checkbox"]:checked+label {
    background: rgba(28, 180, 149, 0.25);
    border-color: #1cb495;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 0 8px rgba(28, 180, 149, 0.3);
}

/* Botón Consultar */
#btnLoadStats {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 42px;
    margin: 0;
    padding: 0 20px;
    line-height: 1;
    background-color: #1cb495;
    border: none;
    border-radius: 8px;
    color: #fff;
}

#btnLoadStats:hover {
    background-color: #17a187;
}

/* Responsive Controls */
@media (max-width: 900px) {
    .controls-row {
        grid-template-columns: 1fr 1fr;
        justify-items: stretch;
    }

    .metric-panel {
        grid-column: 1 / span 2;
    }

    .controls-row .control-button {
        grid-column: 1 / span 2;
        justify-self: center;
        align-self: center;
    }
}

/* =================================================================== */
/* COMPONENTES DE UI GENÉRICOS (Tarjetas y Headers)                    */
/* MOVIDO DESDE CLIMA.CSS */
/* =================================================================== */

/* Contenedor de gráficos */
#chartContainer {
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.15);
    /* Puedes añadir estilos aquí si quieres que sea consistente */
}

/* Filas de información (Cards) */
.info-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1rem 1.5rem;
    gap: 2rem;
    min-height: 60px;
    max-width: 90%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    text-align: center;
}

/* Encabezados dentro de las tarjetas */
.card-header {
    width: 100%;
    flex-basis: 100%;
    text-align: center;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.card-header h2 {
    color: #f5c842;
    font-size: 1.3em;
    margin: 0 0 0.5em 0;
    font-weight: 700;
}

.card-header h3 {
    font-size: 0.9em;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 0.6em 0;
}

.card-header h4 {
    font-size: 0.8em;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 0.6em 0;
}




/* === Footer Vitaminado === */

/* Estilo base de los enlaces del footer */
.footer-link {
    text-decoration: none;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.3);
    /* Sutil subrayado */
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Efecto hover general: quita el borde y hace un pequeño zoom */
.footer-link:hover {
    border-bottom-color: transparent;
    transform: translateY(-2px);
}

/* Estilo específico para CULIverse (Amarillo/Dorado) */
.culi-brand {
    color: #fff !important;
    font-weight: 700;
}

.culi-brand:hover {
    color: #f5c842 !important;
    /* Amarillo de tu paleta */
    text-shadow: 0 0 10px rgba(245, 200, 66, 0.6);
    /* Efecto Glow */
}

/* Estilo específico para EGJOSE (Verde/Teal) */
.dev-brand {
    color: #fff !important;
    font-weight: 700;
}

.dev-brand:hover {
    color: #1cb495 !important;
    /* Verde de tu paleta */
    text-shadow: 0 0 10px rgba(28, 180, 149, 0.6);
    /* Efecto Glow */
}

/* Iconos pequeños dentro de los enlaces */
.footer-link i {
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateX(-5px);
}

.footer-link:hover i {
    opacity: 1;
    transform: translateX(0);
}