* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
    color: white;
}

.main {
    width: 100%;
    height: 100vh;
    background-image: linear-gradient(90deg, #14293b, #14293b, black, #14293b, #14293b, black, #14293b, #14293b, black, #14293b, #14293b, black);
    animation: back-color 10s linear infinite;
    transition: 0.3s;
    background-size: 800% 800%;
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes back-color {
    0% {
        background-position: 0% 50%;

    }

    100% {
        background-position: 100% 50%;

    }

}

.main form {
    background-color: transparent;
    width: 30%;
    height: 65vh;
    backdrop-filter: brightness(70%);
    border-radius: 0.5em;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    animation: animation ease 1s;

}

@keyframes animation {
    0% {
        opacity: .3;
        margin-left: 4em;
        transform: scale(0.8);
    }

    100% {
        opacity: 1;

    }
}

.main form h2 {
    padding-top: 0.2em;
    text-align: center;
}

.main form .cont {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5em;
    width: 100%;
    display: flex;
    width: 100%;
    height: 40vh;
    display: flex;
    justify-content: center;
    gap: 2em;
}

.main form .cont .text,
.password {
    width: 80%;
    height: 6vh;
    border: none;
    border-radius: 0.5em;
    color: black;
    font-weight: bold;
}

.main form .cont input::placeholder {
    font-weight: bold;
}

.main form .cont button {
    width: 70%;
    height: 5vh;
    text-align: center;
    background-image: linear-gradient(90deg, palegreen, white, palegreen, white);
    animation: back-color 10s ease infinite;
    transition: 0.3s;
    background-size: 400% 400%;
    color: #14293b;
    font-weight: bold;
    border: none;
    border-radius: 0.6em;
    font-size: 1.3em;
    transition: 0.3s;
}

.main form .create {
    text-align: center;
    text-decoration: none;
    font-weight: bold;
}

/*phone style*/
@media (max-width: 599px) {
    .main form {
        width: 80%;
        height: 60vh;
    }
}

/* Tablet styles */
@media (min-width: 600px) and (max-width: 1023px) {
    .main form {
        width: 60%;
        height: 60vh;
    }
}