@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&family=Roboto+Condensed:wght@700&family=Roboto:wght@300;400;500;600;700&display=swap');

/* =========================================
   RESET
========================================= */

* {
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
}


/* =========================================
   BODY
========================================= */

body {
    min-height: 100vh;
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background-color: rgb(64, 105, 240);

    background-image:
        radial-gradient(
            at 80% 0%,
            rgb(1, 12, 2) 0px,
            transparent 50%
        ),
        radial-gradient(
            at 0% 50%,
            rgb(241, 29, 93) 0px,
            transparent 50%
        ),
        radial-gradient(
            at 80% 50%,
            rgb(139, 54, 76) 0px,
            transparent 50%
        ),
        radial-gradient(
            at 0% 100%,
            rgb(95, 19, 44) 0px,
            transparent 50%
        ),
        radial-gradient(
            at 0% 0%,
            rgb(250, 22, 41) 0px,
            transparent 50%
        );

    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}


/* =========================================
   LOGIN CONTAINER
========================================= */

section {
    width: min(400px, 100%);

    min-height: 380px;
    max-height: none;

    margin: 0 auto;

    padding: 25px 20px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background-color: rgba(255, 255, 255, 0.4);

    border-radius: 20px;

    box-shadow:
        0 0 31px 0 rgba(0, 0, 0, 0.10);

    /* Removed translateY(40%) */
}


/* =========================================
   TITLE
========================================= */

h1 {
    margin: 10px 0 20px;

    font-size: clamp(28px, 5vw, 48px);

    line-height: 1.2;

    font-weight: 400;

    font-family: 'Poppins', sans-serif;

    text-align: center;
}


/* =========================================
   FORM
========================================= */

.login-form {
    width: 100%;
    max-width: 300px;

    margin-bottom: 15px;
}


/* =========================================
   LABEL
========================================= */

h4 {
    margin: 15px 0 5px;

    font-size: clamp(14px, 2vw, 18px);

    font-weight: 300;
}


/* =========================================
   INPUT
========================================= */

input {
    width: 90%;

    min-height: 38px;

    font-size: 16px;

    font-weight: 300;

    padding: 7px 5px;

    border: none;

    background-color: transparent;
}


/* =========================================
   USERNAME / PASSWORD
========================================= */

.username-input,
.password-input {
    width: 100%;

    display: flex;
    align-items: center;

    border-bottom: 1px solid #a4a4a4;
}


/* =========================================
   ICON
========================================= */

i {
    width: 10%;

    min-width: 25px;

    color: rgba(0, 0, 0, 0.3);

    padding-right: 7px;

    text-align: center;
}


/* =========================================
   FORGOT PASSWORD
========================================= */

.login-form > p {
    width: 100%;

    font-size: 14px;

    text-align: right;

    margin-top: 8px;

    font-weight: 300;
}


/* =========================================
   LOGIN BUTTON
========================================= */

.login-btn {
    display: block;

    border: none;

    padding: 10px 20px;

    width: 60%;

    min-height: 42px;

    margin: 20px auto 0;

    border-radius: 10px;

    font-size: 15px;

    background-image:
        linear-gradient(
            43deg,
            rgb(11, 201, 226) 0%,
            rgb(152, 62, 248) 100%
        );

    color: white;

    font-weight: 600;

    cursor: pointer;

    transition: 0.2s ease;
}

.login-btn:hover {
    transform: translateY(-1px);

    opacity: 0.95;
}


/* =========================================
   SIGNUP
========================================= */

.alternative-signup {
    width: 100%;

    max-width: 300px;

    margin: 20px 0;

    display: flex;

    flex-direction: column;

    align-items: center;
}

.alternative-signup > p {
    width: 100%;

    font-size: 14px;

    text-align: center;

    margin-bottom: 5px;

    font-weight: 300;
}


/* =========================================
   SPAN
========================================= */

span {
    font-size: 14px;

    font-weight: 600;

    color: hsl(269deg 26% 47%);
}


/* =========================================
   INPUT FOCUS
========================================= */

input:focus {
    outline: none;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 768px) {

    body {
        padding: 15px;
    }

    section {
        width: 100%;

        max-width: 400px;

        padding: 25px 20px;
    }

    .login-form {
        max-width: 320px;
    }

    .alternative-signup {
        max-width: 320px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 480px) {

    body {
        padding: 12px;
    }

    section {
        width: 100%;

        min-height: auto;

        padding: 25px 18px;

        border-radius: 16px;
    }

    h1 {
        font-size: 30px;

        margin-bottom: 15px;
    }

    h4 {
        font-size: 15px;

        margin-top: 12px;
    }

    input {
        font-size: 16px;

        min-height: 40px;
    }

    .login-form {
        width: 100%;

        max-width: 100%;
    }

    .alternative-signup {
        width: 100%;

        max-width: 100%;
    }

    .login-btn {
        width: 70%;

        min-height: 42px;

        font-size: 15px;
    }

}


/* =========================================
   VERY SMALL PHONES
========================================= */

@media (max-width: 360px) {

    body {
        padding: 8px;
    }

    section {
        padding: 20px 14px;

        border-radius: 14px;
    }

    h1 {
        font-size: 26px;
    }

    h4 {
        font-size: 14px;
    }

    input {
        font-size: 16px;
    }

    .login-btn {
        width: 80%;
    }

    .login-form > p,
    .alternative-signup > p,
    span {
        font-size: 13px;
    }

}


/* =========================================
   LARGE PC / MONITOR
========================================= */

@media (min-width: 1600px) {

    section {
        width: 420px;

        min-height: 400px;

        padding: 35px 30px;
    }

    .login-form,
    .alternative-signup {
        max-width: 330px;
    }

}