body{
    background:  linear-gradient(to right, var(--linear-gradient-first-color), var(--linear-gradient-second-color));
    --picture-company: url("../../../images/company/Les Bulles d'Awen - facade arrière@2.webp");
    --picture-presentation: url("../../../images/company/Les Bulles d'Awen - facade.avif");
}

h1{
    margin-top: 25vh;
    margin-bottom: 20px;
}

.company-picture{
    padding: 0;
    width: auto;
    height: 70vh;
    background:
            linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
            linear-gradient(to bottom, rgba(0, 0, 0, 0.0) 30%, rgba(0, 0, 0, 0.5)),
            var(--picture-company);

    background-origin: border-box;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    & .container {
        color: var(--light-color);
        & .company-title {
            & h1{
                text-align: center;
            }

        & span {
            color: var(--light-brick);
        }
        & h2 {
            font-size: 1.2em;
            text-transform: uppercase;
            margin: 20px 0;
            letter-spacing: 0;
            line-height: 115%;
            border-top: solid 2px var(--light-color);
            border-bottom: solid 2px var(--light-color);
            padding: 20px 0;

        } }
    }
}

.company-introduction{
    position: relative;
    bottom: 15vh;
    & .introduction-block {
        background-origin: border-box;
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        border-radius: 30px;
        overflow: hidden;
        border: solid 10px rgb(255, 255, 255);
        background-color: var(--light-color);
        & .introduction-text{
            padding: 40px;
            font-size: 18px;
            text-align: left;
            letter-spacing: 0;
            line-height: 160%;
            & p{
                padding-right: 0;
                padding-left: 0;
            }
        }
        & .text-block{
            margin-top: 30px;
            font-size: 18px;
            text-align: center;
            letter-spacing: 0;
            line-height: 160%;
            & p{
                padding-right: 0;
                padding-left: 0;
            }
            & span{
                color: var(--medium-brick);
            }
        }
    }
}

.company-presentation{
    padding: 0;
    margin: 0;
    .presentation-block{
        padding: 0 10vw;
        & .picture{
            background-origin: border-box;
            background-repeat: no-repeat;
            background-position: center;
            background-size: cover;
            width: 50vh;
            height: 50vh;
            border-radius: 30px;
            overflow: hidden;
            border: solid 10px rgb(255, 255, 255);
            background-color: var(--light-color);
            background-image: var(--picture-presentation);
        }
        & .text{
            color: var(--light-brick);
            margin-top: 50px;
            margin-right: 0;
            & h2{
                margin-bottom: 30px;
            }
        }
    }
    .presentation-block.second-block{
        margin-top: 30px;
        padding-right: 1.5rem;
        padding-left: 1.5rem;
        & h2{
            color: var(--light-brick);
            margin-bottom: 1em;
        }
        & h3{
            color: var(--light-brick);
            font-size: 1.5em;
            margin: .8em 0;
        }
        & p{
            margin: 20px 0;
        }
        & a{
            margin: 20px 0;
        }
    }
}

@media (max-width: 992px){
    .company-picture{
        min-height: 700px;
    }
    .company-introduction{
        & .introduction-block{
            & .introduction-text{
                padding: 20px;
            }
        }
    }
    .company-presentation {
        padding: 0 calc(var(--bs-gutter-x) * .5);

        .presentation-block {
            padding: 0;

            & .picture {
                max-width: 100%;
                max-height: 100%;
                width: auto;
            }
        }
    }
    .company-presentation.contact-gallery {
            height: 100%;
            margin-bottom: 6vh;


                .carousel-inner {
                    width: 100%;
                    height: 450px;
                    margin-top: 30px;
                    margin-bottom: 10px;
                    padding: 0;
                    min-width: 0;

                    & .picture-block {
                        position: relative;
                        width: 100%;
                        height: 100%;
                        overflow: hidden;
                        border: 10px solid white;
                        border-radius: 20px;
                        box-sizing: border-box;

                        & .picture {
                            position: absolute;
                            width: 100%;
                            height: 100%;
                            object-fit: cover;
                            object-position: center;
                        }

                }

            }

            & .carousel-indicators {
                list-style: inside circle none;
                position: relative;
                bottom: 0;
                justify-content: center;
                height: 10px;
                display: inline-flex;
                left: 50%;
                right: auto;
                transform: translateX(-50%);
                margin-left: 0;
                margin-right: 0;
                width: max-content;

                & button {
                    border-radius: 50%;
                    height: 14px;
                    width: 14px;
                    border: solid 2px var(--medium-brick);
                    color: transparent;
                    background-color: transparent;

                    &.active {
                        background-color: var(--medium-brick);
                    }
                }
            }

    }
}