

.back-home {
    display: inline-block;
    margin: 15px 20px;
    padding: 10px 15px;
    background-color: #34495e;
    color: #ecf0f1;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease, transform 0.2s ease;
}
.back-home:hover {
    background-color: #2c3e50;
    transform: translateX(-3px);
}



* {
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f9f9f9;
    color: #333333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}


.page-title {
    background-color: #2c3e50; 
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-bottom: 20px;
}

.content {
    max-width: 800px; 
    margin: 0 auto;   
    padding: 20px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05); 
}


section {
    margin-bottom: 40px;
}

h2 {
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 5px;
    margin-bottom: 20px;
}




.main-nav ul {
    list-style-type: none; 
    padding: 0;
    margin: 0 0 20px 0;
    background-color: #f1f1f1;
    display: flex; 
}

.main-nav li {
    padding: 10px 15px;
    border-right: 1px solid #ddd;
}


.main-nav a {
    color: #2980b9;
    text-decoration: none;
}


.main-nav a:hover {
    color: #333;
    text-decoration: underline;
}


.main-nav a.active {
    color: #e74c3c; 
    font-weight: bold;
    text-decoration: none;
}


article.post {
    border: 1px solid #eee;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 3px;
}

article.post h2 {
    border-bottom: none;
    font-size: 1.4em;
    margin-top: 0;
    color: #444;
}


article.featured {
    background-color: #eaf2f8; 
    border: 1px solid #3498db; 
}


article.post p:first-of-type {
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 10px;
}



.main-nav li:nth-child(even) {
    background-color: #e6e6e6;
}



.reponse-item {
    background-color: #fdfdfd;
    border-left: 4px solid #3498db; 
    padding: 10px 15px;
    margin-bottom: 20px;
}

.reponse-item h3 {
    margin-top: 0;
    color: #333;
    font-size: 1.1em;
}

.reponse-item ol {
    margin-top: 5px;
}

.reponse-item code {
    background-color: #f1f1f1;
    padding: 2px 4px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-family: Consolas, monospace; 
}


.back-btn {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 40px;
    height: 40px;
    background-color: #fff;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s;
    z-index: 1000;
}
.back-btn:hover {
    transform: scale(1.1);
    background-color: #f4f4f4;
}
