/*
 Theme Name: GeneratePress Child
 Theme URI: https://generatepress.com
 Description: Thème enfant de GeneratePress
 Author: Axelle Cousinou
 Template: generatepress
 Version: 1.0
*/

.block-editor-page * {
    backdrop-filter: none !important;
    transform: none !important
}

/* Global */

h1 {
    font-size: 72px; /*A changer avec des valeurs par défaut */
    font-weight: 700;
}

h2 {
    font-size: 24px; /*A changer avec des valeurs par défaut */
    font-weight: 600;
}

.flex {
    display: flex
}

.center {
    justify-content: center;
}

.icon {
    display: flex;
    justify-content: center;
    align-items:center;
    margin: auto
}

.no-a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.section {
    display: flex;
    flex-direction: column;
    padding: 60px 10%;
    gap: 60px
}

.section-large {
    width: 100%;
    padding: 60px;
}

.fond-rose {
    background-color: #EA27C2;
}

.fond-blur-bleu {
    width: 100%;
    height: 100%;

    background: rgba(6, 34, 249, 0.43);
    backdrop-filter: blur(7.5px);
}

a.button-classic {
    color: white;
}

.fond-rose .button-classic:hover {
    box-shadow: 0px 5px 10px #811A6C;
    transform: translateY(-2px);
}

.fond-blur-bleu .button-classic:hover, .fond-blanc .button-classic:hover {
    box-shadow: 0px 5px 10px rgba(6, 34, 249, 0.43);
    transform: translateY(-2px);
}

.section .titre {

    font-weight: 600;
    font-size: 48px;
    line-height: 58px;

    text-align: center;
}

.fond-rose .titre {
    color: #FFFFFF;

    text-shadow: 3px 3px 10px #811A6C;
}

.fond-blanc .titre {
    color: rgba(6, 34, 249, 1);
}

.button-classic {
    display: flex;
    flex-direction: row;

    gap:10px;

    background: rgba(6, 34, 249, 1);

    padding: 0 20px;

    border-radius: 8px;

    box-shadow:none;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.button-classic:hover, .button-classic:focus {

    background: rgba(6, 34, 249, 1);

}

.button-classic:active {
    background: rgb(4, 27, 197);
}

button:disabled, button:disabled:hover {
    transition: none;
    transform: none !important;
    box-shadow: none !important;
    background:rgba(6, 34, 249, 0.359)
}

.button-classic span {
    flex: 1;

    display: flex;        
    align-items: center;
    justify-content: center;

    font-size: 24px;
    padding: 10px 30px;
}

/* p {
    margin: 0;
} */

.footer .divider {
  height: 2px;
  width: 100%;
  background-color: #e6e6e6; 
  margin: 0 auto;
}

.footer .info {
    display: flex;
    justify-content: space-between;
}

.footer .reseaux {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer {
    font-size: 24px;
}

.txt-rose {
    color: #EA27C2;
}

.italic {
    font-style:italic
}

.footer .credits {
    font-size: 16px;
    color: #8d8d8d;
}

.footer .credits a {
    color: #8d8d8d;
    text-decoration: none;
}

.footer .icon {
    margin-right: 0;
}

.centered-txt {
    text-align: center;
}

.sous-txt {
    font-size: 16px;
}

/* Header (menu) */

/* --- HEADER --- */
.custom-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 40px;
    z-index: 1000;
    background: transparent; /* Transparence */
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    width: 13vw;
}

.menu-toggle-fds {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 14px 24px;
    gap: 8px;

    width: 123px;
    height: 52px;

    background: rgba(6, 34, 249, 0.75);

    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.05);
    border-radius: 8px;

    font-weight: 500;
    font-size: 16px;
    line-height: 150%;

    color: #FFFFFF;
}

.menu-toggle-fds:hover {
    background: rgba(6, 34, 249, 1);
}

/* --- POPUP MENU --- */
.popup-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 30%;
    height: 100vh;
    background: #081016;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2000;
    color: white;
    padding-left: 3%;
}

.popup-menu .background {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    z-index: 2001;
}

.popup-menu .background::before{
    content: '';
    position: absolute;
    inset: 0;
    background: #081016eb;
    z-index: 2002;
}

.popup-menu .popup-nav, .popup-menu .contact {
    z-index: 2003;
}

.popup-menu #close-popup {
    cursor:pointer;
}

.popup-menu.active {
    display: flex;
    opacity: 1;
    flex-direction: column;
    gap: 40px;
}

.popup-menu .back {
    display: flex;
    justify-content: right;
}

.popup-menu .back svg {
    transform: scale(-0.7, 0.7);
}

.popup-nav {
    position: relative;

    text-align: center;
}

.popup-menu-content li {
    list-style: none;
    margin: 0;
    text-align: left;
}

.popup-menu-content a {
    font-size: 36px;
    text-decoration: none;
    color: white;
}

.popup-menu-content a:hover {
    opacity: 0.7;
}

.popup-menu-content {
    margin: 0
}

.popup-menu .contact {
    font-size: 12px;
}

.popup-menu .contact .titre {
    font-size: 18px;
    margin-bottom: 10px;
}


/* Page d'accueil */


/* Page Adhésion */

.page-adhesion-hero {
    background-size: cover;
    background-position: center;
    padding: 120px 20px;
    text-align: center;
    color: white;
    position: relative;
    width: 100%;
    height: 50vh; 
    overflow: hidden;
}

.page-adhesion-section h2 {
    margin-bottom: 20px;
} 

.page-adhesion-form {
    margin: auto;
    width: 70%;
}

/* Page Admin */

.page-template-page-admin .content-area {
    margin-top: 5%
}



/* Pages des articles */

.single-post .page-header-image-single {
    width: 100%;
    height: 50vh;
    overflow: hidden;
    display: flex;
}

.single-post .page-header-image-single img {
    object-fit: cover;
}

.single-post .comments-area, .single-post footer.entry-meta, .single-post .byline {
    display: none;
}

.single-post .entry-header, .single-post .entry-content {
    margin: 2% 15%;
}

.single-post .entry-title {
    font-weight: 600;
    font-size: 48px;
    line-height: 58px;

    text-shadow: 2px 2px 3px #41435175;;

    color: rgba(6, 34, 249, 1);
}
