main {
    font-family: var(--fa);
    #reading-progress {
        position: fixed;
        top: 0;
        left: 0;
        height: 5px;
        background: var(--mc);
        width: 0%;
        z-index: 111111;
        transition: width 0.1s linear;
    }
    .message-banner {
        transform: translateY(-100%);
        opacity: 0;
        transition: transform 0.5s ease-out, opacity 0.5s ease-out;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        padding: 15px;
        text-align: center;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        font-size: 16px;
        p {
            margin: 0;
        }
        &.error {
            background-color: #fdd;
            color: #a00;
        }
        &.success {
            background-color: green;
            color: var(--lc);
        }
        &.show {
            transform: translateY(0);
            opacity: 1;
        }
        &.hide {
            transform: translateY(-100%);
            opacity: 0;
        }
    }
    #infos-modo {
        .info {
            width: 50%;
            text-align: center;
            font-weight: bold;
            padding: 10px;
            margin: 0 auto;
            background: rgba(0, 0, 0, 4%);
            text-transform: uppercase;
            &#brouillon {
                color: var(--rc);
            }
            &#programmer {
                color: darkorange;
            }
        }
    }
    article {
        width: 90%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        .date {
            display: flex;
            align-items: center;
            justify-content: space-between;
            .container-share {
                display: flex;
                align-items: center;
                overflow: hidden;
                gap: 10px;
                .share-text {
                    z-index: 1;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    padding: 5px 7.5px;
                    gap: 7.5px;
                    background: var(--mc);
                    color: var(--lc);
                    border-radius: 5px;
                    cursor: pointer;
                    img {
                        width: 20px;
                        height: 20px;
                    }
                }
                .share-icons {
                    display: flex;
                    align-items: center;
                    gap: 5px;
                    cursor: pointer;
                    pointer-events: none;
                    #fb, #mess, #wa, #cc, #twitter, #mail {
                        width: 30px;
                        height: 30px;
                        &.moved {
                            transform: translateX(0);
                            pointer-events: auto;
                        }
                    }
                    #fb {
                        transform: translateX(-200px);
                        transition: 0.2s;
                        z-index: -1;
                    }
                    #mess {
                        transform: translateX(-250px);
                        transition: 0.35s;
                        z-index: -2;
                    }
                    #wa {
                        transform: translateX(-300px);
                        transition: 0.5s;
                        z-index: -3;
                    }
                    #twitter {
                        transform: translateX(-350px);
                        transition: 0.65s;
                        z-index: -4;
                    }
                    #mail {
                        transform: translateX(-400px);
                        transition: 0.7s;
                        z-index: -5;
                    }
                    #cc {
                        transform: translateX(-450px);
                        transition: 0.85s;
                        z-index: -6;
                    }
                }
            }
            .date-text {
                font-size: 15px;
                color: rgb(175, 175, 175);
            }
        }
        .title {
            color: var(--mc);
            font-size: 30px;
            text-align: center;
        }
        .container-infos-sup {
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-size: 15px;
            color: var(--mc);
            padding: 0 5px;
            .categories {
                text-transform: uppercase;
            }
            .time {
                display: flex;
                align-items: center;
                img {
                    padding-right: 2.5px;
                    width: 22px;
                    height: 22px;
                }
            }
        }
        img.picture {
            margin-top: 2px;
            border-radius: 10px;
            width: auto;
            height: auto;
            object-fit: content;
        }
        .clubs {
            color: var(--mc);
            font-size: 15px;
            text-transform: capitalize;
        }
        .intro {
            padding: 5px 7.5px 7px 7.5px;
            color: var(--dc);
            background: rgba(0, 0, 0, 3%);
            margin: 10px 0;
            text-align: justify;
        }
        .carousel {
            position: relative;
            outline: 1px solid rgb(240, 240, 240);
            width: 100%;
            max-width: 800px;
            max-height: 500px;
            margin: 20px auto 0 auto;
            overflow: hidden;
            background: rgba(0, 0, 0, 5%);
            .carousel-track {
                display: flex;
                transition: transform 0.4s ease-in-out;
                .carousel-item {
                    min-width: 100%;
                    box-sizing: border-box;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    img {
                        width: auto;
                        max-width: 800px;
                        max-height: 500px;
                        height: auto;
                        display: block;
                    }
                }
            }
            .carousel-btn {
                position: absolute;
                top: 50%;
                transform: translateY(-50%);
                background: rgba(100, 100, 100, 0.15);
                color: rgba(100, 100, 100);
                border: none;
                padding: 20px 15px;
                cursor: pointer;
                font-size: 25px;
                -webkit-user-select: none;
                user-select: none;
                transition: 0.2s;
                &.prev {
                    left: 0;
                }
                &.next {
                    right: 0;
                }
                &:hover {
                   background: var(--dc);
                    color: var(--lc); 
                }
            }
        }
        #see-others-profils {
            width: 100%;
            padding: 10px 0;
            font-size: 20px;
            font-family: var(--fm);
            text-align: center;
            background: var(--mc);
            margin: 15px auto;
            color: var(--lc);
            text-decoration: none;
            transition: 0.3s;
            text-transform: uppercase;
            &:hover {
                font-size: 25px;
                background: var(--lc);
                color: var(--mc);
                outline: 1px solid var(--mc);
            }
        }
    }
    #commentaires {
        width: 90%;
        margin: 0 auto;
        .comment {
            .header-comment {
                display: flex;
                align-items: center;
                justify-content: space-between;
                padding: 2px 7.5px;
                border-bottom: 3px solid var(--mc);
                text-transform: uppercase;
                font-family: var(--fa);
                width: 100%;
                font-size: 22px;
                color: var(--mc);
                font-weight: bold;
            }
            form {
                width: 90%;
                margin: 10px auto;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                gap: 7.5px;
                textarea {
                    all: unset;
                    color: rgb(175, 175, 175);
                    border-bottom: 1.5px solid rgb(175, 175, 175);
                    width: 100%;
                    height: auto;
                    text-indent: 7.5px;
                }
                input {
                    all:unset;
                    border: none;
                    outline: 1.5px solid var(--vc);
                    width: 40%;
                    color: var(--lc);
                    text-align: center;
                    cursor: pointer;
                    height: 35px;
                    margin: 0 auto;
                    transition: all ease 0.3s;
                    text-transform: uppercase;
                    background: var(--vc);
                    &:hover {
                        background: var(--lc);
                        color: var(--vc);
                    }
                }
            }
            .not-log {
                width: 50%;
                height: 40px;
                display: flex;
                align-items: center;
                padding: 5px 7.5px;
                justify-content: center;
                color: var(--rc);
                background: rgba(255, 0, 0, 0.075);
                cursor: pointer;
                text-decoration: underline;
                margin: 10px auto;
            }
        }
        .commentaire {
            .commentary {
                width: 90%;
                display: flex;
                flex-direction: column;
                border-top: 1px solid var(--mc);
                border-bottom: 1px solid var(--mc);
                padding: 5px;
                margin: 0 auto 5px auto;
                .name {
                    font-weight: bold;
                    color: var(--mc);
                }
                .content {
                    margin: 2px 0;
                }
                .date {
                    text-align: right;;
                    font-size: 15px;
                    color: rgb(175, 175, 175);
                    font-style: italic;
                }
            }
            .ningun-articulo {
                width: 50%;
                height: 40px;
                display: flex;
                align-items: center;
                padding: 5px 7.5px;
                justify-content: center;
                color: var(--dc);
                background: rgba(0, 0, 0, 4%);
                margin: 10px auto 0 auto;
            }
        }
    }
}

