@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap");

* {
    font-family: "Poppins", sans-serif;
    color: rgb(10, 30, 77);
    margin: 0;
    padding: 0;
    border: 0;
}

::-ms-reveal {
    filter: invert(100%);
}

::placeholder {
    color: rgb(110, 110, 110);
    opacity: 1;
}

::-ms-input-placeholder {
    color: rgb(110, 110, 110);
}

.fadeIn {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1000ms ease, transform 800ms ease;
}

body {
    background: #8E2DE2;
    background: -webkit-linear-gradient(to right, #4A00E0, #8E2DE2);
    background: linear-gradient(to right, #4A00E0, #8E2DE2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 80vh;
    margin: 15px;
}

form {
    display: block;
    background: white;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 0, 0, 0.2);
    width: 70%;
    padding: 44px;
    border-radius: 25px;
}

p {
    margin-top: 15px;
    margin-bottom: 15px;
}

h1,
p,
button {
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

input {
    background: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
    background-repeat: no-repeat;
    background-position: 10px;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 12px;
    letter-spacing: 1px;
    -webkit-border-radius: 11px !important;
    -moz-border-radius: 11px !important;
    border-radius: 11px !important -webkit-appearance: textfield;
    border: 1px solid rgb(110, 110, 110);
    padding: 10px 10px 10px 34px;
    outline: 1px solid rgba(255, 255, 255, 0.3);
}

input:focus {
    outline: 0.5px solid rgb(10, 30, 77);
}

input[type="text"] {
    text-transform: lowercase;
    background-image: url("ui/username_active.png");
    transition: 400ms;
}

input[type="text"]:placeholder-shown {
    background-image: url("ui/username.png");
    transition: 400ms;
}

input[type="password"] {
    background-image: url("ui/password_active.png");
    transition: 400ms;
}

input[type="password"]:placeholder-shown {
    background-image: url("ui/password.png");
    transition: 400ms;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-background-clip: text;
    -webkit-text-fill-color: rgb(110, 110, 110);;
    transition: background-color 5000s ease-in-out 0s;
    background: white !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
      outline: 0.5px solid rgb(10, 30, 77);
}

button {
    background: #4776E6;
    background: -webkit-linear-gradient(to right, #8E54E9, #4776E6);
    background: linear-gradient(to right, #8E54E9, #4776E6);
    color: white;
    float: right;
    margin-top: 30px;
    max-width: 150px;
    border-radius: 22px;
    padding: 10px 18px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

button:hover {
    cursor: pointer;
}

@media screen and (min-width:450px) {

    * {
        overflow: hidden;
    }

    body {
        height: 92vh;
    }

    form {
        width: 300px;
    }

}
