/* Polices */
@font-face {
	font-family: 'Roboto Condensed';
	src: url('../fonts/roboto-condensed-v20-latin-regular.woff2') format('woff2'),
		 url('../fonts/roboto-condensed-v20-latin-regular.woff') format('woff');
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: 'Roboto Condensed';
	src: url('../fonts/roboto-condensed-v20-latin-700.woff2') format('woff2'),
		 url('../fonts/roboto-condensed-v20-latin-700.woff') format('woff');
	font-weight: 700;
	font-style: normal;
}

/* Conteneur principal */
.sec-events-container {
	font-family: Arial, sans-serif;
	max-width: 900px;
	margin: 0 auto;
	padding: 0 15px;
}

/* En-tête */
.sec-events-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
}

.sec-navigation a {
	text-decoration: none;
	color: #0073aa;
	padding: 5px 10px;
	background-color: #f0f0f0;
	border-radius: 5px;
	font-size: 14px;
	transition: background-color 0.3s ease;
}

.sec-navigation a:hover {
	background-color: #ddd;
}

/* Titre des mois */
.sec-month-title {
	font-family: 'Roboto Condensed', Arial, sans-serif;
	font-size: 42px;
	font-weight: bold;
	text-transform: uppercase;
	margin-bottom: 20px;
	border-bottom: 2px solid #ccc;
	padding-bottom: 10px;
}

/* Élément d'un événement */
.sec-event-item {
	display: flex;
	align-items: center;
	border-bottom: 1px solid #ccc;
	margin-bottom: 20px;
	padding: 10px 0;
}

/* Partie gauche */
.sec-event-left {
	text-align: center;
	margin-right: 20px;
	flex-shrink: 0;
	color: #fff;
	width: 50px;
	height: 190px;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: #4CAF50; /* Exemple de couleur par défaut */
}

.sec-day-of-week {
	writing-mode: vertical-rl;
	transform: rotate(180deg);
	font-size: 30px;
	font-weight: 900;
	margin-left: 130px;
	text-transform: uppercase;
}

.sec-day-of-month {
	font-size: 100px;
	font-weight: bold;
	color: #333;
	margin-left: 15px;
}

/* Partie centrale */
.sec-event-details {
	flex-grow: 1;
	margin-left: 120px;
}

.sec-event-title {
	font-size: 50px;
	line-height: 65px;
	font-weight: bold;
	margin: 0 0 10px;
	text-transform: uppercase;
}

.sec-event-location,
.sec-event-organizer,
.sec-registration-status.closed {
	font-size: 14px;
	color: #555;
	margin-bottom: 5px;
}

.sec-registration-status.closed {
	color: #ff0000;
	font-weight: bold;
}

/* Partie droite */
.sec-event-actions {
	text-align: center;
	
}

.sec-action-button {
	display: inline-block;
	background-color: #0073aa;
	color: white!important;
	padding: 10px 15px;
	text-decoration: none;
	border-radius: 5px;
	font-size: 40px;
	margin-bottom: 5px;
	transition: background-color 0.3s ease;
	font-weight: 900;
	text-transform: uppercase;
	
}
.sec-action-button-no{
	background-color: rgba(208, 208, 209, 0.715);
	font-size: 40px;
	font-weight: 500;
	padding: 10px 15px;
	color: black;
	font-style: italic;
}
.sec-action-button:hover {
	background-color: #005a87;
}
.sec-action-button a:visited{
	color: white;
}
/* État annulé */
.sec-event-status.canceled {
	background-color: red;
	color: white;
	padding: 5px 10px;
	border-radius: 5px;
	font-size: 14px;
	display: inline-block;
}

/* --- Styles Responsives --- */

/* Tablettes */
@media (max-width: 768px) {
	.sec-month-title {
		font-size: 36px; /* Réduction de la taille du titre */
		text-align: center;
	}

	.sec-event-left {
		width: 50px;
		height: 140px;
		font-size: 12px;
	}
	
	.sec-day-of-week {
		margin-left: 70px;
	}
	.sec-day-of-month {
		font-size: 60px; /* Réduction de la taille du numéro du jour */
	}

	.sec-event-details {
		margin-left: 60px;
	}
	.sec-event-title {
		font-size: 35px; /* Réduction de la taille du titre de l'événement */
		line-height: 50px;
		
	}

	.sec-event-location,
	.sec-event-organizer,
	.sec-registration-status.closed {
		font-size: 12px; /* Réduction de la taille des textes d'informations */
	}

	.sec-action-button {
		font-size: 40px;
		padding: 8px 12px; /* Réduction des boutons */
	}
}

/* Mobiles */
@media (max-width: 480px) {
	.sec-month-title {
		font-size: 28px; /* Réduction plus importante du titre */
		text-align: center;
	}

	.sec-event-item {
		padding: 0px 0; /* Réduction des espaces autour des événements */
	}

	.sec-event-left {
		width: 40px;
		height: 190px; /* Réduction de la hauteur pour correspondre à la réduction générale */
		font-size: 10px; /* Réduction de la taille du texte pour le jour de la semaine */
	}

	.sec-day-of-month {
		font-size: 48px; /* Réduction du numéro du jour */
	}

	.sec-event-title {
		font-size: 25px; /* Réduction du titre de l'événement */
		line-height: 35px;
	}

	.sec-event-location,
	.sec-event-organizer,
	.sec-registration-status.closed {
		font-size: 10px; /* Réduction de la taille des informations */
	}

	.sec-event-actions {
		margin-top: 10px;
	}
	.sec-action-button-no{
		font-size: 25px;
	}
	.sec-action-button {
		font-size: 30px; /* Réduction des boutons */
		padding: 6px 10px;
		//width: 100%; /* Les boutons s'étendent sur toute la largeur pour les petits écrans */
	}
}