
*{
    margin: 0;
}
#particles-js{
    background-color: rgb(187, 11, 11);
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    z-index: -1;
}

#main {
    text-align: center;
    width: 100%;
    height: 80%
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

iframe {
    border-radius: 10px; 
}

.title {
    text-align: center;
    font-size: 5em;
    font-weight: bold;
    margin-bottom: 20px;
    height: 90%;
    position: absolute;
    color: #f1f1f1;

}

.title2 {
    text-align: center;
    font-size: 5em;
    font-weight: bold;
    margin-bottom: 20px;
    height: 90%;
    position: absolute;
    color: #f1f1f1;

}

.videos {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: relative;
    top:500px;
}


#subCount {
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
    background: linear-gradient(45deg, #ff0000, #ff7300);
    padding: 10px 20px;
    border-radius: 10px;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    
}

#Histoire {
    position: absolute;
    top: 75%;
    color: #ffffff;
}

#HistoireText {
    position: absolute;
    top: 95%;
    font-family: Arial, sans-serif; font-size: 16px; line-height: 1.5;
}

#TutoContributeur {
    position: absolute;
    top: 30%;
    font-family: Arial, sans-serif; font-size: 16px; line-height: 1.5;
}

#LogoOlanquaYoutube {
    position: absolute;
  top: 0;
  left: 0;
  width: 100px;
}

.beau-bouton {
    position: absolute;  
    top: 10px; 
    right: 10px;  
    display: inline-block;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    color: rgb(255, 255, 255);
    background-color: #ff0000; 
    border: 2px solid #000000; 
    border-radius: 25px;  
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);  
    transition: all 0.3s ease;  
}


.beau-bouton:hover {
    background-color: #ff002b;  
    border-color: #000000; 
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);  
    transform: translateY(-5px); 
}

.beau-bouton:active {
    transform: translateY(1px); 
}

.beau-bouton2 {
    position: absolute;  
    top: 10px; 
    right: 10px;  
    display: inline-block;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    color: rgb(255, 255, 255);
    background-color: #ff0000; 
    border: 2px solid #000000; 
    border-radius: 25px;  
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);  
    transition: all 0.3s ease;  
}


.beau-bouton2:hover {
    background-color: #ff002b;  
    border-color: #000000; 
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);  
    transform: translateY(-5px); 
}

.beau-bouton2:active {
    transform: translateY(1px); 
}



.moderateur {
    position: absolute;  
    display: inline-block;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    color: rgb(255, 255, 255);
    background-color: #ff0000; 
    border: 2px solid #000000; 
    border-radius: 25px;  
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);  
    transition: all 0.3s ease;  
}

.moderateur:hover {
    background-color: #ff002b;  
    border-color: #000000; 
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);  
    transform: translateY(-5px); 
}

.moderateur:active {
    transform: translateY(1px); 
}

.BoutonContributeur {
    position: absolute;  
    top: 10px; 
    right: 200px;  
    display: inline-block;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    color: rgb(255, 255, 255);
    background-color: #ff0000; 
    border: 2px solid #000000; 
    border-radius: 25px;  
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);  
    transition: all 0.3s ease;  
}


.BoutonContributeur:hover {
    background-color: #ff002b;  
    border-color: #000000; 
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);  
    transform: translateY(-5px); 
}

.BoutonContributeur:active {
    transform: translateY(1px); 
}

.BoutonEquipe {
    position: absolute;  
    top: 10px; 
    right: 400px;  
    display: inline-block;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    color: rgb(255, 255, 255);
    background-color: #ff0000; 
    border: 2px solid #000000; 
    border-radius: 25px;  
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);  
    transition: all 0.3s ease;  
}


.BoutonEquipe:hover {
    background-color: #ff002b;  
    border-color: #000000; 
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);  
    transform: translateY(-5px); 
}

.BoutonEquipe:active {
    transform: translateY(1px); 
}

.BoutonJeux {
    position: absolute;  
    top: 10px; 
    right: 550px;  
    display: inline-block;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    color: rgb(255, 255, 255);
    background-color: #ff0000; 
    border: 2px solid #000000; 
    border-radius: 25px;  
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);  
    transition: all 0.3s ease;  
}


