
/* =========================================================
   LOGIKA TEST DIGITAL BUSINESS
   LP3I COLLEGE SURABAYA
   ========================================================= */

/* ================= BODY ================= */

body {
    margin: 0;
    padding: 20px;

    font-family: 'Poppins', sans-serif;

    display: flex;
    justify-content: center;
    align-items: center;

    min-height: 100vh;
    box-sizing: border-box;

    color: #fff;

    background:
        linear-gradient(
            135deg,
            rgba(102,126,234,.2),
            rgba(118,75,162,.2)
        ),
        url("logika.gif") center center / cover no-repeat fixed;
}

/* ================= LOGIN CONTAINER ================= */

.login-container {
    width: 100%;
    max-width: 440px;

    box-sizing: border-box;
    padding: 24px 26px;

    background-color: rgba(255,255,255,.65);
    color: #333;

    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(0,0,0,.4);

    text-align: center;

    overflow-y: auto;
}

/* ================= JUDUL ================= */

.login-container h2 {
    margin: 12px 0 5px;

    font-size: 27px;
    line-height: 1.4;

    color: #333;
}

.login-container p {
    font-size: 14px;
    margin: 6px 0 9px;

    color: #666;
}

/* ================= INPUT ================= */

.login-container input[type="text"],
.login-container input[type="password"] {
    width: 100%;

    box-sizing: border-box;
    padding: 13px 14px;
    margin-bottom: 9px;

    border: none;
    border-radius: 11px;

    background-color: #f1f1f1;

    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    color: #333;
}

.login-container input[type="text"]:focus,
.login-container input[type="password"]:focus {
    outline: none;
    background-color: #e1e1e1;
}

/* ================= SELECT ================= */

.login-container select {
    width: 100%;

    box-sizing: border-box;
    padding: 12px 14px;
    margin-bottom: 9px;

    border: none;
    border-radius: 11px;

    background: #f1f1f1;
    color: #333;

    font-family: 'Poppins', sans-serif;
    font-size: 14px;
}

/* ================= BUTTON CONTAINER ================= */

.button-container {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 8px;
    margin-top: 16px;

    flex-wrap: nowrap;
}

/* ================= BUTTON ================= */

.login-container .button-container .button {
    flex: 1 1 0;
    min-width: 0;

    height: 46px;
    padding: 0 8px;

    box-sizing: border-box;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255,255,255,.25);
    border-radius: 11px;

    color: #fff;

    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 500;

    white-space: nowrap;
    text-decoration: none !important;

    cursor: pointer;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background .25s ease,
        filter .25s ease;
}

/* ================= MULAI ================= */

.login-container input[type="submit"].button {
    background: linear-gradient(135deg, #4776e6, #6b42b8);

    box-shadow:
        0 4px 12px rgba(71,118,230,.25);
}

/* ================= BATAL ================= */

.login-container input[type="reset"].button {
    background: linear-gradient(135deg, #64748b, #475569);

    box-shadow:
        0 4px 12px rgba(71,85,105,.2);
}

/* ================= KEMBALI ================= */

.login-container a.button {
    background: linear-gradient(135deg, #f59e0b, #ea580c);

    box-shadow:
        0 4px 12px rgba(234,88,12,.25);
}

/* ================= HOVER ================= */

.login-container .button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 7px 16px rgba(0,0,0,.2);

    filter: brightness(1.08);
}

/* ================= ACTIVE ================= */

.login-container .button:active {
    transform: scale(.97);
}

/* ================= LOGO ATAS ================= */

.social-login1 {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 18px;
    margin-bottom: 8px;
}

.social-login1 img {
    width: 140px;
    height: 58px;

    object-fit: contain;

    cursor: pointer;

    transition: transform .3s ease;
}

.social-login1 img:hover {
    transform: scale(1.06);
}

/* ================= FOOTER IMAGE ================= */

.login-container .social-login {
    display: flex;

    justify-content: center;
    align-items: center;

    margin-top: 10px;
}

.social-login img {
    width: 100%;
    max-width: 390px;

    height: 48px;

    object-fit: contain;

    cursor: pointer;

    transition: transform .3s ease;
}

.social-login img:hover {
    transform: scale(1.03);
}

/* ================= FOOTER TEXT ================= */

#footer {
    margin-top: 7px;

    font-size: 12px;

    color: #000 !important;
}

#footer p {
    margin: 4px 0;
}

#footer p a {
    color: #000 !important;
    text-decoration: none !important;
}

#footer p a:hover {
    color: #764ba2 !important;
    text-decoration: none !important;
}

/* =========================================================
   RESPONSIVE MOBILE
   ========================================================= */

@media (max-width: 480px) {

    body {
        padding: 14px;

        background-attachment: scroll;
    }

    .login-container {
        max-width: 390px;

        padding: 20px 20px;

        border-radius: 15px;
    }

    .login-container h2 {
        font-size: 23px;
    }

    .login-container p {
        font-size: 13px;
    }

    .login-container input[type="text"],
    .login-container input[type="password"] {
        padding: 12px;

        font-size: 14px;
    }

    .login-container select {
        padding: 11px 12px;

        font-size: 13px;
    }

    .button-container {
        gap: 7px;

        margin-top: 14px;
    }

    .login-container .button-container .button {
        height: 44px;

        padding: 0 5px;

        font-size: 12px;

        border-radius: 9px;
    }

    .social-login1 {
        gap: 12px;
    }

    .social-login1 img {
        width: 115px;
        height: 50px;
    }

    .social-login img {
        height: 40px;
    }

    #footer {
        font-size: 11px;
    }
}

/* =========================================================
   MOBILE KECIL
   ========================================================= */

@media (max-width: 360px) {

    .login-container {
        padding: 16px;
    }

    .login-container h2 {
        font-size: 20px;
    }

    .login-container .button-container .button {
        font-size: 11px;
    }

    .social-login1 img {
        width: 100px;
    }
}

/* =========================================================
   MENCEGAH SCROLLBAR DALAM CONTAINER
   ========================================================= */

.login-container {
    overflow-y: visible;
}
