body {
	color: white;
	font-family: "Sarabun", sans-serif;
	font-size: 22px;
	overflow-x: hidden;
}

nav img {
	width: 60px;
}

nav .flex {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
}

.navigation {
	background-color: #244E70;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px;
}

.navigation ul {
	list-style-type: none;
}

.navigation li {
	padding: 10px;
	font-size: 18px;
}

.navigation a {
	text-decoration: none;
	color: white;
	padding: 1px 20px;
	border-right: 2px solid;
}

.nav-toggler {
	display: none;
}

strong {
	font-weight: bold;
}

#slogan {
	font-family: "Poppins", sans-serif;
	background: url(img/mains.webp) bottom no-repeat;
	height: 100vh;
	color: #FF9348;
	background-size: contain;
}

#slogan h2 {
	font-size: 70px;
	padding: 70px 0 0;
	line-height: 100px;
	text-align: center;
	text-wrap: balance;
	color: #244e70;
}

#slogan h3 {
	text-align: center;
	font-size: 70px;
	padding: 50px;
}

#slogan h3 span {
	font-weight: bold;
	color: #F76500;
}

#slogan .bouton {
	text-align: center;
	display: table;
	margin: 20px auto;
	padding: 20px;
	border-radius: 100px;
}

.text-circle {
    position: relative;
    padding: 45px 5px;
    color: #333;
  }

  /* Cercle animé autour du texte */
.text-circle::before {
    content: "";
    position: absolute;
    top: 33px;
    left: 0;
    width: 100%;
    height: 70%;
    border: 3px solid #F76500;
    border-radius: 50%;
    transform: scale(0);
    transition: transform 1s ease-out;
    animation: draw-circle 2s ease-in-out infinite;
  }

  @keyframes draw-circle {
    0% {
      transform: scale(0);
    }
    100% {
      transform: scale(1);
    }
  }

#violet {
	background: url("img/fond_violet.svg") no-repeat center;
	padding-top: 120px;
	padding-bottom: 250px;
	background-size: cover;
	position: relative;
}

#violet .flex {
	display: flex;
	width: 80%;
	margin: auto;
	padding-bottom: 50px;
	align-items: center;
}

#violet .col2 {
	padding: 20px;
	text-wrap: balance;
	text-align: center;
	line-height: 30px;
}

#violet img {
	width: 80px;
}

#violet li {
	list-style: disc;
	padding: 20px 0;
}

#violet .flex p {
	font-size: 30px;
	line-height: 45px;
}

#violet .flex p span {
	text-decoration: underline;
}

#logo {
	background:white;
	border-radius:50%;
	width:500px;
	height:500px;
	text-align: center;
	display: block;
	margin: auto;
}

#logo img {
	width: 500px;
	display: block;
	text-align: center;
	margin: auto;
}

#soutien {
	width: 80%;
	margin: auto;
	text-align: center;
}

#soutien p:first-of-type {
	font-size: 35px;
	font-weight: bold;
	padding: 80px;
}

#soutien p:last-of-type span {
	text-decoration: underline;
	font-size: 35px;
	display: block;
	padding-top: 8px;
}

#soutien p:last-of-type {
	font-size: 20px;
}

#donateur {
	background-color: #BBCFDC;
	display: flex;
	padding: 120px;
	line-height: 32px;
	text-wrap: balance;
	justify-content: space-around;
	align-items: center;
	margin-top: -50px;
}

#donateur ul {
	padding-top: 40px;
	list-style: disc;
}

#donateur .col2 {
	width: 50%;
}

#donateur .col2:last-of-type {
	background-color: white;
	color: #438BCA;
	width: 30%;
	text-align: center;
	border-radius: 50px;
	padding: 80px;
}

