@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;600;700&family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Roboto:wght@400;500&display=swap');

*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

body{
   display: flex;
   justify-content: center;
   align-items: center;
   min-height: 100vh;
}
input[type="text"] {
    padding: 10px;
    outline: none;
    border: none;
    font-size: 16px;
    border-radius: 5px;
    text-align: center;
    background-color: white;
}
input[type="range"]{
    -webkit-appearance: none;
    width: 190px;
    height: 10px;
    border-radius: 50px;
    color: white;
}
input[type="range"]::-webkit-slider-thumb{
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background-color: white;
    border-radius: 50px;
    cursor: pointer;
}
.container #red{
    background: linear-gradient(90deg, #000, red);
}
.container #green{
    background: linear-gradient(90deg, #000, green);
}
.container #blue{
    background: linear-gradient(90deg, #000, blue);
    margin-bottom: 20px;
}
.container{
    background-color:#0a3d62;
    color: white;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    display: grid;
    place-items: center;
    width: 250px;
    height: 320px;
    border-radius: 10px;
    box-shadow: 0 0 5px rgba(0,0,0,0.75);
}

@media (max-width:400px) {
    .container{
        width: 300px;
        height: 330px;
    }
    input[type="text"] {
       width: 200px;
    }
}