footer{
    position: relative;
}
.create-acct{
    display: flex;
    flex-direction: column;
    margin-top: 20px;
}
.create-acct a{
    color: #d6ace3;
}
.create-acct a:hover{
    color: #864e97;
}
body{
    background-color: #332238;
}
.container-login{
    display:flex;
    align-items: center;
    justify-content: center;
    margin: 300px 0px;
}
.login-username,.login-password{
    display: flex;
    flex-direction: column;
}

input[type="submit"] {
    background-color: var(--colorlight);
    color: #fff !important;
    margin-top: 20px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}
input[type="submit"]:hover {
    background-color: #664172;
}

.image-login{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 500px;
}
.image-login img:nth-child(1){
    position: absolute;
    animation-name: floatToTop;
    animation-duration: 2s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    filter: drop-shadow(0px 0px 40px hsla(305, 84%, 62%, 0.557));
}

.form{
    display: flex;
    justify-content: start;
    min-width: 500px;
    flex-direction: column;
    color: var(--colorwhite);
}
.form h1{
    color: var(--colorwhite);
    margin-bottom: 10px;
}
.form input{
    padding: 5px 15px 5px 15px;
    border-radius: 3px;
    outline: none;
    border: none;
    margin: 5px 0px;
    color: var(--colordark);
}

.btn-login{
    position: relative;

    height: 60px;
}
.btn-login img{
    height: 100%;
}
.btn-login p{
    position: absolute;
    left: 0;
    top: 60%;
}


@keyframes floatToTop {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-3px); /* Adjust the value as needed */
    }
}

@media (max-width:900px) {
    .container-login{
        flex-direction: column;
        margin-bottom: 300px;
    }
    .image-login{
        max-width: 170px;
        margin-bottom: 50px;
    }
    .form{
        min-width: 90%;
    }
    .image-login img{
        width:100%;
    }
}

