@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&family=Karla:wght@800&display=swap');

body {
    margin: 0;
    background: #1F2937;
    color: white;
    text-align-last: center;
    font-family: 'Karla';
}

.password-div{
    margin: 3em 20em 0em 20em;
    display: flex;
    justify-content: center;
    font-family: 'Inter';
}

.password{
    background: #273549;
    color: white;
    font-family: 'Inter';
    padding: 10px;
    border: 5px solid #273549;
    margin: 0;
    width: fit-content;
    height: auto;
    
}

p{
    color: white;
    font-family: 'Inter';
    font-size: 1.5em;
}

h1{
    margin-top: -0.75em;
    font-size: 3em;
}

hr{
    margin-top: 5em;
    margin-bottom: 5em;
    border: 1px solid #10B981;
}

button{
    position: relative;
    font-family: inter;
    color: white;
    background: #10B981;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 9px 17px 9px 15px;
    gap: 12px;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.05);
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    margin: 2em 0em 0em 0em;
}

button:hover{
    background: transparent;
    transition-duration: 0.3s;
}

button:active {
    top: 2px;
    box-shadow: 0 0 5px 5px #10B981;
}

.intro-text{
    margin: 5em 0em 0em 0em;
}

#passwordCharLengthInput{
    border-radius: 10px;
    font-size: 20px;
    font-family: unset;
    width: 5%;
    border: 2px solid #10B981;
}

/*remove spin button number input*/
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

input[type=number] {
    -moz-appearance:textfield; /* Firefox */
}

/*-----------Media Queries (Medium Devices)--------------------*/
@media screen and (max-width: 1024px){
    .password{
        margin-top: 1em;
    }
    .password-div{
        display: grid;
    }
}

/*-----------Media Queries (Small Devices)--------------------*/
@media screen and (max-width: 600px){
    .password{
        margin-top: 1em;
    }
    .password-div{
        display: grid;
    }
}