﻿html, body {
    height: 100%;
    margin: 0;
    overflow: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.login-wrapper {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 1rem;
    position: relative;
    z-index: 1;
}

.login-card {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    padding: 2rem;
}

.login-button {
    background-color: #0e1f5e;
    border-color: #0e1f5e;
}

.login-save:hover {
    background-color: #0e1f4e;
}

.login-card .form-control {
    border-radius: 5px;
}

.login-card .btn {
    border-radius: 5px;
    font-weight: 600;
}

.line-1 {
    position: relative;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: max-content;
    border-right: 2px solid rgba(255,255,255,.75);
    font-size: 450%;
    color: #0e1f5e;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
}

.anim-typewriter {
    animation: typewriter 1s steps(37) 1s 1 normal both, blinkTextCursor 600ms steps(37) infinite normal;
}

.recaptcha-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 1rem;
}

@keyframes typewriter {
    from {
        width: 0;
    }

    to {
        width: 7.5em;
    }
}

@keyframes blinkTextCursor {
    from {
        border-right-color: rgba(0,0,0,.75);
    }

    to {
        border-right-color: transparent;
    }
}

.wave-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 12em;
    z-index: 0;
}

.wave {
    background: rgba(14, 31, 94);
    border-radius: 1000% 1000% 0 0;
    position: absolute;
    width: 200%;
    height: 100%;
    animation: wave 10s -3s linear infinite;
    transform: translate3d(0, 0, 0);
    opacity: 0.8;
}

    .wave:nth-of-type(2) {
        bottom: -1.25em;
        animation: wave 18s linear reverse infinite;
        opacity: 0.8;
    }

    .wave:nth-of-type(3) {
        bottom: -2.5em;
        animation: wave 20s -1s reverse infinite;
        opacity: 0.9;
    }

@keyframes wave {
    2% {
        transform: translateX(1);
    }

    25% {
        transform: translateX(-25%);
    }

    50% {
        transform: translateX(-50%);
    }

    75% {
        transform: translateX(-25%);
    }

    100% {
        transform: translateX(1);
    }
}

@media (max-width: 576px) {
    .login-card {
        padding: 1rem;
    }

    .line-1 {
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
        font-size: 280%;
    }

    .recaptcha-container {
        transform: scale(0.85);
        transform-origin: center center;
    }
}

@media (min-width: 577px) and (max-width: 768px) {
    .login-card {
        padding: 1.5rem;
    }

    .line-1 {
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
        font-size: 300%;
    }

    .recaptcha-container {
        transform: scale(0.9);
        transform-origin: center center;
    }
}
