/* Image en fond fixe sur une zone réduite */
#container-background-image {
    min-height: 400px;
    padding-left: 0px;
    padding-right: 0px;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    padding-top: 0px;
    padding-bottom: 0px;
    margin-top: 1%;
    background-position: center center;
    width: 100%;
}

p.width-70 {
    margin: 0 15% 10px !important;
}


div.box{
    margin: 10px 25%;
    width: 50%;
    box-sizing: border-box;
    display: flex;
    gap: 2%;
}

.box1,
.box2 {
    padding: 1%;
    color: white;
    box-sizing: border-box;
    text-align: left;
}

.box1 {
    background-color: var(--color-background);
}

.box2 {
    background-color: var(--color-background-secondary);
}

@media (min-width: 900px) {
    .box1,
    .box2 {
        width: 50%;
    }
}

/* Animation gauche */
.animate-left {
    opacity: 0;
    transform: translateX(-25%);
}

/* Animation droite */
.animate-right {
    opacity: 0;
    transform: translateX(25%);
}

/* animation à ajouter quand visible */
.visible {
    animation: slideIn 0.6s ease forwards;
}

@keyframes slideIn {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.borderbox{
    margin: auto;
    width: 70%;
    padding: 1%;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    border-style: solid;
    border-color: rgba(222, 129, 23, 1);
    display: flex;
    flex-flow: row wrap;
}
.borderbox div{
    flex: auto;
    height: 250px;
    min-width: 150px;
    margin: 0 8px 8px;
}
.borderbox div img{
    object-fit: scale-down;
    width: 100%;
    height: 100%;
}

@media only screen and (min-width: 1024px) {
    .borderbox div {
        width: 30%;
    }
}
.align-left {
    text-align: left;
    width: 80%;
    margin: auto;
}