.bouton {
  background-color: #F76500;
  padding: 10px 30px;
  text-decoration: none;
  color: white;
  margin-top: 20px;
  display: block;
  border-radius: 25px;
  text-transform: uppercase;
  font-weight: bold;
	position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.bouton::before {
    content: "";
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/snowflakes.png'); /* Image des flocons de neige */
    animation: snowflakes 2s infinite linear;
}

@keyframes snowflakes {
    0% {
        top: -100%;
    }
    100% {
        top: 100%;
    }
}

.bouton:hover {
	background-color: #FF842E;
	transform: scale(1.05); /* Agrandir légèrement le bouton lors du survol */
}

#donateur .col2:first-of-type a {
	font-size: 30px;
	color: white;
}

#temoignage .swiper-slide {
	background-color:rgba(0,0,0,0.55);
	border-radius: 30px;
	text-align: center;
}

#temoignage .swiper-slide h4 {
	font-size: 40px;
	padding: 30px 0 15px;
}

#temoignage .swiper-slide p {
	padding: 15px 80px;
	line-height: 30px;
	font-weight: lighter;
	text-wrap: balance;
}

#temoignage .swiper-button-next, .swiper-rtl, .swiper-button-prev {
	color: white !important;
}

#temoignage {
	background: url(img/pharmacienne.webp) center;
	text-align: center;
	padding: 30px 0;
	background-size: cover;
}

.swiper-pagination-bullet-active {
	background: white;
}

.swiper {
  width: 70%;
  height: 650px;
	padding: 90px 0;
}

.temoin {
	 margin-top: 27vh; /* poussé de la moitié de hauteur de viewport */
  transform: translateY(-50%); /* tiré de la moitié de sa propre hauteur */
	position: relative;
}

.temoin span img {
	display: list-item;
	width: 30px;
	float: left;
}

.temoin p:last-of-type span img {
	float: right;
}

#partenaires .flex {
	justify-content: space-around;
	display: flex;
	flex-wrap: wrap;
}

#partenaires h2 {
	text-align: center;
	color: #F76500;
	font-size: 50px;
	padding: 50px;
}

#partenaires img {
	max-width: 100%;
	height: 300px;
}

footer {
	background-color: #899CB0;
}

footer div {
	padding: 50px;
	width: 70%;
	border-right: 1px solid white;
}

footer .flex {
	border: none;
	display: flex;
	width: 100%;
	padding: 20px;
}

footer div h4 {
	font-size: 40px;
	font-weight: bold;
	padding-bottom: 50px;
}

footer div p {
	font-weight: lighter;
}

footer a {
	display: block ruby;
	color: white;
	padding-left: 25px;
}

#courtesy {
	background-color: #244E70;
	color: white;
	text-align: center;
	font-weight: 200;
	padding: 20px;
}

