/*Le club*/
/*Titre*/
#container
{
    margin: 20px;
    padding: 25px;
    display: block;
    text-align: center;
    font-size: 30px;
    
}
#container h3
{
    font-size: 25px;
}
.contenttitle
{
    background-color: #b2bec3;
    border-radius: 20px;
    text-align: center;
    padding: 20px;
    color: white;
}
.contenttitle h1
{
    margin-bottom: 10px;
}
/*--Lecomité--*/
#lecomite
{
    padding: 20px;
}
#lecomite #h1titrecomite
{
    text-align: center;
    color: white;
    margin-bottom: 30px;
}

.container
{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.container .item
{
    position: relative;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 200px;
}
.container .item:hover
{
    transform: translateY(-5px);
}
.container .item .imgbox
{
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.container .item .imgbox img
{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.container .item .details
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.container .item:hover .details
{
    opacity: 1;
}
.container .item .details .content
{
    text-align: center;
    color: white;
    padding: 10px;
}
.container .item .details .content h2
{
    font-size: 20px;
    margin-bottom: 5px;
    color: white;
}
.container .item .details .content h3
{
    font-size: 20px;
    color: #ddd;
    margin-bottom: 10px;
}
.container .item .details .content a
{
    color: #ff6b6b;
    text-decoration: none;
    font-size: 20px;
}
.container .item .details .content a:hover
{
    text-decoration: underline;
    color: #ff8787;
}
#prof
{
    text-align: center;
    color: white;
    margin-bottom: 30px;
}
#leprof .profcontainer
{
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    display: flex;
    gap: 30px;
    align-items: flex-start;
}
#leprof .profcontainer .profimg
{
    flex: 0 0 250px;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
#leprof .profcontainer .profimg img
{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}
.profcontainer .profdetails
{
    flex: 1;
    padding: 20px;
}
.profcontainer .profdetails p
{
    line-height: 1.6;
    color: #333;
    text-align: justify;
    font-size: 0.95em;
}
.profcontainer .profdetails h2
{
    color: #ff6b6b;
    margin-bottom: 15px;
    font-size: 1.4em;
}
#spacedoub
{
    display: inline-block;
    width: 20px;
}
#space
{
    display: inline-block;
    width: 10px;
}

/*Media queries*/
@media screen and (max-width: 768px)
{
    .container
    {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        padding: 10px;
        gap: 15px;
    }
    .container .item
    {
        height: 180px;
    }
    .container .item .details .content h2
    {
        font-size: 1.1em;
    }
    .container .item .details .content h3
    {
        font-size: 0.9em;
    }
    #leprof .profcontainer
    {
        flex-direction: column;
        padding: 15px;
        gap: 20px;
    }
    #leprof .profcontainer .profimg
    {
        width: 200px;
        height: 250px;
        margin: 0 auto;
    }
    .profcontainer .profdetails
    {
        padding: 10px;
    }
    .profcontainer .profdetails h2
    {
        text-align: center;
        font-size: 1.2em;
    }
    .profcontainer .profdetails p
    {
        font-size: 0.9em;
    }
    #spacedoub
    {
        width: 10px;
    }
    #space
    {
        width: 5px;
    }
}
@media screen and (max-width: 480px)
{
    .contenttitle
    {
        padding: 15px;
    }
    .contenttitle h1
    {
        font-size: 1.5em;
    }
    .contenttitle h3
    {
        font-size: 1em;
    }
    #lecomite #h1titrecomite, #prof
    {
        font-size: 1.4em;
    }
    .container
    {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        padding: 5px;
        gap: 10px;
    }
    .container .item
    {
        height: 160px;
    }
    .container .item .details .content h2
    {
        font-size: 1em;
    }
    .container .item .details .content h3
    {
        font-size: 0.85em;
    }
    .profcontainer .profdetails h2
    {
        font-size: 1.1em;
    }
    .profcontainer .profdetails p
    {
        font-size: 0.85em;
        line-height: 1.5;
    }
}