/* PAGE-SPECIFIC STYLES FOR THE SERVICES PAGE */
/*-- -------------------------- -->
<---       Side By Side         -->
<--- -------------------------- -*/
/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #sbs {
    padding: var(--sectionPadding);
  }
  #sbs .cs-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: auto;
    max-width: 80rem;
    width: 100%;
    row-gap: 2.5rem;
  }
  #sbs .cs-left {
    position: relative;
    height: 39.75em;
    /* using ems so we can use font size to scale the whole section */
    width: 39.4375em;
    /* scaling the font size with the view width */
    font-size: min(2.31vw, 0.7em);
  }
  #sbs .cs-picture {
    position: absolute;
    display: block;
    border-radius: 1.5em;
    /* clips img tag corners */
    overflow: hidden;
  }
  #sbs .cs-picture img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    /* makes image act like a background image */
    object-fit: cover;
  }
}
/* Desktop - 1024px */
@media only screen and (min-width: 64rem) {
  #sbs .cs-container {
    flex-flow: row;
    justify-content: space-between;
    gap: 3.25rem;
  }
  #sbs .cs-left {
    font-size: min(1.2vw, 1em);
    flex: none;
  }
  #sbs .cs-right {
    margin: 0;
  }
}
/* Dark Mode */
/*-- -------------------------- -->
<---          Services          -->
<--- -------------------------- -->
/* Mobile */
@media only screen and (min-width: 0rem) {
  .services {
    z-index: 100;
    position: relative;
    margin: auto;
    margin-bottom: 3.125em;
    background: #fff;
    max-width: 82.5em;
    width: 90%;
    padding: 3.125em 1.25em;
    box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.05);
  }
  .card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: auto;
    margin-top: 3.125em;
    max-width: 22.3125em;
    width: 100%;
    overflow: hidden;
    border-radius: 1%;
  }
  .card .line-breaker {
    padding-left: 1.125em;
    padding-right: 1.125em;
  }
  .card picture {
    border-top: solid 5px var(--primary);
    width: auto;
    height: 12.5em;
    flex-grow: 1; /* Makes sure it takes up all available space */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
  }
  .card picture img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures it fully covers the area */
    border-radius: inherit;
  }
  .card h2,
  .card p {
    padding: 0.75em;
    text-align: center;
  }
  .card h2 {
    font-size: 1.75em;
    font-weight: 700;
    color: #1a1a1a;
  }
  .card p {
    opacity: 0.7;
    width: 100%;
    line-height: 1.3333333333em;
  }
}
/* Tablet */
@media only screen and (min-width: 768px) {
  .services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive grid */
    gap: 1.25em;
    justify-content: center;
    align-items: start;
  }
  .card {
    max-width: 100%;
  }
}
/* Large Desktop */
@media only screen and (min-width: 1300px) {
  .services {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.875em;
    padding: 3.125em 6.25em;
  }
  .card {
    max-width: 22.3125em;
  }
}
/* Dark mode */
@media only screen and (min-width: 0rem) {
  body.dark-mode #services {
    background: var(--medium);
  }
  body.dark-mode #services picture {
    background: var(--primaryDark);
  }
  body.dark-mode #services h2 {
    font-weight: bold;
    color: #fff;
  }
}

/*# sourceMappingURL=services.css.map */
