/*
 Theme Name: Divi Child
 Theme URI: https://www.elegantthemes.com/gallery/divi/
 Description: Divi Child Theme
 Author: EcloLINK
 Author URI: https://eclolink.com
 Template: Divi
 Version: 1.0.0
*/

/* =Theme customization starts here
------------------------------------------------------- */
/*some default rules for boulangerie chez charles*/


img {
    user-drag: none;
    -webkit-user-drag: none;
}
html {
    scroll-behavior: smooth;
}

:focus-visible {
    outline: 1px solid #d3a65d;
    outline-offset: 2px;
}

.section-flex {
    display: flex;
}
.section-flex-bottom{
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.ligne-hrzntl-align {
    display: flex;
    flex-direction: row;
    align-items:center;
}
.gap-20{
    gap: 20px;
}
.ligne-vrtcl-align {
    display: flex;
    flex-direction: column;
    align-items:center;
}
.ligne-flex {
    display: flex;
}
.full-height-img,
.full-height-img .et_pb_image_wrap,
.full-height-img .et_pb_image_wrap img{
    height:100%
}
.full-height-img .et_pb_image_wrap img{
    object-fit: cover;
}

.f-w-deco{
    margin: auto;
}
@media screen and (max-width:980px){
    .ligne-hrzntl-align,
    .ligne-flex {
        display: flex;
        flex-direction: column;
    }
}

/* Fonts clamps*/

.h1,.h2,.h3,
h1,h2,h3{
    font-family: 'Dancing Script', cursive;
    font-weight: 700;
}
.h4,.h5,.h6,
h4,h5,h6{
    font-family: 'Open Sans', sans-serif;
}
.h1 {
    font-size: clamp(39.6px, calc(39.6px + (21.4 * ((100vw - 320px) / 1120))), 61px);
}
.h2 {
    font-size: clamp(31.9px, calc(31.9px + (17.1 * ((100vw - 320px) / 1120))), 49px);
}
.h3 {
    font-size: clamp(25.35px, calc(25.35px + (13.65 * ((100vw - 320px) / 1120))), 39px);
}
.h4 {
    font-size: clamp(20.15px, calc(20.15px + (10.85 * ((100vw - 320px) / 1120))), 31px);
}
.h5 {
    font-size: clamp(16.25px, calc(16.25px + (8.75 * ((100vw - 320px) / 1120))), 25px);
}
.h6 {
    font-size: clamp(13px, calc(13px + (7 * ((100vw - 320px) / 1120))), 20px);
}

/*deco des titres */
.titre-deco-arabesques {
    display: flex;
    flex-direction: row;
    gap: 16px;
    justify-content: center;
    line-height: 1em;
    align-items: center;
}

.titre-deco-arabesques.left {
    justify-content: flex-start;
}

.titre-deco-arabesques:before {
    content: "";
    background: url(/wp-content/uploads/2025/08/Arabesque-G.svg);
    width: 50px;
    height: 23px;
    background-size: contain;
    background-repeat: no-repeat;
    display: block;
}

.titre-deco-arabesques:after {
    content: "";
    background: url(/wp-content/uploads/2025/08/Arabesque-D.svg);
    width: 50px;
    height: 23px;
    background-size: contain;
    background-repeat: no-repeat;
    display: block;
}

@media screen and (min-width: 980px) {
    .titre-deco-arabesques:after, .titre-deco-arabesques:before {
        width: 54px;
        height: 26px;

    }
}

/*default button*/
body #page-container .et_pb_section div.btn-charles a.et_pb_button_one.btn-rouge.et_pb_button:after,
body #page-container .et_pb_section div.btn-charles a.et_pb_button_two.et_pb_button:after,
body #page-container .et_pb_section a.et_pb_button.btn-charles:after,
body #page-container .et_pb_section a.et_pb_button.btn-charles:after {
    content: "\24";
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: calc(50% - 0px);
    left: calc(100% + 5px);
    border-radius: 5px;
    height: 0;
    width: 0;
    padding: 0;
    margin: 0;
    font-size: 0;
    opacity: 0;
    z-index: 2;
    transition: all 0.3s ease-in-out;
}
body #page-container .et_pb_section div.btn-charles a.et_pb_button_one.et_pb_button:hover:after,
body #page-container .et_pb_section div.btn-charles a.et_pb_button_two.et_pb_button:hover:after,
body #page-container .et_pb_section a.et_pb_button.btn-charles:hover:after,
body #page-container .et_pb_section a.et_pb_button.btn-charles:hover:after {
    top: calc(50% - 20px);
    font-size: 28px;
    height: 100%;
    width: 40px;
    opacity: 1;
    background: #CF8D3D;
    animation: popout-btn ease-in-out 0.4s;
}

body #page-container .et_pb_section div.btn-charles a.et_pb_button_one:hover {
    animation: pushitems-btn ease-in-out 0.4s;
    margin-right: 40px;
}


