* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
}
 
body {
    background-color: black;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}
 
a {
    text-decoration: none !important;
}

a:hover {
    text-decoration: underline;
}



header {
    position: static;
    left: 0;
    right: 0;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    transition: all 0.4s;
}

header h1 {
    margin: 0;
    font-size: 80px;
}

img  {
    max-width: 100%;
}


header nav ul {
    display: flex;

}

header nav li {
    padding: 30px;
    list-style: none;
    font-size: 25px;
    font-family: 'Rozha One', serif;
    border-top: 4px solid transparent;
    transition: 0.4s;
}

header nav li:hover {
    border-top: 4px solid #fff;
}

header nav a {
    color: #fff;
}

header #reseaux-sociaux {
    display: flex;
    width: 5%;
}

header #reseaux-sociaux li {
    padding: 10px;
    list-style: none;
}

header.scrolled {
    background-color: #000;
    color: #fff
}

#title {
    width: 100%;
    padding: 40px 0;
    background-color: 313131;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    text-align: center;
    position: static;
    top: 0;
    z-index: 1000;
}
 
#title h1 {
    font-size: 2.5em;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 0;
    font-weight: 700;
}
 
#container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    padding: 40px 20px;
    background-color: black;
    width: 100%;
}
 
#container div {
    background: linear-gradient(145deg, #007bff, #0056b3);
    border-radius: 15px;
    padding: 40px;
    width: 350px;
    height: 450px;
    margin: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
 
#container div:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}
 
#container h1 {
    font-size: 1.7em;
    margin-bottom: 15px;
    text-align: center;
    color: #f0f0f0;
    font-weight: 700;
}
 
#container p {
    text-align: justify;
    font-size: 1.3em; 
    color: #dcdcdc;
    font-weight: 400;
}
 
 
#container div h1 {
    margin-bottom: 20px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.light-effect {
    position: relative;
    transition: box-shadow 0.4s ease, transform 0.4s ease;
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    overflow: hidden;
}
 
.light-effect:hover {
    transform: translateY(-10px); 
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.5),
                0 0 60px rgba(255, 255, 255, 0.3),
                0 0 100px rgba(255, 255, 255, 0.2);
}
 

#container div:nth-child(1) {
    position: relative;
    background-image: url('rire.jpg'); 
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    overflow: hidden;
}
 

#container div:nth-child(1)::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); 
    z-index: 1; 
    border-radius: 15px;
}
 

#container div:nth-child(1) h1,
#container div:nth-child(1) p {
    position: relative;
    z-index: 2; 
    color: white; 
}
 
 
#container div:nth-child(2) {
    background-image: url('music.jpg');
}
 
#container div:nth-child(3) {
    background-image: url('new-magicien.png');
}
.more-info {
    display: inline-block;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border: 1px solid white;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
    transition: background-color 0.3s, color 0.3s;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}
 
.more-info:hover {
    background-color: black;
    color: white;
}
 

#join-us {
    position: relative;
    margin-top: 50px;
    padding: 20px 0;
    height: 100px; 
    background-color: #333;
}


footer {
    display: flex;
    justify-content: center;
    background-color: #000;
    color: #ffffff;
    border-top: 2px solid #fff; /* Ajoute une ligne blanche en haut du footer */
}

footer > div {
    width: 33%;
    padding: 30px;
    text-align: center;
    color: #ffffff;
}