body {
    margin: 0;
    overflow: hidden;
    height: 100vh;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #fd5047, #7f000f, #ff271b);
    background-size: 400% 400%;
    animation: gradientAnimation 10s ease infinite;
}

@keyframes gradientAnimation {
    0% {
    background-position: 0% 50%;
    }
    50% {
    background-position: 100% 50%;
    }
    100% {
    background-position: 0% 50%;
    }
}


#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

.main_section {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 350px;
    width: 600px;
    background-color: white;
    z-index: 1;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
    padding: 10px;
    gap: 10px;
}

.form_section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.form_section form{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding-left: 15px;
    padding-right: 15px;
}

.form_header {
    margin-bottom: 20px;
    color: #333;
    font-size: 30px;
    padding-right: 15px;
    padding-left: 15px;
    font-weight: bold;
}

.form_section input {
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    width: 100%;
}

.form_section button {
    padding: 10px;
    border: none;
    background-color: #fd3a31;
    color: white;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s;
    width: 100%;
}

.form_section button:hover {
    background-color: #e02b22;
}

.image_section {
    flex: 1;
    height: 100%;
    border-radius: 17px;
    background: url('../../img/login/main.png') no-repeat center center;
    background-size: cover;
}

.invalid{
    background-color: #fd50475a;
}

#login_form input{
    outline: none;
}

@media (max-width: 768px) {
    .main_section {
    flex-direction: column;
    width: 90%;
    height: auto;
    }

    .image_section {
    height: 200px;
    }
}