body{
    margin:0;
    padding:0;    
    font-family: 'Helvetica Neue', Arial, Helvetica, Verdana, sans-serif;
}

h1 {
    font-size : 40px;
    font-family: 'VT323', monospace;
    margin : 1% 5% 0 5%;
}


a {
    color: black;
    text-decoration: none;
  
}

p{
    font-size:0.7rem;
    text-align:justify;
}

p img{
    display: block;
    margin-left: auto;
    margin-right: auto;
}

@font-face {
	font-family: "VT323";
	src:url("../static/font/VT323-Regular.ttf") ;
}



@media screen and (min-width:  700px) {
    
    h1 {
    font-size : 40px; !important
        
    }

    #container .articles {
        margin : 0% 10% 0% 5%;
        display : block 
    }
    
    #container .articles div{
        margin-top: 0px;
    }
    
    #container .articles div ul{
        margin-top: 0px;
    }
    
    #container .articles ul li{
      font-size: 12vh !important;
      padding: 3vh 0 3vh 1% !important; 

    }
    
    #content p {
    margin : 2% 20% 2% 20%;
    }
    
    #container .img_index{
        margin-top: -30px ;
    }
    
    #container .articles .about {
        font-size: 2vh !important;
        /*font-family: system-ui;*/
        width :31% !important;
        margin-top: 0px !important;
    }
    
    #container .about_button {
    font-size: 4vh !important;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999; /* Make sure it's on top of everything */
    width: auto;
    padding: 10px 20px;
    border-radius: 8px;
    }
    
    #container img{
    width:60% !important;
    }
    
    video {
    width : 80% !important;
    }
    
    
}

.marge{
    margin : 0 15% 5% 15%;
}

.wave {
  position: fixed;    
  font-size: 15px;
  font-family:none;
}

#container img{
    display: block;
    margin-left: auto;
    margin-right: auto;
    width:80% ;
}

#container .img_index a img{
margin-bottom: 3% ;
}

#container .articles  {
    display : block;
}

#container .articles div{
    font-family: 'VT323', monospace;
    margin-top : 0;
    left: 2.9%;
    position: fixed;
    flex: 0 0 33.3333%;
}

#container .articles ul {
    height:10px;
    margin-top : 0;
    padding-left: 0px;
    list-style:none;
}

#container .articles ul li{
  font-size: 6.2vh;
padding: 5.75vh 0 5.75vh 1%;
white-space: nowrap;
}

#container .articles ul li a {
    color : #000000;
    text-decoration:none;
}

#container .articles ul li a:hover {
    color : #000000;
}

#container .articles ul li span , #articles h2{
    padding-right:20px;
}

#container.content-wrapper{
    width:80%;
    margin:auto ;
}    

#container .articles .contact{
    font-size: 1.8vw;
    position: fixed;
    top: 0;
    right:1%;
    text-align:right;
    z-index: 2; /* Place the overlay above the content */
}


#container .articles .about {
    font-size: 2vh !important;
    margin-top: 0px !important;
    position: fixed;
    float :right;
    width : 66%;
    bottom: 0;
    left:0;
    z-index: 2; /* Place the overlay above the content */
}

#container .articles .about_button {
    margin-top: 0px !important;
    position: fixed;
    float :right;
    width : 66%;
    bottom: 0;
    left:0;
    z-index: 9999; /* Make sure it's on top of everything */
    width: auto;
}


video {
    width : 80%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#container.gal{
    width: 100%;
    height: 32px;
}

#metad{
    margin : -0.5% 5% 1.5% 5%;
}

#metad span {
    font-size: 0.8rem;
}

#metad span:after{
    content:" / ";
    margin: 0 20px 0 20px;

}
#metad .cat {
    font-weight: bolder;
}

#content p {
    font-family: Arial, Helvetica, sans-serif;
    font-size:0.75rem;
    margin : 1% 5% 1% 5%;

}


/* ---- language selector ---- */
.langsel {
    position: fixed;
    top: 12px;
    right: 16px;
    z-index: 10000;
    font-family: 'VT323', monospace;
    font-size: 18px;
    line-height: 1;
    letter-spacing: 1px;
    background: rgba(255,255,255,0.85);
    padding: 4px 8px;
}
.langsel a {
    color: #888;
    text-decoration: none;
}
.langsel a.active {
    color: #000;
}
.langsel span {
    color: #bbb;
    margin: 0 4px;
}


/* ---- single article (cleaner layout) ---- */
body.single {
    background: #fff;
}

#article {
    max-width: 720px;
    margin: 6vh auto 10vh auto;
    padding: 0 24px;
}

#article .article-header {
    margin-bottom: 2.4rem;
    border-bottom: 1px solid #000;
    padding-bottom: 1rem;
}

#article h1 {
    font-family: 'VT323', monospace;
    font-size: 2.6rem;
    line-height: 1.05;
    margin: 0 0 1rem 0;
}

#article .meta {
    font-family: 'VT323', monospace;
    font-size: 0.95rem;
    color: #555;
    display: flex;
    flex-wrap: wrap;
    gap: 0 14px;
}
#article .meta span:not(:last-child)::after {
    content: " /";
    color: #bbb;
    margin-left: 14px;
}
#article .meta .cat {
    color: #000;
    font-weight: bold;
}

#article .body {
    font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;
    font-size: 0.95rem;
    line-height: 1.65;
    color: #111;
}
#article .body p {
    font-size: 0.95rem;
    margin: 0 0 1.1rem 0;
    text-align: left;
}
#article .body a {
    color: #000;
    text-decoration: underline;
    text-underline-offset: 2px;
}
#article .body img,
#article .body video {
    display: block;
    width: 100%;
    height: auto;
    margin: 1.6rem auto;
}

/* keep the home-link wave visible on the single page */
body.single .articles {
    margin: 0;
}
body.single .wave {
    top: 14px;
    left: 16px;
    font-size: 16px;
}

/* ---- minimal gallery ---- */
.gallery {
    margin: 3rem 0 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 8px;
}
.gallery-item {
    display: block;
    overflow: hidden;
    background: #f4f4f4;
}
.gallery-item img {
    display: block;
    width: 100%;
    height: 160px;
    object-fit: cover;
    transition: opacity 0.15s ease;
}
.gallery-item:hover img {
    opacity: 0.8;
}

@media screen and (max-width: 700px) {
    #article {
        margin: 8vh 0 6vh 0;
        padding: 0 18px;
    }
    #article h1 {
        font-size: 2rem;
    }
    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-item img {
        height: 120px;
    }
}







