/* VARIABLES */
:root {
    --bs-secondary-color: rgba(35, 182, 83, 1);
    --bs-secondary-color-rgb: 35, 182, 83;
}

.btn-secondary {
    border: 0;
    --bs-btn-bg: rgba(35, 182, 83, 0.75);
    --bs-btn-hover-bg: rgba(35, 182, 83, 0.50);
    --bs-btn-active-bg: var(--bs-secondary-color);
}

.btn-light {
    --bs-btn-border-color: #c6c7c8;
}

.btn-outline-light {
    --bs-btn-color: #ffffff;
}

/* CONTENT */

body {
    padding-top: 4.5rem !important;
}

#whoweare {
    height: auto;
    background-image: url("/img/bgworkimage.jpg");
    background-position: top;
    background-attachment: fixed;
    background-size: contain;
}

#whoweare div, #whoweare img {
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
}

#whoweare div {
    margin-left: 15px;
    margin-right: 15px;
}

#fonctionnement::before, #accueil::before {
    display: block;
    content: " ";
    margin-top: -4.5rem;
    height: 4.5rem;
    visibility: hidden;
    pointer-events: none;
}

.green {
    font-size: 60px;
    align-content: center;
    display: block;
    background: var(--bs-secondary-color);
    width: 140px !important;
    height: 140px !important;
}

.img-logo {
    height: 15rem !important;
}

form {
    --bs-secondary-color: rgba(35, 182, 83, 0.5);
}


/* ANIMATIONS */

.menu__box .card:nth-child(19) {
    animation: menu-loading 1s 4750ms backwards;
}

.load-fade {
    animation: onLoad 1s 50ms;
}

.hoverAnim:hover {
    animation: onHover 0.5s backwards;
}

.hoverAnimRed:hover {
    animation: onHoverReduce 0.5s;
    animation-fill-mode: forwards;
}

@keyframes onLoad {
    0% {
        transform: translateY(30px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes onHover {
    0% {
        transform: scale(100%);
    }
    50% {
        transform: scale(103%);
    }
    100% {
        transform: scale(100%);
    }
}

@keyframes onHoverReduce {
    0% {
        transform: scale(100%);
    }
    100% {
        transform: scale(95%);
    }
}

/* MODALE */

.modal-dialog {
    max-width: 800px;
    margin: 30px auto;
}

.modal-body {
    position: relative;
    padding: 0px;
}

.btn-close {
    position: absolute;
    right: -30px;
    top: 0;
}
