
/*---------------------------------------------------------------------------------------*/

/*----------------------------- Start Entete----------------------------------*/
.body 
{
  background: linear-gradient( rgba(17, 15, 51, 0.93), rgba(10, 101, 175, 0.95)); 
  margin: 0;
  
}
.hero-section {
   height: 100vh;
   position: relative;
   display: flex;
   align-items: center;
   justify-content: center;
   overflow: hidden;
}

.hero-section p 
{ margin: 2rem;}


.hero-content {
   max-width: 1200px;
   text-align: center;
   position: relative;
   z-index: 2;
   animation: fadeIn 1s ease-out;
}

.hero-subtitle {
   font-size: 1.4rem;
   color: rgb(255, 255, 255);
   margin-bottom: 2rem;
   font-weight: 400;
   line-height: 1.6;
   animation: slideUp 1s ease-out both;
   padding-left: 3rem;
   padding-right: 3rem;
}

.hero-title {
   font-size: clamp(2.5rem, 8vw, 5rem);
   margin-bottom: 1rem;
   padding-top: 4rem;
   padding-bottom: 2rem;
   color: white;
   line-height: 1.5;
   font-weight: 600;
   text-shadow: 0 2px 10px rgba(0,0,0,0.3);
   position: relative;
   display: inline-block;
   animation: slideUp 1s ease-out both;
}
.hero-title::after {
   content: '';
   position: absolute;
   bottom: -10px;
   left: 50%;
   transform: translateX(-50%);
   width: 100px;
   height: 4px;
   background: #ffc107;
   border-radius: 2px;
   animation: expandWidth 1s ease-out both;
}


.scroll-indicator {
   position: absolute;
   bottom: 1rem;
   left: 50%;
   transform: translateX(-50%);
   color: white;
   font-size: 2rem;
   animation: bounce 2s infinite;
   cursor: pointer;
   opacity: 0.7;
   transition: opacity 0.3s ease;
}

#choice
{
  scroll-margin-top: 6rem;
}

@keyframes fadeInLeft {
   from {
       opacity: 0;
       transform: translateX(-30px);
   }
   to {
       opacity: 1;
       transform: translateX(0);
   }
}

@keyframes fadeIn {
   from {
       opacity: 0;
   }
   to {
       opacity: 1;
   }
}

@keyframes slideUp {
   from {
       opacity: 0;
       transform: translateY(30px);
   }
   to {
       opacity: 1;
       transform: translateY(0);
   }
}

@keyframes expandWidth {
   from {
       width: 0;
       opacity: 0;
   }
   to {
       width: 100px;
       opacity: 1;
   }
}

@keyframes bounce {
   0%, 20%, 50%, 80%, 100% {
       transform: translateY(0) translateX(-50%);
   }
   40% {
       transform: translateY(-20px) translateX(-50%);
   }
   60% {
       transform: translateY(-10px) translateX(-50%);
   }
}

@media (max-width: 768px) {

  .hero-section {
       margin-top: 5rem;
       height: 550px;
       padding: .4rem;

   }

   .logo-container {
      margin-bottom: 0rem;
   }

   .logo {
       width: 10rem;
       height: 10rem;

   }

   .hero-title {
       font-size: 2.5rem;
       line-height: 1.2;
       padding-top: 1rem;
   }

   .hero-subtitle {
       font-size: 1.3rem;
       padding: 0 1rem 0rem 0rem;
   }

   .flag {
       width: 50px;
       height: 35px;
   }
   #choice
{
  scroll-margin-top: 3.85rem;
}

}

/* Effet de particules/étoiles en arrière-plan */

/*----------------------------- End Card Possibilte et Diaspo----------------------------------*/

/*Allemagne - Diaspora*/
  

.split-section {
  min-height: 400px;
  display: flex;
  flex-direction: column;
  margin: 0 2rem 4rem 2rem;
  
}

.hero-header {
  text-align: center;
  padding: 3rem 1rem;
  background: white;
}

.main-title {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.subtitle {
  color: #666;
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
}

.split-container {
  display: flex;
  flex: 1;
  background-color: #0c1b336a;
}

.split-half {
  flex: 1;
  position: relative;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  cursor: pointer;
  transition: flex 0.5s ease;
  background-color: rgba(12, 27, 51, 0.233); /* Notation rgba plus claire */
}

/* Appliquez le blur à un pseudo-élément à la place */
.split-half::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  backdrop-filter: blur(30px); /* Utilisez backdrop-filter au lieu de filter */
  pointer-events: none; /* Pour permettre les clics sur l'élément parent */
  z-index: -1;
}

.split-half:hover {
  flex: 1.2;
}

.split-half:hover::before {
  background-color : rgba(12, 27, 51, 0.522);
}

.split-content {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
  max-width: 500px;
}

