/* Overall body styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100vh;
    /* background-color: #ffffff; 
      /* Gradient background color from top to bottom */
      background: linear-gradient(to bottom, #ffffff, #b1c5cd);
      /* For older browsers */
      background: -webkit-linear-gradient(top, #ffffff, #b1c5cd);
      background: -moz-linear-gradient(top, #ffffff, #b1c5cd);
      background: -o-linear-gradient(top, #ffffff, #b1c5cd);
      background: -ms-linear-gradient(top, #ffffff, #b1c5cd);
}

/* Navbar styling */
.navbar {
    background-color: #ffffff;
    color: #000000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.nav-brand img {
    width: 80px; /* Adjust logo size as needed */
    height: auto;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-right: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #000000;
    transition: color 0.5s ease;
}

.nav-links a:hover {
    color: #ff0000;
}

/* Form Container Styling */
.form-container {
    margin: 50px auto;
    width: 80%;
    max-width: 600px;
    background-color: #fff;
    padding: 40px; /* Increase padding for larger form */
    border-radius: 30px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
}

/* Increase the padding and font size for larger form */
.form-content {
    text-align: center;
    padding: 10px;
    font-size: 18px;
}

.my-form {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#drop-area {
    border: 4px dashed #ccc;
    border-radius: 50px;
    padding: 40px;
    margin-top: 20px;
    text-align: center;
    cursor: pointer;
    min-height: 100px; /* Increase the minimum height */
}

#drop-area.highlight {
    border-color: #007bff;
}

#drop-area p {
    margin: 0;
}

#drop-area em {
    font-style: normal;
    color: #007bff;
    cursor: pointer;
}

/* Input and Textarea Styling */
input[type="submit"], textarea {
    width: 100%; /* Full width */
    padding: 12px 20px; /* Padding for better text visibility */
    margin: 8px 0; /* Space between elements */
    display: inline-block; /* Align elements */
    border: 1px solid #ccc; /* Border color */
    border-radius: 4px; /* Rounded corners */
    box-sizing: border-box; /* Box sizing */
}

textarea {
    height: 150px; /* Adjust the height of textarea */
    resize: vertical; /* Allow only vertical resize */
}

input[type="submit"] {
    background-color: #4CAF50; /* Button color */
    color: white; /* Text color */
    border: none; /* No border */
    cursor: pointer; /* Pointer cursor on hover */
}

input[type="submit"]:hover {
    background-color: #45a049; /* Darker shade on hover */
}

/* Additional Styling for Responsiveness */
@media screen and (max-width: 600px) {
    .form-container {
        width: 100%;
        margin: 20px;
        padding: 20px;
    }
    .my-form {
        width: 100%;
    }
}


.responsive-image {
    width: 100%; /* or any specific width */
    height: auto; /* maintains the aspect ratio */
    max-width: 400px; /* maximum width */
    /* add more styling as needed */
}



#loadingMessage {
    display: none; /* Initially hidden */
    position: fixed; /* Position it relative to the viewport */
    top: 0; left: 0; /* Stretch from the top left corner */
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    z-index: 1000; /* Make sure it's above other elements */
}

#loadingMessage p {
    color: white; /* Adjust color as needed */
    font-size: 20px; /* Adjust font size as needed */
}
