@import "variables.css";

* {
    font-family: Metropolis, Montserrat, Arial, sans-serif;
}

.displayNone {
    display: none;
}

.accordion-button::after {
    display: none;
}

.black-white-cta {
    display: inline-block;
    background-color: var(--dark-color);
    color: white;
    border: 2px solid;
    border-color: var(--secondary-color);
    border-radius: 5px;
    padding: 0.3rem 0.6rem;
    box-shadow: 0.2rem 0.2rem 0 white;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.black-white-cta:hover {
    box-shadow: 0 0 0 transparent;
    transform: translate(0.2rem, 0.2rem);
    transition: 0.1s;
}

.btn:hover {
    box-shadow: 0 0 0 transparent !important;
    transform: translate(0.2rem, 0.2rem) !important;
    transition: 0.1s !important;
}

.dark-cta {
    display: inline-block;
    background-color: var(--dark-color);
    color: white;
    border: 2px solid;
    border-color: var(--secondary-color);
    border-radius: 5px;
    padding: 0.3rem 0.6rem;
    box-shadow: 0.2rem 0.2rem 0 var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.dark-cta:hover {
    box-shadow: 0 0 0 transparent;
    transform: translate(0.2rem, 0.2rem);
    transition: 0.1s;
}

.light-cta {
    display: inline-block;
    background-color: white;
    color: var(--secondary-color);
    border: 2px solid;
    border-radius: 5px;
    border-color: var(--secondary-color);
    padding: 0.3rem 0.6rem;
    box-shadow: 0.2rem 0.2rem 0 var(--secondary-color);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.light-cta:hover {
    box-shadow: 0 0 0 transparent;
    transform: translate(0.2rem, 0.2rem);
    transition: 0.1s;
}

.decorative-img {
    display: none;
}

.transparent-btn {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    display: inline-block;
    background-color: #FFFFFF11;
    backdrop-filter: blur(100px);
    padding: 0.4rem 1rem;
    border: 1px solid #FFFFFF33;
    border-radius: 5px;
}

#section-title,
#our-services,
#africamax-formations,
#africamax-productivity,
#contact,
#products,
#formation-details,
#map-formation {
    padding: 5rem 0;
}

#arrow {
    cursor: pointer;
}

#header button[type=button]:not(:disabled),
#header button[type=button]:not(:disabled):focus,
#header button[type=button]:not(:disabled):active {
    background-color: var(--bg-primary-color);
    color: var(--primary-color);
    border: none;
    box-shadow: none;
}

.header-product {
    padding: 0 0 2rem;
}

/*.container-fluid {*/
/*    padding: 1rem 7rem;*/
/*}*/

.product-btn {
    background-color: var(--primary-color) !important;
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem;
}

.bg-primary {
    background-color: var(--bg-primary-color) !important;
}

.bg-product-color {
    background-color: var(--bg-product-color) !important;
}

.bg-light-product-color {
    background-color: var(--bg-light-product-color) !important;
}

.left-rounded {
    border-radius: 1rem 0 0 1rem !important;
}

.my-7 {
    margin-top: 7rem !important;
    margin-bottom: 7rem !important;
}

.right-rounded {
    border-radius: 0 1rem 1rem 0 !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.dark-gray {
    color: var(--dark-gray-color);
}

#img-productivity {
    width: 50%;
}

#footer-infos {
    background-color: var(--secondary-color);
    color: white;
}

#footer-infos .africamax-info {
    padding-left: 10rem;
}

#footer-rights {
    background-color: var(--primary-color);
}

#section-title h1 {
    font-size: 4.4rem;
}

#section-pub {
    background-color: var(--primary-color);
    padding: 2rem 0;
}

#section-pub .left-text-pub {
    font-size: 2.3rem;
    font-weight: 500;
    line-height: 1.2;
}

#catchphrase {
    background-color: #F79327;
    /*background-image: url("/assets/images/catchphrase-decoration.svg");*/
    /*background-repeat: no-repeat;*/
    /*background-size: cover;*/
}

#catchphrase h2 {
    font-size: 1.4rem;
    font-weight: 600;
}

.accordion-button:focus {
    box-shadow: none !important;
}

.accordion-flush .accordion-collapse {
    background-color: var(--bg-primary-color) !important;
}

