body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f5f5f5;
    color: #333;
}

.header-replay {
    background-image: url(../images/image8.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 100vh;
    text-align: center;
}
.header-content{
    background-color: rgb(134, 6, 6);
    color: #fff;
    padding: 20px;
}

header .replay-container{
    position: relative;
    top: 20%;
    left: 35%;
    background-color: rgba(255, 255, 255, 0.442);
    box-shadow: 0 0 8px 3px #fff;
    color: black;
    width: 30%;
    padding: 20px;
    justify-content: center;
    align-items: center;
    transition: all 1s ease-in;
}
header .replay-container:hover{
    background-color: black;
    color: white;
    transform: translateY(-10px);
}

header  .replay-container h2{
    color: rgb(142, 1, 1);
}
.header-container{
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 255, 0.299);
}

header h1 {
    margin: 0;
    font-size: 2.5em;
}

header p {
    font-size: 1.2em;
    margin-top: 10px;
    margin-bottom: 10px;
}

.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2em;
    margin-bottom: 20px;
    text-align: center;
    color: #a90000;
    width: 100%;
    padding: 10px;
    transition: 1s ease;
    transition-delay: 0.4ms;
}
.section-title:hover {
    background-color: rgb(118, 0, 0);
    color: white;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.news-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-card .card-content {
    padding: 15px;
}

.news-card h3 {
    margin: 0 0 10px;
    font-size: 1.5em;
    color: #9f0000;
}

.news-card p {
    margin: 0;
    font-size: 1em;
    line-height: 1.6;
    color: #666;
}

.voir-link{
    color: #fff;
    text-decoration: none;
    text-align: center;
}

.voir{
    background-color: green;
    width: 40%;
    text-align: center;
    justify-content: center;
    align-items: center;
    margin: 10px;
    right: 30px;
}

.presentation-evenement {
    display: flex;
    flex-wrap: wrap;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.217);
}

.image-evenement {
    flex: 1 1 50%;
}

.image-evenement img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.details-evenement {
    flex: 1 1 50%;
    display: flex;
    background-color: darkred;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.details-evenement h2 {
    background-color: white;
    font-size: 28px;
    color: #8a0505;
    margin: 15px auto 15px auto;
    text-align: center;
    padding: 5px;
    transition: 1.2s;
    position: relative;
    bottom: 10%;
    width: 90%;
}
.details-evenement h2:hover {
    background-color: darkred;
    color: #ffe;
}


.details-evenement p {
    font-size: 16px;
    line-height: 1.2;
    color: #dad3da;
}
.details-evenement .date-evenement {
    text-align: justify;
    margin-left: 10px;
}

.description-evenement {
    margin: 8px 0;
    font-size: 16px;
    font-style: italic;
    color: #333;
}

/* Responsive */
@media (max-width: 768px) {
    .presentation-evenement {
        flex-direction: column;
        text-align: center;
    }

    .image-evenement,
    .details-evenement {
        flex: 1 1 100%;
    }

    .image-evenement img {
        margin-bottom: 20px;
    }

.replay-container{
	display:none;
}
}


footer {
    text-align: center;
    background: #150050;
    color: #fff;
    padding: 10px;
    margin-top: 20px;
}

