@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Heebo:wght@100;200;300;400;500;600;700;800;900&display=swap');

:root {
    --yellow: #FCC306;
    --green: #0A363F;
    --transition_normal: ease-in 0.3s;
    --titre: 'Bebas Neue';
    --corp: 'Open Sans';
}

::selection {
    background-color: #fcc30682;
    color: white;
}

::-webkit-scrollbar {
    display: none;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    overflow: visible;
}

html {
    overflow-x: clip;
    height: 100%;
}

body {
    width: 100vw;
    max-width: 100%;
    padding: 0;
    margin: 0;
    overflow-x: clip;
    height: 100%;

}

/* PAGE DE CHARGEMENT */

#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--green);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: var(--yellow);
    font-size: 48px;
    z-index: 1000;
    transition: transform 1s ease-in-out;
}

#loading-screen img {
    width: 30%;
}

#percentage {
    font-size: 48px;
    font-weight: bold;
}

/* ----- HEADER ----- */

#header-container {
    width: 100%;
    top: 0;
    position: fixed;
}

header {
    background-color: var(--green);
    width: 100%;
}

.container_logo {
    display: flex;
    justify-content: center;
    height: 15vh;
    background-color: var(--green);
    transition: cubic-bezier(0.075, 0.82, 0.165, 1);
}

.container_logo img {
    max-height: -webkit-fill-available;
    transform: scale(0.75);

}

#logo_nav {
    width: 80px;
}

.logo_reveal {
    display: none;
    transition: 3s;
}

#header hr {
    margin: 0;
    background-color: white;
    height: 2px;
}

/* ----- GLOBALE ----- */


h1 {
    color: #000;
    text-align: center;
    font-family: var(--titre);
    font-size: 64px;
    font-weight: 400;
}

h2 {
    color: #000;
    text-align: center;
    font-family: var(--titre);
    font-size: 45px;
    font-weight: 400;
    margin: 10px 0;
}

h3 {
    font-family: var(--titre);
    font-weight: 400;
    text-align: center;
    font-size: 25px;
}

p {
    margin: 0 5%;
    text-align: center;
    font-family: var(--corp);
    font-size: 20px;
}

@media (min-width: 769px) {
    #icon-menu {
        display: none;
    }
}

@media (max-width: 768px) {
    p {
        font-size: 16px;
        line-height: 1.5;
        margin: 0 5%;
    }
}

#header nav {
    height: 8vh;
}

.icone_header img {
    height: 40px;
}

#header ul {
    margin: 0;
    padding: 0;
    height: 100%;

    display: flex;
    justify-content: space-evenly;
    text-align: center;
    align-items: center;

    list-style-type: none;

}


.link_page a {
    color: white;
    font-family: var(--titre), sans-serif;
    font-size: 2vw;
    text-decoration: none;
    transition: ease-in 0.3s;

}

.link_page a:hover {
    color: var(--yellow);
    transition: ease-in 0.3s;
}

#menu {
    right: 0;
}

/* Icône du menu hamburger */
.menu-btn {
    display: none;
    /* Caché sur les grands écrans */
    cursor: pointer;
    z-index: 1000;
}

.menu-btn__burger {
    width: 35px;
    height: 4px;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.menu-btn__burger::before,
.menu-btn__burger::after {
    content: '';
    position: absolute;
    width: 35px;
    height: 4px;
    background-color: white;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.menu-btn__burger::before {
    transform: translateY(-10px);
}

.menu-btn__burger::after {
    transform: translateY(10px);
}

/* Affichage mobile - cacher le menu par défaut */
@media (max-width: 768px) {
    .menu-btn {
        display: block;
    }

    .container_logo {
        display: flex;
    }

    /* #header nav ul {
        display: none; 
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        background-color: var(--green);
        z-index: 999;
    }

    #header nav ul.active {
        display: flex;
    }

    .link_page a {
        padding: 15px;
        font-size: 5vw;
    } */
}




/* ------PAGE ACCUEIL------ */

/* Video */

#accueil {
    margin-top: 23vh;
}

iframe {
    height: 60vh;
    width: 100%;
}

#banniere p {
    margin: 0 7%;
    padding-top: 3.5vh;
    color: var(--green);
    font-size: 25px;
}


.temoignage {
    display: flex;
    flex-direction: column;
    margin: 2vh 5vh 1vh 5vh;
}

