@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');

*{
    font-family: 'Work Sans', sans-serif;
    padding: 0;
    margin: 0;
}
body{
    text-align: center;
    background-color: rgb(240, 240, 240);
}
h1{
    margin-top: 35px;
    font-weight: 500;
}
main{
    margin-top: 50px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column;

}
.container{
    width: 500px;
    border-radius: 8px;
    margin-bottom: 30px;
    background-color: white;
    box-shadow: 1px 5px 8px rgba(0, 0, 0, 0.144);
}
.password-box{
    display: flex;
    height: 80px;
    align-items: center;
}
input#pass{
    margin-left: 6px;
    width: 100%;
    border: none;
    outline: none;
    font-size: 1.5em;
    font-weight: 400;
}

.security-bar{
    height: 10px;
    background-color: #ddd;
    border-radius: 0px 0px 8px 8px;
}
#bar{
    border-radius: 0px 0px 8px 8px;
}
.security-bar .completed{
    border-top-right-radius: 0px;
    background-color: green;
    width: 100%;
}
.security-bar .almost-completed{
    border-top-right-radius: 0px;
    background-color: rgb(137, 196, 0);
    width: 75%;
}
.security-bar .halfbar{
    background-color: #f2c94c;
    width: 50%;
}
.security-bar .critical{
    background-color: #eb5757;
    width: 20%;
}

#bar{
    height: 10px;
    border: 0px 8px 8px 8px;
}
.options button{
    background-color: transparent;
    border: none;
    cursor: pointer;
    opacity: .6;
    user-select: none;
    transition: all .2s;
}
.options button:hover{
    opacity: 1;
}

.selection{
    flex-basis: 400px;
}
.slider {
    appearance: none;
    width: 60%;
    height: 15px;
    border-radius: 5px;  
    background: #d3d3d3;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
  }
  .slider:hover{
    opacity: 1;
  }
  
  .slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%; 
    background: #018d1fd2;
    cursor: pointer;
  }
  

.selection h3{
    font-weight: 500;
    font-size: 1.5em;
    margin: 20px 0px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgb(199, 199, 199);
}
input#range-value{
    border: none;
    font-size: 1.3em;
    width: 40px;
}

.config{
    display: block;
    margin: 10px;
    font-size: 1.3em;
    font-weight: 500;
    cursor: pointer;
    user-select: none;
}
.config input{
    position: absolute;
    height: 0;
    width: 0;
    opacity: 0;
    cursor: pointer;
}
.config-container .checkmark{
    position: absolute;
    margin-left: 5px;
    height: 25px;
    width: 25px;
    background-color: #dddddd;
    transition: all .2s;
}
.config-container .checkmark:hover{
    background-color: #cccccc;
}
.config-container input:checked ~ .checkmark{
    background-color: #018d1fd2;
    opacity: .7;
    background-image: url(icons/check.png);
    background-position: center;
    background-size: cover;
}

button#copy2{
    background-color: #018d1fd2;
    border: none;
    height: 50px;
    width: 150px;
    margin-top: 30px;
    border-radius:10px;
    font-size: 1.3em;
    color: white;
    font-weight: 300;
    opacity: .7;
    transition: all .3s;
}
button#copy2:hover{
    opacity: 1;
    scale: 1.1;
    cursor: pointer;
}