@media (max-width: 768px) {
    main {
        .message-banner {
            font-size: 15px;
        }
        article {
            .date {
                flex-direction: column;
            }
            .title {
                font-size: 25px;
            }
            .container-infos-sup {
                flex-direction: column;
                justify-content:flex-start;
                align-items: flex-start;
                margin-top: 5px;
                .time {
                    img {
                        width: 20px;
                        height: 20px;
                    }
                }
            }
            .clubs {
                font-size: 14px;
            }
            .intro {
                padding: 5px;
            }
            .carousel {
                max-width: 300px;
                max-height: 200px;
                .carousel-track .carousel-item img{
                    max-width: 300px;
                    max-height: 200px;
                }
                .carousel-btn {
                    padding: 10px 5px;
                    font-size: 20px;
                }
            }
            #see-others-profils {
                font-size: 18px;
                &:hover {
                    font-size: 20px;
                }
            }
        }
        #commentaires {
            .comment {
                .header-comment {
                    border-bottom: 2px solid var(--mc);
                    font-size: 20px;
                }
                form {
                    width: 100%;
                    input {
                        width: 80%;
                    }
                }
                .not-log {
                    width: 100%;
                    text-align: center;
                }
            }
            .commentaire {
                .commentary {
                    width:100%;
                    text-align: justify;
                    .name {
                        font-weight: bold;
                        color: var(--mc);
                    }
                }
                .ningun-articulo {
                    width: 100%;
                }
            }
        }
    }
}