/* ------------------------------
   GLOBAL
------------------------------ */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #111;
    color: #ddd;
}

/* ------------------------------
   HEADER
------------------------------ */
header {
    display: flex;
    justify-content: center; /* centre le logo */
    align-items: center;
    background: #1a1a1a;
    padding: 12px 20px;
    border-bottom: 2px solid #333;
    position: relative; /* permet de placer le hamburger */
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 20px;
    color: #ff8800;
}

.logo img {
    height: 55px;
    filter: drop-shadow(0 0 4px #000);
}

/* ------------------------------
   HAMBURGER
------------------------------ */
.hamburger {
    position: absolute;
    left: 20px;
    width: 30px;
    height: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.hamburger span {
    display: block;
    height: 4px;
    background: #fff;
    border-radius: 4px;
    transition: 0.3s;
}

/* Animation quand le menu est ouvert */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ------------------------------
   MENU LATÉRAL
------------------------------ */
#sideMenu {
    position: fixed;
    top: 0;
    left: -250px;
    width: 230px;
    height: 100%;
    background: #1a1a1a;
    padding-top: 70px;
    transition: left 0.3s ease;
    display: flex;
    flex-direction: column;
    z-index: 1000;
}

#sideMenu.open {
    left: 0;
}

#sideMenu a {
    padding: 15px 20px;
    text-decoration: none;
    color: #ddd;
    border-bottom: 1px solid #333;
}

#sideMenu a:hover {
    background: #333;
    color: #ff8800;
}

/* ------------------------------
   CONTENU
------------------------------ */
.content {
    padding: 20px;
    margin-top: 20px;
}

/* ------------------------------
   TAGS
------------------------------ */
.tag {
    display: inline-block;
    background: #222;
    color: #ff8800;
    padding: 4px 10px;
    margin: 4px 4px 0 0;
    border-radius: 6px;
    font-size: 13px;
    border: 1px solid #333;
}

/* ------------------------------
   FOOTER
------------------------------ */
footer {
    text-align: center;
    padding: 20px;
    color: #666;
    margin-top: 40px;
}