.BoutonJeux:hover {
    background-color: #ff002b;  
    border-color: #000000; 
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);  
    transform: translateY(-5px); 
}

.BoutonJeux:active {
    transform: translateY(1px); 
}

.MiniaMaker {
    position: absolute;  
    display: inline-block;
    left: 30%;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    color: rgb(255, 255, 255);
    background-color: #ff0000; 
    border: 2px solid #000000; 
    border-radius: 25px;  
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);  
    transition: all 0.3s ease;  
}

.MiniaMaker:hover {
    background-color: #ff002b;  
    border-color: #000000; 
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);  
    transform: translateY(-5px); 
}

.MiniaMaker:active {
    transform: translateY(1px); 
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f1f1f1;
    margin: 0;
    padding: 0;
    text-align: center;
}
h1 {
    font-size: 2.5em;
    margin: 30px 0;
    color: #333;
}
.search-container {
        position: absolute; 
        top: 20px;
        left: 50%; 
        transform: translateX(-50%); 
     width: 80%; 
    max-width: 600px; 
    
    
}
.search-container input {
    width: 100%;
    padding: 12px;
    font-size: 18px;
    border: 2px solid #ccc;
    border-radius: 25px;
    outline: none;
    transition: border 0.3s ease;
}
.search-container input:focus {
    border-color: #5f6368;
}
.description {
    margin: 30px auto;
    width: 70%;
    font-size: 1.2em;
    color: #555;
    max-width: 1000px;
}
.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px; 
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 1600px; 
}

.container2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px; 
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 100px; 
}

.container3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px; 
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 500px; 
}

.game-card {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
    margin-top: 20px; 
    max-height: 500px; 
    overflow-y: auto; 
}
.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
.game-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}
.game-card h3 {
    margin: 10px 0;
    font-size: 1.5em;
    color: #333;
    
}
.rating {
    font-size: 1.1em;
    color: #ff9800;
    font-weight: bold;
}
a {
    text-decoration: none; 
    color: inherit; 
}

#Contributeur {
    position: absolute;
    top: 10%;
    color: #f1f1f1;
}

@media screen and (max-width: 1150px) {
    .moderateur {
        right: 10%;
    }

    .container2 {display: grid;
        grid-template-columns: 1fr;  
        grid-auto-rows: minmax(250px, auto); 
        gap: 20px; 
        padding: 40px 20px;
        max-width: 300px;
        margin: 0 auto;
        margin-top: 650px;}

        .container {
            display: grid;
            grid-template-columns: 1fr;
            grid-auto-rows: minmax(250px, auto);
            gap: -50px;
            padding: 40px 20px;
            max-width: 300px;
            margin: 0 0 0 -250px; 
            margin-top: 6990px;      
            justify-items: start;
        }
        

            .droit {
                position: relative;  
                top: -220px;  
                right: 50px;  
                width: 500px;
                
            }

            .search-container {
                display: none;
            }

            .container3 {
                display: grid;
            grid-template-columns: 1fr;
            grid-auto-rows: minmax(250px, auto);
            gap: 20px;
            padding: 40px 20px;
            max-width: 300px;
            margin: 0 0 0 -50px;  
            margin-top: 1600px;      
            justify-items: start;
            }

            


}

