*,
*:before,
*:after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    overflow: hidden;
    background: radial-gradient(#242d4a, #1A2035);
    animation: change 5s infinite;
}

.background {
    width: 430px;
    height: 520px;
    position: absolute;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 50%;
}

.background .shape {
    height: 200px;
    width: 200px;
    position: absolute;
    border-radius: 50%;
}

.shape:first-child {
    background: linear-gradient(#3a7bd5, #34a853, #2c5364);
    left: -80px;
    top: -80px;
    animation: move-shape1 45s infinite linear;
}

.shape:last-child {
    background: linear-gradient(#1b3b6f, #205387, #42a1f5);
    right: -30px;
    bottom: -80px;
    animation: move-shape2 45s infinite linear;
}

@keyframes move-shape1 {
    50% {
        left: 120px;
        top: -50px;
        transform: rotate(360deg);
    }
}

@keyframes move-shape2 {
    50% {
        right: 200px;
        bottom: -60px;
        transform: rotate(360deg);
    }
}

.center {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container {
    background-color: rgba(255, 255, 255, 0.13);
    width: 440px;
    height: 550px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 40px rgba(8, 7, 16, 0.3);
    padding: 50px 35px;
    margin: 0;
    text-align: center;
}

.container .form {
    position: absolute;
    top: 54%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-top: 10px;
}

form * {
    font-family: 'Poppins', sans-serif;
    color: #ffffff;
    letter-spacing: 0.5px;
    outline: none;
    border: none;
}

.logo {
    width: 83%;
    text-align: center;
    position: relative;
    bottom: 30px;
    margin-top: -5px;
    margin-bottom: -33px;
}

.message {
    position: relative;
    bottom: -12px;
    animation: message 2s infinite linear;
}

@keyframes message {
    50% {
        scale: 0.955;
    }
}

input {
    display: block;
    height: 50px;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.07);
    border-radius: 3px;
    padding: 0 10px;
    margin-top: 8px;
    font-size: 14px;
    font-weight: 300;
    padding-left: 20px;
}

::placeholder {
    color: #e5e5e5;
}

label {
    display: block;
    margin-top: 30px;
    font-size: 16px;
    font-weight: 500;
}

button {
    margin-top: 25px;
    width: 100%;
    background-color: #ffffff;
    color: #080710;
    padding: 15px 0;
    font-size: 18px;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: 150ms;
}

button:hover {
    background-color: #eee;
    scale: 0.990;
}

button:active {
    scale: 0.980;
}

h3 {
    color: white;
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 10px;
}

.form {
    width: 90%;
}

table {
    margin-top: 95px;
    width: 100%;
}

table tr td input {
    width: 100%;
}

#eye-slash {
    position: relative;
    bottom: 37px;
    right: 17px;
    display: none;
    cursor: pointer;
}

table tr:nth-child(1),
table tr:nth-child(3) {
    text-align: left;
}

table tr:nth-child(4) {
    text-align: right;
}

#eye-fill {
    position: relative;
    bottom: 37px;
    right: 18px;
    cursor: pointer;
    color: white;
}

.password {
    height: 50px;
}

.login-icon {
    width: 25px;
}

/* Media Queries */
@media (max-width: 546px) {
    .background {
        width: 350px;
    }

    .background .shape {
        height: 130px;
        width: 130px;
    }

    .shape:first-child {
        background: linear-gradient(#5eb54d,
        #23a2f6);
        left: 90px;
        top: -80px;
    }

    .shape:last-child {
        background: linear-gradient(to right,
        #967333,
        #ab2858);
        right: 90px;
        bottom: -80px;
    }

    table {
        margin-top: 50px;
    }

    button {
        margin-top: 0px;
    }

    .container {
        margin: 0 5%;
        height: 500px;
    }

    .center {
        width: 100%;
    }
}   