
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif; 
}

img {
    max-width: 100%; 
    height: auto;    
    display: block;  
}

body {
    background-color: #FFFFFF; 
    color: #000000; 
    line-height: 1.5;
    max-width: none; 
    margin: 0;
    padding: 0;
    border: none; 
    /*padding-bottom: 50px;*/
    min-height: 100vh;
    
    
}
#backgroundCanvas {
   
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; 
    background-color: #000000; 
}


header {
    background-color: #000000; 
    color: #FFFFFF;
    padding: 10px 15px;
    border-bottom: 1px solid #000000; 
    display: flex; 
    justify-content: space-between;
    align-items: center;
    position: relative; 
    z-index: 10; 

}

.page-content {
   
    max-width: 700px;
    margin: 30px auto; 
    padding: 20px;
    
    
    background-color: #FFFFFF; 
    border: 1px solid #000000;
    position: relative; 
    z-index: 2;
    
    line-height: 1.8; 
    font-size: 15px;
}

.page-content h2, .page-content h3 {
    font-family: "Times New Roman", Times, serif; 
    border-bottom: 2px solid #000000;
    padding-bottom: 5px;
    margin-bottom: 15px;
    margin-top: 25px;
}

.page-content p {
    margin-bottom: 15px;
}


.content-image {
    max-width: 40%; 
    height: auto;
    border: 1px solid #000000;
    margin: 10px 0;
    

}

.content-image.left-align {
    float: left;
    margin-right: 15px;
}


.content-image.right-align {
    float: right;
    margin-left: 15px;
}

.content-image.center-align {
    margin-left: 15px;
}


.page-content::after {
    content: "";
    display: table;
    clear: both;
}


.controls {
    padding: 7px;
    background-color: #EEEEEE; 
    border-bottom: 1px solid #000000;
    flex-grow: 1;
    display: flex; 
    justify-content: space-between;
    align-items: center;
    z-index: 10; 
}

