*{
    margin:0;
    padding:0;
}
html {
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background: azure;
}
body {
    margin: 0 auto;
    padding: 0;
    font-family: system-ui;
    /* max-width: 700px; */
    background: aliceblue;
    height: 100%;
    overflow: hidden auto;
    box-shadow: 0px 0px 10px -5px rgba(0,0,0,0.25);
    align-items: flex-start;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.logo {
    color: white;
    padding: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
}

nav {
    display: flex;
    flex-flow: column;
    width: calc(100% - 16px);
    align-items: center;
    justify-content: center;
    padding: 5px;
    margin: 0 auto;
    border-radius: 0px 0px 1em 1em;
    background: #0e6cc4;
    background-color: #0e6cc4;
    overflow: hidden;
    box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.2);
    position: relative;
    position: sticky;
    top: 0;
    z-index: 100;
    border: 3px solid white;
    border-top: none;
    height: 3em;
}

.serial {
    margin: 0;
    text-align: left;
    /* background: black; */
    color: white;
    font-size: .75em;
    padding: 0 10px;
    cursor: pointer;
}

section {
    width: 100%;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: center;
    height: fit-content;
    max-width: 380px;
    margin: 0 auto;
    margin-bottom: 5em;
}
.card {
    border-radius: 10px;
    background: linear-gradient(49deg, #2770b0 66%, #64b7ff);
    margin: 1em;
    padding: 1em;
    width: 100%;
    display: flex;
    align-items: center;
    position: relative;
    flex-wrap: wrap;
    max-width: 500px;
    min-height: 5em;
    max-height: 5em;
    border: 3px solid white;
}

.card h2, .input-temp input {
    font-size: 1.2em;
    font-weight: 300;
    color: white;
    text-shadow: 0 1px 1px black;
    padding: 0;
    /* margin: .25em; */
    width: 100%;
}

input:disabled {
    background: transparent;
    font-family: system-ui;
    /* padding: 0; */
    /* margin: 0; */
}

input {
    border: none;
    box-shadow: none;
    background: transparent;
    width: 30%;
    text-align: right;
    font-size: 1em;
    font-family: system-ui;
    outline: none;
    color: white;
    font-size: 1.2em;
    font-weight: 100;
    color: white;
    text-shadow: 0 1px 1px black;
    border-radius: 5px;
    width: 80%;
    margin: 0;
    font-size: 1.5em;
    background: #ffffff1f;
    padding: 5px;
}

::placeholder {
    color: white
}


.input.input-precio:after,.input.input-caja:after {
    content: ",00";
    color: white;
}

.column {
    /* width: 50%; */
    /* border: 1px solid; */
    /* display: flex; */
    /* align-items: center; */
    /* justify-content: flex-end; */
    /* padding: 0; */
    /* margin: 0 auto; */
    /* font-size: 1.2em; */
    /* outline: none; */
    /* position: absolute; */
    /* right: 15px; */
    /* font-size: 1.2em; */
    /* font-weight: 300; */
    /* color: white; */
    text-shadow: 0 1px 1px black;
}

.buttons button {
    width: 30%;
    margin: 0 auto;
    height: 3em;
    border: none;
    background: #184871;
    color: white;
    font-family: system-ui;
    border-radius: 5px;
    border-top: 1px solid #2585d7;
    box-shadow: 0px 0px 0px 1px #13568f;
    cursor:pointer;
}

.buttons {
    display: flex;
    align-items: center;
    justify-content: center;
}
input#status {
    width: 100%;
    text-align: center;
}
button.reset-btn {
    background: red;
    border: none;
    padding: 0 5px;
    color: white;
    height: 2em;
}
.label {
    font-size: .7em;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    background: whitesmoke;
    border-radius: 4px;
    padding: 0 5px;
    width: 1.5em;
    margin: 0;
    line-height: 1.3em;
    text-shadow: none;
}

.column {
    width: 40%;
    flex-flow: column;
    align-items: flex-end;
    justify-content: space-around;
    height: 100%;
    margin: 0 auto;
}

.temp,.temp input {font-weight: 300;color: white;text-shadow: 0 1px 1px black;padding: 0;}

