/*
Theme Name: Twenty Twenty Child
Theme URI: https://example.com
Description: Thème enfant de Twenty Twenty.
Author: Elice
Author URI: https://example.com
Template: twentytwenty
Version: 1.0
*/
@import url("https://fonts.googleapis.com/css2?family=Barlow:wght@100;200;300;400;500;600;700;800;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@100;200;300;400;500;600;700;800;900&display=swap");

body {
    font-family: "Barlow";
}

h1,
h2,
h3,
h4 {
    font-family: "Oswald" !important;
    font-weight: 500 !important;
    letter-spacing: 1px;
    color: black;
}

h1 {
    font-size: 35px;
}

div h2 {
    color: black !important;
}

h2,
h3 {
    font-size: 30px;
}

h2 {
    margin: 20px 0px 10px !important;
}

a,
path {
    transition: none;
    text-decoration: none !important;
    color: black;
}

p {
    font-size: 18px;
    color: black;
}

header,
#site-header {
    position: relative;
    z-index: 10000;
}

:root {
    --main-deep-purple: #362343;
    --main-purple: #9e79b9;
    --main-purple-hover: #8154a0;
    --main-purple-200: #e2d7ea;
    --main-pink: #cd2653;
}

.header-inner {
    max-width: 168rem;
    padding: 1rem 0;
    z-index: 100;
}

.header-navigation-wrapper a {
    font-size: 20px;
}

#taille-menu-don {
    font-size: 20px;
}

.helloasso-btn {
    background-color: var(--main-deep-purple);
    padding: 20px 30px;
    width: 210px;
    text-decoration: none;
}

.helloasso-btn:hover {
    text-decoration: none;
}

.helloasso-btn a {
    color: var(--main-purple-200);
}

.post-meta {
    display: none;
}

.helloasso-link {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

#site-header .primary-menu ul {
    background-color: var(--main-deep-purple);
}

#site-header .primary-menu>.menu-item>a,
#site-header .primary-menu>.menu-item>span.icon {
    color: var(--main-deep-purple);
}

#site-header .primary-menu ul li.menu-item:hover {
    color: var(--main-pink);
}

main#site-content {
    /* background-image: url("/wp-content/themes/twentytwenty-child/img/background-texture.jpg"); */
    /* background-image: url("/wp-content/themes/twentytwenty-child/img/background-texture3.jpg"); */
    background-image: url("/wp-content/themes/twentytwenty-child/img/background-simple.jpg");
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
    padding-bottom: 30px;
}

main#site-content::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    /* background-color: #c6ff3b4f; */
    background-color: #e392565c;
    z-index: 1;
}

main#site-content>* {
    z-index: 2;
    position: relative;
}

div .wp-dark-mode-switch-styled {
    display: none;
}

.post-inner {
    padding-top: 0px;
}

.entry-header {
    position: relative;
    height: 270px;
    background-image: url("/wp-content/themes/twentytwenty-child/img/introimg.jpg");
    background-size: cover;
    /* L'image couvre tout l'élément sans perdre sa proportion, mais peut être coupée */
    background-repeat: no-repeat;
    background-position-y: center;
}

.entry-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0000008a;
    /* Overlay noir translucide */
    z-index: 1;
}

.entry-header .entry-title {
    position: relative;
    z-index: 2;
    /* Le titre doit apparaître au-dessus de l'overlay */
    color: white;
    /* Titre en blanc pour un bon contraste */
    text-align: center;
    font-weight: bold;
}

h1.entry-title {
    font-size: 40px;
    letter-spacing: 1px;
    color: black;
}

#titre-solidr {
    display: block;
    margin-top: 10px;
    font-size: 44px;
}

.section-carousel h2 {
    display: none;
}

.section-carousel .sp-lc-logo {
    border: 0 !important;
}

.section-carousel .sp-lc-logo img {
    width: 200px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    height: 100px;
    max-width: 100%;
    object-fit: contain;
}

.section-carousel .elementor-widget-container {
    background: white;
    /* padding: 20px; */
    padding: 30px;
    padding-bottom: 0;
    border-radius: 10px;
}

.e-n-accordion {
    font-size: 25px;
}

#card-container {
    margin: 10px;
}

.principal-action-card {
    background-color: white;
    border-radius: 10px !important;
    padding: 25px;
    box-shadow: 1px 1px 1px 1px #402a5021;
    cursor: pointer;
}

#card-container h2 {
    font-size: 2.5rem;
    margin: 0;
}

.principal-action-card {
    justify-content: space-between !important;
}

.principal-action-card img {
    width: 500px;
    height: 300px !important;
    object-fit: cover;
}

#site-footer {
    margin-top: 0 !important;
    background-color: var(--main-deep-purple);
    color: var(--main-pink);
    padding: 20px 0px;
}

#site-footer .section-inner {
    justify-content: center;
}

#site-footer a,
#site-footer p {
    font-family: "Oswald";
}

.footer-credits {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.footer-credits p {
    margin-bottom: 5px;
    color: var(--main-pink);
}

.footer-copyright,
.footer-copyright a {
    font-size: 16px;
    font-weight: normal;
}

.entry-content {
    font-family: "Barlow";
    margin-top: 20px;
}

.entry-content>div {
    max-width: none !important;
}

.entry-content .form-btn {
    background-color: var(--main-purple);
    color: white;
    border-radius: 10px;
}

.entry-content .form-btn:hover {
    background-color: var(--main-purple-hover);
    text-decoration: none;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

form p:nth-last-of-type(2) {
    display: contents;
}

@media (min-width: 768px) {
    .header-inner {
        padding: 0;
        margin-right: 0;
    }

    .helloasso-link {
        margin-top: 0px;
    }

    .helloasso-btn {
        color: var(--main-purple-200) !important;
        padding: 25px;
        margin-left: 20px;
        height: 90px;
    }

    .entry-header {
        height: 430px;
    }

    h1 {
        font-size: 54px;
    }

    h2,
    h3 {
        font-size: 40px;
    }
}

@media (min-width: 1200px) {
    .entry-header {}
}

@media (min-width: 1400px) {
    .entry-header {
        height: 320px;
    }
}

@media (min-width: 1600px) {
    .entry-header {
        height: 36vh;
    }
}

@media (min-width: 1900px) {

    /* Compensate the margin-right 0 on the left side:*/
    .site-logo {
        position: relative;
        left: -15vw;
    }
}

@media (prefers-color-scheme: dark) {
    main#site-content::before {
        background-color: black !important;
    }
}