@media (max-width: 1199px) {
	
	#menu {
		position: relative;
		left: 0;
		display: flex;
		flex-direction: column;
		justify-content: space-around;
		margin-left: 0;
		padding: 0;
		width: 100%;
    }
	
	#menu li {
		padding: 30px 10px;
		text-align: center;
		font-size: 1.4em;
		width: 100%;
     }
	
	.nav-toggler {
                align-items: center;
                background-color: transparent;
                border: none;
                cursor: pointer;
                display: flex;
                height: 40px;
                justify-content: center;
                margin: auto;
                padding: 0;
                position: fixed;
                right: 20px;
                top: 20px;
                width: 40px;
                z-index: 400;
            }

            button.nav-toggler:hover {
                background-color: transparent;
            }

            .nav-toggler .line {
                position: absolute;
                display: block;
                width: 100%;
                height: 2px;
                background-color: #333;
                transition: transform 0.3s ease-out, opacity 0.1s ease-out;

            }

            .nav-toggler .l1 {
                transform: translateY(-10px);
            }

            .nav-toggler .l3 {
                transform: translateY(+10px);
            }

            .nav-toggler.active .l1 {
                transform: translateY(0px) rotate(135deg);
            }

            .nav-toggler.active .l2 {
                opacity: 0;
            }

            .nav-toggler.active .l3 {
                transform: translateY(0px) rotate(-135deg);
            }

            .navigation {
                position: fixed;
                top: 0;
                width: 100vw;
                min-height: 100%;
                /*   display: flex; */
                left: 0;
                justify-content: center;
                flex-direction: column;
                transform: translatex(100%);
                transition: transform 0.3s cubic-bezier(0.73, 0.11, 0.67, 0.84);
                z-index: 300;
            }
	
	.navigation a {
		border: none;
	}
	
	nav.navigation.active {
		transform: translate(0);
	}
	
	nav img {
		width: 150px;
		padding-top: 50px;
	}
	
	#slogan h2 {
		font-size: 68px;
		line-height: 72px;
	}
	
	#don {
		height: 65vh;
	}
			
	#don h3 span {
		font-weight: bold;
		color: #F76500;
		margin-top: 10px;
		display: inline-flex;
		font-size: 82px;
	}
	
	#donateur .col2:last-of-type {
		width: 70%;
		display: block;
		margin: auto;
		padding: 60px;
	}
	
	#donateur {
		display: block;
	}
	
	#donateur .col2:first-of-type {
		text-align: center;
		margin: auto;
	}
	
	#donateur ul {
		padding-bottom: 40px;
	}
	
	#slogan {
		height: 90vh;
	}
	
	.swiper {
		width: 90%;
	}
	
	.temoin {
		margin-top: 29vh;
	}
	
	.text-circle::before {
		top: 52px;
		left: -4px;
	}
	
	.text-circle::before {
		height: 50%;
	}
	
	#temoignage .swiper-slide h4 {
		font-size: 30px;
	}
	
	#temoignage .swiper-slide p {
		font-size: 18px;
		line-height: 28px;
		padding: 15px 55px;
	}
}

@media (max-width: 799px) {
	
	body {
		font-size: 17px;
	}
	
	#slogan h2 {
		font-size: 45px;
		line-height: 52px;
		padding: 30px;
	}
	
	#logo {
		width: 420px;
		height: 420px;
	}
	
	#logo img {
		width: 400px;
	}
	
	#violet .flex {
		width: 90%;
		display: block;
	}
	
	#soutien p:first-of-type {
		padding: 80px 0;
	}
	
	#soutien p:last-of-type span {
		padding-top: 70px;
		display: block;
	}
	
	#don h3 {
		font-size: 56px;
	}
	
	#don {
		height: 45vh;
	}
	
	#don h3 span {
		font-size: 60px;
	}
	
	#donateur {
		display: block;
    width: 100%;
    padding: 100px 0px 70px 0px;
	}
	
	#donateur .col2:last-of-type a {
		padding: 10px 0;
	}
	
	.text-circle::before {
		height: 50%;
	  }
	
	#temoignage .swiper-slide p {
		font-size: 20px;
		line-height: 22px;
	}
	
	footer div {
		border: none;
	}
	
	.navigation {
		padding: 0;
	}
	
	#menu li {
		padding: 15px 10px;
	}
}

@media (max-width: 499px) {
	#violet {
		padding-bottom: 140px;
	}
	
	#slogan h3 {
		font-size: 50px;
	}
	
	#slogan {
		height: 80vh;
	}
	
	.text-circle::before {
		height: 35%;
	  }
	
	#donateur .col2 {
	  width: 100%;
	}
	
	#donateur .col2:last-of-type {
		padding: 40px;
	}
	
	#donateur .col2:last-of-type p {
		line-height: 25px;
	}
	
	#temoignage .swiper-slide p {
		font-size: 12px;
		line-height: 19px;
	}
	
	.temoin {
		margin-top: 29vh;
	}
		
	.swiper {
		width: 100%;
		height: 750px;
	}
	
	#temoignage .swiper-slide {
		border-radius: 0;
	}
	
	#temoignage {
		height: auto;
		background: url(img/pharmacienne.webp) -850px no-repeat;
	}
	
	#temoignage .swiper-slide h4 {
		padding: 30px 0 60px;
	}
	
	#logo img {
		width: 370px
	}
	
	#logo {
		width: 370px;
		height: 370px;
	}
	
}