body {
    font-family: "Share Tech Mono", monospace;
    background-color: #0A0C0F;
    color: #00D4FF;
    margin: 0;
    padding: 0;
}

/* ── NAV ── */
nav {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin: 0;
    padding: 18px 25px 15px;
    position: relative;
}

#logo {
    font-size: 1.5em;
    font-weight: bold;
    color: #00D4FF;
    text-decoration: none;
    white-space: nowrap;
}
#logo:hover {
    color: #05a6c6;
}

ul {
    list-style-type: none;
    display: flex;
    margin: 0;
    padding: 0;
}
ul li {
    margin-left: 15px;
}

ul a {
    color: #6a6d71;
    text-decoration: none;
}
ul a:hover {
    color: #8a8d92;
    text-decoration: underline;
}

#on {
    color: #00D4FF;
}
#on:hover {
    color: #05a6c6;
    text-decoration: underline;
}

/* ── HAMBURGER ── */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 100;
}
.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #00D4FF;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
    transform-origin: center;
}

/* État actif → croix */
.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ── CONTENT ── */
.container {
    font-family: 'Courier New', Courier, monospace;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
}
.container a {
    color: #069b30;
}
.container a:hover {
    color: #05a6c6;
}

h1 {
    padding-top: 20px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 2.5em;
    text-align: center;
}
.articleBox{
    margin-top: 15px; 
    opacity: 0.65;
    padding: 20px;
    width: 60%;
    height: 175px;
    transition-duration: 1s;
    /* border: 1px solid #1a1d20; */
}
.articleBox:hover {
    opacity: 1;
}
.tt {
    font-size: 0.9em;
    color: #6a6d71;
}
.change_color{
    color: #069b30;
}
.articleBox a:hover {
    color: #05a6c6;
    text-decoration: underline;
}
.articleBOXHistoryOfLinux {
    border-bottom: 1px solid white;
    background-image: url("./images/linux_logo.png");
    background-position: right center;
    background-position: 200px -30px;
    background-repeat: no-repeat;
    background-size: cover;
    height: 175px;
}

/* DualContent */

.articleBoxDual{
    margin: 40px 25px 25px 25px;
    width: 60%;
    display: flex;
    justify-content: space-between;
    align-items: center;

}
.articleBOXLinuxCommandLine{
    opacity: 0.8;
    padding: 10px;
    width: 50%;
    transition: 1s;
}
.articleBOXLinuxCommandLine:hover {
    opacity: 1;
}

@keyframes blink {
  0%, 49%  { opacity: 1; }
  50%, 100%{ opacity: 0; }
}
.cursor {
  display: inline-block;
  width: 10px;
  height: 18px;
  background: #ffffff;
  margin-left: 2px;
  animation: blink 1s step-end infinite;
  vertical-align: middle;
}
/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    nav {
        flex-wrap: wrap;
        padding: 15px 20px;
    }

    .hamburger {
        display: flex;
    }

    ul {
        display: none;
        flex-direction: column;
        width: 100%;
        margin-top: 15px;
        border-top: 1px solid #575b5b;
        padding-top: 10px;
    }

    ul.open {
        display: flex;
    }

    ul li {
        margin-left: 0;
        padding: 10px 0;
        border-bottom: 1px solid #1a1d20;
    }

    ul li:last-child {
        border-bottom: none;
    }

    h1 {
        font-size: 1.4em;
    }
    .articleBox{
        height: auto;
    }
    .articleBOXHistoryOfLinux{
        background-position: 150px 30px;
    }
    .articleBOXHistoryOfLinux{
        height: auto;
    }
    .articleBoxDual{
        width: 100%;
        flex-direction: column;
    }
}

@media (max-width: 400px) {
    #logo {
        font-size: 1.2em;
    }

    h1 {
        font-size: 1.1em;
    }
}