#home-bg {
  background: linear-gradient(to bottom, var(--header-background-color) 0%, transparent 100%), url('/media/images/home/main-bg.svg') center/cover no-repeat;
  padding-bottom: 80px;
  color: #fff;
}

#get-debian-button {
  width: 270px;
}

#about-os-button, #about-community-button {
  width: 270px;
}

#section-1-image {
  max-width: 100%;
  border-radius: 20px;
}

#reason-cards-mobile {
  gap: 20px;
  justify-content: flex-start;
  flex-wrap: nowrap;
  padding: 4rem 1rem 2rem;
  overflow-x: scroll;
  overflow-y: hidden;
}

.reason-card {
  position: relative;
  padding: 1rem 0.8rem 1.5rem;
  background-color: #fff;
  color: #000;
  text-align: center;
  border-radius: 1rem;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.3);
  width: 260px;
  height: 290px;
  flex-shrink: 0;
  flex-grow: 0;
}

.reason-card-icon {
  width: 94px;
  height: 94px;
  margin-top: -80px;
  border-radius: 50%;
}

.reason-card h3 {
  font-size: 20px;
  font-weight: bold;
  margin: 0 0 1rem 0;
  color: #333;
}

.reason-card p {
  font-size: 14px;
  line-height: 1.4;
  margin: 0;
  color: #666;
}

#who-uses-cards {
  display: flex;
  gap: 20px;
  justify-content: flex-start;
  flex-wrap: nowrap;
  padding: 40px 1rem 3rem;
  margin: 4rem 0 16px;
  overflow-x: scroll;
  overflow-y: hidden;
  cursor: move;
}

.who-uses-card {
  padding: 1rem 5px 1rem;
  background-color: #F5F3F2;
  color: #000;
  text-align: center;
  border-radius: 1rem;
  border: 1px solid #e0e0e0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  width: 186px;
  height: 522px;
  flex-shrink: 0;
  flex-grow: 0;
  z-index: 1;
}

.who-uses-card-checkmark {
  width: 68px;
  height: 68px;
  margin-top: -68px;
}

.who-uses-card-heading {
  font-size: 17px;
  font-weight: bold;
  height: 40px;
  color: #333;
}

.who-uses-card-icon {
  height: 134px;
  width: 134px;
  margin-bottom: 20px;
}

.who-uses-card-line-1 {
  font-size: 12px;
  margin: 0;
  color: #535762;
}

.who-uses-card-line-2 {
  font-size: 17px;
  font-weight: bold;
  margin: 10px 0;
  color: #333;
}

.who-uses-card-line-3 {
  font-size: 12px;
  padding: 0 4px;
  line-height: 1.2;
  margin: 0;
  color: #535762;
}

#who-uses-cards-bg {
  background-color: #1D2631;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
  position: absolute;
  bottom: 0;
  top: 40%;
  left: 1%;
  right: 1%;
  border-radius: 1rem;
  cursor: move;
}

.secondary-color-scheme #who-uses-cards-bg {
  background-color: #F2ECE6;
}

#get-involved-image {
  margin-top: -33vw;
  max-width: 95vw;
  border-radius: 1rem;
}

#get-involved-image-before {
  height: 33vw;
}

.contribute-card {
  padding: 0rem 1rem 1rem;
  background-color: #F2ECE6;
  color: #000;
  text-align: center;
  border-radius: 1rem;
  max-width: 200px;
  line-height: 1.4;
}

.contribute-card h3 {
  margin-top: 10px;
}

.contribute-card-icon {
  width: 68px;
  height: 68px;
  margin-top: -34px;
}

@media (min-width: 768px) {
  #section-1-image {
    max-width: 900px;
  }

  #section-1-division {
    max-width: 600px;
  }

  #get-debian-button {
    width: 600px;
  }

  #who-uses-cards {
    cursor: default;
    justify-content: center;
  }

  #who-uses-cards-bg {
    cursor: default;
  }

  #get-involved-image {
    margin-top: -200px;
    max-height: 400px;
    border-radius: 1rem;
  }
  
  #get-involved-image-before {
    height: 200px;
  }
}

@media (min-width: 1364px) {
  #who-uses-cards-bg {
    left: 50%;
    right: 0;
    width: 1364px;
    margin-left: -682px;
  }
}