* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: all 0.3s ease;

}

body {
    background-color: #f5f5f5;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#sessionSection {
    overflow: hidden;
    height: 0px;

}

.projetheader {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    margin: 0px 20px 20px;
    justify-content: center;


}

.containerTheme {


    margin-left: auto;
    margin-right: auto;
    padding-left: 72px;
    padding-right: 72px;
    display: flex;
    top: 16px;
    bottom: auto;
}


/* THEME LIST/GRID*/
.theme {
    background-color: #f5f5f5;
    border-radius: 30px;
    box-shadow: 5px 5px 10px 0 rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.list-icons-wrapper {
    display: flex;
    align-items: center;
}

.list-icons-wrapper i#gridItem.fa-solid.fa-grip {
    margin-left: 5px;
    margin-right: 5px;
}

.list-icons-wrapper i#listItem.fa-solid.fa-list {
    margin-right: 5px;
}

.theme i {
    padding: 10px 12px;
    color: #282829;
    text-decoration: none;
    margin: 5px 0px 5px 0px;
    border-radius: 30px;
    font-weight: 550;
}


.theme i:hover {
    background-color: #dadbdc;
}

/* THEME LIST/GRID FIN*/


.container {
    margin: 20px;
    padding: 20px;
    background-color: #fff;
    border-radius: 13px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);



}


#mesProjH1 {
    font-size: 32px;
    text-align: center;
    margin-right: 20px;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px;
    margin-bottom: 30px;

}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);

}

img {
    max-width: 100%;
    max-height: 100%;
}

.gallery-item img {

    object-fit: cover;
    width: 100%;
    height: 100%;
    transform-origin: top;
    user-select: none;

}

.gallery-item:hover img {
    transform: scale(1.05);
}

.icon {
    position: absolute;
    width: 100%;
    bottom: 0;
    background-color: rgba(245, 245, 245, 0.97);
    color: #020202;
    padding-top: 7px;
    padding-bottom: 7px;
    text-align: center;
    font-size: 16px;
    border-radius: 2px;
}

.desc {
    position: absolute;
    width: 100%;
    bottom: 0;
    background-color: rgba(245, 245, 245, 0.97);
    color: #282829;
    padding: 10px;
    text-align: center;
    font-size: 16px;
    font-family: Arial, sans-serif;
    transform: translateY(100%);
    font-weight: bold;
    user-select: none;
}

#gallery-container-labo {

    transition: none;
}

.gallery-item:hover .desc {
    transform: translateY(0%);
}

.gallery-item:hover .icon {
    transform: translateY(100%);
}

.session1Container {
    display: inline-flex;
    margin-bottom: 10px;
}

.collapseOpen {
    display: inline-flex;
    float: right;
    user-select: none;
    font-weight: bold;
    margin-left: 10px
}

#collapse,
#open {
    margin: 5px;
    text-decoration: underline;
    cursor: pointer;
}

#toggleButtonSession {
    cursor: pointer;
}

#collapse:hover {

    color: rgb(70, 69, 69);
}

#toggleButtonTp,
#toggleButtonLabo {
    display: inline-block;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 10px;
    margin-left: 20px;
    user-select: none;
}

.sousSections {
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease-out;
}



@media screen and (max-width: 450px) {
    .gallery-container {

        margin: 10px;
    }

    .projetheader {
        margin: 0px;
        margin-bottom: 20px;
        justify-content: space-between;
    }

    .session1Container {
        justify-content: left;

    }

    #collapse {
        margin-left: 10px;

    }
}

@media screen and (max-width: 290px) {

    #mesProjH1 {
        font-size: 20px;
        margin: 0px;
        text-align: left;

    }

    .containerGrid {
        margin-left: 0px;
    }
}