@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --colorPrimary: #2491ff;
    /* light colors */
    --colorSurface: rgb(230, 230, 230);
    --background: #e1e1e1;
    --highEmphasisText: #000;
    --mediumEmphasisText: rgba(0, 0, 0, 0.5);
    --dialog-back: rgba(0, 0, 0, 0.5);

    /* 
    --colorSecondary: #000;
    --colorAccent: rgb(255, 251, 0);
    --colorSurface: #333;
    --background: #101010;
    --highEmphasisText: #000;
    --mediumEmphasisText: rgba(0, 0, 0, 0.5);
    --lowEmphasisText: rgba(0, 0, 0, 0.2);
    --backgroundGradient: linear-gradient(to right,
            rgb(0, 195, 255),
            rgb(140, 0, 255));
    */
}

.dark {
    /* Dark Colors */
    --colorSurface: #333;
    --background: #101010;
    --highEmphasisText: #fff;
    --mediumEmphasisText: rgba(255, 255, 255, 0.6);
    /* --dialog-back: rgba(255, 255, 255, 0.25); */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    font-weight: 500;
}

.center {
    align-items: center;
    justify-content: center;
}

.center-hor {
    display: block;
    margin: 0 auto;
}

.hidden {
    display: none;
    visibility: collapse;
}

.he {
    color: var(--highEmphasisText);
}

.me {
    color: var(--mediumEmphasisText);
}

.text-center {
    text-align: center;
}

.circle-img {
    object-fit: cover;
    border-radius: 50%;
}

.input {
    width: 100%;
    min-width: 5rem;
    max-width: 25rem;
    border-radius: 4px;
    padding: 0.5rem 1rem;
    background-color: white;
    border: 2px solid white;
}

.input-error {
    min-width: 5rem;
    max-width: 25rem;
    border-radius: 4px;
}

.solid-btn {
    border: 2px solid white;
    cursor: pointer;
    max-width: 25rem;
    font-weight: bold;
    border-radius: 4px;
    white-space: nowrap;
    padding: 0.5rem 1rem;
    color: rgb(50, 50, 50);
    background-color: white;
    box-shadow: rgba(0, 0, 0, 0.25) 0 0 5px;
    transition: background-color 0.25s ease, color 0.25s ease, border 0.25s ease;
}

.solid-btn:active {
    box-shadow: none;
    border: 2px solid rgb(220, 220, 220);
    background-color: rgb(220, 220, 220);
}

.solid-btn:disabled {
    cursor: initial;
    box-shadow: none;
    font-weight: normal;
    color: rgb(100, 100, 100);
    border-color: rgb(220, 220, 220);
    background-color: rgb(220, 220, 220);
}

.outline-btn {
    cursor: pointer;
    max-width: 25rem;
    font-weight: bold;
    border-radius: 4px;
    white-space: nowrap;
    padding: 0.5rem 1rem;
    color: white;
    background-color: transparent;
    border: 2px solid white;
    transition: background-color 0.25s ease, color 0.25s ease, border 0.25s ease;
}

.outline-btn:active {
    background-color: rgb(50, 50, 50);
}

.outline-btn:disabled {
    cursor: initial;
    box-shadow: none;
    font-weight: normal;
    color: rgb(100, 100, 100);
    border-color: rgb(220, 220, 220);
    background-color: rgb(220, 220, 220);
}

.section {
    min-height: 100vh;
}

.container {
    width: 100%;
}

.card {
    background-color: var(--colorSurface);
    padding: 1rem;
    border-radius: 8px;
}

.card-outline {
    border: 2px solid var(--colorSurface);
    padding: 1rem;
    border-radius: 8px;
}

.nav-bar {
    top: 0;
    gap: 2rem;
    z-index: 10;
    width: 100%;
    height: 5rem;
    display: flex;
    padding: 0 2rem;
    position: fixed;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(6px);
    transition: 0.5s ease-in-out;
}

