#rejestrowanie {
    display: none;
}
main {
    align-content: center;
    width: 100%;
    min-height: 100vh;

}
body {
    margin: 0;
    min-height: 100vh;
    overflow: hidden;
    background:
        transparent;
}
#logowanie,
#rejestrowanie {
    transform: translate(-50%, -50%);
    position: absolute;
    top: 50%;
    left: 50%;
    text-align: center;
    width: 450px;
    min-height: 450px;
    padding: 35px 20px;
    background:
        radial-gradient(
            circle at top left,
            rgba(183, 70, 255, 0.12),
            transparent 45%
        ),
        rgba(10, 3, 24, 0.65);
    border: 1px solid rgba(210, 130, 255, 0.25);
    box-shadow:
        0 0 20px rgba(130, 0, 255, 0.15),
        0 0 70px rgba(100, 0, 255, 0.12),
        inset 0 0 30px rgba(255, 255, 255, 0.025);

    backdrop-filter: blur(22px);
    border-radius: 28px;
    transition:
        box-shadow 0.3s ease,
        border 0.3s ease;
    
}

#logowanie:hover,
#rejestrowanie:hover {
    border: 1px solid rgba(210, 130, 255, 0.4);

    box-shadow:
        0 0 25px rgba(160, 0, 255, 0.22),
        0 0 90px rgba(100, 0, 255, 0.15),
        inset 0 0 30px rgba(255, 255, 255, 0.035);
}

h1 {
    margin: 20px 0 40px;

    font-family:
        'Lucida Sans',
        'Lucida Sans Regular',
        'Lucida Grande',
        'Lucida Sans Unicode',
        Geneva,
        Verdana,
        sans-serif;

    font-size: 50px;
    font-weight: 700;

    background: linear-gradient(
        90deg,
        rgb(255, 255, 255),
        rgb(220, 170, 255),
        rgb(171, 70, 255),
        rgb(230, 180, 255)
    );

    background-clip: text;
    color: transparent;

    text-shadow:
        0 0 15px rgba(190, 80, 255, 0.25),
        0 0 35px rgba(120, 0, 255, 0.18);
}

input,
button {
    box-sizing: border-box;
    width: 72%;
    height: 55px;
    margin: 8px 0;
    padding: 8px 22px;
    border-radius: 999px;
    font-size: 20px;
    color: white;
    outline: none;
    transition: 0.25s
}

input {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(210, 150, 255, 0.3);
    box-shadow:
        inset 0 0 15px rgba(160, 0, 255, 0.04);
}

input::placeholder {
    color: rgba(230, 210, 255, 0.45);
}



input:hover {
    border-color: rgba(210, 130, 255, 0.55);

    background: rgba(150, 30, 255, 0.04);
}

input:focus {
    border-color: rgb(190, 90, 255);

    background: rgba(150, 40, 255, 0.06);

    box-shadow:
        0 0 8px rgba(190, 70, 255, 0.4),
        0 0 25px rgba(130, 0, 255, 0.2),
        inset 0 0 15px rgba(190, 80, 255, 0.05);
}

button,
input[type="submit"] {
    margin-top: 18px;

    cursor: pointer;

    border: 1px solid rgba(220, 150, 255, 0.55);

    background:
        linear-gradient(
            90deg,
            rgba(100, 0, 200, 0.85),
            rgba(165, 30, 255, 0.9),
            rgba(110, 0, 230, 0.85)
        );

    box-shadow:
        0 0 15px rgba(160, 0, 255, 0.25),
        inset 0 0 15px rgba(255, 255, 255, 0.08);

    font-weight: bold;

    letter-spacing: 1px;
}
button {
    border: 2px solid transparent;
    border-radius: 999px;

    background:
        linear-gradient(black, black) padding-box,
        linear-gradient(
            90deg,
            rgba(100, 0, 200, 0.85),
            rgba(165, 30, 255, 0.9),
            rgba(110, 0, 230, 0.85)
        ) border-box;
}

input[type="submit"]:hover {
    transform: translateY(-2px) scale(1.015);

    background:
        linear-gradient(
            90deg,
            rgba(125, 0, 230, 0.95),
            rgba(195, 60, 255, 1),
            rgba(135, 20, 255, 0.95)
        );

    box-shadow:
        0 0 12px rgba(220, 130, 255, 0.65),
        0 0 35px rgba(150, 0, 255, 0.4),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
}
button:hover {
    transform: translateY(-2px) scale(1.015);
    border: 4px solid transparent;
    background:
        linear-gradient(black, black) padding-box,
        linear-gradient(
            90deg,
            rgba(100, 0, 200, 0.85),
            rgba(165, 30, 255, 0.9),
            rgba(110, 0, 230, 0.85)
        ) border-box;
    box-shadow:
        0 0 12px rgba(220, 130, 255, 0.65),
        0 0 35px rgba(150, 0, 255, 0.4),
        inset 0 0 20px rgba(255, 255, 255, 0.1),
        inset 0 0 20px rgba(150, 0, 255, 0.8);
}
button:active,
input[type="submit"]:active {
    transform: scale(0.97);
}