#africamaxAccordion h2 button.collapsed {
    background-color: var(--gray-color);
}

#africamaxAccordion h2 button[aria-expanded="true"] {
    color: var(--primary-color);
    font-weight: 500;
    background-color: var(--bg-primary-color);
    box-shadow: none;
    border-radius: var(--bs-border-radius-lg) var(--bs-border-radius-lg) 0 0 !important;
}

/*.devops-text:hover ~ .devops-point-1,*/
/*.devops-text:hover ~ .devops-point-2,*/
/*.devops-text:hover ~ .devops-point-3,*/
/*.devops-text:hover ~ .devops-path,*/
/*.devops:hover + .devops-point-1,*/
/*.devops:hover ~ .devops-point-2,*/
/*.devops:hover ~ .devops-point-3,*/
/*.devops:hover ~ .devops-path {*/
/*    fill: red;*/
/*}*/


/*.container > .devops:hover > #line {*/
/*    stroke: var(--primary-color);*/
/*    stroke-width: 3;*/
/*    stroke-miterlimit: 12;*/
/*}*/

/*#formation-domain #line:hover {*/
/*    stroke: var(--primary-color);*/
/*    stroke-width: 3;*/
/*    stroke-miterlimit: 12;*/
/*}*/

/* ================================================================= */
    /* SVG GESTION DEBUT */
/* ================================================================= */



/* ================================================================= */
/* SVG GESTION FIN */
/* ================================================================= */


/**
    RESPONSIVE
 */

@media screen and (min-width: 1440px)  {
    .displayNone {
        display: block;
    }

    .decorative-img {
        display: inline-block;
    }
    #products h1 {
        position: relative;
    }

    .decorative-img {
        position: absolute;
    }

    #heart-1 {
        left: 7rem;
        top: 3rem;
        width: 0.7rem;
    }

    #heart-2 {
        left: 6rem;
        top: 4rem;
        width: 0.9rem;
    }

    #lightning {
        right: 8rem;
        top: 3rem;
        width: 0.7rem;
    }

    #cross {
        right: 7rem;
        top: 3.8rem;
        width: 0.7rem;
    }
}


@media screen and (max-width: 1024px)  {
    #section-title h1 {
        font-size: 2rem;
    }

    #footer-infos .africamax-info {
        padding: 1rem calc(var(--bs-gutter-x) * .5) 0 calc(var(--bs-gutter-x) * .5);
    }

    #img-productivity {
        width: 100%;
    }

    .dark-cta,
    .light-cta {
        width: 100%;
        font-size: 0.8rem;
        text-align: center;
    }

    .dark-cta {
        margin-bottom: 1rem;
    }
}

@media screen and (max-width: 768px)  {
    #section-title h1 {
        font-size: 2rem;
    }

    #footer-infos .africamax-info {
        padding: 1rem calc(var(--bs-gutter-x) * .5) 0 calc(var(--bs-gutter-x) * .5);
    }
    #img-productivity {
        width: 100%;
    }

    .brand-img {
        margin-bottom: 2rem;
    }
}

@media screen and (max-width: 425px)  {
    .product-btn {
        display: block;
        width: 100%;
    }

    #africamaxAccordion h2 button {
        font-size: 1rem;
    }

    #section-title h1 {
        font-size: 2rem;
    }

    #africamax-main-logo {
        width: 9.0625rem;
    }

    #footer-infos .africamax-info {
        padding: 1rem calc(var(--bs-gutter-x) * .5) 0 calc(var(--bs-gutter-x) * .5);
    }

    #img-productivity {
        width: 100%;
    }

    #section-pub .left-text-pub {
        font-size: 1.6rem;
        font-weight: 500;
        line-height: 1.2;
    }

    #our-services,
    #africamax-formations,
    #africamax-productivity,
    #contact,
    #map-formation-phone {
        padding: 1rem 0;
    }

    #footer-infos {
        margin-top: 3rem;
    }

    #header button[type=button]:not(:disabled) {
        font-size: .8rem;
    }

    .left-rounded,
    .right-rounded {
        border-radius: 0 !important;
    }
}

@media screen and (max-width: 320px)  {
    .dark-cta,
    .light-cta {
        width: 100%;
        font-size: 0.7rem;
        text-align: center;
    }

    .product-btn {
        font-size: .9rem;
    }
}


