#fenetre-about {
    text-align: justify;
    max-width: 500px;
    max-height: 600px;
}

#fenetre-contact {
    max-width: 250px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    background-color: transparent;
    pointer-events: none; /* laisser les clics passer derrière */
    inset: 0;
}

.modal-content {
    position: absolute;
    pointer-events: auto; /* garder les clics actifs sur la boîte */
    width: 90%;
    max-width: 800px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    border-radius: 10px;
    border: 2px solid #2c2c2c;
}

.modal-header {
    background-color: #2c2c2c;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    color: #FFFFFF;
    height: fit-content;
    cursor: move;
    padding: 8px 16px;
    position: relative;
}

.fermer {
    color: white;
    font-size: x-large;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease;
}

.fermer:hover {
    color: #858585;
}

.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    margin: 0;
    color: #646464;
    background: #000000;
    font-size: 14px;
    max-height: 600px; 
    min-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
}

/* fenêtre content */
 
.content img {
    width: 100%;
}

.description {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: right;
    width: 100%;
    margin-bottom: 20px;
}

#last {
    margin-bottom: 0;
}

/* fenêtre projects */

#V {
    color: #69ff2d;
}

#R {
    color: #ff2d2d;
}

/* fenêtre contact */

#fenetre-contact img {
    margin-bottom: 20px;
}

.contact {
    color: #FFFFFF;
    font-weight: bold;
    margin-bottom: 10px;
    width: 100%;
}

.lien {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    font-size: large;
    width: 100%;
}

.lien a {
    color: #646464;
    font-size: xx-large;
}

.lien a:hover {
    color: #ffffff;
    scale: 1.15;
}

.lien a:active {
    scale: 0.9;
}

/* fenêtre collection */

#fenetre-collection .content{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

#fenetre-collection img {
    width: 88px;
    height: 31px;
    margin-bottom: 8px;
}