body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #6c63ff, #ab47bc);
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.navbar {
    background-color: rgba(51, 51, 51, 0.9);
    color: #fff;
    padding: 10px 0;
    text-align: center;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar h1 {
    margin: 0;
    font-size: 24px;
}

.navbar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

.navbar ul li {
    margin: 0 10px;
}

.navbar ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
}

.navbar ul li a:hover {
    color: #ab47bc;
}

.hero {
    background-color: #6c63ff;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 60px; /* Adjusted for navbar height */
}

.container {
    max-width: 500px;
    width: 100%;
    text-align: center;
}

.form-container {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.form-container h2 {
    margin-bottom: 20px;
    color: #333;
    font-weight: 700;
}

.form-container input[type="email"], .form-container input[type="password"], .form-container input[type="text"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: border-color 0.3s ease;
}

.form-container input[type="email"]:focus, .form-container input[type="password"]:focus, .form-container input[type="text"]:focus {
    border-color: #ab47bc;
}

.form-container button {
    background-color: #28a745;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    font-weight: 700;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.form-container button:hover {
    background-color: #218838;
    transform: scale(1.05);
}

.form-container p {
    color: #333;
}

.form-container a {
    color: #6c63ff;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
}

.form-container a:hover {
    color: #ab47bc;
}

.hidden {
    display: none;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutLeft {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(-100%);
        opacity: 0;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Added animation duration */
.animate__slideInRight {
    animation-duration: 5s;
}

.animate__slideOutLeft {
    animation-duration: 5s;
}

.animate__slideInLeft {
    animation-duration: 5s;
}

.animate__slideOutRight {
    animation-duration: 5s;
}
