body{
    background: linear-gradient(to right, var(--linear-gradient-first-color), var(--linear-gradient-second-color));
    --picture-home: url("../../../images/highQuality/facade_avant@x2.jpg");
    --picture-room-1: url("../../../images/rooms/room6_lg.jpg");
    --picture-room-2: url("../../../images/rooms/seminar_lg.jpg");
    --picture-room-1_sm: url("../../../images/rooms/room6_lg.jpg");
    --picture-room-2_sm: url("../../../images/rooms/seminar_lg.jpg");
    --picture-presentation: url("../../../images/highQuality/facade_arr@2x.png");
    --picture-gallery-1: url("../../../images/rooms/room5_lg.jpg");
    --picture-gallery-2: url("../../../images/outdoor/facade_avant_712x698.jpg");
    --picture-gallery-3: url("../../../images/rooms/seminar_lg.jpg");
    --picture-gallery-4: url("../../../images/rooms/room6_lg.jpg");
    --picture-gallery-5: url("../../../images/outdoor/facade_arr_712x698.jpg");
    --picture-gallery-6: url("../../../images/rooms/bureau2_lg.jpg");
}

h1{
    margin-top: 40vh;
    margin-bottom: 20px;
}
h2 {
    font-size: 2em;
    letter-spacing: 0;
    line-height: 115%;
}

.home-picture{
    padding: 0;
    width: auto;
    height: 85vh;
    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-home);

    background-origin: border-box;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    & .container {
        color: var(--light-color);
        & .home-title {
            width: 29vw;
        }
        & span {
            color: var(--light-brick);
        }
        & h2 {
            text-transform: uppercase;
            margin: 20px 0;
            border-top: solid 2px var(--light-color);
            border-bottom: solid 2px var(--light-color);
            padding: 20px 0;
        }
        & .arrow {
            & img {
                margin-top: 20px;
                height: 70px;
            }
        }
    }
}


.home-room{
    height: 80vh;
    & .blocks {
        position: absolute;
        top: 75vh;
        & .block-item {
            margin: 0;
            padding: 0;
        }
        & .picture-block {
            width: 52vh;
            height: 52vh;
            & .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);

            }
            & .picture1 {
                background-image: var(--picture-room-1);
            }
            & .picture2 {
                background-image: var(--picture-room-2);
            }
            & .circle {
                width: 90vh;
                height: 90vh;
                background: rgba(var(--medium-brick-rgb), 0.7);
                border-radius: 50%;
                position: relative;
                top: 50%;
                right: 40%;
            }
            & .picture-text {
                position: relative;
                bottom: 60vh;
                color: var(--light-color);
                text-align: center;
                letter-spacing: 0;
                line-height: 115%;
                & span{
                    font-weight: 900;
                    padding-top: 20px;
                }
            }
            & h3 {
                font-size: 1.6em;
                font-weight: 900;
            }
            & span {

                font-size: 0.9em;
            }
        }
        & .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);
            }
        }
    }
}

.moon {
    width: 347px;
    height: 387px;
    border-radius: 50%;
    box-shadow: -10px 10px 0 var(--light-brick) inset;
    position: absolute;
    top: 160vh;
    left: 25vw;
}
.home-presentation{
    height: 732px;
    background-color: var(--light-brick);
    & .picture{
        width: 45vw;
        height: 732px;
        background-image: var(--picture-presentation);
        background-origin: border-box;
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
    }
    & .text{
        color: var(--cream);
        margin-top: 50px;
        padding-left: 8vw;
        margin-right: 0;
        & h2{
            margin-bottom: 30px;
        }
        & span{
            font-weight: 900;
        }
    }
}

.home-news{
    height: 900px;
    overflow: hidden;
    & .carousel-indicators{
        list-style: inside circle none;
        position: relative;
        bottom: 15vh;
        left: 48vw;
        margin: 0;
        width: 100px;
        height: 10px;
        display: inline-flex;
        & button{
            border-radius: 50%;
            height: 10px;
            width: 10px;
            border: solid 2px var(--medium-brick);
            color: transparent;
            background-color: transparent;
            &.active{
                background-color: var(--medium-brick);
            }
        }
    }
    & .picture-block {
        width: 45vw;
        & picture {
            width: 548px;
            height: 749px;
            border-radius: 30px;
            overflow: hidden;
            display: flex;
            justify-content: center; /* Center the content (image) horizontally */
            align-items: center;
            & .picture {
                display: block;
                max-width: 100%;
                max-height: 100%;
                border-radius: 30px;
            }
        }
    }
    & .text-block{
        height: 700px;
        margin-left: 60px;
        & .title{
            margin-top: 210px;
            margin-bottom: 20px;
        }
        & h2{
            color: var(--medium-brick);
        }
        & .date{
            margin: 20px 0;
            color: var(--light-brick);
            & p{
                padding: 7px 0;
                width: fit-content;
                border-top: solid 1px var(--light-brick);;
                border-bottom: solid 1px var(--light-brick);
                line-height: 115%;
                font-weight: 900;
                font-size: 0.9em;
            }
            & .text-description{
                width: 100%;
                overflow: hidden;
            }
        }
    }
}

