@media only screen and (min-width: 900px) {
  .landing-container {
    display: flex;
    flex-direction: column;
    height: 80vh;
    justify-content: center;
    align-items: center;
    overflow-y: clip;
    position: relative; /* Ensure the container is positioned relative */
  }

  .landing-img {
    scale: 1.3;
    position: relative; /* Ensure the image is positioned relative */
    z-index: 1; /* Ensure the image is above the overlay */
  }
  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(
      0,
      0,
      0,
      0.7
    ); /* adjust the opacity to your liking */
    z-index: 1;
  }
  .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
  }

  .gradient-line {
    position: absolute;
    top: 85px;
    left: 0;
    width: 100vw;
    height: 20vh;
    background: rgb(22, 22, 22);
    background: linear-gradient(
      180deg,
      rgba(3, 3, 3, 0.87) 10%,
      rgba(51, 49, 49, 0) 100%
    );
    z-index: 5;
  }

  .gradient-line-bottom {
    position: absolute;
    bottom: 57px;
    left: 0;
    width: 100vw;
    height: 20vh;
    background: rgb(22, 22, 22);
    background: linear-gradient(
      0deg,
      rgba(3, 3, 3, 0.87) 10%,
      rgba(51, 49, 49, 0) 100%
    );
    z-index: 5;
  }

  .search-container {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    z-index: 5;
  }

  .search-bar {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 5;
    width: 100%;
  }
  .search-bar form {
    width: 100%;
  }

  .search-bar input {
    padding: 10px;
    border-radius: 10px;
    border: none;
    margin-right: 10px;
    font-size: 16px;
    width: 100%;
    max-width: 100%;
    position: relative;
    background-color: rgba(255, 255, 255, 0.1);
    color: whitesmoke;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 5;
  }

  .search-bar form svg {
    position: absolute;
    top: 50%;
    right: 13px;
    transform: translateY(-50%);
    color: whitesmoke;
    z-index: 5;
  }
  .explore-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 5;
  }

  .explore-button {
    margin-top: 30px;
    padding: 10px 20px;
    border-radius: 10px;
    border: none;
    font-size: 16px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.1);
    color: whitesmoke;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 5;
  }
  .explore-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transition: all 0.5s ease;
  }
  .title-container {
    /* add background color that clip to text */
    background: radial-gradient(
      circle,
      rgba(0, 0, 0, 1) 0%,
      rgba(0, 0, 0, 1) 100%
    );
    background-clip: text;
    position: relative;
    z-index: 5;
  }

  .browse-link,
  .about-link {
    /* grid layout 2 columns */
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: 60%;
    color: var(--subheader-text-color);
    text-align: left;
    margin-right: 10px;
    margin-top: 20px;
    margin-bottom: 10px;
    text-decoration: none;
  }

  :root {
    --header-text-color: #ffffff;
    --subheader-text-color: #6c7e80;
  }

  body {
    background-color: #030305;
    font-family: "Outfit", serif;
    color: whitesmoke;
    /* unscrollable */
  }
}

@media only screen and (max-width: 899px) {
  .landing-container {
    display: flex;
    flex-direction: column;
    height: 80vh;
    justify-content: center;
    align-items: center;
    position: relative; /* Ensure the container is positioned relative */
    overflow-y: clip;
    overflow-x: clip;
    max-width: 100vw;
  }

  .landing-img {
    scale: 4;
    position: relative; /* Ensure the image is positioned relative */
    z-index: 1; /* Ensure the image is above the overlay */
  }
  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(
      0,
      0,
      0,
      0.7
    ); /* adjust the opacity to your liking */
    z-index: 1;
  }
  .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    font-size: x-small;
    max-width: 100vw;
    position: relative;
  }

  .gradient-line {
    position: absolute;
    top: 85px;
    left: 0;
    width: 100vw;
    height: 20vh;
    background: rgb(22, 22, 22);
    background: linear-gradient(
      180deg,
      rgba(3, 3, 3, 0.87) 10%,
      rgba(51, 49, 49, 0) 100%
    );
    z-index: 5;
    display: none;
  }

  .gradient-line-bottom {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100vw;
    height: 20vh;
    background: rgb(22, 22, 22);
    background: linear-gradient(
      0deg,
      rgba(3, 3, 3, 0.87) 10%,
      rgba(51, 49, 49, 0) 100%
    );
    z-index: 5;
    /*unclickable*/
    pointer-events: none;
  }

  .search-container {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 5;
    overflow: clip;
    top: 2px;
  }

  .search-bar {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 5;
    width: 75vw;
  }
  .search-bar form {
    width: 100%;
  }

  .search-bar input {
    padding: 10px;
    border-radius: 10px;
    border: none;
    margin-right: 10px;
    font-size: 16px;
    width: 100%;
    max-width: 100%;
    position: relative;
    background-color: rgba(255, 255, 255, 0.1);
    color: whitesmoke;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 5;
  }

  .search-bar form svg {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    color: whitesmoke;
    z-index: 5;
  }

  .title-container {
    /* add background color that clip to text */
    background: radial-gradient(
      circle,
      rgba(0, 0, 0, 1) 0%,
      rgba(0, 0, 0, 1) 100%
    );
    background-clip: text;
    position: relative;
    z-index: 5;
    text-align: center;
    font-size: smaller;
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .browse-link,
  .about-link {
    /* grid layout 2 columns */
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: 60%;
    color: var(--subheader-text-color);
    text-align: left;
    margin-right: 10px;
    margin-top: 20px;
    margin-bottom: 10px;
    text-decoration: none;
  }

  :root {
    --header-text-color: #ffffff;
    --subheader-text-color: #6c7e80;
  }

  body {
    background-color: #030305;
    color: whitesmoke;
    font-family: "Outfit", serif;
    /* unscrollable */
  }

  .explore-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 5;
  }

  .explore-button {
    margin-top: 30px;
    padding: 10px 20px;
    border-radius: 10px;
    border: none;
    font-size: 16px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.1);
    color: whitesmoke;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 5;
  }
  .explore-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transition: all 0.5s ease;
  }
}
