@charset "UTF-8";

/*
Theme Name: Minuscule
Author: Cap Sciences

License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyone
*/

/* Variables */
/* Cacher le texte du menu et afficher uniquement l'icône */

/* importer les polices */
a {
	text-decoration: none;
}

@font-face {
	font-family: "SofiaPro";
	src: url("fonts/Poppins-Regular.ttf");
}

@font-face {
	font-family: "Volkorn";
	src: url("fonts/Vollkorn-Bold.ttf");
}

/* CSS pour le body */
body {
	font-family: SofiaPro, sans-serif;

}


/* page texte */
.page-image {
	width: 35%;
	margin-top: 11%;
	border-right: 0.5vh solid #212A52;
}

.text-block {
	position: absolute;
	left: 38%;
	top: 24%;
	width: 60%;
	height: 100%;
}

.title-bulle {
	font-size: 2vw;
	color: #212A52;
	margin: 0;
	text-align: center;
}

.text-bulle {
	font-size: 1.1vw;
	color: #212A52;
	margin: 0;
	text-align: center;
}

.info-bulle {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	background-color: #FCCC08;
	width: 18vw;
	height: 18vw;
	border-radius: 50%;
	float: left;
	text-align: center;
	color: #212A52;
	padding: 20px;
	box-sizing: border-box;
	shape-outside: circle();
	margin-right: 6%;
	position: relative;
	font-family: Volkorn, serif;
}

.title-text-page {
	font-size: 2.5rem;
	color: #212A52;
	margin-bottom: 20px;
}

.plain-text {
	font-size: 1rem;
        line-height: 1.4;
}

.title-red {
	font-size: 2.5rem;
	color: #E1251C;
       
}

#donateBloodButton {
        display: none;
    }

/* Styles pour mobile */
@media (max-width: 767px) {
	.page-image {
		display: none;
	}

	.text-block {
		position: absolute;
		left: 0%;
		top: 29%;
		width: 84%;
		height: 100%;
		padding: 8%;
		
	}

	.cross {
		position: absolute;
		right: 8%;
		top: -2%;
		width: 10%;
		cursor: pointer;
	}

	.info-bulle {
		display: none;
	}

}

/*CSS pour les boutons du sous menu*/
.button-section {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	margin: 0 -10px;
}

.button-button-section {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	border-radius: 50px;
	border: 0.3vh solid #212A52;
	background: transparent;
	transition: background 0.3s ease;
	text-transform: uppercase;
	padding: 1vh 2vh;
	cursor: pointer;
	text-decoration: none;
	color: #212A52;
	font-size: 1vw;
        font-weight: bold;
	margin: 10px;
    
}

.button-button-section:hover {
	background-color: #E1251C;
	border: 3px solid #E1251C;
	color: white;
}

.button-button-section-red {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	border-radius: 50px;
	border: 0.3vh solid #E1251C;
	background-color: #E1251C;
	transition: background 0.3s ease;
	text-transform: uppercase;
	padding: 1vh 2vh;
	cursor: pointer;
	text-decoration: none;
	color: white;
	font-size: 1vw;
        font-weight: bold;
	margin: 10px;
}

.button-section-yellow {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	border-radius: 50px;
	border: 0.3vh solid #FCCC08;
	background: #FCCC08;
	transition: background 0.3s ease;
	text-transform: uppercase;
	padding: 2vh 2vh;
	cursor: pointer;
	text-decoration: none;
	color: #212A52;
	font-size: 1vw;
        font-weight: bold;
	margin: 10px;
}

.icon-button-section {
	display: flex;
	justify-content: center;
	align-items: center;
	padding-right: 15px;
}

.icon-button-section img {
	width: 4vh;
	border-radius: 50%;  /* For round icons */
}

.text-button-section {
	text-align: left;
}

.cross {
	position: absolute;
	right: 1%;
	top: 1%;
	width: 3%;
	cursor: pointer;
}

.hover-img {
	display: none;
}

.button-button-section:hover .default-img {
	display: none;
}

.button-button-section:hover .hover-img {
	display: block;
}

