@import url('https://fonts.googleapis.com/css2?family=MuseoModerno:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

/***** GLOBAL *****/

body{
	font-family: "Open Sans", sans-serif;
	margin: 0;
	background-color: #f4f4f4;
}

* {
    box-sizing: border-box;
}


/***** HEADER *****/

#header{
	text-align: center;
}

#header .header_wave{
	width: 100%;
	z-index: 1;
}

#header .header_wave svg{

}

#header .row{
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	z-index: 2;
	background-color: #00A9C2;
}

#header .header_left img{
	width: 100%;
	max-width: 100px;
}

#header .header_middle{
	padding: 1em 0;
	font-size: 2rem;
	color: #fff;
	font-weight: 500;
}

#header .header_middle img{
	width: 100%;
	max-width: 400px;
}

#header .header_date{
	font-family: 'Roboto', sans-serif;
	position: absolute;
	top: 20px;
	right: 20px;
	z-index: 9;
	color: #fff;
}


/***** HEADER FIXED *****/

#header.header_fixed{
	position: fixed;
}

#header.header_fixed .header_left img{
	max-width: 50px;
}

#header.header_fixed .header_middle{
	padding: 0.5em 0;
}

#header.header_fixed .header_middle span{
	display: none;
}

#header.header_fixed .header_middle img{
	max-width: 150px;
}


/***** SECTION *****/

#section{
	text-align: center;
	padding: 1em 0;
	border-radius: 8px; /* Coins arrondis */
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Ombre pour le cadre */
	margin-bottom: 2em;
	background-color: #fff;
}

#section .section_titre{
	text-transform: uppercase;
	font-size: 1.5rem;
	font-weight: 400;
	color: #00A9C2;
}

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

#section .section_links a{
	background-color: #fff;
	display: inline-block;
	cursor: pointer;
	padding: 1em;
	border-radius: 15px;
	margin: 1em;
	border: solid 2px #ddd;
	height: 130px;
	width: 130px;
	display: flex;
	justify-content: center;
	align-items: center;
}

#section .section_links a:hover{
	border-color: #001e5f;
}

#section .section_links a{
	text-decoration: none;
	color: #222;
}

#section .section_icon img{
	width: 100%;
	max-width: 70px;
}

#section .section_nom{
	margin-top: 5px;
	font-size: 0.85rem;
}

.section_left{
	padding-right: 0.5em;
}

.section_right{
	padding-left: 0.5em;
}

/* Centrage du formulaire */
.search-form {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2em 0;
}

/* Conteneur pour l'input et le logo */
.input-container {
    position: relative;
}

.google-logo {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px; /* Taille de l'icône */
    height: 20px;
}

/* Style pour l'input de recherche */
.search-input {
    padding: 10px 10px 10px 40px; /* Espace pour l'icône Google */
    width: 300px;
    font-size: 16px;
    border: 2px solid #00A9C2;
    border-radius: 25px 0 0 25px; /* Arrondir seulement le côté gauche */
    outline: none;
    transition: border-color 0.3s ease;
}

/* Changement de bordure quand on focus l'input */
.search-input:focus {
    border-color: #006676;
}

/* Style pour le bouton de recherche */
.search-button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #00A9C2;
    color: white;
    border: 2px solid #00A9C2;
    border-radius: 0 25px 25px 0; /* Arrondir seulement le côté droit */
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* Changement de couleur de fond du bouton au survol */
.search-button:hover {
    background-color: #006676;
    border: 2px solid #006676;
}

/* Responsive pour les petits écrans */
@media (max-width: 576px) {
    .search-input {
        width: 200px; /* Réduire la largeur de l'input sur les petits écrans */
    }
}

/* Effet de zoom, changement de fond et titre en gras au survol des liens */
#section .section_links a {
    background-color: #fff;
    display: inline-block;
    cursor: pointer;
    padding: 1em;
    border-radius: 15px;
    margin: 1em;
    border: solid 2px #ddd;
    height: 130px;
    width: 130px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: #222;
    transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

/* Effet de zoom au survol */
#section .section_links a:hover {
    transform: scale(1.1); /* Zoom */
    background-color: #00A9C2; /* Changement de fond au survol */
    border-color: #00A9C2;
}

/* Mise en gras et changement de couleur du titre au survol */
#section .section_links a:hover .section_nom {
    font-weight: bold;
    color: #fff; /* Couleur du titre en blanc au survol */
}

/* Réglage de la taille et des marges de l'icône */
#section .section_icon img {
    width: 100%;
    max-width: 70px;
    transition: transform 0.3s ease; /* Transition pour un éventuel effet de zoom sur l'image aussi */
}

#section .section_nom {
    margin-top: 5px;
    font-weight: normal; /* Titre non gras par défaut */
    transition: font-weight 0.3s ease, color 0.3s ease; /* Transition fluide sur le titre */
}






















