.aboutUsMain {
    position: relative;
    background-image: url('/assets/img/quiSommeNous/machine_à_coudre.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    z-index: 1;
    padding-top: 2rem;

    &::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.35);
        z-index: -1;
    }

    h1, h2 {
        color: white;
        text-transform: uppercase;
        text-align: center;
        font-size: 1rem;
        padding: 0.5rem;
        border-radius: 0.25rem;
        width: fit-content;
        margin: 0 auto;

        .frenchFlagContainer {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            border-bottom-left-radius: 0.25rem;
            border-bottom-right-radius: 0.25rem;

            .frenchFlagPiece {
                height: 2px;
            }

            #frenchFlagBluePiece {
                background-color: #004eb4;
                border-bottom-left-radius: 0.25rem;
            }
            
            #frenchFlagWhitePiece {
                background-color: white;
            }
            
            #frenchFlagRedPiece {
                background-color: rgb(255, 17, 17);
                border-bottom-right-radius: 0.25rem;
            }
        }

        @media (min-width: 764px) {
            font-size: 1.25rem;
        }
    }

    #aboutUs {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding: 2rem;

        @media (min-width: 1024px) {
            gap: 4rem;
        }

        .aboutUsSectionContainer {
            display: flex;
            flex-direction: column;
            gap: 1rem;

            @media (min-width: 1024px) {
                flex-direction: row;
            }
            
            .aboutUsSectionCard {
                display: flex;
                flex-direction: column;
                gap: 1rem;
                border-radius: 0.25rem;
                background-color: white;
                box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.4);
                max-width: 450px;
                margin: 0 auto;
                height: fit-content;
                
                .aboutUsCardTopContent {
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    gap: 1rem;

                    h3 {
                        text-transform: uppercase;
                        color: #232F3E;
                        font-size: 1rem;
                        padding: 0.5rem 1rem;
                    }

                    img {
                        width: 32px;
                    }
                }

                .aboutUsSectionContent {
                    text-align: center;
                    padding: 0.5rem 1rem;

                    ul {
                        display: flex;
                        flex-direction: column;
                        gap: 0.5rem;

                        li {
                            list-style: none;
                        }
                    }
                }

                .frenchFlagContainer {
                    display: grid;
                    grid-template-columns: 1fr 1fr 1fr;
                    border-bottom-left-radius: 0.25rem;
                    border-bottom-right-radius: 0.25rem;

                    .frenchFlagPiece {
                        height: 10px;
                    }

                    #frenchFlagBluePiece {
                        background-color: #004eb4;
                        border-bottom-left-radius: 0.25rem;
                    }
                    
                    #frenchFlagWhitePiece {
                        background-color: white;
                    }
                    
                    #frenchFlagRedPiece {
                        background-color: rgb(255, 17, 17);
                        border-bottom-right-radius: 0.25rem;
                    }
                }
            }
        }
    }

    #aboutUsBetweenSectionContent {
        background-color: white;
        text-align: center;
        color: #222;
        text-align: center;
        padding: 1rem;
        box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.6);

        @media (min-width: 1024px) {
            font-size: 1.25rem;
        }
    }

    .aboutUsSection {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        align-items: center;
        justify-content: center;

        .aboutUsSectionImgContainer {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 2rem;

            @media (min-width: 1024px) {
                display: grid;
                grid-template-columns: 1fr 1fr;
                align-items: center;
                justify-content: center;
            }
        }

        h2 {
            color: white;
            margin-top: 2rem;
        }

        .aboutUsSectionP {
            background-color: white;
            color: #232F3E;
            text-align: center;
            padding: 1rem;
            width: 100%;
            box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.6);

            @media (min-width: 1024px) {
                font-size: 1.25rem;
            }
        }

        .black {
            background-color: #222;
            color: white;
            text-align: center;
            padding: 1rem 0;
        }

        h2 {
            text-transform: uppercase;
            text-align: center;
            font-size: 1.25rem;
        }

        .aboutUsBlackH2 {
            color: #222;
        }

        img {
            width: 90%;
            margin: 0 auto;
            box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.6);
            border-radius: 0.25rem;

            @media (min-width: 1024px) {
                max-width: 600px;
            }
        }
    }

    #exceptionalCostume {
        background-color: #222;
        padding-bottom: 2rem;
    }

    #disfraPants {
        background-color: white;
        padding-bottom: 2rem;
    }

    #trustUs {
        background-color: #002B5C;
        display: flex; 
        flex-direction: column;
        gap: 2rem;
        align-items: center;
        justify-content: center;
        padding-bottom: 2rem;

        div {
            background-color: white;
            color: #222;
            text-align: center;
            padding: 1rem 0;
        }

        .aboutUsVideoContainer {
            height: fit-content;
            padding: 0;
            border-radius: 0.25rem;
            box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.6);
            position: relative;
            width: 80%;
            max-width: 960px;
            margin: 0 auto;
            margin-top: 2rem;
            aspect-ratio: 16 / 9;

            @media (min-width: 1024px) {
            max-width: 1200px;
            }
            
            iframe {
                position: absolute;
                inset: 0;
                width: 100%;
                height: 100%;
                border: 0;
            }
        }

        .trustSectionImgContainer {
            display: flex;
            align-items: center;
            gap: 2rem;
            background-color: unset;

            @media (min-width: 1024px) {
                justify-content: space-around;
                gap: unset;
                width: 50%;
            }

            img {
                max-width: 150px;
                padding: 1rem;
                background-color: white;
                border-radius: 0.25rem;
                margin: 0 auto;
                box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.6);
            }
        }
    }
}