#section-video {
    align-items: center; 
    display: flex;
    height: 500px;
    justify-content: center;
    padding-top: 14%;
}

@media screen and (max-width : 1014px) {
    #section-video {
        height: 650px;
        padding-top: 40%;
    }
}

@media screen and (max-width : 545px) {
    #section-video {
        height: 500px;
        padding-top: 30%;
    }
}

/* -----VIDEO DE FOND----- */
#bg-video {
    height: 100%;
    left: 0;
    object-fit: cover;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: -2;
}

/* -----FONCER LA VIDEO----- */
.overlay {
    background: rgba(0, 0, 0, 0.4);
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: -1;
}

/* -----CONTENU SUPPERPOSE BACKGROUND----- */
#bg-content {
    align-items: center;
    color: white;
    display: flex;
    flex-direction: column;
    height: 100vh;
    position: relative;
    text-align: center;
}

/* -----LOGO COQUILLAGE----- */
#logo-home-video {
    height: 60px;
}

/* -----TITRE DE LA VIDEO----- */
#title-home-video {
    color: white;
    font-family: var(--font-title);
    font-size: 40px;
    margin-top: 30px;
}

@media screen and (max-width : 1024px) {
    #title-home-video {
        font-size: var(--font-size-title);
    }
}

@media screen and (max-width : 545px) {
    #title-home-video {
        font-size: var(--font-size-title-mobile);
    }
}

/* -----SOUS-TITRE DE LA VIDEO----- */
#subtitle-video {
  margin-bottom: 100px;
}

@media screen and (max-width : 545px) {
    #subtitle-video {
        font-size: var(--font-size-title-mobile);
    }
}

#bloc-shell-blue-home {
    justify-content: center;
}

#shell-blue-home {
    height: 80px;
}

@media screen and (max-width : 545px) {
    #shell-blue-home {
        height: 50px;
        margin-bottom: 30px;
    }
}

/* -----CATEGORIES----- */
.home-category {
    align-items: center;
    background-position: center;
    background-size: cover;
    border-radius: 8px;
    box-sizing: border-box;
    display: flex;
    font-family: var(--font-title);
    font-size: var(--font-size-subtitle);
    height: 200px;
    justify-content: center;
    padding: 1cm;
    position: relative;
    text-align: center;

}

.home-category::before {
    border: 2px solid white;
    border-radius: 8px;
    bottom: 0.5cm;
    content: "";
    left: 0.5cm;
    pointer-events: none;
    position: absolute;
    right: 0.5cm;
    top: 0.5cm;
}

@media screen and (max-width : 1024px) {
    .subtitle-home {
        font-size: 35px;
    }
}

#category-1 {
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
        url(../images/home/picture-services.jpg);
        text-decoration: none;
}

#category-1:hover {
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)),
        url(../images/home/picture-services.jpg);
}

#category-2 {
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
        url(../images/home/picture-accomotion.jpg);
        text-decoration: none;
}

#category-2:hover {
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)),
        url(../images/home/picture-accomotion.jpg);
}

#category-3 {
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
        url(../images/home/picture-experience.jpg);
        text-decoration: none;
}

#category-3:hover {
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)),
        url(../images/home/picture-experience.jpg);
}

#section-image-home {
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)),
        url(../images/home/background-functioning.jpg);
}

.block-category-left {
    margin: 10px;
    margin-left: 0;
    flex: 1;
    flex-basis: 100%;
}

@media screen and (max-width : 545px) {
    .block-category-left { 
        flex-basis: auto;
        margin: 10px 0;
    }
}

.block-category-center {
    margin: 10px;
    flex: 1;
    flex-basis: 100%;
}

@media screen and (max-width : 545px) {
    .block-category-center { 
        flex-basis: auto;
        margin: 10px 0;
    }
}

.block-category-right {
    margin: 10px;
    margin-right: 0;
    flex: 1;
    flex-basis: 100%;
}

@media screen and (max-width : 545px) {
    .block-category-right { 
        flex-basis: auto;
        margin: 10px 0;
    }
}

.text-number {
    color: var(--primary-color);
    font-family: var(--font-title);
    font-size: 25px;
}

.circle-number {
    background-color: white;
    width: 80px;
    height: 80px;
    border-radius: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}