﻿/* Basic Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body styling */
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden; /* Prevent horizontal scrolling */
}

/* Header Styling */
header {
  background-color: white; /*  #0047AB Color bar at the top */
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}

  header img {
    height: 140px;
    max-width: 100%;
    object-fit: contain;
  }

  header .org-name {
    color: #15423D;
    font-size: 24px;
    font-weight: bold;
    margin-left: 20px;
  }

/* Parallax Section */
.parallax {
  background-image: url('your-background-image.jpg');
  height: 200px;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

/* Form container */
.donation-form {
  max-width: 600px;
  margin: 30px auto;
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 1; /* Ensure it's visible over the parallax section */
  position: relative;
}

  .donation-form h2 {
    text-align: center;
    margin-bottom: 20px;
  }

  .donation-form label {
    /*display: block;
          margin-bottom: 10px;*/
    font-weight: bold;
  }

  .donation-form input, .donation-form select {
    /*width: 100%;
          padding: 10px;
          margin-bottom: 20px;*/
    border: 1px solid #ddd;
    border-radius: 5px;
  }

  .donation-form button {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 18px;
  }

/* Cookie Consent Banner */
.cookie-consent {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: opacity 0.5s ease;
}

  .cookie-consent p {
    margin: 0;
  }

  .cookie-consent a {
    color: white;
    text-decoration: underline;
  }

  .cookie-consent button {
    background-color: #f1c40f;
    border: none;
    color: #000;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
  }

/* Responsive Design */
@media (max-width: 768px) {
  header {
    padding: 10px;
    flex-direction: column;
    text-align: center;
  }

  .donation-form {
    padding: 20px;
  }

  .parallax {
    height: 150px;
  }
}
/* Fixes for Wide Screen Responsiveness */
@media (min-width: 1200px) {
  .donation-form {
    max-width: 800px; /* Increase form width on wide screens */
    margin: 50px auto; /* Add more space around the form */
  }

  header .org-name {
    font-size: 32px; /* Increase the size of the organization name on wide screens */
  }

  .donation-form h2 {
    font-size: 28px; /* Increase heading size */
    margin-bottom: 30px; /* Add more space under the heading */
  }

  .donation-form input, .donation-form select {
    /*  padding: 15px; Increase input padding for better appearance */
  }

  .donation-form button {
    padding: 20px; /* Make the donation button bigger on larger screens */
    font-size: 20px;
  }

  .parallax {
    height: 300px; /* Increase parallax height on larger screens */
  }

  footer {
    padding: 30px 0; /* Add more padding to footer on wide screens */
  }
}
