*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: sahel, tahoma;
}

body{
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
}

h1{
    text-align: center;
}

.r{
    color: red;
    font-weight: bold;
    direction: rtl;
}
.g{
    color: green;
    font-weight: bold;
    direction: rtl;
}
.b{
    color: blue;
    font-weight: bold;
    direction: rtl;
}
.a{
    color: gray;
    font-weight: bold;
    direction: rtl;
}

.rgb-container {
    /* width: 300px !important; */
    width: calc(100% - 10px);
    max-width: 300px;
    background: #fff;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: grid;
    place-items: center;
    padding-bottom: 10px;
}

.rgba-container{
    /* width: 300px !important; */
    width:calc(100% - 10px);
    max-width: 300px;
    background: #fff;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: grid;
    place-items: center;
    padding-bottom:10px;
}

.sliders-rgb{
    width: 280px;
    height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    margin-bottom: 20px;
}

.sliders-rgb input {
    /* position: relative; */
    width: 80%;
    height: 5px;
    -webkit-appearance: none;
    background: #e6e6e6;
    border-radius: 20px;
    outline: none;
    margin-top: -40px;
}

.sliders-rgba {
    width: 280px;
    height: 310px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    margin-bottom: 20px;
}

.sliders-rgba input{
    /* position: relative; */
    width: 80%;
    height: 5px;
    -webkit-appearance: none;
    background: #e6e6e6;
    border-radius: 20px;
    outline: none;
    margin-top: -40px;
}

#red::-webkit-slider-thumb{
    -webkit-appearance: none;
    width: 15px;
    height: 15px;
    background: red;
    border-radius: 50%;
}
#green::-webkit-slider-thumb{
    -webkit-appearance: none;
    width: 15px;
    height: 15px;
    background: green;
    border-radius: 50%;

}
#blue::-webkit-slider-thumb{
    -webkit-appearance: none;
    width: 15px;
    height: 15px;
    background: blue;
    border-radius: 50%;

}
#alpha::-webkit-slider-thumb{
    -webkit-appearance: none;
    width: 15px;
    height: 15px;
    background: grey;
    border-radius: 50%;
}

.output-box-rgb {
    width: 275px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* line-height: 50px; */
    border-radius: 10px;
    background-color: #000;
}
.output-box-rgb .output-rgb {
    width: 150px;
    height: 75px;
    background: #dbdbdb;
}
.output-rgb div {
    padding: 10px 0 0 0;
}

.output-box-rgba {
    width: 275px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* line-height: 50px; */
    border-radius: 10px;
    background-color: #000;
}

.output-box-rgba .output-rgba {
    width: 190px;
    height: 75px;
    background: #dbdbdb;
}
.output-rgba div {
    padding: 10px 0 0 0;
}

