body {
    margin: 0;
    font-family: 'Courier New', monospace;
    background-color: #000;
    color: #f5f5f5;
}

header {
    background: linear-gradient(90deg, #222, #333);
    padding: 20px;
    text-align: center;
    border-bottom: 3px solid #0f0;
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
    color: #0f0;
}

nav {
    background-color: #000;
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 10px 0;
    border-bottom: 1px solid #0f0;
}

nav a {
    color: #0f0;
    text-decoration: none;
    font-weight: bold;
}

nav a:hover {
    text-decoration: underline;
}

.hero {
    padding: 60px 20px;
    text-align: center;
    background: url('images/fond2.jpg') center/cover;
    height: 800px;
}

.hero h2 {
    background-color: rgba(0,0,0,0.7);
    display: inline-block;
    padding: 15px 25px;
    border: 2px solid #0f0;
}

.container {
    padding: 40px 20px;
    max-width: 1600px;
    margin: auto;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.card {
    background-color: #1a1a1a;
    border: 1px solid #0f0;
    padding: 20px;
    transition: transform 0.2s;
}

.card:hover {
    transform: scale(1.03);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #0f0;
    margin-bottom: 15px;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #000;
    border-top: 2px solid #0f0;
    margin-top: 40px;
}

.btn {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 15px;
    border: 1px solid #0f0;
    color: #0f0;
    text-decoration: none;
}

.btn:hover {
    background-color: #0f0;
    color: #000;
}

.expications {
    font-family: 'Courier New', monospace;
    font-size: 18px;
    background-color: #000;
    color: #0f0;
    border-bottom: 1px solid #0f0;
    padding-left: 3px;
    padding-right: 3px;
}
.expications2 {
    font-family: 'Courier New', monospace;
    font-size: 18px;
    background-color: #000;
    color: #0f0;
    text-align: object-fit;
    padding-left: 3px;
    padding-right: 3px;
}

#boxFormulaire {
    border-radius:4px 4px 4px 4px;
    position:absolute;
    height:auto;
    z-index:31;
    background-color: #000000;  /*display:none;*/
    font-family: 'Courier New', monospace;
    font-size: 18px;
    padding-top: 0px;
    padding-right: 2px;
    padding-bottom: 25px;
    padding-left: 2px;
    text-align: center;
    color: #333;
    border-top-style: outset;
    border-right-style: outset;
    border-bottom-style: outset;
    border-left-style: outset;
    border-color: #0f0;
    display:none;
}
#boxFormulaire #fermer {
    text-align: center;
    height: 24px;
    width: 24px;
    position: absolute;
    top: 4px;
    right: 8px;
}

.barreTitre {
    border-radius:4px 4px 4px 4px;
    background-color: #000000;
    text-align: center;
    vertical-align: middle;
    font-family: 'Courier New', monospace;
    font-size: 20px;
    color: #0f0;
    height: 36px;
    width: 100%;
    
    padding-top: 2px;
    font-weight: bold;
}

#container_id{
    position: absolute;
    margin: 0 auto;
    padding: 22px 0;
    width: 450px;
    font-family: 'Courier New', monospace;
    color: white;
}