.controlsad {
    padding: 15px;
    background-color: #EEEEEE; 
    border-bottom: 1px solid #000000;
    flex-grow: 1;
    display: flex; 
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.controlsqotd {
    padding: 20px;
    background-color: #EEEEEE; 
    border-bottom: 1px solid #000000;
    flex-grow: 1;
    display: flex; 
    justify-content: center;
    align-items: center;
    z-index: 10; 
}

.image-lien {
  width: 88px;
  height: auto;
  /*border-radius: 8px;*/
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

/*.image-lien:hover {*/
  /*transform: scale(1.01);*/
 /* box-shadow: 0 4px 12px rgba(0,0,0,0.3);*/
/*}*/


.main-nav a, 
.main-nav a:link, 
.main-nav a:visited {
    color: #CCCCCC; 
    text-decoration: none;
    margin-left: 10px;
}

.main-nav a:hover {
    color: #FFFFFF; 
    text-decoration: underline; 
    background-color: #333333; 
}
/*intro logo sur index*/

.intrologo {
    padding: 15px 0;
    align-items: center;
    flex-grow: 1; 
    position: relative; 
    z-index: 1; 
}

.intrologo img {
    max-width: 90%;
    height: auto;
    border: 3px solid #000000; 
    align-items: center;
}
.search-bar {
    display: flex;
    align-items: center;
    margin: 10px auto;
    max-width: 95%;
    background-color: #000;
    border: 1px solid #e834eb;
    box-shadow: 0 0 10px #e834eb9;
    padding: 7px;
    font-family: "Courier New", monospace;
}

.search-bar input[type="text"] {
    flex-grow: 1;
    padding: 7px;
    font-size: 14px;
    border: 1px solid #e834eb;
    background-color: #001100;
    color: #e834eb;
    outline: none;
    margin-right: 5px;
}
.search-bar input[type="text"]:focus {
    box-shadow: 0 0 6px #e834eb;
}

.search-bar button {
    padding: 6px 11px;
    background-color: #000000;
    border: 1px solid #e834eb;
    color: #e834eb;
    cursor: pointer;
    text-transform: uppercase;
}
.search-bar button:hover {
    background-color: #001100;
    box-shadow: 0 0 6px #e834eb;
}

.bouton-flottant-in {
    
    position: relative; 
    
    
    display: block; 
    margin: 20px auto;
    align-items: center;
    
    z-index: 5; 
    

    padding: 10px 15px;
    border: 3px outset #000000;
    background-color: #8a8a8a;
    color: #000000;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
    border-radius: 0;
}

.bouton-flottant-in:active {
    border: 3px inset #000000;
}

.bouton-flottant {
    
    position: relative; 
    
    
    display: block; 
    margin: 20px auto;
    align-items: center;
    
    z-index: 5; 
    

    padding: 10px 15px;
    border: 3px outset #000000;
    background-color: #CCCCCC;
    color: #000000;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
    border-radius: 0;
}

.bouton-flottant:active {
    border: 3px inset #000000;
}


.art-gallery {
    display: grid;
    
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 20px; 
    padding: 20px; 
}

.art-item a,
.art-item a:link,
.art-item a:visited {
    
    text-decoration: none;
    color: #000000; 
    display: block;
}

.art-item a:hover {
    text-decoration: underline;
    color: #333333; 
}


.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px; 
    padding: 30px;
    
    position: relative; 
    z-index: 2;
}

.project-item {
    background-color: #FFFFFF;
    border: 1px solid #000000;
    overflow: hidden;
    box-shadow: none; 
    transition: none;
    text-align: center;
    align-items: center;
    padding: 5px;
}

.project-item:hover {
    background-color: #DDDDDD; 
}

.project-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.project-item img {
    width: 100%;
    height: 200px; 
    object-fit: cover;
    border: 2px solid #000000; 
    display: block;
    margin: 0 auto;
}

.project-item h3 {
    margin: 10px 0 5px;
    font-size: 16px;
    color: #000000;
}

.project-item .project-meta {
    
    font-size: 12px;
    color: #333333;
    padding-bottom: 10px;
}


.blog-list {
    max-width: 800px;
    margin: 20px auto; 
    padding: 20px;
    background-color: #FFFFFF; 
    position: relative; 
    z-index: 2;
}

.blog-post {
    border: 1px solid #000000; 
    padding: 15px;
    margin-bottom: 25px; 
    background-color: #F8F8F8; 
    border-radius: 0; 
}

.blog-post h2 {
    
    font-family: "Times New Roman", Times, serif; 
    font-size: 20px;
    margin-bottom: 5px;
}

.blog-post h2 a {
    
    color: #000000;
    text-decoration: none;
}

.blog-post h2 a:hover {
    text-decoration: underline;
    color: #0000FF; 
}

.post-meta {
   
    font-size: 12px;
    color: #666666;
    margin-bottom: 10px;
    border-bottom: 1px dashed #CCCCCC; 
    padding-bottom: 5px;
}

.post-summary p {
    font-size: 14px;
    margin-bottom: 10px;
}

.lire-suite {
    
    color: #CC0000; 
    font-weight: bold;
    text-decoration: none;
    font-family: monospace; 
}

.lire-suite:hover {
    text-decoration: underline;
}


footer {
    text-align: center;
    margin: 0;
    padding: 2rem;
    display: flex;
    background-color: #000000;
    color: #FFFFFF;
    width: 100%;
    border-top: 1px solid #000000; 
    font-size: 12px;
    position: relative;
    z-index: 10;
    
   
    justify-content: center; 
    align-items: center;
}

@media screen and (max-width: 600px) {
    
    
    header {
        flex-direction: column; 
        text-align: center;
        padding: 10px;
    }

    .main-nav {
        margin-top: 10px;
    }
    .main-nav a {
        margin: 0 5px; 
        font-size: 14px;
    }

    
    .search-bar {
        flex-direction: row; 
        padding: 0 10px; 
    }
    
    .search-bar button {
        
        padding: 5px 8px;
        font-size: 12px;
    }

    
    .art-gallery {
        
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
        gap: 10px; 
        padding: 10px;
    }
    
   
    .categories {
        justify-content: space-around; 
    }
    .category-btn {
        margin: 3px; 
    }
}