/*<!-- page créée par Cyril Hohl / 06 décembre 2023 -->*/
html, body {
    height: 100%;
}

body {
    background-color: white;
    margin: 0;
    font-family: system-ui;
    padding: 0;
     display: flex;
    flex-direction: column;

}

main {
    flex: 1;
}

/*Header*/

header img {
    width: 25%;
    border-right: 2px solid black;
    border-left: 2px solid black;
}

header {
    margin-top: 60px;
    display: flex;
    flex-direction: row;
    justify-content: center;

}

#clubfribourg {
    text-align: center;
    color: #1C6E8C;
    margin: 0;


}

/*barre de navigation*/

nav {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    background-color: #274156;
    height: 60px;
}

nav a {
    display: flex;
    flex: 1;
    height: 100%;
    color: white;
    text-decoration: none;
    justify-content: center;
    align-items: center;
    font-size: 20px;
}

#loginButtonContainer {
    margin-left: auto; /* pousse ce bloc tout à droite */
    display: flex;
    align-items: center;
}

#btnLogin {
    font-size: 18px;
    padding: 8px 16px;
    cursor: pointer;
    color: black;
    border: none;
    border-radius: 8px;
    height: auto;
}


nav a:hover {
    background-color: #1C6E8C;
}


.ongletactif {
    background-color: #2ba5d1;
}

/*Main*/
#btnChargerExo {
	margin: 10px 0;
	padding: 12px 20px;
	background-color: #2c3e50;
	color: white;
	border: none;
	cursor: pointer;
	font-weight: bold;
	border-radius: 5px;
	transition: background-color 0.3s ease;
}

#btnChargerExo:hover {
	background-color: #1a252f;
}

#btnAjouterExo{
	margin: 10px 0;
	padding: 12px 20px;
	background-color: #2c3e50;
	color: white;
	border: none;
	cursor: pointer;
	font-weight: bold;
	border-radius: 5px;
	transition: background-color 0.3s ease;
}

#btnAjouterExo:hover {
	background-color: #1a252f;
}

.top-buttons {
    display: flex;
    justify-content: flex-start;
    gap: 20px; /* espace entre les boutons */
    margin-bottom: 20px;
}




/* Table */
#exercices {
	width: 100%;
	border-collapse: collapse;
	margin-top: 20px;
	background: white;
	border-radius: 5px;
	overflow: hidden;
}

#exercices th,
#exercices td {
	padding: 12px;
	border: 1px solid #ddd;
	text-align: center;
}

#exercices th {
	background-color: #2c3e50;
	color: white;
	font-weight: bold;
    cursor: pointer;

}

#exercices tr:nth-child(even) {
	background-color: #f9f9f9;
}

/*footer*/
footer {
    display: flex;
    justify-content: center;
    background-color: rgb(90, 90, 90);
    margin-top: 45px;
    color: white;
    height: 250px;
    border-top: inset 10px;
}

.center {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20%;

}

footer img {
    width: 50px;
    border-radius: 20%;
}

.nouscontacter,
.paragraphe {
    display: flex;
    flex-direction: column;
    padding-top: 10%;

}

/*pour tous les articles*/
article {
    max-width: 950px;
    margin: auto;
}

/*media querries*/
@media screen and (max-width:950px) {

}