:root {
  --navy: #486893;
  --violet: #bf9bbe;
  --green: #dbe8ae;
  --lightgray: #ecf3f6;
  --lightblue: #c4e5ef;
  --blue: #80c8da;
}

/* screenwidth less than 480px 
--------------------------------------------------------------------- */

@media only screen and (max-width: 480px) {
  .hero-sub__foreground-contents h1 {
    font-size: 2rem !important;
  }

  .card-contents__inner-btn-container {
    text-align: center;
  }
  .card-contents__inner-btn-container button {
    min-width: fit-content;
    width: 100%;
  }

  /* word-break function in using react-reveal: cascade option - Jin */
  .hero-sub__foreground-contents h1 span {
    margin-right: 0.1rem;
  }

  .hero-main__foreground-contents .hero-main__heading1-container {
    padding: 1rem 1.4rem;
  }

  .hero-main__heading1-container h1 {
    font-size: 2rem !important;
  }
}
/* screenwidth less than 767px, xs-sm
--------------------------------------------------------------------- */
@media only screen and (max-width: 767px) {
  .hero-sub__foreground-contents h1 {
    font-size: 2.5rem;
  }

  .about__btn-container button {
    width: 70%;
    letter-spacing: 0.5rem;
  }

  .hero-main__foreground-contents h1 {
    font-size: 2.2rem;
  }

  h1.hero-main__transition_title,
  .hero-main__transition {
    font-size: 2rem;
  }

  .text-contents {
    padding: 4rem 1rem;
  }

  .sm-bg-lightgray {
    background-color: var(--lightgray);
  }

  .word-wrap-container {
    display: flex;
    flex-direction: column;
  }
}

@media (min-width: 768px) {
  .hero-sub__foreground-contents h1 {
    font-size: 3.375rem;
  }

  .card-contents__inner-row {
    min-height: 55vh;
  }
}

@media only screen and (max-width: 992px) {
  .navbar .nav-link {
    margin-right: 0;
  }
}

@media (min-width: 1400px) {
  .hero-main__heading1-container {
    display: inline-flex !important;
    flex-direction: row;
  }
}
/* // Small devices (landscape phones, 576px and up)
@media (min-width: 576px) { ... }

// Medium devices (tablets, 768px and up)
@media (min-width: 768px) { ... }

// Large devices (desktops, 992px and up)
@media (min-width: 992px) { ... }

// Extra large devices (large desktops, 1200px and up)
@media (min-width: 1200px) { ... } */