.column .input.input-temp {
    /* width: 50%; */
    display: flex;
    align-items: center;
    justify-content: flex-end;
    font-size: 1em;
}
.temp:after {
    /* content: "ÂºC"; */
}
select {
    width: 100%;
    height: 2em;
    font-size: 1em;
    background: #2c384c;
    color: white;
    outline: none;
    border: none;
    border-radius: 4px;
    text-align:center;
    cursor: pointer;
}

button.send-btn {
    width: 20%;
    margin: 0;
    height: 2.5em;
    /* border: none; */
    /* outline: none; */
    /* background: lightsteelblue; */
    /* border-radius: 5px; */
    border-radius: 10px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

input#comando {
    width: 75%;
    /* background: white; */
    /* margin: 5px auto; */
    /* font-size: 1.4em; */
    /* text-shadow: none; */
    /* color: black; */
    border-radius: 10px;
    /* padding: 5px; */
    text-align:center;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.progress {
    width: 50%;
    height: 5px;
    background: #212121;
    border-radius: 1em;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

div#nivel {
    height: 100%;
    background: aliceblue;
}

.progress:before {
    content: "AGUA";
    color: white;
    position: absolute;
    font-size: .5em;
    transform: translateX(-3em);
    width: 3em;
}
.w-1-2 {
    width: calc(50% - 26px - 1em);
    display: inline-flex;
    margin: .5em;
    padding: 10px;
    flex-wrap: wrap;
    justify-content: start;
}

input#precio,input#tiempo {
    width: 100%;
    margin: 0;
    font-size: 1.5em;
    background: #ffffff1f;
    padding: 5px;
}

.input.input-precio, .input.input-tiempo, .input.input-caja {
    font-size: 1.2em;
    font-weight: 300;
    color: white;
    text-shadow: 0 1px 1px black;
    display: flex;
    align-items: center;
    justify-content: center;
}

input#caja {
    width: 80%;
}
.input-precio:before {
    /* content: "$"; */
    /* margin-right: 5px; */
}

.input.input-tiempo:after {
    content: "Seg.";
}

div#temp {
    width: 100%;
}

.footer button {
    width: 100%;
    margin: 5px;
}

.footer {
    /* width: 80%; */
    /* padding: 5px; */
    /* max-width: 300px; */
    /* bottom: 0; */
    /* background: white; */
}
.TEMP,#skin {
    position: absolute;
    bottom: 5px;
    right: 5px;
    color: white;
    font-size: .8em;
    user-select: none;
}
#skin {
    left: 5px;
    font-size: 1em;
    width: fit-content;
    cursor: pointer;
    user-select: none;
}

a.bubble {
    text-decoration: none;
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 1.5em;
    aspect-ratio: 1/1;
    background: #0b3155;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.5em;
    color: white;
    line-height: 0;
    border: 3px solid aliceblue;
}
button.bubble {
    position: fixed;
    border-radius: 2em;
    width: 30%;
    height: 5em;
    border: 3px solid white;
    border-bottom: none;
    box-shadow: 0px -2px 5px rgba(0,0,0,0.2);
    background: #0e6cc4;
    max-width: 200px;
}

button.bubble.bubble-right {
    right: 0em;
    bottom: 0em;
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: 0;
    border-right: none;
}

button.bubble.bubble-left {
    left: 0em;
    bottom: 0em;
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
    border-bottom-right-radius: 0;
    border-left: none;
}
.serial:hover:before {
    content: "CAMBIAR SERIAL";
    position: absolute;
    background: #0e6cc4;
    width: 50%;
    left: 25%;
    text-align: center;
}


.column .input.input-temp input {
    padding-right: 5px;
    text-align: center;
    padding: 0px;
    line-height: 0;
    margin: 4px;
    font-size: 1em;
}
.progress.empty {
    animation: blink .5s infinite;
}
#temp.empty {
    animation: blinkText .3s infinite;
}

@keyframes blink{

    0%{ background-color:black}
    50%{ background-color:black}
    51%{ background-color:red}
    100%{ background-color:red}
    
}@keyframes blinkText{

    0%{ opacity:0}
    50%{ opacity:0}
    51%{ color:red;opacity:1}
    100%{ color:red;opacity:1}
    
}