@font-face {
  font-family: "EBGaramond-Regular";
  src: url("assets/fonts/EBGaramond/EBGaramond-Regular.ttf");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "SourceSans3-Regular";
  src: url("assets/fonts/SourceSans 3/SourceSans3-Regular.ttf");
  font-weight: normal;
  font-style: normal;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "SourceSans3-Regular";
  overscroll-behavior: none;
  -webkit-tap-highlight-color: transparent;
}

::-webkit-scrollbar {
  width: 5px; /* Width of the scrollbar */
  height: 2px;
}

::-webkit-scrollbar-track {
  background: #f5f5f5; /* Track color */
}

::-webkit-scrollbar-thumb {
  background: #d6d6d6; /* Thumb color */
  border-radius: 5px; /* Rounded corners */
}

::-webkit-scrollbar-thumb:hover {
  background: #7b7b7b;
}

::selection {
  color: #000; /* Text color */
  background-color: #e4e4e4; /* Highlight color */
}

.disable {
  opacity: 0.5;
  pointer-events: none;
}

body {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding-bottom: 64px;
}

.nav-container {
  width: max-content;
  display: flex;
  gap: 8px;
  position: fixed;
  top: 8px;
  /* left: 50%;
  transform: translateX(-50%); */
  width: calc(100% - 16px);
  max-width: 1000px;
  /* width: 100%; */
  padding: 12px 24px;
  /* border-radius: 8px; */
  /* border: 1px solid #ededed; */
  align-items: center;
  background: rgba(255, 255, 255, 0.758);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  /* padding: 20px; */
  border-radius: 15px;
  border-top: none;
  z-index: 99;
  justify-content: space-between;

  .logo-container {
    display: flex;
    align-items: center;
    gap: 8px;

    /* filter: invert(1); */
  }

  .ichthus-logo {
    filter: invert(1);
    width: 30px;
  }

  .ichthus-label-centered {
    filter: invert(1);
    width: 75px;
  }

  .socials-container {
    /* display: flex;
    align-content: center; */
    a {
      display: flex;
      align-content: center;
    }
  }
}

.landing-page {
  /* background: #fafafa; */
  /* position: relative; */
  /* min-height: 500px; */
  display: flex;
  width: 100%;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  background-image:
    linear-gradient(rgba(31, 31, 31, 0.4), rgba(31, 31, 31, 0.4)),
    url(assets/images/landing-bg.jpg);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;

  .wrapper {
    display: flex;
    height: 100%;
    width: 100%;
    /* justify-content: center; */
    align-items: center;
    flex-direction: column;
    isolation: isolate;
    gap: 16px;
    padding: 128px 24px;
    padding-top: 152px;
    padding-bottom: 0;

    .tag-line-container {
      font-size: 60px;
      line-height: 50px;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-transform: uppercase;

      .tag-line-1,
      .tag-line-2 {
        text-align: center;
      }

      .tag-line-1 {
        /* font-family: EBGaramond-Regular; */
        font-weight: bolder;
        color: #fff;
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);

        em {
          margin-right: 12px;
        }

        .highlight-word {
          color: #ffcc5c;
        }
      }

      .tag-line-2 {
        color: transparent;
        -webkit-text-stroke: 1px white;
        /* filter: invert(1); */
        text-stroke: 1px white;
      }
    }

    .platform-container {
      margin-top: 12px;
      display: flex;
      flex-direction: column;
      align-items: center;

      .link-container {
        display: flex;
        gap: 8px;
        margin-top: 16px;
        transform: scale(1.5);
      }
    }

    .quote-container {
      width: 400px;
      padding-block: 16px;
      padding-inline: 32px;
      text-align: center;
      background: #2e2e2e9d;
      color: #fff;
      border-radius: 12px;
      max-width: calc(100% - 48px);
      position: relative;

      .open-quote {
        position: absolute;
        top: 0;
        left: 0;
        transform: translate(-50%, -50%) rotateY(-180deg);
        width: 40px;
        filter: invert(1) drop-shadow(0 8px 12px rgb(42, 42, 42));
      }
      .close-quote {
        position: absolute;
        bottom: 0;
        right: 0;
        transform: translate(50%, 50%) rotateX(-180deg);
        width: 40px;
        filter: invert(1) drop-shadow(0 8px 12px rgb(25, 25, 25));
      }

      .verse {
        margin-top: 16px;
        font-family: SourceSans3-Regular;
      }
    }
  }

  .cross-ref-bg {
    position: absolute;
    width: calc(100% - 64px);
    max-width: 800px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
  }
}

.description-container,
.description-container-2 {
  padding-block: 24px;
  padding-inline: 24px;

  .note {
    padding: 4px;
    background: #e4e4e4;
    border-radius: 8px;
    padding-inline: 12px;
  }

  p {
    max-width: 600px;
    text-align: justify;
    margin-bottom: 8px;
  }
}

/* .description-container-2 {
  padding-bottom: 88px;

  .note {
    padding: 32px;
  }
} */

