.section-with-background {
  min-height: 100vh;
}

section > .section-background-picture {
  z-index: -5;
  overflow: hidden;
  height: 100%;
}

section > .section-background-picture > img {
  height: auto;
  width: auto;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
}

section article {
  text-align: center;
}

section article > ol {
  list-style-type: none;
  padding: 0px;
}

.section-card {
  -webkit-box-shadow: 0px 5px 8px 0px rgba(66, 68, 90, 0.5);
  -moz-box-shadow: 0px 5px 8px 0px rgba(66, 68, 90, 0.5);
  box-shadow: 0px 5px 8px 0px rgba(66, 68, 90, 0.5);
  height: var(--section-card-height);
}

.section-card > article {
  width: calc(100% - var(--section-card-picture-width));
}

.section-card > article > h1,
.section-card > article > h2 {
  font-weight: bold;
  text-align: center;
  font-size: 20px;
}

.section-card > article > p {
  font-size: 16px;
}

.section-with-background h2,
.section-with-background h3 {
  font-weight: bold;
  text-align: center;
  font-size: 20px;
}

.section-with-background p {
  font-size: 16px;
}

.section-card > picture {
  display: none;
  position: relative;
  width: var(--section-card-picture-width);
}

.section-card-img {
  position: absolute;
  top: calc((var(--section-card-height) - var(--section-card-picture-width)) / 2);
  height: var(--section-card-picture-width);
  width: 100%;
  -webkit-box-shadow: 0px 5px 8px 0px rgba(66, 68, 90, 0.5);
  -moz-box-shadow: 0px 5px 8px 0px rgba(66, 68, 90, 0.5);
  box-shadow: 0px 5px 8px 0px rgba(66, 68, 90, 0.5);
  object-fit: cover;
}

.section-card-img-right {
  object-position: right;
}

.section-card-img-left {
  object-position: left;
}

#about-us-picture {
  display: none;
}

#about-us-picture > img {
  width: auto;
  height: 100px;
}

#about-us-section-more-button {
  background: none;
  border: none;
  font-size: 18px;
}

.hide-about-us-section {
  display: none;
}

#damage-control > h2 {
  margin-bottom: 1rem;
}

#damage-control h3 {
  margin-bottom: 0px;
}

#damage-control p {
  margin-bottom: 1rem;
}

#team-first-paragraph {
  margin-bottom: 0px;
}

#team-picture > img {
  width: 40vw;
  height: auto;
}

#team-section-background > img {
  object-position: bottom;
}

#contact-picture {
  display: flex;
  justify-content: center;
}

#contact-picture > img {
  width: 40vw;
  height: auto;
}

/*Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) {
}

/* Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) {
}

/* Large devices (desktops, 992px and up)*/
@media (min-width: 992px) {
  .section-card {
    --section-card-height: 260px;
    --section-card-picture-width: 300px;
  }

  .section-card > article {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
  }

  .section-card > article > h1,
  .section-card > article > h2 {
    font-size: 16px;
    text-align: left;
  }

  .section-card > article > p {
    font-size: 14px;
    margin: 0px;
  }

  .section-card > picture {
    display: inline-block;
  }

  #about-us-picture {
    display: flex;
    justify-content: center;
  }

  #about-us-section-second-card {
    display: flex;
  }

  section article {
    text-align: left;
  }

  #about-us-section-more-button {
    display: none;
  }

  #about-us-section-hide-paragraph {
    display: inline;
  }

  #team-picture > img {
    width: 400px;
  }

  #contact-picture > img {
    width: 200px;
  }

  .section-with-background h2,
  .section-with-background h3 {
    font-size: 16px;
    text-align: left;
  }

  .section-with-background p {
    font-size: 14px;
  }

  #contact-picture {
    display: none;
  }
}

/* X-Large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) {
  .section-card {
    --section-card-height: 260px;
    --section-card-picture-width: 310px;
  }

  .section-card > article > h1,
  .section-card > article > h2 {
    font-size: 18px;
  }

  .section-card > article > p {
    font-size: 16px;
  }

  .section-with-background h2,
  .section-with-background h3 {
    font-size: 18px;
  }

  .section-with-background p {
    font-size: 16px;
    margin-bottom: 2rem;
  }
}

/* XX-Large devices (larger desktops, 1400px and up)*/
@media (min-width: 1400px) {
}

/* XXX-Large devices*/
@media (min-width: 1620px) {
  .section-card {
    --section-card-height: 450px;
    --section-card-picture-width: 500px;
  }

  .section-card > article > h1,
  .section-card > article > h2 {
    font-size: 24px;
  }

  .section-card > article > p {
    font-size: 22px;
  }

  .section-with-background h2,
  .section-with-background h3 {
    font-size: 24px;
  }

  .section-with-background p {
    font-size: 22px;
    margin-bottom: 2rem;
  }
}
