@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(to right, #FFD700, #FF69B4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

/* Header Styles */
header {
    width: 100%;
    background: white;
    display: flex;
    align-items: center;
    padding: 15px 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 0;
}

nav {
    display: flex;
    align-items: center;
    width: 100%;
}

/* Home Icon */
.home-icon img {
    width: 35px;
    height: 35px;
    margin-right: 15px;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
}

.home-icon img:hover {
    transform: scale(1.1);
}

h1 {
    color: #FF1493;
    font-size: 1.8rem;
    margin: 0;
}

/* Container */
.container {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 350px;
    margin-top: 80px;
    animation: fadeIn 0.5s ease-in-out;
}

/* Form */
form {
    display: flex;
    flex-direction: column;
}

label {
    font-size: 1rem;
    text-align: left;
    margin: 10px 0 5px;
    color: #333;
}

input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 2px solid #ff69b4;
    border-radius: 5px;
    font-size: 1rem;
}

button {
    background-color: #FF1493;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background-color: #C71585;
}

.login-link {
    margin-top: 15px;
    font-size: 0.9rem;
}

.login-link a {
    color: #FF1493;
    text-decoration: none;
    font-weight: bold;
}

.login-link a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        width: 90%;
        padding: 30px;
    }

    h1 {
        font-size: 1.5rem;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