@media screen and (max-width: 1150px) {
    .beau-bouton {
        position: absolute;  
        top: 10px; 
        right: 10px;  
        display: inline-block;
        padding: 15px 30px;
        font-size: 15px;
        font-weight: bold;
        text-align: center;
        text-decoration: none;
        color: rgb(255, 255, 255);
        background-color: #ff0000; 
        border: 2px solid #000000; 
        border-radius: 25px;  
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);  
        transition: all 0.3s ease;  
    }

    .BoutonContributeur {
        position: absolute;  
        top: 10px; 
        right: 170px;  
        display: inline-block;
        padding: 15px 30px;
        font-size: 15px;
        font-weight: bold;
        text-align: center;
        text-decoration: none;
        color: rgb(255, 255, 255);
        background-color: #ff0000; 
        border: 2px solid #000000; 
        border-radius: 25px;  
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);  
        transition: all 0.3s ease;  
    }

    .BoutonJeux {
        position: absolute;  
        top: 10px; 
        right: 450px;  
        display: inline-block;
        padding: 15px 30px;
        font-size: 15px;
        font-weight: bold;
        text-align: center;
        text-decoration: none;
        color: rgb(255, 255, 255);
        background-color: #ff0000; 
        border: 2px solid #000000; 
        border-radius: 25px;  
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);  
        transition: all 0.3s ease;  
    }

    .BoutonEquipe {
        position: absolute;  
        top: 10px; 
        right: 330px;  
        display: inline-block;
        padding: 15px 30px;
        font-size: 15px;
        font-weight: bold;
        text-align: center;
        text-decoration: none;
        color: rgb(255, 255, 255);
        background-color: #ff0000; 
        border: 2px solid #000000; 
        border-radius: 25px;  
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);  
        transition: all 0.3s ease;  
    }

    .form-container iframe {
        width: 150%; 
        max-width: 900px; 
        height: 600px; 
        margin-left: -50px;
  
      }

      .title2 {
        text-align: center;
        font-size: 5em;
        font-weight: bold;
        margin-bottom: 20px;
        height: 95%;
        position: absolute;
        color: #f1f1f1;
        right: 5px;
    
    }

      
}

@media screen and (max-width: 430px) {
    .beau-bouton {
        position: absolute;  
        top: 150px; 
        right: 10px;  
        display: inline-block;
        padding: 15px 30px;
        font-size: 18px;
        font-weight: bold;
        text-align: center;
        text-decoration: none;
        color: rgb(255, 255, 255);
        background-color: #ff0000; 
        border: 2px solid #000000; 
        border-radius: 25px;  
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);  
        transition: all 0.3s ease;  
    }

    .BoutonContributeur {
        position: absolute;  
        top: 150px; 
        right: 200px;  
        display: inline-block;
        padding: 15px 30px;
        font-size: 18px;
        font-weight: bold;
        text-align: center;
        text-decoration: none;
        color: rgb(255, 255, 255);
        background-color: #ff0000; 
        border: 2px solid #000000; 
        border-radius: 25px;  
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);  
        transition: all 0.3s ease;  
    }

    .BoutonJeux {
        position: absolute;  
        top: 250px; 
        right: 40px;  
        display: inline-block;
        padding: 15px 30px;
        font-size: 18px;
        font-weight: bold;
        text-align: center;
        text-decoration: none;
        color: rgb(255, 255, 255);
        background-color: #ff0000; 
        border: 2px solid #000000; 
        border-radius: 25px;  
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);  
        transition: all 0.3s ease;  
    }

    .BoutonEquipe {
        position: absolute;  
        top: 249px; 
        right: 220px;  
        display: inline-block;
        padding: 15px 30px;
        font-size: 18px;
        font-weight: bold;
        text-align: center;
        text-decoration: none;
        color: rgb(255, 255, 255);
        background-color: #ff0000; 
        border: 2px solid #000000; 
        border-radius: 25px;  
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);  
        transition: all 0.3s ease;  
    }

    .MiniaMaker {
        position: absolute;  
        display: inline-block;
        left: 5%;
        padding: 15px 30px;
        font-size: 18px;
        font-weight: bold;
        text-align: center;
        text-decoration: none;
        color: rgb(255, 255, 255);
        background-color: #ff0000; 
        border: 2px solid #000000; 
        border-radius: 25px;  
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);  
        transition: all 0.3s ease;  
    }

    .title2 {
        text-align: center;
        font-size: 4em;
        font-weight: bold;
        margin-bottom: 20px;
        height: 60%;
        position: absolute;
        color: #f1f1f1;
    
    }

    .form-container iframe {
        width: 150%; 
        max-width: 900px; 
        height: 500px; 
        margin-left: -65px;
  
      }

      .title {
        text-align: center;
        font-size: 4em;
        font-weight: bold;
        margin-bottom: 20px;
        height: 95%;
        position: absolute;
        color: #f1f1f1;
        right: 5px;
    }

    .title2 {
        text-align: center;
        font-size: 2.9em;
        font-weight: bold;
        margin-bottom: 20px;
        height: 95%;
        position: absolute;
        color: #f1f1f1;
        right: 5px;
    
    }

    .droit {
        position: relative;  
        top: -220px;  
        right: 50px;  
        width: 500px;
        font-size: 2.242em;
       
}

}