.temoignage_container {
    margin-top: 7vh;
}

.temoignage_container p:nth-child(1)::before {
    content: '"';
    position: absolute;
    z-index: -1;

    color: var(--yellow);
    opacity: 0.5;
    transform: translate(-42px, -64px);

    font-family: var(--titre);
    font-size: 200px;
}

.temoignage_container p:nth-child(1)::after {
    content: '"';
    position: absolute;
    z-index: -1;

    color: var(--yellow);
    opacity: 0.5;
    transform: translate(-31px, -38px);

    font-family: var(--titre);
    font-size: 200px;
}

.temoignage p:nth-last-child(1) {
    margin: 0.5% 5%;
    color: var(--green);
}

.savoir_plus {
    display: flex;
    justify-content: center;
    /* margin-right: 5%; */
}

.savoir_plus a {
    color: white;
    background-color: var(--green);
    text-decoration: none;
    padding: 15px;
    border: 3px solid var(--green);
    transition: var(--transition_normal);
}

.savoir_plus a:hover {
    transition: ease-in 0.1s;
    color: var(--green);
    background-color: white;
}

/* chiffres */

.chiffre_element {
    width: 100%;
    grid-column: 1;
    grid-row: 1;
}

.background_chiffre {
    z-index: -10;
    grid-column: 1;
    grid-row: 1;
    width: 13vw;
    opacity: 0.5;
}


.background_chiffre {
    transform: rotate(-38.155deg);
}

.chiffre {
    margin-bottom: 2vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chiffre_container {
    display: flex;
    margin: 7vh 0;
    justify-content: space-around;
}

.chiffre_container p:nth-child(1) {
    font-family: var(--titre);
    font-size: 40px;
    margin: 5px 5px 5px 0;
}

.chiffre_container p:nth-last-child(1) {
    margin: 0;
}

/*--------------------TROMBINOSCOPE--------------------*/

#nous-connaitre {
    margin-top: 23vh;
}

#Presentation {
    max-width: 100%;
    max-height: auto;
    position: static;
}

#Presentation h2 {
    margin-top: 3%;
}

.life_descr {
    justify-content: center;
    font-family: var(--corp), sans-serif;
    font-size: 2em;
    text-align: center;
    padding: 0 10px;
}

.prenomTrombi {
    justify-content: center;
    font-family: var(--titre), sans-serif;
    font-size: 2em;
}

.trombi_container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    margin-top: 61px;
    margin-bottom: 61px;
}

.trombi_container a {
    text-decoration: none;
}

.carte {
    text-align: center;
    margin-right: 15px;
    margin-left: 15px;
    width: 12vw;
    height: 12vw;
    min-height: 12vw;
    min-width: 12vw;
    background-size: cover;
    cursor: pointer;
}

.carte h3 {
    color: var(--yellow);
}

.PhotoProfile {
    text-align: center;
    height: 12vw;
    color: transparent;
    transition: 0.3s;
}

.PhotoProfile:hover {
    background: rgba(253, 196, 10, 0.4);
    color: white;
}


#QR {
    background-color: #FDFDFE;
    margin-bottom: 3%;
}

#QR h3 {
    color: #000;
    text-align: center;
    font-family: var(--titre);
    font-size: 2em;
    font-weight: 400;
    margin: 10px 0;
}

/* #QR p{
  font-family: var(--corp);
  font-size: 1.5em;
  text-align: left;
  margin-left: 50px;
  margin-right: 50px;
  margin-top: 0;
  text-align: justify;
} */

/* -------------- ANALYSES ------------*/

#analyses-main {
    margin-top: 23vh;
}

.boutons {
    display: inline-block;
    width: 100%;
    background-color: #fdfdfe;
    text-align: center;
    margin: 100px;
    padding-top: 209px;
    padding-bottom: 100px;
}



button {
    font-family: 'Open Sans', sans-serif;
    font-size: 2em;
    background-color: #fdc40a;
    border-radius: 25px;
}

#analyses-main #myChart {
    width: 80%;
    margin: 60px auto
}


/* -------------- FOOTER ------------*/

#Footer {
    position: static;
    background-color: #0A363F;
    width: 100%;
    height: auto;
    font-family: var(--corp);
    font-size: 24px;
}

#Logo {
    display: flex;
}

.Logo {
    display: flex;
    margin-top: 70px;
    margin-bottom: 28px;
    margin-left: auto;
    margin-right: auto;
    width: 265px;
    height: 142.46px;
}

