@import url('https://fonts.googleapis.com/css2?family=Mulish:wght@200;400;800&display=swap');

:root {
    --border_width: 1.5px;
}

body {
    background-color: rgb(34, 34, 34);
    color:white;
    font-family: 'Mulish', sans-serif;
    padding-left: 10px;
}

h1 {
    font-weight: 800;
    font-size: 40px;
}

a {
    color: white;
    font-weight: 200;
    font-size: 15px;
    margin-bottom: 15px;
}
p{
    margin-top: 2px;
    margin-bottom: 2px;
}

h2 {
    font-size: 18px;
    margin-top: 15px;
    margin-bottom: 2px;
}

.footer {
    position: fixed;
	width: 100%;
	left: 0;
    bottom: 0;
    padding: 10px;
	background-color: rgb(14, 14, 14);
	color: white;
	text-align: center;
}

.wrapper {
    display: inline-block;

}

#LCT-box {
    width: 600px;
}

.slider {
    -webkit-appearance: none;
    width: 360px;
    height: 20px;
    background: black;
    float:left;
    margin-top: 12px;
    border-width: --border_width;
    border-radius: 5px;
}

.slider:focus {
    outline: none;
    cursor: pointer;

}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 10px;
    height: 25px;
    background: #ffffff;
    cursor: pointer;
    border: solid;
    border-radius: 10px;
    border-color:rgb(151, 151, 151);
    border-width: 1px;
  }
  
  .slider::-moz-range-thumb {
    width: 10px;
    height: 25px;
    background: #ffffff;
    cursor: pointer;
    border: solid;
    border-radius: 10px;
    border-color:rgb(151, 151, 151);
    border-width: 1px;
  }

#leftfloat_id {
    float: left;
    margin-top: 2px;
}

.float_left {
    float: left;
    margin-right: 30px;
    width: 60px;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.number_box {
    -moz-appearance: textfield;
    color: white;
    background-color: #1e2224;
    width: 30px;
    height: 22px;
    float: left;
    margin-top: 10px;
    margin-right: 5px;

    border: var(--border_width) solid #ccc;
    -webkit-transition: 0.5s;
    transition: 0.3s;

    outline-offset: -5px;

    border-color:white;
    
    border-radius: 15px;
    padding-left: 8px;
}

.number_box:hover, .number_box:focus {
background-color: rgb(75, 75, 75);
outline: none;
}

#hue_color_1 {
    background-color: hsl(0, 100%, 50%);
    width: 40px;
    height: 40px;
    float: left;

    border: solid;
    border-color: black;
    border-radius: 10px;
    border-width: 1px;
    margin-left: 10px;
    margin-top: 1px;
}

#Hue_range_1 {
    background-image: linear-gradient(to right, hsl(0,100%,50%), hsl(45,100%,50%), hsl(90,100%,50%), hsl(135,100%,50%), hsl(180,100%,50%), hsl(225,100%,50%), hsl(270,100%,50%), hsl(315,100%,50%), hsl(360,100%,50%)); 
}

#fade_box {
    background-color: hsl(0, 100%, 50%);
    width: 40px;
    height: 40px;
    float: left;

    border: solid;
    border-color: black;
    border-radius: 10px;
    border-width: 1px;
    margin-left: 10px;
    margin-top: 1px;
}

#hue_color_2 {
    background-color: hsl(0, 100%, 50%);
    width: 40px;
    height: 40px;
    float: left;

    border: solid;
    border-color: black;
    border-radius: 10px;
    border-width: 1px;
    margin-left: 10px;
    margin-top: 1px;
}

#Hue_range_2 {
    background-image: linear-gradient(to right, hsl(0,100%,50%), hsl(45,100%,50%), hsl(90,100%,50%), hsl(135,100%,50%), hsl(180,100%,50%), hsl(225,100%,50%), hsl(270,100%,50%), hsl(315,100%,50%), hsl(360,100%,50%)); 
}

#fade_box_2 {
    background-color: hsl(0, 100%, 50%);
    width: 40px;
    height: 40px;
    float: left;

    border: solid;
    border-color: black;
    border-radius: 10px;
    border-width: 1px;
    margin-left: 10px;
    margin-top: 1px;
}

#sat1_box {
    background-color: hsl(0, 100%, 50%);
    width: 40px;
    height: 40px;
    float: left;
    border: solid;
    border-color: black;
    border-radius: 10px;
    border-width: 1px;
    margin-left: 10px;
    margin-top: 1px;
}
#sat2_box {
    background-color: hsl(0, 100%, 50%);
    width: 40px;
    height: 40px;
    float: left;
    border: solid;
    border-color: black;
    border-radius: 10px;
    border-width: 1px;
    margin-left: 10px;
    margin-top: 1px;
}

#Hue1_select {
    display: inline-block;
    /* background-color: green; */
    
}

#Fade_select {
    display: inline-block;
    /* background-color: green; */
    
}

#Saturation_select {
    display: inline-block;
    /* background-color: green; */

    
}

#Hue_Number_1, #Fade_Number_1, #Sat_Number_1 {
    font-size: 15px;
    padding-right: 4px;
}

#RGB_output {
    width: 300px;
    /* background-color: yellow; */
    display: inline-block;

    
}

#red_output, #red_output2 {
    width: 60px;
    height: auto;
    background-color: rgb(180, 0, 0);
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: 15px;
    color: white;

    box-shadow: none;
}

#green_output, #green_output2 {
    width: 60px;
    height: auto;
    background-color: green;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: 15px;
    color: white;
    outline-offset: 10px;

    box-shadow: none;
}

#blue_output, #blue_output2 {
    width: 60px;
    height: auto;
    background-color: rgb(0, 0, 180);
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: 15px;
    color: white;
    outline-offset: 0px;

    box-shadow: none;
}

#red_output:hover, #red_output:focus {
    background-color: hsl(360,100%,50%);
}
#green_output:hover, #green_output:focus {
    background-color: rgb(0, 201, 0);
}
#blue_output:hover, #blue_output:focus {
    background-color: rgb(0, 0, 255);
}

.percent {
    display: inline-block;
    position: relative; 

}

.percent::after {
    position: absolute;
    right: 1em;
    top: 16px;

    content: '%';

}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 20px;
    float: left;
    margin-top: 2px;
    margin-left: 20px;
  }

.switch input { 
    opacity: 0;
    width: 0;
    height: 0;
  }

.slider2 {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
.slider2:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  input:checked + .slider2 {
    background-color: #179bf3;
  }
  
  input:focus + .slider2 {
    /* box-shadow: 0 0 8px #2196F3; */
  }
  
  input:checked + .slider2:before {
    -webkit-transform: translateX(30px);
    -ms-transform: translateX(30px);
    transform: translateX(30px);
  }

  .slider2 {
    border-radius: 34px;
  }
  
  .slider2:before {
    border-radius: 50%;
  }