@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro&display=swap');

:root{
    --color-terminal: #292b36;
    --borde-redondo: 4px;
}

*{
    font-family: 'Source Code Pro', monospace;
}

body{
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #48B8DB;
    color: white;
}
input, button{
    border: none;
    outline: none;
}
main{
    /* margin-bottom: 30%; */
    padding: 25px;
    box-shadow: 8px 8px 35px 0px rgb(0 0 0 / 75%);
    border-radius: var(--borde-redondo);
}
h1{
    margin: 0;
}
#input-original, #resultado{
    background-color: var(--color-terminal);
    width: -webkit-fill-available;
}
#input-original{
    margin: 10px 0 0;
    padding: 10px;
    color: white;
    border-top-left-radius: var(--borde-redondo);
    border-top-right-radius: var(--borde-redondo);
}
#resultado{
    height: 20px;
    color: #5af78d;
    padding: 0 10px 10px;
    border-bottom-left-radius: var(--borde-redondo);
    border-bottom-right-radius: var(--borde-redondo);
}
.rango{
    margin-top: 10px;
    display: grid;
    grid-template-columns: 1fr 30px;
    text-align: center;
    align-items: center;
}
input[type='range'] {
    border-radius: var(--borde-redondo);
    background: var(--color-terminal);
    -webkit-appearance: none;
    -moz-appearance: none;
    margin: 0;
    padding: 0 5px;
    height: 20px;
    
}
input[type='range']::-webkit-slider-thumb{
    cursor: pointer;
    -webkit-appearance: none;
    background: white;
    border-radius: 50%;
    height: 10px;
    width: 10px;
}

