* {
    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, black, #14293b, black, #14293b, black, #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: 60%;
    height: 75vh;
    backdrop-filter: brightness(70%);
    border-radius: 0.5em;
    display: flex;
    flex-direction: column;
    animation: animation ease 1s;

}

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

    100% {
        opacity: 1;

    }
}

.main form h2 {
    text-align: center;
}

.main form .cont {
    display: flex;
    flex-direction: column;
    height: 45vh;
    justify-content: space-around;
}

.main form .cont .first,
.second,
.third,
.fourth {
    display: flex;
    justify-content: space-around;
}

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

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

select {
    color: #6c6565;
}

select option {
    color: #6c6565;
}

.main form .center {
    display: flex;
    justify-content: center;
}

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

.main form .space {
    height: 5vh;
}


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

    .main form .cont {
        height: 60vh;
        justify-content: center;
        gap: 0.6em;
    }

    .main form .cont .first,
    .second,
    .third,
    .fourth {
        flex-direction: column;
        align-items: center;
        gap: 0.6em;
    }

    .main form .space {
        height: 3vh;
    }

    .main form .center .create {
        font-size: 0.9em;
        width: 52%;
    }

    .main form .cont .style,
    select {
        width: 80%;
    }
}

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

    .main form .center .create {
        font-size: 1.1em;
    }

}