/*-- -------------------------- -->
<---          Landing           -->
<--- -------------------------- -*/
/* Mobile */
@media only screen and (min-width: 0em) {
  #hero {
    font-size: inherit;
    padding-bottom: 10em;
    padding-top: 9.375em;
    position: relative;
    z-index: 1;
  }
  #hero .custom-shape-divider-bottom-1707381151 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
  }
  #hero .custom-shape-divider-bottom-1707381151 svg {
    position: relative;
    display: block;
    width: calc(114.3%);
    height: 67px;
  }
  #hero .custom-shape-divider-bottom-1707381151 .shape-fill {
    fill: #ffffff;
  }
  #hero:before {
    content: "";
    position: absolute;
    display: block;
    height: 100%;
    width: 100%;
    background: #000f1d;
    opacity: 0.55;
    top: 0;
    left: 0;
    z-index: -10;
  }
  #hero picture {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: -11;
  }
  #hero picture img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
  #hero .hero-content {
    width: 90%;
    max-width: 71.5em;
    margin: auto;
    position: relative;
    z-index: 10;
  }
  #hero .hero-content {
    padding: 0;
  }
  #hero .heroText {
    width: 100%;
    margin: auto;
    max-width: 56.875em;
  }
  #hero h1 {
    font-weight: 500;
    font-size: min(12vw, 3.7em);
    color: #fff;
    width: 100%;
    max-width: 14.125em;
    margin-bottom: 1.4375em;
    position: relative;
  }
  #hero h1 span {
    color: var(--primaryShade);
  }
  #hero p {
    line-height: 1.45em;
    margin-bottom: 1.72222222em;
    color: #fff;
    width: 100%;
    max-width: 34.27777778em;
    opacity: 1;
  }
  #hero .button-solid {
    margin: auto;
    display: inline-block;
    width: auto;
  }
}
/* Tablet */
@media only screen and (min-width: 48em) {
  #hero {
    padding: 12.5em 0 18.75em 0;
    z-index: 1;
    overflow: hidden;
  }
  #hero .hero-content {
    display: flex;
    justify-content: space-between;
    position: relative;
  }
}
/* Small Desktop */
@media only screen and (min-width: 1300px) {
  #hero {
    padding-top: 17.0625em;
    padding-bottom: 19.1875em;
    background: url("../images/landing5.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
  }
  #hero picture {
    display: none;
  }
}
/*-- -------------------------- -->
<---          Services          -->
<--- -------------------------- -*/
/* Mobile */
@media only screen and (min-width: 0em) {
  .services {
    border-radius: 0.3125em;
    margin: auto;
    z-index: 100;
    width: 90%;
    max-width: 65.625em;
    padding: 2em 0em;
    margin-bottom: 3.125em;
    position: relative;
  }
  .services .card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.875em;
    background-color: #f3f3f3;
    width: 100%;
    margin: auto;
    margin-bottom: 1.875em;
  }
  .services .card picture {
    width: 5.5em;
    height: 5.5em;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
  }
  .services .card picture img {
    width: 3.75em;
    height: 3.75em;
  }
  .services .card h3 {
    font-size: 1.125em;
    line-height: 1.35em;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.65em;
  }
  .services .card p {
    line-height: 1.33333333em;
    width: 100%;
    opacity: 0.8;
  }
}
/* Inbetween */
@media only screen and (min-width: 768px) {
  .services {
    font-size: min(1.8vw, 1em);
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    width: 98%;
  }
  .services .card {
    margin: 1em;
    max-width: 20.3125em;
    padding: 2em;
  }
}
/* Large Desktop */
@media only screen and (min-width: 1300px) {
  .services {
    margin-top: -10.4375em;
    padding: 0em;
    flex-wrap: nowrap;
    margin-bottom: 5.625em;
    max-width: 84.375em;
  }
  .services .card {
    background-color: #fff;
    max-width: 22.3125em;
    border-radius: 5px;
    box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.05);
    transition: color 0.3s;
    transition-delay: 0.1s;
    transition: 0.2s ease-out;
  }
  .services .card:before {
    content: "";
    position: absolute;
    display: block;
    height: 100%;
    opacity: 1;
    top: 0;
    left: 0;
    z-index: -1;
    background-color: var(--bodyText);
    border-radius: 0.44444444em;
  }
  .services .card:hover {
    background-color: var(--primary);
    cursor: pointer;
  }
  .services .card:hover h3 {
    color: white;
  }
  .services .card:hover p {
    color: white;
  }
  .services .card:hover img {
    filter: brightness(0) invert(1);
  }
  .services .card h3 {
    margin-top: 0.65em;
    color: var(--bodyText);
  }
}
/* Dark mode */
@media only screen and (min-width: 0em) {
  body.dark-mode #services {
    background: var(--medium);
  }
  body.dark-mode #services picture {
    background: var(--primaryDark);
  }
  body.dark-mode #services h2 {
    color: #fff;
    font-weight: bold;
  }
}
