ai-flash-card / src / app / landing.css
landing.css
Raw
.page {
    display: flex;
    align-items: flex-start;
    
    @media (max-width: 1000px) {
      flex-wrap: wrap;
    }
  }
  
  .left, .right {
    width: 50%;
    
    @media (max-width: 1000px) {
      width: 100%;
    }
  }
  .left {
    position: fixed;
    background: url('/images/studying.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    
    @media (max-width: 1000px) {
      position: relative;
    }
  }
  
  .left .inner {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    transition: 400ms ease;
    
    @media (max-width: 1000px) {
      justify-content: center;
    }
    
    .overlay {
      position: absolute;
      top: 0; left: 0;
      background: linear-gradient(rgba(0,0,0,.8), rgba(0,0,0,.35));
      height: 100vh;
      width: 100%;
      z-index: 100;
    }
  }
  
  .header {
    padding: 3rem;
    color: #fff;
    position: relative;
    z-index: 200;
    transition: 400ms ease;
    
    @media (max-width: 1000px) {
      text-align: center;
    }
    
    h1 {
      margin: 0;
      font-weight: 100;
      font-size: 4.5rem;
    }
    
    h3 {
      margin-top: .75rem;
      font-weight: 300;
      font-size: 1.5rem;
      color: rgba(231,189,116, .9);
    }
  }
  
  .button {
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    border-radius: 0.375rem; 
    font-size: 0.875rem; 
    font-weight: 500; 
    background-color: white; 
    color:black; 
    padding: 0.5rem 1rem; 
    transition: background-color 0.2s ease-in-out; /* Transition for hover effect */
    
    &:hover, &:focus {
      text-decoration: none;
      color: #000;
    }
  }
  
  .right {
    margin-left: 50%;
    min-height: 100vh;
    padding: 3rem;
    font-family: Century Gothic, sans-serif;
    
    @media (max-width: 1000px) {
      margin-left: 0;
    }
    
    p {
      font-size: 1rem;
      line-height: 1.6rem;
      margin-bottom: 1.5rem;
    }
  }
  
  .gallery {
  display: flex;
  gap: 1rem;
  overflow: hidden;
}

.gallery-item {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.testimonials {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.testimonial {
  border-left: 4px solid #007bff;
  padding-left: 1rem;
  font-style: italic;
}

.how-it-works .card {
  border: 1px solid #ddd;
  padding: 1rem;
  border-radius: 8px;
  background-color: #f9f9f9;
}