/* styles.css */
body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(120deg, #89CFF0, #E0BBE4);
    margin: 0;
    padding: 0;
    color: #333;
}

.container {
    max-width: 700px;
    margin: 50px auto;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

h1 {
    font-size: 2rem;
    text-align: center;
    color: #5D5FEF;
}

.intro-container {
    background: #f7f9fc;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: #333;
}

.intro-container img {
    display: block;
    margin: 0 auto 1rem;
    max-width: 200px; 
    height: auto;
  }

  .header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px; 
    margin-bottom: 20px;
  }
  
  .header-row img {
    width: 60px; 
    height: auto;
  }
  
  .header-row h1 {
    font-size: 1.8rem;
    margin: 0;
  }

.intro-container h2 {
    font-size: 1.8rem;
    color: #5D5FEF;
    margin-bottom: 30px;
    margin-top: 15px;
    text-align: center;
}

.intro-container-welcome h2 {
    font-size: 1.8rem;
    color: #5D5FEF;
    margin-bottom: 15px;
    text-align: center;
}

.intro-container-welcome h3 {
    font-size: 1.8rem;
    color: #5D5FEF;
    margin-bottom: 30px;
    text-align: center;
}

.intro-container h3 {
    font-size: 1.5rem;
    color: #4A4BEF;
    margin-top: 20px;
}

.intro-container p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.intro-container ul {
    margin: 15px 0;
    padding-left: 20px;
}

.intro-container ul li {
    font-size: 1rem;
    margin-bottom: 10px;
    line-height: 1.5;
}

.language-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    padding-left: 0;
    list-style: none;
}

.language-list li {
    padding: 8px 10px;
    border-radius: 5px;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 500;
    color: #333;
}

textarea {
    width: 95%;
    height: 150px;
    margin-bottom: 20px;
    padding: 15px;
    border: 2px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    resize: vertical;
    transition: border-color 0.3s;
}

textarea:focus {
    border-color: #5D5FEF;
    outline: none;
}

button {
    background: #5D5FEF;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    font-weight: 500;
    transition: background 0.3s;
}

button:hover {
    background: #4A4BEF;
}

.response {
    margin-top: 20px;
    padding: 15px;
    background: #f9f9f9;
    border-left: 5px solid #5D5FEF;
    border-radius: 8px;
}

.response h3 {
    margin: 0 0 10px;
    font-size: 1.2rem;
    color: #333;
}

.response p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    color: #555;
}

.hidden-content {
    display: none; /* Gizlenmiş olarak başlar */
}

.back-button {
    display: flex;
    max-width: fit-content;
    align-items: center;
    padding: 8px 15px;
  }

  .back-button i {
    margin-right: 3px;
  }

/* Let's Start butonu tasarımı */
#start-button {
    background-color: #5D5FEF;
    color: white;
    padding: 10px 20px;
    margin-top: 50px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

#start-button:hover {
    background-color: #4A4BEF;
}

.share-buttons button {
    /* display: inline-flex; */
    align-items: center;
    gap: 8px;
    margin: 5px;
    padding: 10px 15px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    color: white;
  }
  
  .share-buttons button i {
    font-size: 1rem;
  }

  .share-buttons button:first-child {
    background-color: #555;
  }


.share-buttons button:last-child {
    background-color: #25D366; 
  }

  .analyzing-text {
    margin-top: 20px;
    font-weight: bold;
    text-align: center;
    font-size: 1.2rem;
    color: #5D5FEF;
    /* animation: auroraShift 3s ease-in-out infinite; */
    /* text-shadow: 0 0 10px #5D5FEF, 0 0 20px #5D5FEF; */
  }

  .dot-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
  }

  .dot-loader span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    animation: bounce 0.6s infinite alternate, auroraDotShift 3s ease-in-out infinite;
  }
  
  .dot-loader span:nth-child(2) {
    animation-delay: 0.2s;
  }
  
  .dot-loader span:nth-child(3) {
    animation-delay: 0.4s;
  }

  @keyframes auroraDotShift {
    0%   {
      background-color: #5D5FEF;
      box-shadow: 0 0 8px #5D5FEF;
    }
    25%  {
      background-color: #8A5DEF;
      box-shadow: 0 0 8px #8A5DEF;
    }
    50%  {
      background-color: #5D95EF;
      box-shadow: 0 0 8px #5D95EF;
    }
    75%  {
      background-color: #5DEFD6;
      box-shadow: 0 0 8px #5DEFD6;
    }
    100% {
      background-color: #5D5FEF;
      box-shadow: 0 0 8px #5D5FEF;
    }
  }

/*   @keyframes auroraShift {
    0%   { color: #5D5FEF; text-shadow: 0 0 10px #5D5FEF; }
    25%  { color: #8A5DEF; text-shadow: 0 0 10px #8A5DEF; }
    50%  { color: #5D95EF; text-shadow: 0 0 10px #5D95EF; }
    75%  { color: #5DEFD6; text-shadow: 0 0 10px #5DEFD6; }
    100% { color: #5D5FEF; text-shadow: 0 0 10px #5D5FEF; }
  } */
  
  @keyframes bounce {
    from {
        transform: translateY(0);
        opacity: 0.6;
        box-shadow: 0 0 4px #5D5FEF;
      }
      to {
        transform: translateY(-8px);
        opacity: 1;
        box-shadow: 0 0 12px #5D5FEF;
      }
  }

@media (max-width: 768px) {
    .container {
        margin: 20px;
        padding: 20px;
    }
    h1 {
        font-size: 1.5rem;
    }
    textarea {
        height: 120px;
    }
    button {
        padding: 10px 15px;
    }
}
