

.container {
  text-align: center;
  max-width: 550px;
}

.images-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0px;
}

.images-row img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.image-column {
  flex: 1;
  padding: 0 10px;
}

.columns-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  flex-wrap: wrap;
}

.column {
  flex: 1;
  text-align: left;
}

.column img {
  max-width: 550px;
  height: auto;
}

.columns-section {
  padding: 50px 0;
  text-align: center;
}

.section {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
}

.icon {
  width: 80px;
  height: 80px;
  margin-right: 20px;
}

.pill {
  background-color: var(--secondary-color);
  color: var(--background-color);
  padding: 10px 20px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 18px;
  margin: 0px 20px;
  display: inline-block;
}

.pill.blue {
  background-color: var(--primary-color);
}

.pill.green {
  background-color: var(--secondary-color);
  color: var(--background-color);
  cursor: pointer;
  text-decoration: none;
}

.pill.green:hover {
  background-color: var(--secondary-color);
}

/* Styles for the products */

.cardTwoCol {
  background-color: var(--background-color);
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 5px;
  text-align: center;
  width: 190px;
  transition: transform 0.2s;
  max-width: 260px;
  margin-left: 20px;
}

.cardTwoCol:hover {
  transform: translateY(-10px);
}

.product-imageTwoCol {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.cardTwoCol h2 {
  font-size: 1.2em;
  color: var(--primary-color);
  margin: 10px 0;
}

.priceTwoCol {
  font-size: 1.1em;
  color: #666;
  margin: 5px 0;
}

.buy-buttonTwoCol {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: var(--background-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1em;
}

.buy-buttonTwoCol:hover {
  background-color: var(--primary-color);
}

/* Styles for cost table */

.donation-grid {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
}

.donation-header {
  margin-left: 120px;
}

.header-cell {
  display: inline-block;
  width: 50%;
  padding: 5px;
  color: var(--background-color);
  font-family: var(--font-family-primary);
  font-size: 16px;
  font-weight: 400;
  margin: 0;
  box-sizing: border-box;
}

.bold {
  font-weight: bold;
}

.blue {
  background-color: var(--primary-color);
  border-radius: 30px 0px 0px 0px;
  margin-right: -5px;
}

.green {
  background-color: var(--secondary-color);
  border-radius: 0px 30px 0px 0px;
}

.donation-values {
  display: grid;
  grid-template-columns: auto repeat(4, 1fr); /* Extra column for buttons */
  gap: 0;
  margin-top: 0;
}

.cell,
.currency-switch {
  padding: 10px;
  border: 1px solid black;
  background-color: var(--background-color);
}

.no-border {
  border: 0px;
  background-color: transparent;
}

.cell p,
.currency-switch p {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  font-family: var(--font-family-primary);
  font-size: 20px;
}

.currency-switch {
  font-size: 14px;
}

.buttons-cell {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-left: 110px;
}

.donation-buttons {
  margin-top: 0px;
  text-align: center;
}

.donation-buttons h2 {
  color: var(--primary-color);
  font-family: var(--font-family-primary);
  font-size: 22px;
  font-weight: 600;
}

.donate-btn {
  padding: 5px 30px;
  margin: 10px;
  background-color: var(--secondary-color);
  border: none;
  border-radius: 20px;
  cursor: pointer;
}

.green-btn a {
  color: var(--background-color);
  font-size: 23px;
  font-weight: bold;
}

.donate-btn:hover {
  background-color: var(--secondary-color);
}

/* Time button styling */
.time-btn {
  background-color: var(--primary-color);
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  color: var(--background-color);
  height: 40px;
  margin-top: 10px;
  width: 120px;
  border-radius: 15px 0px 0px 15px;
}

.time-btn:hover {
  background-color: var(--secondary-color);
}

.hidden {
  display: none;
}

/* Add the following CSS */
@media screen and (max-width: 768px) {
  .columns-container {
    flex-direction: column; /* Default: Do not reverse on mobile */
  }

  /* Reverse columns only when 'reverse-columns' class is applied */
  .columns-container.reverse-columns {
    flex-direction: column-reverse;
  }

  .column {
    text-align: left;
  }

  .columns-container .column p {
    text-align: left !important; /* Override the inline style */
  }

  /* Style for products */
  .containerTwoCol {
    flex-direction: column;
    align-items: center;
  }

  .cardTwoCol {
    width: 80%;
  }

  /* Styles for cost table */
  .donation-header {
    width: 100%;
    margin-left: 20px;
  }

  .header-cell {
    width: 44%;
    margin: 0;
    display: inline-block;
    padding: 5px;
    color: var(--background-color);
    font-family: var(--font-family-primary);
    font-size: 15px;
    font-weight: 400;
    box-sizing: border-box;
  }
  .blue {
    background-color: var(--primary-color);
    border-radius: 30px 0px 0px 0px;
    margin-right: -4px;
  }

  .donation-values {
    gap: 0px;
  }

  .cell,
  .currency-switch,
  .time-btn {
    font-size: 16px;
    padding: 5px;
  }

  .buttons-cell {
    grid-template-columns: 1fr;
    margin-left: 0;
  }

  .donation-buttons h2 {
    font-size: 18px;
  }

  .donate-btn {
    width: 80%;
    padding: 10px;
  }

  .donate-btn a {
    font-size: 20px;
  }

  .time-btn {
    text-align: center;
    cursor: pointer;
    color: var(--background-color);
    height: 100px;
    margin-top: 5px;
    margin-bottom: 5px;
    width: 40px;
    border-radius: 15px 0px 0px 15px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
  }
  .cell p,
  .currency-switch p {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    font-family: var(--font-family-primary);
    font-size: 15px;
  }

  .column img {
    max-width: 100%;
    height: auto;
  }
}
