@font-face {
    font-family: 'exo_2italic';
    src: url('/fonts/exo2-italic-variablefont_wght-webfont.woff2') format('woff2'),
    font-weight : normal;
    font-style : normal;
}

@font-face {
    font-family: 'exo_2regular';
    src: url('/fonts/exo2-variablefont_wght-webfont.woff2') format('woff2'),
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'Exo 2', sans-serif;
    max-width: 900px;
    margin: 30px auto;
    padding: 10px 20px;
    background-color: #0c2b58;
    color: #b8b8b8;
}

h1, h2, h3 {
    color: #ffffff;
    margin-bottom: 10px;
}

a {
    color: #55b6f7;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

nav {
    font-size: 1.8em;
}

nav a {
    margin-right: 28px;
    display: inline-block; 
    transition: transform 0.3s; 
    color : #0c2b58;
    text-shadow: rgb(255, 255, 255) 1px 1px 5px;
}

nav a:hover {
    transform: scale(2);
    color: #1f5db9;
    text-shadow: rgba(0, 0, 0, 0.25) 0px 14px 5px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
}

header, footer {
    text-align: center;
    padding: 10px 0;
    /* background-color: #8394e2; */
    margin-bottom: 20px;
}

header {
    background-image: url("/images/entete3.png");
    /*height: 386px;*/
}

footer {
    background-image: url("/images/footer1.png");
}

footer p {
    font-size: 0.9em;
    color: #666;
}

main {
    min-height: 60vh;
}

table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 20px;
}

table, th, td {
    border: 1px solid #ccc;
}

th, td {
    padding: 8px;
    text-align: left;
}

.error {
    color: red;
}

.success {
    color: green;
}

form label {
    display: block;
    margin-bottom: 5px;
}

form input[type="text"],
form input[type="email"],
form input[type="password"],
form textarea,
form select {
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

button {
    background-color: #70a4f1;
    color: #0c2b58;
    border: none;
    border-radius: 8px;
    padding: 10px 15px;
    cursor: pointer;
    margin: 15px;
}

button:hover {
    background-color: #051835;
    color: #70a4f1;

}

.but-nav {
    display: inline-block;
    width: 200px;
    text-align: center;
    font-weight: bold;
    background-color: #70a4f1;
    color: #0c2b58;
    border: 1px solid #0c2b58;
    border-radius: 8px;
    padding: 10px 15px;
    cursor: pointer;
    margin: 15px;
}

.but-nav:hover {
    background-color: #051835;
    color: #adccfa;
    border: 1px solid #ffffff;
    font-weight: bolder;
    text-decoration: none;
} 

#start {
    width: 100%;
    display: flex;
    justify-content: center;
}

.container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
        justify-content: center;
        -webkit-align-items: center;
}

.item {
    width: 200px;
    height: 200px;
    border: 1px solid white;
    background-color: #2f5081;
    border-radius: 0px 20px 0px 20px;
    padding: 10px;
    margin: 10px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.tip {
    width: 80%;
    margin: auto;
    padding: 10px;
    border: 1px solid blueviolet;
    background-color: #c9c9c9;
    color: blueviolet;
    text-align: center;
    border-radius: 8px;
    font-size: 1.2em;
}

.pagination {
  display: flex;
  list-style: none;
  padding-left: 0;
  gap: 8px;
  justify-content: center;
  margin-top: 10px;
  font-size: 0.5em;
}

.pagination li a {
  display: block;
  padding: 6px 12px;
  text-decoration: none;
  color: #007bff;
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.pagination li a:hover {
  background-color: #e9ecef;
  color: #0056b3;
}

.pagination li.active a {
  background-color: #007bff;
  color: white;
  border-color: #007bff;
  cursor: default;
  pointer-events: none;
}

.lab_il {
    font-style: italic;
    margin-top: 10px;
    padding-top: 10px;
}

.content_il {
    font-weight: bold;
    margin-left: 25px;
    color: white;
}

.par-white {
    color: white;
}

.static-news {
    border: 1px solid #ddd;
    padding: 10px;
    margin: 15px 0;
}
.static-news img {
    display: block;
    margin-bottom: 10px;
}
.static-news h2 {
    margin-top: 0;
}