/* mobile.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f5f5f5;
    padding-top: 70px; /* Pour éviter que le contenu ne soit caché sous l'en-tête fixe */
}

.header {
    background-color: #1976D2;
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: 60px;
}

.menu-button {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    background-color: #333;
    transition: left 0.3s ease-in-out;
    z-index: 200;
    padding-top: 60px;
    overflow-y: auto; /* Permet de scroller si le menu est trop long */
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu .close-button {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu ul li {
    padding: 15px;
    border-bottom: 1px solid #444;
}

.mobile-menu ul li a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 5px 0;
}

.mobile-menu ul li a:hover {
    color: #1976D2;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 150;
}

.overlay.active {
    display: block;
}

.content {
    padding: 20px;
}

.card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
}

.card h2 {
    color: #1976D2;
    margin-bottom: 15px;
}

.card p {
    line-height: 1.6;
    color: #555;
    margin-bottom: 10px;
}

.card a {
    color: #1976D2;
    text-decoration: none;
}

.card a:hover {
    text-decoration: underline;
}

.card img {
  width: 100%;
  height: auto;
}

.footer {
    background-color: #1976D2;
    color: white;
    text-align: center;
    padding: 10px;
    position: fixed;
    bottom: 0;
    width: 100%;
}