
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('/others-images/testbibli10.png');
    background-size: cover;
    background-position: 85%;
    background-repeat: no-repeat;
    z-index: -1;
}


body {
    background: linear-gradient(to bottom, #0a0f2c, #1e2a4a);
    background-image: url('/others-images/testbibli10.png'); 
    background-size: cover;
    background-position: 10%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;   /* fallback pour anciens navigateurs */
    min-height: 100dvh;  /* solution pour iPhone / Safari mobile */
  /*  color: #e0f7ff;*/
}

.tags-container {
    margin: -8px 0;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;  /* Pour s'assurer qu'il occupe toute la largeur */
    box-sizing: border-box;
    opacity: 80% !important;
    color: white !important;
    background-color: #2f2a1a !important;
}

.tags-title {
    font-weight: 600;
    font-size: 14px;
    color: whitesmoke;
    margin-bottom: 5px;
}

.tags-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-chip {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
    background-color: #e9ecef;
    color: #495057;
    border: 1px solid #ced4da;
    transition: all 0.2s ease;
}

.tag-chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.tag-common {
    background-color: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}

.tag-familiar {
    background-color: #fff3cd;
    color: #856404;
    border-color: #ffeeba;
}

.tag-vulgar {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

.tag-young {
    background-color: #e0cffc;
    color: #6741d9;
    border-color: #d6c1fc;
}

.no-tags {
    font-style: italic;
    color: #6c757d;
    font-size: 12px;
}

    .return-text {
        margin-left: 10%;
        text-decoration: none;
        font-weight: bold;
        color: white;
        margin-top: 20px;
    }

    .return-text img {
        width: 18px;
        margin-right: 5px;
    }

    .text-wrapper {
    opacity: 80% !important;
    color: white !important;
    background-color: #2f2a1a !important;
}

    

.footer-custom {
    background-color: rgba(0, 0, 0, 0.4);
    color: #aad7ff;
}

.footer-link {
    background-color: rgba(255, 255, 255, 0.1);
    color: #aad7ff;
}

.footer-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.footer-custom {
    background-color: #1d1e27;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    gap: 30px;
    flex-wrap: wrap;
    font-family: sans-serif;
    margin-top: 80px;
  }
  
  .footer-left h2 {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
  }
  
  .footer-left p {
    font-size: 14px;
    margin: 4px 0 0;
  }
  
  .footer-right {
    display: flex;
    align-items: center;
  }
  
  .linkedin-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-weight: bold;
    color: whitesmoke;
  }
  
  .linkedin-icon {
    width: 25px;
    margin-right: 8px;
  }
  
  .footer-center {
    display: flex;
    gap: 10px;
  }
  
  .footer-link {
    background-color: #dae2ff;
    border-radius: 10px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    text-decoration: none;
    color: black;
    transition: background-color 0.3s;
  }
  
  .footer-link:hover {
    background-color: #c9d5ff;
  }
  
  .flag-icon {
    width: 20px;
    height: 14px;
  }

    .flag-icon-burger {
    width: 19px;
    height: 14px;
    margin-left: 4px;
    border: 1px solid #ccc;
  }


/* -----------------------------------
   MEDIA QUERIES (min-width: 1200px)
----------------------------------- */

@media (min-width: 1200px) {

    .accordion-item summary {
        font-size: 17px;
        font-weight: bold;
    }

    .accordion-item {
        margin-bottom: 40px;
    }

    .expression-title-video-page {
        font-size: 20px;
        font-weight: bold;
    }

    body {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
        margin: 0;
        font-family: Arial, sans-serif;
    }

    .main-content {
        display: flex;
        flex: 1;
        flex-direction: row;
        width: 85%;
        margin-left: 5%;
        margin-top: 10px;
        overflow: hidden;
    }

    .text-wrapper {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 10px;
        max-width: 70%;
        min-width: min-content;
        height: 100%;
        box-sizing: border-box;
        overflow-y: auto;
        margin-left: 20px;
        border: 1px solid #ccc;
        height: min-content;
        background-color: #2f2a1a;
        color: white;
        border-radius: 5px;
        opacity: 80%;
    }

    .polishText, .translationText {
        max-width: 100%;
        text-align: left;
        margin: 0;
    }

    .polishText h2, .translationTextUpper h2 {
        font-size: 26px;
        text-align: left;
    }

    .polishText p, .translationText p {
        color: #000080;
        font-size: 22px;
    }

.expression-container {
    max-height: 700px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.expression-container img {
    max-height: 550px;
    height: auto;
    width: auto;
    display: block;
    margin-bottom: 10px;
}


}



/* -----------------------------------
   MEDIA QUERIES (max-width: 699px)
----------------------------------- */
@media (max-width: 699px) {

    body, html {
    overflow-x: hidden;
    }

    .main-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin-left: 0;
        margin-top: 10px;
        overflow: hidden;
    }

    .expression-container {
        position: relative;
        width: 100%;
        overflow: hidden;
    }

    .expression-container img {
        width: 87%;
        height: 81%;
        object-fit: cover;
        display: block;
        margin: auto;
        max-width: 100%;
        height: auto;
    }

    .text-wrapper {
    position: absolute;
    top: 0;
    right: -85%; /* Pour vraiment le cacher */
    width: 100vw;  /* Force à ne pas dépasser l'écran */
    height: 100%;
    background-color: #fff;
    box-shadow: -4px 0 8px rgba(0,0,0,0.2);
    overflow-y: auto;
    transition: right 0.4s ease-in-out;
    z-index: 10;
    }

    .text-wrapper.active {
        right: 0;
    }

    .video-title-video-page {
        font-size: 20px;
        font-weight: bold;
        margin-left: 20px;
    }

    .accordion-item summary {
        font-size: 17px;
        font-weight: bold;
        margin-left: 20px;
    }

    .accordion-item p {
        margin-right: 10px;
        margin-left: 20px;
    }

    .accordion-item {
        margin-bottom: 40px;
    }

    
    .footer-custom {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        padding: 15px 10px;
        gap: 15px;    
      }
    
      .footer-center {
        flex-direction: column;
        width: 100%;
        order : 3;
      }

      .footer-left {
        order: 1;
      }
    
      .footer-link {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        padding: 10px 12px;
        width: 42%;
        flex-wrap: nowrap;
        overflow: hidden;
        gap: 8px;
      }
      .footer-link span {
        flex: 1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }
      .footer-link svg {
        flex-shrink: 0;
      }
      
    
      .footer-right {
        order: 2;
      }
      
    .linkedin-icon-video-page {
        width: 25px;
        margin-right: 8px;
    }

    .flag-icon-video-page {
        width: 20px;
        height: 14px;
    }
}