.message-container {
  display: grid;
  filter: drop-shadow(0 4px 8px #e4e4e4);
  gap: 8px;
  /* flex-wrap: wrap; */
  padding-inline: 24px;
  max-width: 760px;
  grid-template-columns: repeat(3, 1fr);
  padding-bottom: 88px;

  .item {
    padding: 32px 20px;
    background: #fff;
    border-radius: 12px;
    flex-grow: 1;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    /* min-width: 300px; */

    img {
      width: 20px;
    }

    .cosmetic {
      position: absolute;
      height: 2px;
      width: 8px;
      bottom: 20px;
      border-bottom: 2px solid #ffcc5c;
      left: 50%;
      transform: translateX(-50%);
    }
  }
}

.platform-container-2 {
  filter: drop-shadow(0 12px 8px #4b4b4b6b);
  /* margin-bottom: -24px; */
  margin-bottom: 24px;
  filter: drop-shadow(0 4px 8px #e4e4e4);

  p {
    background: #e4e4e4;
    padding: 4px 12px;
    width: max-content;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    font-size: 12px;
  }
  .link-container {
    background: #fff;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    border-top-right-radius: 12px;

    a {
      display: flex;
      align-items: center;
      gap: 8px;

      img {
        width: 16px;
      }
    }

    .macos-link,
    .ios-link {
      img {
        width: 20px;
      }
    }
  }
}

.sample-container {
  width: 100%;
  display: flex;
  justify-content: center;
  background-image:
    linear-gradient(rgba(31, 31, 31, 0.4), rgba(31, 31, 31, 0.4)),
    url(assets/images/landing-bg.jpg);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  padding-block: 124px;
  padding-top: 48px;
  margin-top: -5px;

  .sample-wrapper {
    /* margin-top: 128px; */
    background: #fff;
    filter: drop-shadow(0 4px 8px #e4e4e4);
    padding: 12px;
    border-radius: 12px;
    max-width: calc(100% - 48px);

    img {
      width: 100%;
      max-width: 1000px;
    }
  }
}

.logo-section {
  padding-block: 100px 20px;
  padding-top: 156px;

  .logo-container {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-direction: column;
    /* filter: invert(1); */

    .squiggle-container {
      width: 120px;
      height: 20px;
      overflow: hidden;
      position: relative;
    }

    .squiggle-svg {
      position: absolute;
      height: 100%;
      width: 200px;
      animation: move-wave 2s linear infinite;
    }
  }

  .ichthus-logo {
    filter: invert(1);
    width: 75px;
  }

  .ichthus-label-centered {
    /* filter: invert(1); */
    /* width: 75px; */
  }

  .socials-container {
    /* display: flex;
    align-content: center; */
    a {
      display: flex;
      align-content: center;
    }
  }
}

@keyframes move-wave {
  from {
    /* Start 'behind' the left edge of the window */
    transform: translateX(-20%);
  }
  to {
    /* Slide into the window toward the right */
    transform: translateX(0);
  }
  /* Slide exactly one wave cycle */
}

.features-container {
  padding: 24px;
  display: flex;
  /* justify-content: center; */
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 1000px;
  /* margin-top: -48px; */

  .bible-features-container,
  .journal-features-container {
    padding: 48px 24px;
    border-radius: 16px;
    /* border: 1px solid #ededed; */
    display: flex;
    flex-wrap: wrap;
    /* filter: drop-shadow(0 4px 8px #e4e4e4); */
    background: #fff;

    h3 {
      margin-bottom: 12px;
      width: 100%;

      .title-bold {
        font-weight: bolder;
        font-size: 64px;
      }

      .feat-tag {
        background: #e4e4e4;
        padding-inline: 8px;
        border-radius: 4px;
        font-size: 12px;
      }
    }

    .description {
      margin-bottom: 24px;
      text-indent: 25px;
    }
  }

  .card-container {
    display: grid;
    gap: 8px;
    /* flex-wrap: wrap; */
    grid-template-columns: repeat(2, 1fr);
    position: relative;

    /* flex-direction: column; */

    .card-info {
      border: 1px solid #ededed;
      border-radius: 8px;
      padding: 12px;
      padding-block: 24px;
      flex-grow: 1;
      filter: drop-shadow(0 4px 8px #e4e4e4);
      background: #fff;
      display: flex;
      flex-direction: column;
      position: relative;

      img {
        width: 100%;
        margin-bottom: 24px;
      }

      .card-title {
        font-weight: bolder;
        padding-inline: 12px;
      }

      .card-desc {
        width: 100%;
        padding-inline: 12px;

        .info-highlight {
          background: #e4e4e4;
          padding-inline: 8px;
          border-radius: 4px;
          font-size: 12px;
        }
      }
    }
  }
}

.footer-container {
  width: 100%;
  padding-inline: 48px;
  max-width: calc(1000px - 48px);
  border-top: 1px solid #ededed;
  padding-top: 64px;

  .links-container {
    display: flex;
    gap: 16px;
    margin-top: 16px;

    a {
      display: block;
      width: max-content;
    }
  }

  a {
    color: #000;
  }

  .note {
    margin-bottom: 12px;
    padding-left: 8px;
  }

  .info-highlight {
    background: #e4e4e4;
    padding-inline: 8px;
    border-radius: 4px;
    font-size: 12px;
  }
}

/* Media Screen ========================================== */

@media (max-width: 600px) {
  .platform-container-2 {
    .link-container {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
    }
  }

  .message-container {
    grid-template-columns: repeat(1, 1fr);
  }

  .features-container {
    .bible-features-container,
    .journal-features-container {
      padding-inline: 0;

      h3 {
        .title-bold {
          font-size: 48px;
        }
      }

      .card-container {
        grid-template-columns: repeat(1, 1fr);
      }
    }
  }
}

@media (max-width: 512px) {
  .footer-container {
    .links-container {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      row-gap: 4px;
    }
  }
}