/* Styles pour mobile */
@media (max-width: 767px) {

	.button-section-yellow {
		display: none;
	}

	.button-button-section {
		border: transparent;
		background: transparent;
		margin-right: 0;
		pointer-events: none;
		padding: 0;
	}

	.text-button-section {
		display: none;
	}

	.icon-button-section img {
		width: 7vh;
		border-radius: 50%;
	}

	.icon-button-section {
		display: flex;
		justify-content: center;
		align-items: center;
		padding-right: 0;
	}

	.button-button-section-red {
		padding: 0;
		margin-right: 0;
		pointer-events: none;
	}

	.cross {
		position: absolute;
		right: 7%;
		top: -3%;
		width: 9%;
		cursor: pointer;
	}


}

/* CSS pour la page accueil */
.logo {
	position: absolute;
	width: 52%;
	left: 50%;
	top: 5%;
	transform: translateX(-50%);
}

.logo-page {
	width: 33%;
}

.logo-efs {
	position: fixed;
	right: 1%;
	top: 86%;
	width: 6%;
}

.logo-container {
	position: absolute;
	right: 1%;
	top: 1%;
}

.logo-reseau {
	width: 2vw;
}

h1 {
	color: blue;
}

/* Styles pour mobile */
@media (max-width: 767px) {
	.logo-efs {
		position: absolute;
		right: 1%;
		top: 2%;
		width: 19%;
		left: 42%;
	}

	.logo {
		position: absolute;
		width: 89%;
		left: 50%;
		top: 13%;
		transform: translateX(-50%);
	}

	.logo-reseau {
		width: 6vw;
	}

	.logo-container {
		position: absolute;
		right: 5%;
		top: 2%;
	}

}

/* Menu */


.floating-menu {
	position: fixed;
	justify-content: center;
	top: 2%;
	left: 1%;
	z-index: 1000;
        cursor: pointer; 
}

.floating-menu #menu-button {
	cursor: pointer;
	background-color: transparent;
}

.floating-menu button, .floating-menu .menu-button {
	cursor: pointer;
}

.floating-menu ul {
	list-style-type: none;
	margin: 50px 0 0 5px;

	padding: 0;
}

.floating-menu ul.hidden {
	display: none;
}

@keyframes textAppear {
	0%   { opacity: 0; }
	100% { opacity: 1; }
}

@keyframes appear {
	0%   { opacity: 0; transform: translateY(20px); }
	100% { opacity: 1; transform: translateY(0); }
}

.floating-menu li {
	animation-name: appear;
	animation-duration: 0.5s;
	animation-fill-mode: both;
	margin-top: 10px;
}

@keyframes disappear {
	0%   { opacity: 1; transform: translateY(0); }
	100% { opacity: 0; transform: translateY(20px); }
}

.floating-menu li.disappear {
	animation-name: disappear;
	animation-duration: 0.5s;
	animation-fill-mode: both;
}

#menu-button{
	border: none;
}

.menu-icon {
	width: 8vh;
}

.icon-menu {
	width: 5vh;
}

.floating-menu .menu-button {
	background-color: #212A52;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 8vh;
	height: 8vh;
	border-radius: 50%;
	border: none;
	padding: 0;
	max-width: 75px;
	transition: max-width 1s ease, background-color 0.5s ease;
	white-space: nowrap;
}

.yellow-bg{
	background-color: #FCCC08 !important;
}


.floating-menu .menu-button:hover {
	width: auto;
	max-width: 500px;
	padding: 20px;
	border-radius:  75px; /* pour maintenir une certaine rondeur lors du survol */
	background-color: #E1251C;

}
.floating-menu .menu-button:hover .text {
	display: inline;
	animation-name: textAppear;
	animation-duration: 0.5s;
	animation-fill-mode: both;
	animation-delay: 0.1s; /* Ajoutez le délai souhaité ici */
}

.floating-menu .menu-button .icon {
	display: flex;
	align-items: center;
	justify-content: center;
}

.floating-menu .menu-button .text {
	display: none;
	padding-left: 10px;
	color: white;
	font-size: 1vw;

}

