/*-- -------------------------- -->
<---          Landing           -->
<--- -------------------------- -*/
/* Mobile */
@media only screen and (min-width: 0em) {
  #hero {
    font-size: inherit;
    padding-bottom: 16.875em;
    padding-top: 9.375em;
    position: relative;
    z-index: 1;
  }
  #hero:before {
    content: "";
    position: absolute;
    display: block;
    height: 80%;
    width: 100%;
    background: #000;
    opacity: 0.65;
    top: 0;
    left: 0;
    z-index: -10;
  }
  #hero picture {
    position: absolute;
    top: 0;
    left: 0;
    height: 80%;
    width: 100%;
    z-index: -11;
  }
  #hero picture img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    -o-object-fit: cover;
       object-fit: cover;
  }
  #hero .hero-content {
    width: 92%;
    max-width: 71.5em;
    margin: auto;
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0;
  }
  #hero .heroText {
    width: 100%;
    margin: auto;
    max-width: 56.875em;
  }
  #hero h1 {
    font-weight: bold;
    font-size: min(12vw, 3.5em);
    color: #fff;
    text-align: center;
    line-height: 1.203125em;
    margin: auto;
    width: 100%;
    max-width: 14.125em;
    margin-bottom: 1.4375em;
    position: relative;
  }
  #hero h1:before {
    content: "";
    position: absolute;
    display: block;
    height: 0.0625em;
    width: 1.515625em;
    background: var(--primary);
    opacity: 1;
    bottom: -0.25em;
    left: 50%;
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
  }
  #hero p {
    font-size: 1em;
    line-height: 1.55em;
    margin: auto;
    margin-bottom: 1.72222222em;
    color: #fff;
    width: 100%;
    text-align: center;
    max-width: 34.27777778em;
    opacity: 1;
  }
  #hero .button-solid {
    margin: auto;
    display: inline-block;
    width: auto;
  }
}
/* Tablet */
@media only screen and (min-width: 600px) {
  #hero {
    padding: 12.5em 0 18.75em 0;
    z-index: 1;
    overflow: hidden;
  }
  #hero:before {
    content: "";
    height: 100%;
  }
  #hero .hero-content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    position: relative;
  }
  #hero picture {
    height: 100%;
  }
}
/* Small Desktop */
@media only screen and (min-width: 1080px) {
  #hero {
    padding-top: 17.5em;
    padding-bottom: 19.1875em;
    background: url("../images/landing.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    -webkit-clip-path: polygon(100% 0, 100% 93%, 50% 100%, 0 93%, 0 0);
            clip-path: polygon(100% 0, 100% 93%, 50% 100%, 0 93%, 0 0);
  }
  #hero .hero-content {
    text-align: left;
  }
  #hero h1 {
    margin-left: 0;
    text-align: left;
  }
  #hero h1:before {
    left: 6%;
  }
  #hero p {
    text-align: left;
    margin-left: 0;
  }
  #hero picture {
    display: none;
  }
}
/*-- -------------------------- -->
<---          Services          -->
<--- -------------------------- -*/
/* Mobile */
@media only screen and (min-width: 0em) {
  .services .card-container {
    border-radius: 0.3125em;
    margin: auto;
    margin-top: -10.4375em;
    position: relative;
    z-index: 100;
    width: 90%;
    max-width: 70em;
    padding: 3.125em 1.25em;
    margin-bottom: 3.125em;
  }
  .services .card-container .card {
    background: #f7f7f7;
    width: 100%;
    max-width: 16.875em;
    margin: 2.5em auto;
    height: 28.125em;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  .services .card-container .card .card-contents {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    border-top: 0.625em solid var(--primary);
    position: absolute;
    top: -10px;
    max-width: 85%;
    height: 100%;
    padding-top: 3.125em;
  }
  .services .card-container .card .card-contents a {
    text-decoration: none;
    color: #3f3f3f;
    line-height: 1.16666667;
    font-weight: 500;
    position: relative;
    margin-top: 2em;
  }
  .services .card-container .card .card-contents a:hover {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
  }
  .services .card-container .card .card-contents a:before {
    content: "";
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--primary);
    bottom: -0.66666667em;
  }
  .services .card-container .card .clip-bottom {
    height: 45px;
    width: 100%;
    background: #fff;
    -webkit-clip-path: polygon(0 20%, 0 100%, 100% 100%, 100% 20%, 50% 100%);
    clip-path: polygon(0 20%, 0 100%, 100% 100%, 100% 20%, 50% 100%);
    position: absolute;
    bottom: -1px;
    z-index: 100;
  }
  .services .card-container .card:last-of-type {
    margin-bottom: 0;
  }
  .services .card-container .card picture {
    width: 4.375em;
    height: 4.375em;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    margin-bottom: 1.875em;
  }
  .services .card-container .card picture img {
    width: 4.375em;
    height: 4.375em;
  }
  .services .card-container .card h2 {
    text-align: center;
    font-size: 1.5em;
    line-height: 1.35em;
    font-weight: bold;
    color: #313131;
    margin-bottom: 0.65em;
  }
  .services .card-container .card p {
    text-align: center;
    line-height: 1.33333333em;
    width: 100%;
    opacity: 0.9;
  }
}
/* Inbetween */
@media only screen and (min-width: 600px) {
  .services .card-container {
    width: 100%;
    background: none;
  }
  .services .card-container .card {
    max-width: 30em;
  }
  .services .card-container .card .card-contents {
    position: absolute;
    top: -0.625em;
    max-width: 85%;
  }
  .services .card-container .card .card-contents p {
    height: 9.375em;
  }
}
/* Small Desktop */
@media only screen and (min-width: 1080px) {
  .services .card-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    max-width: 68.75em;
  }
  .services .card-container .card {
    width: 100%;
    height: 31.25em;
    max-width: 20.625em;
    margin: 0;
  }
  .services .card-container .card .card-contents p {
    height: 11.25em;
  }
  .clippy {
    height: 5.625em;
    background: #fff;
    -webkit-clip-path: polygon(0 20%, 0 100%, 100% 100%, 100% 20%, 50% 100%);
    clip-path: polygon(0 20%, 0 100%, 100% 100%, 100% 20%, 50% 100%);
    position: relative;
    bottom: 11.875em;
    z-index: 100;
  }
  .clip-bottom {
    display: none;
  }
}
/* Large Desktop */
/* Dark mode */
@media only screen and (min-width: 0em) {
  body.dark-mode #services {
    background: #4a4a4a;
  }
  body.dark-mode #services a {
    color: #fff;
  }
  body.dark-mode #services .card-container {
    background: #4a4a4a;
  }
  body.dark-mode #services .card-container .card {
    background-color: #4a4a4a;
  }
  body.dark-mode #services h2 {
    color: #fff;
    font-weight: bold;
  }
}
/* Large Desktop dark mode*/
@media only screen and (min-width: 1300px) {
  body.dark-mode #services {
    background: var(--dark);
  }
  body.dark-mode #services .clippy {
    background: var(--dark);
  }
  body.dark-mode #services .card-container {
    background: var(--dark);
  }
}
