* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

body {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: url('bg.jpg') no-repeat center center/cover;
    font-family: Arial, sans-serif;
}

/* ---------------------------------------------------------- */
/* SPINNER */

#spinner {
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    height: 100vh;
    width: 100vw;
    background-color: #02010160;
    z-index: 2001;
}

#loading {
    height: 60px;
    width: 60px;
    border: 8px solid #ffffff;
    border-top: 8px solid #0239A3;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.logo {
    width: 100%;
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50vh;
    padding: 40px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-align: center;
}

.container h2 {
    color: #fff;
    margin-bottom: 20px;
}

.container input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: none;
    border-radius: 8px;
    outline: none;
}

.container button {
    width: 100%;
    padding: 12px;
    margin: 15px 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(220, 226, 228, 0.096);
    backdrop-filter: blur(5px);
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
    color: #fff;
    outline: none;
}

#msg {
    color: rgb(238, 156, 4);
    font-weight: bold;
    display: none;
}


@media (max-width: 768px) {
    .container {
        width: 90%;
        height: 55vh;
        padding: 20px;
    }

    .logo {
        width: 60vw;
    }

    .container input {
        width: 90%;
    }

    .container button {
        width: 90%;
    }
}