/* Styles pour les articles de détails des projets */
.project-details {
    display: none; /* Masqué par défaut */
    background: var(--eerie-black2);
    border: 1px solid var(--jet);
    border-radius: 20px;
    padding: 20px 5%;
    box-shadow: var(--shadow5);
}

.project-details.active {
    display: block; /* Affiché lorsque actif */
}


.project-details > header{
    position: relative;
    display: flex;
    align-items: center;    
}



.close-details {
    position: absolute;
    top: 15%; /* Centre verticalement */
    right: 385px; /* 390 */
    transform: translate(-50%, -50%); /* Ajuste le centrage vertical */
    font-size: 40px;
    cursor: pointer;
    color: var(--orange-yellow-crayola);
    transition: transform 0.2s ease;}


/* Styles pour le bouton de fermeture */


@media (max-width: 1024px) {
    .close-details {
        top: 15%;
        right: -15px;
 }
  
}


.close-details:hover {
    transform: translate(-50%, -50%) scale(1.2);
}

.project-details > section > figure{
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    color: var(--textcolor);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: 30px 0;
}


.project-details > section > figure > img, .project-details > section > figure > video {
    position: relative;
    width: 70%;
    border-radius: 10px;
    margin: 20px 0 7px 0;
    transition: width 0.5s ease;
}


@media (max-width: 768px) {
    .project-details > section > figure > img, .project-details > section > figure > video {
        width: 90%;
          
 }
}


.project-content > table {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin: 20px 0;
    max-width: 650px;
    width: 95%;
    border-collapse: collapse;
    overflow: hidden;
    color: var(--textcolor);

    background: var(--border-gradient-onyx);
    padding: 20px;
    border-radius: 14px;
    box-shadow: var(--shadow2);
    z-index: 1;
}
.project-content > table th, .project-content > table td {
    border-bottom: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

.project-content > table tr:last-child td {
    border-bottom: none;
}

.project-content > table tr td > a {
    color: rgb(118, 118, 131) !important;
    transition: color 0.2s ease;
    text-decoration: underline;
}


.project-content li {
    margin: 10px 0;
    color: var(--textcolor);
}

.project-content a {
    text-decoration: underline;
}

.project-content iframe{
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 600px;
    border-radius: 10px;
    margin: 20px 0;
    transition: width 0.5s ease;
    border: none;
}

.project-content li {
    list-style: circle !important;
    margin-left: 30px !important; 
}

.project-content h2{
    margin: 15px 0;
}

@media (max-width: 768px) {
    .project-content iframe {
        display: none;

    }
          
 }

 .beta{
    border: 1px solid ;
    border-color: orange;
    border-radius: 10px;
    padding: 10px;
    margin: 20px;
    color: var(--textcolor);
 }

 .strike {
  text-decoration: line-through;
}