*{
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-family: sans-serif;
}
.nav{
    width: auto;
    height: 50px;
    position: fixed;
    top: 1%;
    left: 50%;
    border: 3px solid white;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 5px;
    transition: opacity .5s;
    background: linear-gradient(to right, rgb(49, 149, 231), rgb(241, 114, 173));
}
.nav div, button, input{
    margin: 5px;
}
.nav:hover {
    cursor: pointer;
}
button:hover {
    cursor: pointer;
}

.clr {
    width: 35px;
    height: 35px;
    background-color: blue;
    border-radius: 50%;
    border: 1px solid white;
    transition: transform .40s;
}
.clr:hover{
  transform: scale(1.2);
}
.clr:nth-child(1){
    background-color: #000;
}
.clr:nth-child(2){
    background-color: red;
}
.clr:nth-child(3){
    background-color: orange;
}
.clr:nth-child(4){
    background-color: blue;
}
.clr:nth-child(5){
    background-color: purple;
}
.clr:nth-child(6){
    background-color: yellowgreen;
}
.clr:nth-child(7){
    background-color: yellow;
}
.clr:nth-child(8){
    background-color: #fff;
}

button{
    border: none;
    padding: 7px 16px;
    outline: none;
    border-radius: 3px;
    background-color: #03bb56;
    color: white;
    border: 2px solid white;
    font-size: 15px;
    font-weight: bold;
}
.save{
    background-color: rgb(57, 156, 236);
}
input[type="color"]{
    width: 70px;
    height: 40px;
}
#ageOutputId {
    color: white;
    font-weight: bold;
    font-size: 17px;
}
#ageInputId{
    background: linear-gradient(to right, #000428 0%, #004e92 100%);
    height: 7px;
    outline: none;
    -webkit-appearance: none;
    cursor: grabbing;
    border: 1px solid white;
    border-radius: 3px;

}  