/** Variables */

:root {
    --colorOne: #fffffe;
    --colorTwo: #272343;
    --colorThree: #2d334a;
    --colorFour: #ffd803;
    --colorFive: #bae8e8;
    --colorSix: #a9a9a9;
}

/** General */

html {
    background-color: var(--colorOne)!important;
    color: var(--colorThree)!important;
}

h1, h2, h3, h4, h5, h6, button {
    color: var(--colorThree)!important;
}

body, select, input, textarea {
    font-family: Helvetica, Arial, sans-serif;
    color: var(--colorThree)!important;
}

button, input[type="button"] {
    background-color: var(--colorFive)!important;
    color: var(--colorTwo)!important;
}

select{
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 0px;
}

.select {
    margin-bottom: -5px;
}

/** Main */

.mainSection {
    height: 100vh;
    display: flex;
    align-content: center;
    align-items: center;
}

/** Hero */

.heroTitle {
    text-transform: uppercase;
    font-weight: 400;
}

.heroTitle span {
    display: inline-block;
}

.heroBold {
    font-weight: 900!important;
    background: var(--colorFive);
    color: var(--colorTwo);
}

/** Form */

#formBlock {
    padding: 3% 8%;
}

.mainForm {
    font-size: 1.8em;
}

.formInput, .select {
    display: inline-flex!important;
}

.select select {
    height: fit-content;
}

.select:not(.is-multiple):not(.is-loading)::after {
    height: 0.325em;
    margin-top: -0.2em;
    width: 0.325em;
    right: 0.5em;
    border-color: var(--colorTwo);
}

.select:not(.is-multiple) {
    height: auto;
}

option {
    font-size: 0.7em;
    line-height: 1em;
}

select#passwordType, select#passwordLength {
    background: var(--colorFour)!important;
    color: var(--colorTwo)!important;
    font-weight: 600;
    font-size: 0.90em;
    padding: 0px 15px 0px;
    line-height: 1.2em;
    margin-top: 5.5px;
}

select#passwordLength {
    padding-right: 1em;
}

input#passwordGenerate {
    display: block;
    margin: 0px auto;
    padding: 0px 60px;
    margin-top: 20px;
    margin-bottom: 20px;
}
/** Results */

#passwordBlock {
    display: inline-flex;
    border: 1px solid var(--colorSix);
    width: fit-content;
    margin: 0px auto;
    padding: 10px 20px;
    border-radius: 4px;
}

#passwordResult {
    display: inline-block;
    font-size: 3em;
}

#copyIcon {
    display: inline-block;
    width: 1.5em;
    height: 1em;
    margin-left: 8px;
    fill: var(--colorSix);
    margin-top:1.3rem;
}

#passwordBlock {
    cursor: pointer;
}

/** Password Metter */

progress {
    height: 4px !important;
    background-color: #ebebeb !important;
    margin: 0px auto;
    margin-top: 15px;
    margin-bottom: 5px !important;
    width: revert!important;
  }

#passwordLevel {
    font-size: 0.9em;
}

/** TOOLTIP */


.tooltip {
    visibility: hidden;
    position: absolute;
    left: 0;
    right: 0;
    width: 100px;
    z-index: -10;
    color: white;
    font-size: 0.8em;
    background-color: #192733;
    border-radius: 10px;
    padding: 10px 15px 10px 15px;
    opacity: 0;
    transition: opacity 0.5s ease-in;
}

.tool-active {
    visibility: initial!important;
    position: absolute;
    left: 0;
    right: 0;
    margin-top: 28px;
    margin-left: auto;
    margin-right: auto;
    width: 100px;
    color: white;
    font-size: 0.8em;
    background-color: #192733;
    border-radius: 10px;
    padding: 10px 15px 10px 15px;
    opacity: 1;
    transition: opacity 0.5s ease-in;
}

/** View More */

#viewMoreLink {
    width: 30px;
    margin-top: 35px;
    fill: lightgray;
}

/** Footer */

footer {
    background-color: var(--colorTwo);
    color: var(--colorOne);
    padding: 3em 1em;
    margin-top:40px;
}

footer .heroTitle {
    color: var(--colorOne)!important;
}

/** Mobile */

@media (max-width: 768px) {

    h1 {
        font-size: 2em!important;
    }

    h4 {
        font-size: 1.25em!important;
    }

    select#passwordType {
        text-align: center!important;
    }

    .section {
        padding: 0px!important;
    }

    .mainForm {
        font-size: 1.45em;
    }

    #passwordResult {
        font-size: 1.2em;
    }

    #copyIcon {
        margin-top:0px;
    }

    .tool-active {
        margin-top:5px!important;
        z-index: -25;
    }
    
    .column.is-four-fifths-mobile {
        margin: 0px auto;
    }
}