#LogoFooter {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.Explications,
.Coordonees a,
.Newsletter a,
.Liens a {
    text-decoration: none;
    color: #FDFDFE;
}

.Coordonees p {
    margin: 0;
    color: #FDFDFE;
}

.Coordonees a:active,
.Newsletter a:active,
.Liens a:active {
    color: #FDC40A;
}

.FooterContainer {
    display: flex;
    flex-direction: row;
}

.Coordonees {
    justify-content: left;
    margin-left: 5%;
    margin-right: auto;
    width: 340px;
    height: 40px;
    text-align: center;
}

.Explications {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    width: 36.25%;
    height: 26.25%;
    text-align: center;
}

.Newsletter {
    text-align: center;
    justify-content: right;
    margin-left: auto;
    margin-right: 5%;
    width: 340px;
    height: 82px;
}

.Liens {
    display: flex;
    flex-direction: row;
    color: #ABABAB;
}

.Gauche {
    display: flex;
    flex-direction: column;
    justify-content: left;
    margin-left: 5%;
    margin-right: auto;
    width: 330px;
    height: 40px;
    text-align: left;
}

.Gauche a {
    color: #ABABAB;
    text-align: left;
}

.Droite {
    display: flex;
    flex-direction: column;
    justify-content: right;
    margin-left: auto;
    margin-right: 5%;
    width: 330px;
    height: 40px;
    max-width: 90%;
}

.Droite a {
    color: #ABABAB;
    text-align: right;
}

.Gauche a:hover,
.Droite a:hover {
    color: #FDC40A;
}

.ReseauxSociaux {
    display: flex;
    flex-direction: row;
    margin-top: 4%;
    padding-bottom: 127px;
    justify-content: center;
}

.ReseauxSociaux a img {
    width: 69.66px;
    height: 69.66px;
    margin-right: 7.63px;
    margin-left: 7.63px;
    text-align: center;
}

/*--------------------TEMOIGNAGES--------------------*/
#main-temoignage {
    margin-top: 23vh;
}

#Temoignages {
    margin-top: 3%;
    margin-bottom: 5%;
}

#Cartes {
    margin-top: 1%;
    margin-left: 1%;
    margin-right: 1%;

    padding-bottom: 25px;
    padding-right: 25px;

    display: grid;
    grid-template-columns: 33% 33% 33%;
    grid-template-rows: auto;

    column-gap: 1.5%;
    row-gap: .4%;
}

.carte-temoignage {
    padding-top: 10px;
    padding-bottom: 20px;
    padding-left: 10px;
    padding-right: 10px;
    width: 95%;
    height: auto;
    border-radius: 10px;
}

/* .carte h2 {
    color: #FDC40A;
    font-family: 'Open Sans';
    padding-top: 10px;
    padding-bottom: 5px;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 5px;
} */

.carte-temoignage h2 {

    color: var(--green);
}

.carte-temoignage h3,
.carte-temoignage p {
    font-family: 'Open Sans';
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 5px;
}

/*En cas d'urgence*/

.urgence h3 {
    margin: 0px;
}

.urgence {
    display: flex;
    flex-direction: column;
    gap: 30px;
    background-color: #0a363f;
    text-align: center;
    color: white;
    padding: 30px 0px;
    margin: 20px auto;
    width: 50%;
}

.urgence b {
    color: #FDC40A;
}

/* vous avez besoin...*/

#besoin-aide {
    margin: 50px 0;
    margin-top: 23vh;
}

.service,
.numero {
    margin-top: 30px;
}

.service h3 {
    margin-bottom: 10px;
}

.service a {
    text-decoration: none;
    color: #0A363F;
}

/*femmes victimes*/

.numero section {
    display: inline-block;
    width: 45%;
    margin-bottom: 5%;
}

.numero h3 {
    margin: 0px;
}

@media (max-width: 480px) {

    .container_logo {
        padding: 0 30px;
        align-items: center;
        justify-content: space-between;
    }

    #header-desktop {
        /* display: none; */
    }

    #icon-menu {
        width: 60px;
    }

    #header-logo {
        width: 200px;
        margin-left: -30px;
    }

    #menu {
        flex-direction: column;
    }

    #header nav {
        height: auto;
    }

    .link_page a {
        font-size: 30px;
    }

    nav li {
        padding: 20px
    }

}