.nav-bar a {
    text-decoration: none;
}

.nav-title {
    font-size: 1.5rem;
    color: var(--highEmphasisText);
    transition: 0.5s ease;
}

.nav-subtitle {
    font-size: 0.9rem;
    color: var(--highEmphasisText);
    transition: 0.5s ease;
}

.nav-menu {
    width: 35px;
    height: 35px;
    display: inline-block;
    margin-left: auto;
    border-radius: 4px;
    cursor: initial;
    transition: transform 0.5s ease-in-out;
}

.nav-menu .bar {
    width: 35px;
    height: 5px;
    margin: 6px 0;
    background-color: white;
    transition: transform 0.5s ease-in-out, background-color 0.5s ease-in-out;
}

.nav-menu .bar:nth-child(1) {
    margin: 4px 0;
}

.nav-menu.active {
    transform: rotateZ(45deg);
}

.nav-menu.active .bar:nth-child(1) {
    transform: translateY(10px) rotateZ(90deg);
}

.nav-menu.active .bar:nth-child(2) {
    background-color: transparent;
    transform: rotateZ(15deg);
}

.nav-menu.active .bar:nth-child(3) {
    transform: translateY(-11px) rotateZ(180deg);
}

.menu-items {
    top: 5rem;
    left: 0;
    right: 0;
    z-index: 5;
    width: 100%;
    height: 100vh;
    width: 100%;
    display: block;
    position: fixed;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px) grayscale(50%);
}

.menu-items ul {
    padding: 3rem 0;
    display: flex;
    list-style: none;
    height: fit-content;
    flex-direction: column;
}

.menu-items ul li a {
    display: block;
    padding: 0 2rem;
    font-size: 3rem;
    text-align: center;
    text-decoration: none;
    color: var(--highEmphasisText);
    transition: letter-spacing 0.25s;
    font-family: Arial, Helvetica, sans-serif;
}

.menu-items ul li:hover a {
    font-weight: bold;
    letter-spacing: 0.4rem;
}

.menu-items ul li .nav-divider {
    height: 5px;
    width: 7rem;
    margin: 1rem auto;
    background-color: white;
}

.footer {
    padding: 1rem 2rem;
    display: flex;
    flex-direction: column;
    background-color: var(--colorSurface);
}

.dialog-parent {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    padding: 2rem;
    position: fixed;
    background-color: var(--dialog-back);
}

.dialog-parent .dialog {
    padding: 0.5rem 1rem;
    min-width: 10rem;
    min-height: 10rem;
    display: grid;
    column-gap: 1.5rem;
    max-width: 600px;
    row-gap: 0.5rem;
    grid-template-areas:
        "title close"
        "msg msg";
    grid-template-rows: min-content auto;
    grid-template-columns: auto 2rem;
    border-radius: 4px;
    background-color: var(--colorSurface);
}

.dialog-parent .dialog .close {
    width: 2rem;
    height: 2rem;
    display: grid;
    cursor: pointer;
    align-self: center;
    border-radius: 50%;
    grid-area: close;
    border: 3px solid var(--highEmphasisText);
    align-items: center;
    justify-content: center;
}

.dialog-parent .dialog .close::before,
.dialog-parent .dialog .close::after {
    content: '';
    height: 3px;
    width: 1rem;
    grid-row: 1;
    grid-column: 1;
    background: var(--highEmphasisText);
}

.dialog-parent .dialog .close::before {
    transform: rotateZ(45deg);
}

.dialog-parent .dialog .close::after {
    transform: rotateZ(-45deg);
}

.dialog-parent .dialog h1 {
    grid-area: title;
    align-self: center;
    overflow-x: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: var(--highEmphasisText);
}

.dialog-parent .dialog p {
    grid-area: msg;
    text-align: justify;
    align-self: flex-start;
    color: var(--mediumEmphasisText);
}

/* Nice colors 

// cyan rgb(125, 220, 220)

*/