/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* Base styles */
  body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
  }
  
  /* Header and navigation styles */
  header {
    background-color: #4158D0;
    background-image: linear-gradient(43deg, #4158D0 0%, #50c890 46%, #000000 100%);
    color: #fff;
    padding: 10px;
    position: fixed;
    width: 100%;
    z-index: 1;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease, background-image 0.3s ease;
  }
  
  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
  }
  
  nav ul li {
    margin-right: 20px;
  }
  
  nav ul li a {
    color: #fff;
    text-decoration: none;
  }
  
  nav .logo {
    display: flex;
    align-items: center;
  }
  
  nav .logo img {
    max-height: 80px;
    width: auto;
  }
    
  header.transparent {
    background-color: rgba(233, 240, 241, 0.3);
    backdrop-filter: blur(15px);
    background-image: none;
  }

  header.transparent nav ul li a {
    color: #000;
  }


  /* Style for dropdown */
  .dropdown {
    position: relative;
    display: inline-block;
  }
  
  .dropbtn {
    background-color: transparent;
    /* padding: 16px; */
    font-size: 16px;
    border: none;
    cursor: pointer;
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #4158D0;
    background-image: linear-gradient(43deg, #4158D0 0%, #50c890 46%, #000000 100%);
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
  }
  
  .dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
  }
  
  .dropdown-content a:hover {
    background-color: #000000;
    color: white;
  }
  
  .dropdown:hover .dropdown-content {
    display: block;
  }
  
  /* .dropdown:hover .dropbtn {
    background-color: #000000;
    color: white;
  } */
  
  /* Main content styles */
  main {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    padding-top: 100px;
  }
  
  h1, h2, h3 {
    color: #000;
    margin-bottom: 10px;
  }
  
  p {
    margin-bottom: 20px;
  }
  
  /* Upload section styles */

  @import url(https://fonts.googleapis.com/css?family=Cabin+Condensed);
  svg{font-weight:bold;max-width:800px;height: 100%;}

  .upload-section {
    margin-bottom: 20px;
  }
  
  #upload-button {
    background-color: #4158D0;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
  }
  
  #askButton {
    background-color: #4158D0;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
  }

  /* Responsive styles */
  @media (max-width: 768px) {
    nav {
      flex-direction: column;
      align-items: flex-start;
    }
  
    nav ul {
      flex-direction: column;
      margin-top: 10px;
    }
  
    nav ul li {
      margin-right: 0;
      margin-bottom: 10px;
    }
  }

.home-container {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
}

.about-container {
    margin-top: 50px;
}

.about-image {
    text-align: center;
    margin-bottom: 20px;
}

.about-image img {
    max-width: 50%;
    height: auto;
}
    
.faqs-container {
  margin-top: 50px;
  /* margin-bottom: 150px; */
}

/* Footer styles */
footer {
  background-color: #4158D0;
  background-image: linear-gradient(43deg, #4158D0 0%, #50c890 46%, #000000 100%);
  color: #fff;
  padding: 20px;
  text-align: center;
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
}

.footer-content p {
  margin-bottom: 10px;
}

.footer-content a {
  color: #41d0a1;
  text-decoration: none;
}

.social-media a {
  color: #fff;
  font-size: 24px;
  margin: 0 10px;
}

.social-media a:hover {
  color: #4158D0;
}

/* Home page styles */
.how-it-works-tiles {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.tile {
  background-color: #4158D0;
  background-image: linear-gradient(43deg, #4158D0 0%, #50c890 46%, #000000 100%);
  color: #fff;
  padding: 20px;
  border-radius: 5px;
  border: 1px solid #ddd;
  margin-bottom: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.tile h1 {
  color: #fff;
  font-size: 3em;
}

.tile h3 {
  /* color: #ffd700; */
  color: #fff;
}

.pricing-tiles {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.pricing-tile {
  background-color: #4158D0;
  background-image: linear-gradient(43deg, #4158D0 0%, #50c890 46%, #000000 100%);
  color: #fff;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #ddd;
  text-align: center;
  flex: 1;
  min-height: 400px;
  display: flex;
  flex-direction: column;
}

.pricing-tile h3 {
  color: #fff;
  margin-top: 0;
}

.pricing-tile .price {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #41d0a1;
}

.pricing-tile ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.pricing-tile li {
  margin-bottom: 10px;
}

.price-cta-button {
  background-color: #fff;
  color: #000;
  border: 2px solid #000;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
  align-self: center;
}

.price-cta-button:hover {
  background-color: #000;
  color: #fff;
}

.use-cases {
  display: flex;
  flex-direction: column;
}

.use-cases-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.use-case {
  flex: 1;
  padding: 0 10px;
}

.use-cases-bottom {
  text-align: center;
}

.use-cases-bottom img {
  max-width: 100%;
  height: auto;
}

/* Client logo section */
.client-logos {
  overflow: hidden;
  padding: 20px 0;
}

.logos-container {
  display: flex;
  animation: slide 10s linear infinite;
}

.logo-slide {
  /* display: flex; */
  animation: slide-reverse 10s linear infinite;
}

.logo-slide img {
  width: 60px;
  height: auto;
  margin: 0 20px;
}

.logo-slide :nth-child(1) {
  width: 150px;
}

.logo-slide :nth-child(4) {
  width: 150px;
}

.logo-slide :nth-child(5) {
  width: 110px;
}

@keyframes slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes slide-reverse {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(0);
  }
}

/* VLM-Container */
.vlm-container {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
  text-align: center;
}

#imageContainer img {
  max-width: 100%;
  width: 400px;
  height: 400px;
  object-fit: cover;
  margin: 20px auto;
  display: block;
}

#questionInput {
  height: 35px;
  width: 300px;
}

.typing-container {
  font-size: 24px;
  white-space: nowrap;
  overflow: hidden;
}

.cursor {
  display: inline-block;
  background-color: black;
  width: 2px;
  animation: blink 0.7s infinite;
}

#typed-text {
  color: #000;
  font-size: 44px;
  font-weight: bold;
}

@keyframes blink {
  0%, 50% {
      opacity: 1;
  }
  50.1%, 100% {
      opacity: 0;
  }
}

/* Mobile view */
#mobile-message {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  color: black;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 20px;
  flex-direction: column;
  z-index: 1000;
}

#mobile-logo {
  width: 100px; /* Adjust the size as needed */
  height: auto;
  margin-bottom: 20px; /* Space between the logo and the text */
}