.split-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.split-text {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.split-button {
  display: inline-block;
  padding: 1rem 1.5rem;
  background: rgba(255, 0, 0, 0.674);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}


.decouvrir {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);

  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  border-radius: 30px;
  animation: slideUp 1s ease-in both;
  min-width: 12rem;
}

.decouvrir:hover {
  background-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transform: translateY(-3px);
}
.acceder
{
  background: rgb(255, 166, 0);
  color: black;
}

.explorer:hover {

  transform: translateY(-5px);
}

.acceder:hover {

  transform: translateY(-5px);
}

.icon-list {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.feature-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.feature-icon i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.feature-text {
  font-size: 0.9rem;
}

@media (max-width: 768px) {
.split-section {
  margin: 0rem;
  
}
  .split-container {

      flex-direction: column;
  }

  .split-half {
      min-height: 400px;
  }

  .split-half:hover {
      flex: 1;
  }

  .split-title {
      font-size: 1.5rem;
  }

  .main-title {
      font-size: 2rem;
  }

  .icon-list {
      gap: 1rem;
  }
  .decouvrir
{
  min-width: 15rem;
}
}
/*-----------------------------------------------------------------------*/
   
  /*------------------End Diaspora ---------------------------------------------------*/

  .word-of-day-section {
      background-color:rgb(221, 222, 222);
      border-top: 1px solid #e9ecef;
      margin-top: 0rem;
  }

  .wod-accordion {
      max-width: 800px;
      margin: 0 auto;
  }

  .wod-header {
      cursor: pointer;
      padding: 1rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      transition: background-color 0.3s ease;
  }

  .wod-header:hover {
      background-color: #f0f0f0;
  }

  .wod-title-wrapper {
      display: flex;
      align-items: center;
      gap: 0.8rem;
  }

  .wod-icon {
      color:rgb(27, 43, 107);
      font-size: 1.5rem;
  }

  .wod-title {
      font-size: 1rem;
      color: #495057;
      font-weight: 500;
      background-color:rgba(255, 193, 7, 0.77);
      padding: 0.2rem 0.5rem;
      border-radius: 3px;
  }

  .wod-preview {
      display: flex;
      align-items: center;
      gap: 0.8rem;
  }

  .wod-german-preview {
      font-weight: 600;
      color: #343a40;
  }

  .wod-translation-preview {
      color: #6c757d;
      font-size: 0.9rem;
  }

  .wod-chevron {
      transition: transform 0.3s ease;
  }

  .wod-content {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease-out;
      background-color: white;
      padding: 0 1rem;
  }

  .wod-inner-content {
      padding: 1rem 0.5rem;
      border-top: 1px solid #f0f0f0;
  }

  .wod-german {
      font-size: 1.4rem;
      font-weight: 600;
      color: #343a40;
      margin-bottom: 0.2rem;
  }

  .wod-pronunciation {
      font-size: 0.9rem;
      color: #6c757d;
      font-style: italic;
      margin-bottom: 0.8rem;
  }

  .wod-translation {
      font-size: 1rem;
      color: #495057;
      margin-bottom: 0.8rem;
  }

  .wod-example {
      font-size: 0.9rem;
      color: #495057;
      background-color: rgba(0,0,0,0.02);
      padding: 0.8rem;
      border-left: 3px solid #ffc107;
      margin-top: 0.8rem;
      margin-bottom: 0.8rem;
  }

  .wod-example-translation {
      font-size: 0.85rem;
      color: #6c757d;
      font-style: italic;
      margin-top: 0.3rem;
  }

  .wod-footer {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 0.8rem;
      margin-top: 1rem;
  }

  .wod-tags {
      display: flex;
      gap: 0.5rem;
      flex-wrap: wrap;
  }

  .wod-tag {
      font-size: 0.75rem;
      background-color:rgb(237, 233, 239);
      padding: 0.2rem 0.5rem;
      border-radius: 3px;
      color: #6c757d;
  }

  .wod-tag-level {
      font-size: 0.75rem;
      background-color:rgba(44, 21, 94, 0.76);
      padding: 0.2rem 0.5rem;
      border-radius: 3px;
      color: white;
  }

  .wod-actions {
      display: flex;
      gap: 0.8rem;
  }

  .wod-button {
      background: none;
      border: none;
      color: #6c757d;
      cursor: pointer;
      font-size: 0.9rem;
      display: flex;
      align-items: center;
      gap: 0.3rem;
      padding: 0;
  }

  .wod-button:hover {
      color: #007bff;
  }

  .wod-date {
      font-size: 0.8rem;
      color: #adb5bd;
      margin-left: auto;
  }

  /* Active state */
  .wod-accordion.active .wod-chevron {
      transform: rotate(180deg);
  }

  .wod-accordion.active .wod-content {
      max-height: 500px;
  }

  @media (max-width: 768px) {
      .wod-preview {
          display: none;
      }

      .wod-footer {
          flex-direction: column;
          align-items: flex-start;
      }
  }
