* {
    font-family: var(--main-font), sans-serif;
    margin: 0;
    padding: 0;
    font-size: 16px;
}

.page-container {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--black);
  z-index: 1;
  height: 100vh;
}

.learn-more-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    bottom: 0;
    left: 45vw;
    position: absolute;
}
.learn-more-text {
    color: white;
}

.section-w-pad {
    padding: 5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.intro {
    font-size: 7rem;
    font-weight: 600;
    margin-top: 1rem;
    display: inline-block;
    color: white;
    line-height: 10rem;
    width: 100%;
}

.changing-word {
    display: inline-block;
    position: absolute;
    overflow: hidden;
    top: 17rem;
    color: var(--powder-blue);
  }

  .slide-out {
    animation: slideOut 0.3s forwards;
  }

  .slide-in {
    animation: slideIn 0.3s forwards;
  }

  @keyframes slideOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(10%); opacity: 0; }
  }

  @keyframes slideIn {
    from { transform: translateX(-10%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
  }

.section-header {
    font-size: 2.5rem;
    color: white;
    margin: 1.5rem auto;

}

.overlay-container {
    position: relative;
    z-index: 3;
    margin-top: 100vh; /* Adjust this value based on the height of your fixed content */
    transition: transform 0.3s ease-out; /* Smooth transition effect */
    display: flex;
    flex-direction: column;
    width: 100vw;
    overflow: hidden;
}

.scroll-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100vw;
    overflow: scroll;
    overflow-x: scroll; /* Only allow horizontal scrolling */
    overflow-y: hidden;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;
}

.scroll-container::-webkit-scrollbar {
    display: none;
}

.mobylmenu-container, .projects-partners-container {
  background-color: #00A6FF;
  display: flex;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  min-width: 100vw;
  overflow: hidden;
  z-index: 3;
}

.link-button {
    display: flex;
    justify-content: center;
    padding: 15px;
    border-radius: 15px;
    text-decoration: none;
    color: black;
    font-weight: 500;
    font-size: 1.4rem;
    background-color: white;
    margin-top: 2vh;
    width: 15rem;
    z-index: 1000;
}

.link-button:hover {
    background-color: lightskyblue;
}

.link-to-site {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    text-decoration: none;
}

.projects-partners-container {
    background-color: #541649;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.website-preview {
    width: 70%;
}

.top-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bottom-section {
    margin-top: 3rem;
    display: flex;
    justify-content: flex-start;
    height: 100%;
    margin-right: 1.5rem;
}

.video-container {
    height: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
    border-radius: 20px;
    border: 0.5rem solid black;
}

video {
    width: 100%;
    height: auto;
}

.view-more-container {
    position: absolute;
    right: 0; /* Adjust as needed to position from the right edge */
    top: 25%; /* Adjust as needed to position from the bottom edge */
    color: white;
    border: none;
    font-size: 16px;
    z-index: 4;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 180px;
}

.view-more-container.hidden {
    opacity: 0; /* Hide button */
}
.rotate-arrow {
    transform: rotate(-90deg); /* Rotate 90 degrees to point right */
    transform-origin: center; /* Ensure the rotation happens from the center */
}

.left-section {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mobylmenu-logo {
    width: 50%;
    margin-top: 1rem;
}

.cafesunflower-logo {
    width: 25%;
    max-width: 250px;
    margin-top: 1rem;
}

.right-section {
    width: 50%;
    height: 100%;
}

.graphic-3d {
    width: 100%;
    height: auto;
}

.content {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.section-header {
    color: white;
    font-size: 3rem;
    letter-spacing: 0.3rem;
    display: inline-block;
    margin-bottom: 1rem;
    font-weight: 400;
    text-align: center;
}

.blue-text {
    color: var(--blue);
}

.logo-grid {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.logo-item {
    flex: 1 1 calc(25% - 10px);
    text-align: center;
    cursor: pointer;
}

.logo-item img {
    height: 75px;
    width: auto;
}

.rounded {
    border-radius: 50%;
}

.paragraph, .projects-partners-paragraph {
    margin: 0.5rem 0;
    width: 75%;
    min-width: 400px;
    line-height: 2.2rem;
    font-size: 1.6rem;
    font-weight: 200;
    color: white;
}

.centered {
    text-align: center;
}

.color-width {
    color: black;
    width: 70%;
    font-size: 2.5rem;
    line-height: 3.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

.projects-partners-paragraph {
    color: #541649;
    margin-top: 1rem;
    width: 80%;
    line-height: 3rem;
}

.connect {
    color: black;
}

.information {
    color: black;
    font-size: 2.5rem;
    font-weight: 200;
    text-decoration: none;
}

/* Slanted container styling */
.slanted-container, .slanted-container-g {
    position: relative;
    background-color: var(--pearl);
    color: white;
    padding: 20px;
    max-width: 100vw;
}

.slanted-container::before, .slanted-container-g::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: var(--pearl);
    transform: skewY(-4deg);
    transform-origin: top left;
}

.slanted-container-g {
    background-color: var(--coconut);
    margin-top: 0;
}

.slanted-container-g::before {
    background-color: var(--coconut);
    transform: skewY(4deg);
    transform-origin: top right;
}

.project-link {
    background-color: lightgrey;
    padding: 1rem 3rem;
    width: 12rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
    border-radius: 10px;
    color: black;
}

@media (max-width: 1020px) {
    .graphic-3d {
        margin-top: 5rem;
    }
}

@media (max-width: 895px) {
    .intro {
        font-size: 5rem;
        line-height: 8rem;
    }

    .changing-word {
        top: 15rem;
      }

      .graphic-3d {
        margin-top: 7rem;
      }

      .view-more-container {
        right: -50px;
      }
    .logo-grid {
        flex-direction: column;
        align-self: center;
        align-items: center;
    }

}

@media (max-width: 840px) {
    .overlay-container {
        z-index: 3;
    }
    .mobylmenu-container {
        flex-direction: column;
        height: 100%;
    }
    .left-section {
        width: 100vw;
    }
    .right-section {
        width: 100vw;
    }
}

@media (max-width: 660px) {
    .intro {
        font-size: 4rem;
        line-height: 6rem;
    }

    .changing-word {
        top: 13rem;
      }

    .view-more-container {
        top: 30%;
    }
}

@media (max-width: 540px) {
    .intro {
        font-size: 3rem;
        line-height: 4rem;
    }

    .changing-word {
        top: 13rem;
      }

    .learn-more-container {
        bottom: 5rem;
        left: 32.5vw;
    }
}

@media (max-width: 420px) {
    .intro {
        font-size: 2.5rem;
        line-height: 4rem;
    }
    .changing-word {
        top: 10rem;
    }
}

@media (max-width: 400px) {
    .hover-info {
        left: auto;
        right: 0;
        transform: none;
    }
}


