body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
  text-align: justify;
}

header {
  background: #c7141a; /* Fire engine red */
  color: white;
  padding: 2rem 1rem;
  text-align: center;

  .logo {
    width: 100px;
    height: auto;
  }
}

.container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  max-width: 1000px;
  margin: auto;
  padding: 2rem 1rem;
  background-color: #e9ecef;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  margin-top: -40px;
  position: relative;
  z-index: 1;
}

h1,
h2 {
  color: #c7141a;
}

.section {
  margin-bottom: 2rem;
}

footer {
  text-align: center;
  padding: 1.5rem;
  background: #eee;
  font-size: 0.9em;
  color: #555;
  margin-top: 2rem;
}

.deadline {
  align-self: flex-start;
}

.donation-box {
  width: 100%;
  display: flex;
  flex-direction: column;

  .donation-box-title {
    align-self: center;
  }

  .donation-details {
    display: flex;
    flex-direction: column; /* Default (mobile) */

    .donation-details-account-section,
    .donation-details-qr-section {
      flex: 1;
      padding: 20px;
      box-sizing: border-box;
      background-color: white;
      border-radius: 8px;
    }

    .donation-details-account-section {
      display: flex;
      flex-direction: column;
      justify-content: space-between;

      .donation-details-account {
        h4,
        p {
          margin: 0;
        }
      }
    }

    .donation-details-qr-section {
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .donation-details-divider {
      height: 50px;
    }

    /* For screens wider than 750px */
    @media (min-width: 751px) {
      flex-direction: row;

      .donation-details-divider {
        width: 50px;
      }
    }
  }
}

.progress-box {
  width: 100%;
  display: flex;
  flex-direction: column;

  .progress-box-title {
    align-self: center;
  }

  .progress-box-details {
    align-self: center;
    margin: 0;
  }

  .progress-bar {
    width: 100%;
    background-color: white;
    border-radius: 5px;
    margin: 20px 0;
  }
  .progress-bar-fill {
    background-color: #c00;
    height: 20px;
    border-radius: 5px;
  }
}

.main-image {
  margin: 20px 0;
  width: 100%;
}

/* Show mobile version by default */
.mobile-title {
  display: block;
}

.desktop-title {
  display: none;
}

/* On larger screens, show desktop version */
@media (min-width: 550px) {
  .mobile-title {
    display: none;
  }

  .desktop-title {
    display: block;
  }
}
