.contact-form {
    padding: 20px;
    width: 80%;

    margin-top: 15px;
    margin-bottom: 15px;

    background-color: rgb(34, 35, 37);
    box-shadow: 0 4px 5px rgba(0, 0, 0, 0.35);
}

.contact-form label{
    font-size: 22px;
    color: rgb(255, 255, 255);
}

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 30px rgb(45, 45, 47) inset !important;
}

input:-webkit-autofill{
    -webkit-text-fill-color: rgb(255, 255, 255) !important;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    margin-top: 2px;
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    font-size: 20px;
    background-color: rgb(0, 0, 0, 0.2);
    color: rgb(255, 255, 255);
}
.contact-form textarea {
    resize: vertical;
    height: 100px;
}
.contact-form input[type="submit"] {
    background-color: #2878a7;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 22px;

    transition: background-color 0.3s ease; /* Smooth transition for hover effect */
}
.contact-form input[type="submit"]:hover {
    background-color: #1f597a;
}

.submit-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 10px;
}

.submit-container p {
    font-family: "Nunito", sans-serif;
    margin-left: 15px;
    font-size: 22px;
    color: rgb(83, 181, 80);
}

.submit-container .loader{
    margin-left: 10px;

    border: 8px solid rgba(0, 0, 0, 0.278);

    border-top: 8px solid rgb(83, 181, 80);
    border-right: 8px solid rgb(83, 181, 80);

    border-radius: 50%;
    width: 45px;
    height: 45px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

/* Media Query for Larger Screens */
@media ((min-width: 768px) and (min-aspect-ratio: 7/10)) {
    .contact-form {
        width: 60%;
        max-width: 1000px;
    }
}