* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #181818;
    color: #fff;
}

header {
    background-color: #000;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    width: 150px;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-right: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

nav ul li a:hover {
    color: #ff9900;
}

.main-content {
    text-align: center;
    margin: 50px auto;
}

.main-content h1 {
    font-size: 3em;
}

.main-content p {
    font-size: 1.2em;
    margin-top: 20px;
}

.surprise-btn {
    margin-top: 30px;
}

button {
    background-color: #ff9900;
    color: #fff;
    border: none;
    padding: 15px 30px;
    font-size: 1.2em;
    cursor: pointer;
    border-radius: 5px;
}

button:hover {
    background-color: #cc7a00;
}

/* Pour fixer le footer en bas de la page */
html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

footer {
    background-color: #000;
    padding: 20px;
    text-align: center;
    margin-top: auto; /* Permet de repousser le footer vers le bas */
    width: 100%;
}


footer a {
    color: #ff9900;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}


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

.video {
    position: relative;
    cursor: pointer;
    transition: transform 0.3s;
}

.video img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

.video:hover {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-image: url('play-button.png'); /* Un icône de bouton lecture transparent */
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.8;
}

.play-button:hover {
    opacity: 1;
}
