/* Resetting basic styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    
}
 
.navbar{
    background-color: #1f4068;
    width: 80%;  
    display: flex;
    gap: 30%;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    margin: 30px auto;  
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    border-radius: 20px; 
}

.navbar a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 20px;
  }


/* Styling the form */
#form {
    background-color: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 100%;
    margin: auto;
    margin-top: 5%;
    align-items: center;
    transition: transform 0.3s ease;
}
 
#form:hover {
    transform: translateY(-5px);
}

#form label {
    font-weight: bold;
    margin-bottom: 10px;
    display:block;
    color: #1f4068;
}

/* Input fields styling */
#form input[type="text"] {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #1f4068;
    border-radius: 8px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Focus effect on input fields */
#form input[type="text"]:focus {
    border-color: #e43f5a;
    box-shadow: 0 0 8px rgba(228, 63, 90, 0.5);
    outline: none;
}

/* Submit button styling */
#submitBtn {
    background-color: #1f4068;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    width: 100%;
    font-size: 16px;
    font-weight: bold;
    margin-top: 10px;
}

/* Hover effect on submit button */
#submitBtn:hover {
    background-color: #e43f5a;
    transform: translateY(-3px);
}

/* Animation for button when clicked */
#submitBtn:active {
    transform: translateY(1px);
}

/* Adding an overall smooth transition for body elements */
body, input, button {
    transition: all 0.3s ease-in-out;
}
