/*-- -------------------------- -->
<---          Landing           -->
<--- -------------------------- -*/

/* Mobile */
@media only screen and (min-width: 0em) {
  #int-hero {
    min-height: 50vh;
    background: url('/images/about-mobile.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;

    &:before {
      content: '';
      position: absolute;
      display: block;
      height: 100%;
      width: 100%;
      background: #000;
      opacity: 0.5;
      top: 0;
      left: 0;
      z-index: -1;
    }

    h1 {
      color: #fff;
      font-size: 64/20em;
      text-align: center;
      margin: 0;
      position: relative;

      &:before {
        content: '';
        position: absolute;
        display: block;
        height: 200%;
        width: 50%;
        background: transparent;
        border: 10/64em solid var(--primary);
        opacity: 0.5;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: -1;
      }
    }
  }
}

/* Tablet */
@media only screen and (min-width: 48em) {
  #int-hero {
    font-size: 20px;
    background: url('/images/about.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
}

/* Small Desktop */
@media only screen and (min-width: 64em) {
  #int-hero {
    min-height: 300/20em;
    height: 300/20em;
    margin-top: 148/20em;
    background-position: center 80%;
    background-attachment: fixed;
    font-size: inherit;
  }
}

/*-- -------------------------- -->
<---           About            -->
<--- -------------------------- -*/

/* Mobile */
@media only screen and (min-width: 0em) {
  #about-content {
    .container {
      padding: 0;
      width: 96%;
      margin: auto;
    }
    .image {
      position: relative;
      width: 100%;
      max-width: 400/20em;
      height: 400/20em;
      margin: auto;
      margin-bottom: 50/20em;

      img {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        object-fit: cover;
      }
    }

    .content {
      .topper {
        font-size: 14/20em;
        line-height: 19/14;
        color: var(--primary);
        letter-spacing: 0.06em;
        margin-bottom: 6/14em;
        display: block;
        text-transform: uppercase;
        font-weight: bold;
      }

      h2 {
        font-size: 36/20em;
        line-height: 42/36;
        color: #000;
        font-weight: 900;
        margin-bottom: 24/36em;
        position: relative;

        &:before {
          content: '';
          position: absolute;
          display: block;
          height: 150/36em;
          width: 150/36em;
          background: var(--primary);
          opacity: 0.05;
          top: -50/36em;
          left: -50/36em;
          z-index: -1;
        }
      }

      .decoration {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        margin-bottom: 18/20em;

        img {
          width: 30/20em;
          height: 30/20em;
          display: inline-block;
          margin-right: 15/20em;
        }

        .line {
          width: 80%;
          height: 1px;
          background: var(--primary);
        }
      }

      p {
        font-size: 18/20em;
        line-height: 27/18;
        color: #595959;
      }
    }
  }
}

/* Tablet */
@media only screen and (min-width: 48em) {
  #about-content {
    padding-top: 200/20em;
    .container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      max-width: 1144/20em;
    }

    .image {
      margin: 0;
      max-width: 400/20em;
    }

    .content {
      width: 550/20em;
      margin-left: 50/20em;
    }
  }
}

/* Small Desktop */
@media only screen and (min-width: 64em) {
  #about-content {
    .image {
      max-width: 500/20em;
    }
  }
}

/*-- -------------------------- -->
<---           Staff            -->
<--- -------------------------- -*/

/* Mobile */
@media only screen and (min-width: 0em) {
  #staff {
    padding-top: 100/20em;
    .container {
      width: 90%;
      margin: auto;
    }
    .topper {
      font-size: 14/20em;
      line-height: 19/14;
      color: var(--darkPrimary);
      letter-spacing: 0.06em;
      margin-bottom: 6/14em;
      display: block;
      text-transform: uppercase;
      font-weight: bold;
      margin: auto;
      text-align: center;
    }

    h2 {
      font-size: 42/20em;
      line-height: 42/42em;
      font-weight: 900;
      text-align: center;
      display: block;
      margin-bottom: 20/42em;
      position: relative;

      &:before {
        content: '';
        position: absolute;
        height: 150/42em;
        width: 150/42em;
        background: var(--primary);
        opacity: 0.05;
        top: -50/42em;
        left: 50%;
        transform: translateX(-50%);
        z-index: -1;
      }
    }

    .main-p {
      font-size: 18/20em;
      color: #595959;
      text-align: center;
      width: 100%;
      max-width: 700/20em;
      margin: auto;
      margin-bottom: 70/18em;
    }

    .member {
      margin-bottom: 75/20em;
      width: 100%;
      max-width: 400/20em;
      .image {
        position: relative;
        width: 100%;
        max-width: 400/20em;
        height: 400/20em;
        margin: auto;
        margin-bottom: 50/20em;

        img {
          position: absolute;
          top: 0;
          left: 0;
          height: 100%;
          width: 100%;
          object-fit: cover;
        }
      }

      .desc {
        border-left: 5px solid var(--primary);
        padding-left: 20px;
      }

      h3 {
        font-size: 30/20em;
        line-height: 1.5em;
        margin-bottom: 0/30em;
      }

      .title {
        font-size: 16/20em;
        line-height: 27/16;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        color: #595959;
        margin-bottom: 24/16em;
        display: block;
      }
    }
  }
}

/* Tablet */
@media only screen and (min-width: 48em) {
  #staff {
    .container {
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      width: 96%;
      max-width: 1144/20em;
      padding: 0;
    }

    .member {
      margin: 0;
      margin-bottom: 100/20em;
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
      max-width: none;

      .image {
        width: 40%;
        margin: 0;
        margin-right: 50/20em;
      }

      .content {
        width: 60%;
      }
    }
  }
}
