
/* Body styling */
body {
    font-family: Arial, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    padding: 0;
    margin: 0;
    
}

/* Form styling */
form {
    background-color: var(--secondary);  /* Bole as the background */
    max-width: 500px;
    padding: 30px;
    margin: auto;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column; /* Stack form elements vertically */
    align-items: center; /* Center elements horizontally */
}

/* Label styling */
label {
    font-size: 16px;
    font-weight: bold;
    display: block;
    margin-bottom: 12px;
    color: var(--light-accent);  /* Claret for label color */
    text-align: left; /* Left align the label text */
    width: 100%; /* Ensures label takes full width */
}

/* Input fields styling */
input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 16px;
    border: 1px solid var(--primary);  /* Claret for border */
    border-radius: 6px;
    background-color: var(--accent); /* Dark greenish background for input fields */
    color: var(--text-color);
    font-size: 16px;
    transition: all 0.3s ease;
    text-align: left; /* Left align text inside input */
}

/* Submit button styling */
button[type="submit"] {
    background-color: var(--metallic);  /* Gold Metallic button background */
    color: var(--secondary);  /* Main background color for text */
    font-weight: bold;
    padding: 16px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    width: auto; /* Keeps button width based on content */
    margin-top: 16px; /* Adds space above the button */
    display: block; /* Makes the button behave like a block-level element */
    margin-left: auto;
    margin-right: auto; /* Centers the button horizontally */
}

/* Button hover effect */
button[type="submit"]:hover {
    background-color: lightblue;  /* Icterine on hover */
    transform: scale(1.05);
}

/* Textarea styling */
#text {
    width: 100%;
    height: 150px;
    resize: vertical;
    border: 1px solid var(--primary);
    background-color: var(--accent);  
    color: var(--text-color);
}

input.has-content,
textarea.has-content {
    border: 2px solid var(--metallic) !important;
    background-color: lightblue !important;
    color: var(--secondary) !important;
    font-weight: bold !important; 
}



@media (max-width:1001px) {
    body{
        padding-top:25px;
        width: 90%;
        margin-left:auto;
        margin-right: auto;
    }
}
  
