* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;


}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(to left, #8942a8, #ba328f);
    background-size: cover;
    color: #fff;
    line-height: 1.6;

}


ul {
    list-style: none;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    opacity: 0.8;
    width: 100%;
    height: 60px;
    position: fixed;
    top: 0;
}



.form {
    background: linear-gradient(to left, #8942a8, #ba328f);
    background-size: auto;
    width: 100%;
    height: 88vh;
    c
}

/* Background-animation */
.animate-ground {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
}

.animate-ground li {
    position: absolute;
    display: block;
    width: 25px;
    height: 25px;
    background: rgba(0, 0, 0, 0.2);
    animation: animate 20s linear infinite;

}

.animate-ground li:nth-child(1) {
    left: 86%;
    top: 8%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}

.animate-ground li:nth-child(2) {
    left: 12%;
    top: 25%;
    width: 30px;
    height: 30px;
    animation-delay: 1.5s;
    animation-duration: 10s;
}

.animate-ground li:nth-child(3) {
    top: 30%;
    left: 70%;
    width: 100px;
    height: 100px;
    animation-delay: 5.5s;
}

.animate-ground li:nth-child(4) {
    top: 38%;
    left: 45%;
    width: 150px;
    height: 150px;
    animation-delay: 0s;
    animation-duration: 15s;
}

.animate-ground li:nth-child(5) {
    top: 65%;
    left: 65%;
    width: 40px;
    height: 40px;
    animation-delay: 0s;
}

.animate-ground li:nth-child(6) {
    top: 75%;
    left: 15%;
    width: 110px;
    height: 110px;
    animation-delay: 2.4s;
}

.animate-ground li:nth-child(7) {
    top: 45%;
    left: 25%;
    width: 110px;
    height: 110px;
    animation-delay: 0.6;
}

.animate-ground li:nth-child(8) {
    top: 98%;
    left: 25%;
    width: 110px;
    height: 110px;
    animation-delay: 0.8;
}

.animate-ground li:nth-child(9) {
    top: 80%;
    left: 25%;
    width: 110px;
    height: 110px;
    animation-delay: 0.2;
}



@keyframes animate {
    0% {
        transform: translateX(0) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateX(-900px) rotate(360deg);
        opacity: 0;
    }
}


/* form */
select,
option,
input,
label,
button {
    padding: 0.2rem 1rem;
    font-size: 1.2rem;
    color: inherit;
}

.my-form {
    margin-top: 78px;
}

.form-box {
    padding: 0.8rem 0;
    display: flex;
    flex-direction: row;
    margin-left: 50%;
    margin-right: 20px;
}



.form-box label {
    flex-basis: 9rem;
    flex-grow: 0;
    flex-shrink: 0;
    padding: 10px 0;
}


.form-box select,
.form-box input,
.form-box button {
    background: #fff;
    color: #333;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 0;
    padding: 10px 0;
    border: none;
}

.form-box select,
.form-box input:focus {
    outline-color: #28a745;
}

.form-box button {
    background: #28a745;
    margin-left: 9rem;
}


.form-box button:hover {
    opacity: 0.8;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .form-box {
        padding: 2rem 0;
        display: flex;
        flex-direction: column;
        margin-left: 40%;
        margin-right: 20px;
    }

    .form-box label {
        display: none;
    }

    .form-box input,
    .form-box select,
    .form-box textarea {
        flex-basis: 100%;
    }


}