/*-- -------------------------- -->
<---          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;
    background-color: var(--bg-main);
  }

  /* Dark overlay */
  #hero:before {
    content: '';
    position: absolute;
    display: block;
    height: 100%;
    width: 100%;
    background: #000;
    opacity: 0.75;
    top: 0;
    left: 0;
    z-index: -10;
  }

  /* Scanline overlay on hero */
  #hero:after {
    content: '';
    position: absolute;
    display: block;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    z-index: -9;
    background: repeating-linear-gradient(
      0deg,
      rgba(0, 255, 159, 0.015) 0px,
      rgba(0, 255, 159, 0.015) 1px,
      transparent 1px,
      transparent 3px
    );
    pointer-events: none;
  }

  #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%;
    -o-object-fit: cover;
       object-fit: cover;
    filter: grayscale(60%) brightness(0.5);
  }

  #hero .hero-content {
    width: 96%;
    max-width: 71.5em;
    margin: auto;
    position: relative;
    z-index: 10;
    text-align: center;
  }

  #hero .heroText {
    width: 100%;
    margin: auto;
    max-width: 56.875em;
  }

  /* Boot sequence lines above h1 */
  .hero-boot {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    align-items: center;
    gap: 0.3em;
    margin-bottom: 1.5em;
  }

  #hero h1 {
    font-family: 'KarmaSuture', 'Courier New', Courier, monospace;
    font-weight: 400;
    font-size: min(11vw, 4em);
    color: var(--primary);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-shadow: var(--glow-lg);
    margin: auto;
    width: 100%;
    max-width: 14.125em;
    margin-bottom: 0.75em;
    position: relative;
  }

  /* Green underline accent */
  #hero h1:before {
    content: '';
    position: absolute;
    display: block;
    height: 1px;
    width: 6em;
    background: var(--primary);
    box-shadow: var(--glow-sm);
    opacity: 1;
    bottom: -0.35em;
    left: 50%;
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
  }

  #hero p {
    line-height: 1.6em;
    margin: auto;
    margin-bottom: 1.72222222em;
    color: var(--text-light);
    width: 100%;
    text-align: center;
    max-width: 34.27777778em;
    opacity: 0.85;
    font-family: 'Courier New', Courier, monospace;
  }

  #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: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            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/landing.jpg') center / cover no-repeat fixed;
  }

  #hero picture {
    display: none;
  }
}

/*-- -------------------------- -->
<---          Services          -->
<--- -------------------------- -*/

/* Mobile */
@media only screen and (min-width: 0em) {
  .services {
    border-radius: 0;
    margin: auto;
    margin-top: -10.4375em;
    position: relative;
    z-index: 100;
    background: var(--bg-screen);
    border: 1px solid rgba(0, 255, 159, 0.2);
    border-top: 2px solid var(--primary);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.6), 0 0 15px rgba(0, 255, 159, 0.1);
    width: 90%;
    max-width: 82.5em;
    padding: 3.125em 1.25em;
    margin-bottom: 3.125em;
  }

  .services .card {
    display: block;
    width: 100%;
    max-width: 22.3125em;
    margin: auto;
    margin-bottom: 3.125em;
    padding: 1.5em;
    border: 1px solid rgba(0, 255, 159, 0.15);
    background: rgba(0, 255, 159, 0.02);
    position: relative;
  }

  /* Corner accent */
  .services .card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    width: 1.2em;
    height: 1.2em;
    border-top: 2px solid var(--primary);
    border-left: 2px solid var(--primary);
  }

  .services .card::after {
    content: '';
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 1.2em;
    height: 1.2em;
    border-bottom: 2px solid var(--primary);
    border-right: 2px solid var(--primary);
  }

  .services .card:last-of-type {
    margin-bottom: 0;
  }

  .services .card picture {
    background: rgba(0, 255, 159, 0.1);
    border: 1px solid rgba(0, 255, 159, 0.3);
    width: 5.5em;
    height: 5.5em;
    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: auto;
    margin-bottom: 1.4375em;
    border-radius: 0;
  }

  .services .card picture img {
    width: 3em;
    height: 3em;
    filter: invert(67%) sepia(97%) saturate(433%) hue-rotate(96deg) brightness(110%);
  }

  .services .card h2 {
    font-family: 'KarmaSuture', 'Courier New', monospace;
    text-align: center;
    font-size: 1.6em;
    line-height: 1.35em;
    font-weight: 400;
    color: var(--primary);
    text-shadow: var(--glow-sm);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.65em;
  }

  .services .card p {
    text-align: center;
    line-height: 1.5em;
    width: 100%;
    color: var(--text-light);
    opacity: 0.75;
    font-size: 0.95em;
  }
}

/* Inbetween */
@media only screen and (min-width: 768px) {
  .services {
    font-size: min(1.8vw, 1em);
    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;
    width: 98%;
  }

  .services .card {
    margin: 0;
    max-width: 20.3125em;
    margin-bottom: 0;
  }
}

/* Large Desktop */
@media only screen and (min-width: 1300px) {
  .services {
    padding: 3.125em 5em;
  }

  .services .card {
    max-width: 22.3125em;
  }
}

/* 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;
  }
}
