* {
margin: 0em;
padding: 0em;
font-size: 100%;
border-style: none;
list-style-type: none;
}

body {
    height: 100vh;
    background-color: #216869;
    font-family: "Ubuntu Mono", serif;
    font-weight: 400;
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#contentWrapper {
    flex: 1;
}

#wrapper {
    background-color: #D2D4C8;
    padding: 30px;
    border-radius: 8px;
    margin: 10px;
    max-width: 500px;
    min-width: 200px;
    box-shadow: 1px 2px 10px #1e1e1e;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media only screen and (min-width: 768px) {

    body {
        justify-content: center;
    }

    #contentWrapper {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
}   /*  end 768px breakpoint  */

#desc {
    padding: 10px 0px;
    color: #1e1e1e;
}

#about {
    box-sizing: border-box;
    margin: 60px -30px -30px -30px; 
    padding: 35px 35px 40px 35px;
    border-radius: 0px 0px 8px 8px;
    color: #36151E;
    background-color: #9ab4b4;
}

/* heading and paragraph text*/
h1 {
    font-family: "Share Tech Mono", serif;
    font-size: 40px;
    letter-spacing: 1px;
    color: #36151E;
}

h2 {
    font-family: "Share Tech Mono", serif;
    font-size: 24px;
    margin-bottom: 20px;
    letter-spacing: 1.5px;
}

p {
    font-size: 18px;
    line-height: 22px;
}

/* generator wrapper section */
#generator {
    min-width: 200px;
    max-width: 500px;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* buttons */
#password button {
    padding: 8px 16px;
    border-radius: 0px 8px 8px 0px;
}

.button {
    background-color: #216869;
    color: #fff;
    cursor: pointer;
    border-radius: 8px;
    padding: 8px 16px;
    font-family: "Ubuntu Mono", serif;
    width: 78px;
}

.button:hover, #generateBtn:hover {
    background-color: #194d4e;
}

#generateBtn {
    margin-top: 10px;
    font-size: 18px;
    background-color: #216869;
    color: #fff;
    padding: 8px 24px;
    width: 120px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    text-align: center;

}

/* password field */
#password {
    display: flex;
    flex-direction: row;
    justify-content: center;
    max-width: 300px;;
    margin: 10px auto 20px auto;
}

#passwordOutput {
    font-family: "Ubuntu Mono", serif;
    font-size: 16px;
    background-color: #fff;
    padding: 8px 16px;
    border-radius: 8px 0px 0px 8px;
    width: 30vw;
}

/* Password Length field */
#range {
    margin: 20px auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    width: 82%;
}

#range span {
    background-color: #fff;
    padding: 8px;
    width: 20px;
    border-radius: 8px;
    font-size: 18px;
}

/* length slider */
#lengthSlider {
    width: 45vw;
    cursor: pointer;
    -webkit-appearance: none;
    -ms-appearance: none;
    appearance: none;
    background: transparent;
    min-width: 175px;
}

/* Styling for the slider track (all browsers) */
#lengthSlider::-webkit-slider-runnable-track {
    background: #216869;
    height: 0.5rem;
    border-radius: 8px;
}

#lengthSlider::-moz-range-track {
    background: #216869;
    height: 0.5rem;
    border-radius: 8px;
}

/* Microsoft Edge specific styling for the track */
#lengthSlider::-ms-track {
    background: #216869;
    height: 0.5rem;
    border-radius: 8px;
    border: none;
    color: transparent;
}

/* Slider thumb styling (all browsers) */
#lengthSlider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    background-color: #216869;
    margin-top: -7px;
    height: 22px;
    width: 22px;
    border-radius: 50%;
    border: none;
}

#lengthSlider::-webkit-slider-thumb:active {
    background-color: #194d4e;
}

#lengthSlider::-moz-range-thumb {
    background-color: #216869;
    height: 22px;
    width: 22px;
    border-radius: 50%;
    border: none;
}

#lengthSlider::-moz-range-thumb:active {
    background-color: #194d4e;
}

#lengthSlider::-ms-thumb {
    background-color: #216869;
    height: 22px;
    width: 22px;
    border-radius: 50%;
    border: none;
}

#lengthSlider::-ms-thumb:active {
    background-color: #194d4e;
} 


/* checkbox options */
#options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: center;
    align-items: center;
    margin: 20px auto;
    text-align: left;
    gap: 10px 20px;
    width: 82%;
    box-sizing: border-box;
}

.option {
    display: block;
    background-color: #fff;
    padding: 8px;
    border-radius: 8px;
    min-width: 70px;
    font-size: 18px;
}

label {
    display: flex;
    align-items: center;    
}

.option input, label {
    cursor: pointer;
}

.option span {
    padding-left: 8px;
}

input[type="checkbox"] {
    accent-color: #36151E;
}

#footer {
    margin-top: auto;
    padding: 10px;
}

@media only screen and (min-width: 768px) {

    #footer {
        margin-top: 0;
    }

}   /*  end 768px breakpoint  */

#footer p {
    color: #D2D4C8;
    font-size: 14px;
}

@media only screen and (min-width: 370px) {

    #passwordOutput {
        min-width: 190px;
    }

}   /*  end 370px breakpoint  */

@media only screen and (min-width: 480px) {

    #range {
        min-width: 300px;
        max-width: 300px;
    }

}   /*  end 480px breakpoint  */

@media only screen and (min-width: 600px) {

    #wrapper {
        max-width: 700px;
    }

    main {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #options {
        min-width: 410px;
    }

    #range {
        width: 300px;
    }

}   /*  end 600px breakpoint  */


@media only screen and (min-width: 960px) {

    body {
        min-height: 100vh;
    }

    #wrapper {
        margin-top: 30px;
        max-width: 700px;
    }

}   /*  end 960px breakpoint  */