/* Basic Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
}

h1
 {
    text-align: center;
 }

.form1 {
    margin-top: 100px;
}

form {
    max-width: 600px;
    margin: 30px auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="file"],
textarea,
input[type="checkbox"],
input[type="submit"] {
    width: calc(100% - 22px);
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: all 0.3s ease;
}

input[type="submit"] {
    background-color: #4caf50;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}

input[type="submit"]:hover {
    background-color: #45a049;
}

/* Animation Effects */
input,
textarea,
input[type="submit"],
input[type="checkbox"] {
    transform: translateY(20px);
    opacity: 0;
}

input,
textarea,
input[type="submit"],
input[type="checkbox"] {
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Additional CSS Effects */
#declaration {
    text-align: center;
    margin-bottom: 20px;
}

#declaration label {
    display: block;
}

#declaration input[type="checkbox"] {
    margin-right: 5px;
    vertical-align: middle;
}

/* Moving Effects */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="file"],
textarea,
input[type="submit"],
input[type="checkbox"] {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

input[type="text"]:hover,
input[type="email"]:hover,
input[type="tel"]:hover,
input[type="file"]:hover,
textarea:hover,
input[type="submit"]:hover,
input[type="checkbox"]:hover {
    transform: scale(1.05);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="file"]:focus,
textarea:focus,
input[type="checkbox"]:focus {
    transform: scale(1.1);
}

/* Responsive Styles */
@media screen and (max-width: 600px) {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="file"],
    textarea,
    input[type="checkbox"],
    input[type="submit"] {
        width: 100%;
    }
}

label {
    position: relative;
    transition: top 0.3s ease;
}

label:hover {
    top: -5px; /* Adjust the value as needed */
}




















/* Add some colors to the form elements */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    border: 2px solid #4CAF50;
    padding: 8px;
    border-radius: 5px;
    width: calc(100% - 20px); /* Shrink the width */
    margin-bottom: 15px;
    transition: border-color 0.3s ease;
}

/* Style the file upload button
.file-upload-wrapper {
    display: inline-block;
    position: relative;
}

input[type="file"] {
    position: absolute;
    left: -9999px;
}

.file-upload-label {
    background-color: #4CAF50;
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.file-upload-label:hover {
    background-color: #45a049;
}*/

/* Style the submit button */
input[type="submit"] {
    background-color: #008CBA;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

input[type="submit"]:hover {
    background-color: #005f6b;
}

/* Add styles to the declaration checkbox */
input[type="checkbox"] {
    margin-right: 10px;
}

.declaration-label {
    font-style: italic;
    color: #555;
}

/* Add a bit of padding to the form */
form {
    padding: 20px;
    background-color: #f2f2f2;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Center the form */
form {
    max-width: 600px;
    margin: 0 auto;
}