.floating-menu .menu-button:hover .text {
	display: inline;
}

.floating-menu .menu-button .content {
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Styles pour mobile */
@media (max-width: 767px) {
	.floating-menu .menu-button {
		width: auto;
		max-width: 500px;
		padding: 20px;
		border-radius:  75px; /* pour maintenir une certaine rondeur lors du survol */
		background-color: #212A52;
		pointer-events: none;

	}

	.floating-menu .menu-button .text {
		display: inline;
		pointer-events: none;
	}

	.floating-menu .menu-button .text {
		padding-left: 10px;
		color: white;
		font-size: 4vw;
	}
}

/* CSS pour la page de galerie */

.carousel {
	display: flex;
	justify-content: center;
	align-items: center;
}

.carousel-item {
	width: 25.2vh;
	height: 39.6vh;
	background-color: #f3f3f3; /* gris clair pour visualiser les "fenêtres" */
	background-position: center;
	background-size: cover;
	margin: 0 10px;
	/*border: 3px solid #212A52;*/
	border-radius: 15px;
}

.carousel-item-main {
	width: 42vh;
	height: 62.4vh;

}

.carousel-arrow {
	position: absolute;
	background-position: center;
	background-repeat: no-repeat;
	cursor: pointer;
}

.carousel-arrow img{
	width: 6vh;

}

#prev-arrow {
	left: 30%;
}

#next-arrow {
	right: 30%;
}

.cross-galerie {
	position: absolute;
	right: 18%;
	width: 4vh;
	cursor: pointer;
}

.button-section-galerie{
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 5vh;
	right: 20%;
}

.carousel-block	{
	margin-top: 15vh;
}

/* Styles pour mobile */
@media (max-width: 767px) {
	.carousel-item-phone {
		display: none;
	}

	.button-section {
		justify-content: center;
	}
	.carousel-item-main {
		width: 34vh;
		height: 53vh;
		background-color: #f3f3f3;
		background-position: center;
		background-size: cover;
		margin: 0 10px;
		border-radius: 15px;
	}

	#prev-arrow {
		left: 3%;
		top: 39%;
	}

	#next-arrow {
		right: 3%;
		top: 39%;
	}

	.cross-galerie {
		position: absolute;
		right: 13%;
		width: 4vh;
		cursor: pointer;
		top: 10%;
	}

}

/* CSS pour la page video */

.button-section-video {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 24vh;
}

.video-block {
	display: flex;
	justify-content: center; /* Center horizontally */
	align-items: center; /* Center vertically */
	height: 60vh; /* Full height of the viewport */
}



.next img {
	width: 6vh;
}

.prev img {
	width: 6vh;
}

.video-arrow-prev {
	top: 47%;
	left: 13%;
	position: absolute;
	width: auto;
	cursor: pointer;
}

.video-arrow-next {
	top: 47%;
	right: 13%;
	position: absolute;
	width: auto;
	cursor: pointer;
}

.cross-video {
	width: 4vh;
	cursor: pointer;
	position: absolute;
	top: 10%;
	right: 23%;
}

.video-container {
	padding-bottom: 66.25%; /* ratio 16:9 */
	height: 0;
}

.video-container iframe {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 110vh;
	height: 66vh;
}




/* Styles pour mobile */
@media (max-width: 767px) {
	.video-container iframe {
		position: absolute;
		top: 45%;
		left: 50%;
		transform: translate(-50%, -50%);
		width: 45vh;
		height: 30vh;
	}

	.button-section-video {
		display: flex;
		justify-content: center;
		align-items: center;
		margin-top: 4vh;
	}

	.video-arrow-next {
		top: 63%;
		right: 13%;
		position: absolute;
		width: auto;
		cursor: pointer;
	}

	.video-arrow-prev {
		top: 63%;
		left: 13%;
		position: absolute;
		width: auto;
		cursor: pointer;
	}

	.cross-video {
		width: 4vh;
		cursor: pointer;
		position: absolute;
		top: 20%;
		right: 7%;
	}



}
		