.home-section{
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 2rem;
    margin: 2rem;
    @media screen and (max-width: 850px)
    {
        margin: 0;
        flex-direction: column;
        gap: 0;
    }
}
.home-picture{
    border-radius: 50%;
    border: 7px solid #F5F5DC;
    width: 400px;

    @media screen and (max-width: 850px)
    {
        width: 100%;
        border: none;
        border-radius: 0;
        height: 150px;
        object-fit: cover;
    }
}
.home-intro{
    @media screen and (max-width: 850px)
    {
        margin: 0 1rem;
    }
}

.collectif-card.container-light{
    flex-direction: row-reverse;
    @media screen and (max-width: 850px) {
        flex-direction: column;
        gap: 1rem;
    }
}
.collectif-card{
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    gap: 3rem;
    @media screen and (max-width: 850px) {
        flex-direction: column;
        gap: 1rem;
    }
    h2{
        margin: 0;
    }
}

.collectif-picture{
    aspect-ratio: 1 / 1;
    width: 300px;
    height: 300px;
    border-radius: 2rem;
    border: 7px solid #F5F5DC;
    object-fit: cover;
    @media screen and (max-width: 850px) {
        aspect-ratio: 1 / 1;
        width: 200px;
        height: 200px;
        border: 4px solid #F5F5DC;
    }
}
.container-light .collectif-picture{
    border: 7px solid #694D26;
    @media screen and (max-width: 850px) {
        aspect-ratio: 1 / 1;
        width: 200px;
        height: 200px;
        border: 4px solid #694D26;
    }
}

.type-intro{
    display: flex;
    align-items: center;
    margin: 2rem;
    gap: 2rem;
    @media screen and (max-width: 700px){
        flex-direction: column-reverse;
        margin: 0 0.5rem;
        gap: 0.5rem;
    }
}
.type-intro p{
    margin: 0.5rem;
}
.type-description{
    margin: 1rem 2rem;
    @media screen and (max-width: 700px){
        margin: 1rem 0.5rem;
    }
}

.lessons-table{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.lessons-table p, .lessons-table h2{
    margin: 0;
    padding: 0;
}
.lesson{
    width: 1200px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    padding: 1rem 0.5rem;

    border-radius: 1rem;
    background-color: rgba(0, 0, 0, 0.25);

    @media screen and (max-width: 1250px){
        width: 800px;
    }
    @media screen and (max-width: 800px){
        width: auto;
        margin: 0.5rem 0;
        flex-direction: column;
        gap: 0.5rem;
    }
}
.lesson.lessonReserved{
    color: #694D26;
    background-color: rgba(245, 245, 220, 0.5);
}
.lesson div{
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;

    flex: 1;
}

.popup-overlay{
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
}
.popup-overlay.hidden{
    display: none;
}

.popup-content{
    text-align: center;
    padding: 2rem;
    border-radius: 1rem;
    background-color: rgba(245, 245, 220, 0.9);
    color: #694D26;

    max-width: 90%;
    width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
#reservation-content p{
    margin: 0.5rem;
}
#reservation-content h2{
    margin-top: 0.5rem;
}
.popup-buttons{
    display: flex;
    align-items: center;
    margin-top: 1rem;
    gap: 1rem;
}
.article{
    max-width: 1200px;
    position: relative;
}
.article-container{
    display: flex;
    align-items: center;
    gap: 3rem;
    @media screen and (max-width: 800px){
        flex-direction: column;
        gap: 0;
    }
}
.articles{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}
hr{
    color: #F5F5DC;
    width: 50%;
    margin: 1.5rem auto;
 }
.comments{
    overflow-y: auto;
    scrollbar-color: #F5F5DC transparent;
    height: 300px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.comment{
    background-color: rgba(0, 0, 0, 0.25);
    border-radius: 1rem;
    padding: 0.5rem 1rem;
    max-width: 95%;
}
.comment h3{
    font-size: 1.25rem;
    margin-top: 0;
    margin-bottom: 0.5rem;
    @media screen and (max-width: 700px){
        font-size: 1rem;
    }
}
.comment h3 span{
    font-size: 0.75rem;
    font-weight: normal;
    @media screen and (max-width: 700px){
        font-size: 0.5rem;
    }
}
.comment p{
    font-size: 1rem;
    margin: 0.5rem;
    @media screen and (max-width: 700px){
        font-size: 0.75rem;
    }
}
.commentForm{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    margin-top: 1rem;

    @media screen and (max-width: 700px){
        flex-direction: column;
        gap: 1rem;
    }
}
.commentForm input{
    /*background-color: #F5F5DC;*/
}
.likeContainer{
    display: flex;
    flex-direction: row;
    align-items: center;
    svg:hover{
        cursor: pointer;
    }
}

.likeContainer.articleLike{
    font-size: 1.25rem;

    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    @media screen and (max-width: 700px){
        font-size: 0.75rem;
        top: 1rem;
        left: 1rem;
    }
}
.likeContainer.articleLike svg{
    height: 3rem;
    @media screen and (max-width: 700px){
        height: 2rem;
    }
}
.likeContainer.commentLike{
    font-size: 0.75rem;
    gap: 0.25rem;
}
.likeContainer.commentLike svg{
    height: 1.5rem;
}

