/*
 Theme Name:     Divi creative agency
 Theme URI:      https://demo.infomaniak.com/preview?t=divi-creative-agency
 Description:    Votre site sera constitue de plusieurs pages (accueil, blog, contact, etc...) que vous pourrez librement personnaliser selon vos besoins.
 Author:         Infomaniak
 Author URI:     https://www.infomaniak.com
 Template:       Divi
 Version:        1.0.0
*/

@import url("../Divi/style.css");

/*
* HOMEPAGE
*/
#page-container {
    display: contents;
}
#page-container #main-header {
    background-color: #ffffff00;
    box-shadow: none !important;
}
#logo {
    max-height: 90%;
}
/*#top-menu li a {
    color: #000000;
}
#top-menu li a:hover {
    color: #fffb00;
} */
#top-menu li.current-menu-item > a {
    color: #262626;
}
footer#main-footer #footer-bottom #footer-info,
footer#main-footer #et-footer-nav .container {
    text-align: center;
}
footer#main-footer #footer-bottom #footer-info {
    width: 100%;
}
footer #footer-bottom {
    background-color: transparent;
    padding: 0;
}
footer #footer-bottom p {
    padding-bottom: 0;
}
footer .bottom-nav {
    padding: 0 0 15px;
}
footer .footer-container {
    display: flex;
    align-items: center;
    padding: 20px 0;
}
footer .footer-container p,
footer .footer-container a,
footer #footer-info {
    color: #bbbbbb;
    font-size: 16px;
    line-height: 1.3;
}
footer .footer-container a:hover,
footer .footer-container .footer-adresse li:not(.current-menu-item) a:hover,
footer #footer-info a:hover {
    color: #fffb00;
}
footer .footer-container .footer-adresse {
    flex: 1;
}
footer .footer-container .footer-adresse p {
    padding-bottom: 0;
}
footer .footer-container .footer-menu {
    flex: 3;
}
footer .footer-container .footer-contact {
    flex: 1;
}
footer .footer-container .footer-contact .social-icon {
    margin-top: 10px;
    height: 20px;
    width: auto;
    transition: filter 0.3s ease, transform 0.3s ease; /* Smooth effect */
}
footer .footer-container .footer-contact .social-icon:hover {
    filter: sepia(1) saturate(400%); /* Turns white to golden */
    transform: scale(1.1); /* Optional: Slight zoom effect */
}
/*
 Individus page
 */
article#post-28981 {
    background-color: #6bb85b;
}
/*
 Contact page
 */
body
    #page-container
    article#post-45
    .et_pb_section
    .et_pb_contact_form_0.et_pb_contact_form_container.et_pb_module
    .et_pb_button {
    margin-inline: 0 !important;
}
body
    #page-container
    article#post-45
    .et_pb_section
    .et_pb_contact_form_0.et_pb_contact_form_container.et_pb_module
    .et_pb_button:hover {
    background-color: #00a9d3;
    color: #ffffff;
}
body
    #page-container
    article#post-45
    .et_pb_section
    .et_pb_contact_form_0.et_pb_contact_form_container.et_pb_module
    .et_pb_button:first-child {
    margin-left: 3% !important;
    color: #6bb85b;
    cursor: pointer;
    transition: all 0.6s ease;
}
body
    #page-container
    article#post-45
    .et_pb_section
    .et_pb_contact_form_0.et_pb_contact_form_container.et_pb_module
    .et_pb_button:first-child:hover {
    background-color: #69bc5f;
    color: #ffffff;
}
body .et_contact_bottom_container {
    float: initial;
    text-align: initial;
    justify-content: space-between;
}
/* Small devices (tablets, 980px and up)*/
@media only screen and (min-width: 980px) {
    #top-menu {
        display: flex;
    }
    #top-menu li {
        text-align: center;
        width: 100%;
        padding: 10px 20px;
        transition: all 0.6s ease;
        border-radius: 5px;
    }
    #top-menu li a,
    #top-menu li {
        --text-color: #000000;
        color: var(--text-color) !important;
    }
    #top-menu li:hover {
        background-color: #ffffff;
        --text-color: #000000;
    }
    #top-menu-nav > ul > li > a:hover {
        opacity: 1;
    }
    #top-menu li:first-of-type:hover,
    #top-menu li:nth-of-type(4):hover {
        background-color: #35a8d2;
        --text-color: #ffffff;
    }
    #top-menu li:first-of-type a:hover,
    #top-menu li:nth-of-type(4) a:hover {
        color: #ffffff;
    }
    #top-menu li:nth-of-type(2):hover {
        background-color: #69bc5f;
        color: #ffffff;
    }
    #top-menu li:nth-of-type(2) a:hover {
        color: #ffffff;
    }
    .et_header_style_left #et-top-navigation nav > ul > li > a {
        padding-bottom: 0 !important;
    }
    #top-menu > li:last-child {
        padding-right: 15px !important;
    }
}
/* Large devices (Monitors, 1440px and down)  
@media only screen and (max-width: 1440px) {
}

/* Medium devices (Laptop, 1280px and down) 
@media only screen and (max-width: 1280px) {
}

/* Small devices (tablets, 992px and down)
@media only screen and (max-width: 992px) {
}

/* Extra small devices (phones, 768px and down) */
@media only screen and (max-width: 768px) {
    footer .footer-container {
        flex-direction: column;
    }
    footer .footer-container .footer-adresse,
    footer .footer-container .footer-menu,
    footer .footer-container .footer-contact {
        margin-bottom: 20px;
    }
}

/* Tiny devices (phones, 460px and down) 
@media only screen and (max-width: 460px) {
}
*/
