:root {
    --base: #ECFDF5;
    --base-variant: #0c7e582e;
    --text: black;
    --text-variant: black;
    --btn-text: white;
    --black: #000;
    --accent: #0c7e58;
    --accent-semi-dark: #0c7e58;
    --accent-dark: #08573d;
    --accent-light: #4adf86;
    --shade: #08573d5f;
}

.darkmode {  
    --base: #1F2937;
    --base-variant: #273549;
    --text: white;
    --text-variant: #D5D4D8;
    --btn-text: #D5D4D8;
    --black: #000;
    --accent: #4adf86;
    --accent-light: #4adf86;
    --accent-semi-dark: #0c7e58;
    --accent-dark: #08573d;
    --shade: #273549;
    --shade-variant: #4adf86;
}

html {
    font-size: 10px;
    font-family: Inter;
}

body {
    background: var(--black);
}

@font-face {
    font-family: karla;
    src: url(fonts/Karla-Regular.ttf);
}

@font-face {
    font-family: Inter;
    src: url(fonts/Inter_28pt-Regular.ttf);
}

.password__section {
    padding: 12rem;
}

.password__container {
    position: relative;
    display: flex;
    height: 100%;
    width: 100%;
    justify-content: center;
    padding: 2rem;
}

.password-content__wrapper {
    display: flex;
    position: relative;
    flex-direction: column;
    row-gap: 2rem;
    background: var(--base);
    max-width: 100%;
    height: 100%;
    padding: 6rem 6rem 6rem 6rem;
    border-radius: .6rem;
}

.password__heading {
    font-size: 4rem;
    font-family: karla;
    margin: 0;
    color: var(--text)
}

.text--accent {
    color: var(--accent);
}

.password__lede {
    color: var(--text-variant);
    font-size: 2rem;

}

.divider {
    border: 1px solid var(--base-variant);
}

.btn--passwords {
    background: var(--accent-semi-dark);
    width: 191px;
    height: 42px;
    color: var(--btn-text);
    border-radius: .6rem;
    border: none;
    padding: 0.9rem 1.5rem;
    cursor: pointer;
}

.btn--passwords:hover {
    background-color: var(--accent-dark);
}

.passwords__wrapper {
    display: flex;
    justify-content: space-between;
}

.password__field {
    display: flex;
    background: var(--base-variant);
    width: 211px;
    height: 39px;
    border-radius: 0.6rem;
    font-size: 2rem;
    justify-content: center;
    align-items: center;
    color: var(--accent-semi-dark);
}


#theme-switch {
    height: 4rem;
    width: 4rem;
    padding: 0;
    border-radius: 50%;
    background-color: var(--base-variant);
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 2rem;
    right: 6rem;
    cursor: pointer;
    border: none;
}

#theme-switch svg {
    fill: var(--accent-semi-dark);
}

#theme-switch svg:last-child {
    display: none;
}

.lightmode #theme-switch svg:first-child {
    display: none;
}
.lightmode #theme-switch svg:last-child {
    display: block;
}