.home-gallery{
    height: 140vh;
    & .logo{
        height: 113px;
        width: 227px;
    }
    & p{
        font-size: 2em;
        line-height: 115%;
        font-weight: 900;
        color: var(--light-brick);
    }
    & .picture-block{
        margin-top: 30px;
        padding: 0 10vw;
        & .picture{
            background-origin: border-box;
            background-repeat: no-repeat;
            background-position: center;
            background-size: cover;
            width: 42vh;
            height: 42vh;
            border-radius: 20px;
            overflow: hidden;
            border: solid 10px rgb(255, 255, 255);
            background-color: var(--light-color);
        }
        & .picture1{
            background-image: var(--picture-gallery-1);
        }
        & .picture2{
            background-image: var(--picture-gallery-2);
        }
        & .picture3{
            background-image: var(--picture-gallery-3);
        }
        & .picture4{
            background-image: var(--picture-gallery-4);
        }
        & .picture5{
            background-image: var(--picture-gallery-5);
        }
        & .picture6{
            background-image: var(--picture-gallery-6);
        }
    }
}

/*    line-height: 20px;
    letter-spacing: 5px;
    word-spacing: 10px;

*/

@media (max-width: 1400px) {
    body{
    font-size: 16px;
    }

    h1{
        margin-top: 30vh;
    }
    h2 {
        font-size: 2em;
        font-weight: 900;
        line-height: 115%;
    }

    p{
        font-size: 1em;
        line-height: 160%;
    }
    .home-room{
        height: 90vh;
    }
    .moon{
        top: 165vh;
        left: 15vw;
    }
}

@media (max-width: 992px){
    h2{
        font-size: 1.8em;
    }
    .home-picture{
        background-position: 35% 50%;
        height: 75vh;
        & h1{
            padding: 0 2vw;
        }
        & .container {
            & h2 {
                padding: 0 2vw;
            }
            & .arrow {
                & img {
                    display: none;
                }
            }
        }
    }
    .home-room{
        height: auto;
        & .blocks {
            position: relative;
            top: 0;
            & .block-item{
                margin: 5vh 0;
            }

            & .picture-block {
                width: 52vh;
                height: 52vh;
                & .picture {
                    width: 50vh;
                    height: 50vh;
                }
                & .circle {
                    width: 90vh;
                    height: 90vh;
                    top: 50%;
                    right: 60%;
                }
                & .picture1 {
                    background-image: var(--picture-room-1_sm);
                }
                & .picture2 {
                    background-image: var(--picture-room-2_sm);
                }
                & .picture-text {
                    position: relative;
                    bottom: 60vh;
                    & span{
                        font-weight: 900;
                        padding-top: 20px;
                    }
                }
                & h3 {
                    font-size: 1.4em;
                    font-weight: 900;
                }
                & span {
                    font-size: 0.9em;
                }
            }
            & .text-block{
                margin-top: 30px;
                font-size: 16px;
                text-align: center;
                letter-spacing: 0;
                line-height: 160%;
                & p{
                    padding-right: 0;
                    padding-left: 0;
                }
            }
        }
    }


    .moon {
        width: 136px;
        height: 153px;
        border-radius: 50%;
        box-shadow: -10px 10px 0 var(--light-brick) inset;
        position: absolute;
        top: 265vh;
        left: 60vw;
    }
    .home-presentation{
        margin-top: 5vh;
        height: 1050px;
        & .picture{
            width: 100%;
            height: 288px;
        }
        & .text{
            margin-top: 50px;
            & h2{
                margin-bottom: 30px;
            }
            & span{
                font-weight: 900;
            }
        }
    }

    .home-news{
        height: 100%;
        margin-top: 10vh;
        margin-bottom: 8vh;
        & .carousel-indicators{
            bottom: 1vh;
            left: 35vw;
           
            & button{
                border-radius: 50%;
                height: 10px;
                width: 10px;
                border: solid 2px var(--medium-brick);
                color: transparent;
                background-color: transparent;
                &.active{
                    background-color: var(--medium-brick);
                }
            }
        }
        & .picture-block {
            width: 100%;
            & picture {
                width: 95%;
                height: auto;
                border-radius: 30px;
                overflow: hidden;
                display: flex;
                justify-content: center; /* Center the content (image) horizontally */
                align-items: center;
                & .picture {
                    display: block;
                    max-width: 100%;
                    max-height: 100%;
                    border-radius: 30px;
                }
            }
        }
        & .text-block{
            height: 100%;
            margin-left: 0;
            text-align: center;
            & .title{
                margin-top: 20px;
                margin-bottom: 20px;
            }
            & h2{
                color: var(--medium-brick);
            }
            & .date{
                margin: 20px 0;
                color: var(--light-brick);
                & p{
                    width: auto;
                }
                & .text-description{
                }
            }
        }
    }


    .home-gallery{
        height: 100%;
        margin-bottom: 10vh;
        & .logo{
            height: 80px;
            width: 161px;
        }
        & p{
            font-size: 1.5em;
        }
        & .picture-block{
            margin-top: 30px;
            margin-bottom: 10px;
            padding: 0;

            & .picture{
                background-origin: border-box;
                background-repeat: no-repeat;
                background-position: center;
                background-size: cover;
                width: 100%;
                height: 100%;
                border-radius: 20px;
                overflow: hidden;
                border: solid 10px rgb(255, 255, 255);
                background-color: var(--light-color);
            }

        }

        & .carousel-indicators{
            list-style: inside circle none;
            position: relative;
            bottom: 0;
            left: 20vw;
            margin: 0;
            width: 200px;
            height: 10px;
            display: inline-flex;
            & button{
                border-radius: 50%;
                height: 10px;
                width: 10px;
                border: solid 2px var(--medium-brick);
                color: transparent;
                background-color: transparent;
                &.active{
                    background-color: var(--medium-brick);
                }
            }
        }
    }

}