#mobile-content {
  display: block;
}
/* End of Mobile view */

#online-users-label {
  left: 0px;
  position: fixed;
  top: 50%;
  background-color: #4158D0;
  writing-mode: vertical-lr;
  text-orientation: mixed; /* mixed, upright */
  color: white;
  border: 2px solid black;
  padding: 10px;
  border-radius: 25px;
  pointer-events: none;
}

/* Article Generation Page */

.article-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.article-input-section {
  display: flex;
  margin-bottom: 20px;
}

#articleKeywordsInput {
  flex-grow: 1;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 4px 0 0 4px;
}

#articleGenerateButton {
  background-color: #4158D0;
  color: #fff;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
}

/* #articleGenerateButton:hover {
  background-color: #45a049;
} */

#articleLoadingIndicator {
  text-align: center;
  margin-bottom: 20px;
  font-style: italic;
  color: #666;
}

/* #articleOutput {
  background-color: white;
  padding: 20px;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
} */

.hidden {
  display: none !important;
}

.article-output-container {
  max-height: 600px;
  overflow-y: auto;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: white;
  padding: 10px;
  margin-top: 20px;
}

#articleOutput {
  line-height: 1.6;
}

/* Styling for scrollbar (optional) */
.article-output-container::-webkit-scrollbar {
  width: 10px;
}

.article-output-container::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.article-output-container::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 5px;
}

.article-output-container::-webkit-scrollbar-thumb:hover {
  background: #555;
}

#introduction-container {
  margin-top: 50px;
}

#introduction-container h1 {
  font-size: 32px;
}

/* Loading Animation */

@keyframes quiet {
  25%{
    transform: scaleY(.6);
  }
  50%{
    transform: scaleY(.4);
  }
  75%{
    transform: scaleY(.8);
  }
}

@keyframes normal {
  25%{
    transform: scaleY(1);
  }
  50%{
    transform: scaleY(.4);
  }
  75%{
    transform: scaleY(.6);
  }
}
@keyframes loud {
  25%{
    transform: scaleY(1);
  }
  50%{
    transform: scaleY(.4);
  }
  75%{
    transform: scaleY(1.2);
  }
}

.loadingContainerPosition {
  margin-left: 45%;
}

#loadingContainer{
  display: flex;
  justify-content: space-between;
  height: 64px;
  --boxSize: 8px;
  --gutter: 4px;
  width: calc((var(--boxSize) + var(--gutter)) * 5);
}

.box{
  transform: scaleY(.4);
  height: 100%;
  width: var(--boxSize);
  /* background: #000000; */
  background-color: #4158D0;
  background-image: linear-gradient(43deg, #4158D0 0%, #50c890 46%, #000000 100%);
  animation-duration: 1.2s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  border-radius: 8px;
}

.box1{
  animation-name: quiet;
}

.box2{
  animation-name: normal;
}

.box3{
  animation-name: quiet;
}

.box4{
  animation-name: loud;
}

.box5{
  animation-name: quiet;
}
