/* nmcs.css */

/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Root Variables for Color Scheme */
:root {
    --primary-color: #2f4f2f; /* Dark green */
    --secondary-color: #4e7b4e; /* Lighter green for accents */
    --accent-color: #a8d0db; /* Soft teal accent */
    --background-color: #f4f9f9; /* Light background */
    --text-color: #333333; /* Dark text */
}

/* Body Styling */
body {
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    font-size: 18px;
}

/* Logo Styling */
.logo {
    width: 100px; /* Adjust the size as needed */
    height: auto;
    border-radius: 10px; /* Optional: add rounded corners */
    padding: 5px;
    background-color: white; /* Optional: add background for contrast */
    
}

/* Hero Section */
.hero {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
      
    
}

.hero h1 {
    font-size: 2.5em;
    margin-top: 20px; /* Adjust the value as needed for desired spacing */
    margin-bottom: 20px;
}

.hero h2 {
    font-size: 2em;
    margin-top: 20px; /* Adjust the value as needed for desired spacing */
    margin-bottom: 20px;
}

#index-typed-text {
    font-size: 1.2em;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.hero button {
    background-color: var(--secondary-color);
    color: white;
    padding: 12px 25px;
    margin: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

.hero button:hover {
    background-color: var(--accent-color);
}

/* Section Styling */
section {
    padding: 40px 20px;
    text-align: center;
}

h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.volunteer-logo {
    width: 100px; /* Adjust the size as needed */
    height: auto;
    border-radius: 10px; /* Optional: add rounded corners */
    padding: 5px;
    background-color: white; /* Optional: add background for contrast */
    
}

.volunteer-hero {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding-top: 50px;
    
}

.volunteer-hero h1 {
    margin: 20px auto;
    text-align: center;
    padding: 20px;
}

.about, .volunteer, .donate, .contact {
    background-color: white;
    border-radius: 10px;
    margin: 20px auto;
    max-width: 800px;
    padding: 20px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

/* Button Styling for All Sections */
.button-container {
    text-align: center;
    max-width: 800px;
    padding: 20px;

}

button {
    background-color: var(--secondary-color);
    color: white;
    margin: 20px auto;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: var(--accent-color);
}

/* Button Styling for Contact Section */
.contact-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 10px 20px;
    margin: 10px 5px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-button:hover {
    background-color: var(--accent-color);
}


/* Footer Styling */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 20px;
    text-align: center;
}

footer a {
    color: var(--accent-color);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive Styling */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2em;
    }

    .hero button {
        font-size: 0.9em;
    }
}

/* Volunteer Page styles */

.mission-statement {
    background-color: white;
    border-radius: 10px;
    margin: 20px auto;
    max-width: 800px;
    padding: 20px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.volunteer-info {
    background-color: white;
    border-radius: 10px;
    margin: 20px auto;
    max-width: 800px;
    padding: 20px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.positions {
    background-color: white;
    border-radius: 10px;
    margin: 20px auto;
    max-width: 800px;
    padding: 20px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}



/* Form Styles */
  
form label {
    color: var(--primary-color);
    display: block;
    font-weight: bold;
    margin-top: 10px;
    margin-left: 20px;
    padding: 10px;
}
    
form input[type="text"], form input[type="email"], form textarea, form select {
    width: 80%;
    padding: 10px;
    margin: 10px 20px;
    border: 1px solid var(--primary-color);
    border-radius: 5px;
}
    
form .error, form .message {
    color: red;
    font-size: 0.9em;
}
    

.donation-info {
  background-color: white;
  border-radius: 10px;
  margin: 20px auto;
  max-width: 800px;
  padding: 20px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-donation {
    background-color: white;
    border-radius: 10px;
    margin: 20px auto;
    max-width: 800px;
    padding: 20px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 768px) {
    .mission-statement, .volunteer-info, .positions, .volunteer-form, .contact-donation {
        width: auto; /* Make the width auto to fit the screen */
        margin: 20px; /* Adjust margin to add space around the form */
        padding: 20px; /* Add more padding to ensure space between the form and the screen edges */
    }
  }

  @media screen and (max-width: 768px) {
    .volunteer-form-container {
        width: auto; /* Make the width auto to fit the screen */
        margin: 20px; /* Adjust margin to add space around the form */
        padding: 20px; /* Add more padding to ensure space between the form and the screen edges */
    }
  }


.index-typed-text, .volunteer-typed-text, .donate-typed-text, .about-typed-text {
    font-size: 1.2em;
    color: var(--accent-color);
    margin-bottom: 20px;
}

  
  #volunteer-typed-text {
    font-size: 1.2em;
    color: var(--accent-color);
    margin-bottom: 20px;
}

#donate-typed-text {
    font-size: 1.2em;
    color: var(--accent-color);
    margin-bottom: 20px;
}

#about-typed-text {
    font-size: 1.2em;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.volunteer-form {
    background-color: white;
    border-radius: 10px;
    margin: 20px auto;
    max-width: 800px;
    padding: 20px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.volunteer-form-container {
    width: 400px;
    background-color: var(--background-color);
    margin: 20px auto;
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    padding: 20px; /* Adjust as needed */
}

@media screen and (max-width: 768px) {
    .about, .volunteer, .donate, .volunteer-form-container {
        width: auto; /* Make the width auto to fit the screen */
        margin: 20px; /* Adjust margin to add space around the form */
        padding: 20px; /* Add more padding to ensure space between the form and the screen edges */
    }
  }

.submit {
    background-color: var(--secondary-color);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* Success Message Section Styling */
.success-message, .next-steps {
    background-color: white;
    border-radius: 10px;
    margin: 20px auto;
    max-width: 800px;
    padding: 20px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.success-message h2, .next-steps h3 {
    color: var(--primary-color);
}

.success-message p {
    color: var(--text-color);
    line-height: 1.6;
}

.next-steps ul {
    list-style: none;
    padding: 0;
}

.next-steps li {
    color: var(--text-color);
    margin: 10px 0;
}

.next-steps a {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Button Styling */
.button-container {
    text-align: center;
    margin: 10px auto;
    padding: 20px;
}

button {
    background-color: var(--secondary-color);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: var(--accent-color);
}


