body, html{
	margin:0;
	padding:0;
	font-family: 'Nanum Gothic', sans-serif;
	background: #ffffff;
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.container{
	width: 90%;
	margin: auto;
	position: relative;
}
.container-footer{
    width: 90%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.header{
	height:300px; /* 800 */
	width: 100%;
	background: black;
	position: relative;
}
.texture{
	width: 100%;
	height: 100%;
	position: absolute;
	top:0; left:0;
	background: url('./img/Autres/headlower.jpg')  center no-repeat;
	background-size: cover;
	opacity: 76%;
}
.nav{
	width: 100%;
	height: 100px;
	display:flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
    padding-right: 3%;
}
.logo h1{
    margin-top: 20px;
	color: #fff;
	font-size: 40px;
}
.logo img{
    margin-top: 25px;
    height: 90px;
    opacity: 75%;
}
.logo img:hover{
    transform: scale(0.95);
}
.link{
	color: rgb(255, 255, 255);
	text-decoration: none;
    font-size: 35px;
    font-weight: bold;
    padding-left: 30px;
}
.link:hover{
    color: #848889;
}
.slogant{
	text-align: center;
    position: relative;
}
#slogant_title{
	color: #000000;
	font-size: 46px;
    font-weight: bold;
}
.slogant h1{
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    line-height: 4.5rem;
}
.char{
    transform: translateY(100px);
    transition: transform .5s;
}
.btnN{
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    padding: 20px 7px;
    margin-top: 40px;
    color: black;
    text-decoration: none;
    text-transform: uppercase;
    transition: 0.5s; 
    letter-spacing: 4px;
    overflow: hidden; 
    z-index: 1;
    left: 50%;
    transform: translateX(-50%);
}
.btnN:hover{
    background: #f40303; color: #050801;
}
.btnN span{
    position: absolute;
    display: block;
}
.btnN span:nth-child(1){
    top: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg,transparent,#f40303);
    animation: animate1 1s linear infinite;
}
@keyframes animate1{
    0%{
        left: -100%;
    }
    50%,100%{
        left: 100%;
    }
}
.btnN span:nth-child(2){
    top: -100%; right: 0;
    width: 2px; height: 100%;
    background: linear-gradient(180deg,transparent,#f40303);
    animation: animate2 1s linear infinite;
    animation-delay: 0.25s;
}

@keyframes animate2{
    0%{ top: -100%; }
    50%,100%{ top: 100%; }
}
.btnN span:nth-child(3){
    bottom: 0;
    right: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(270deg,transparent,#f40303);
    animation: animate3 1s linear infinite;
    animation-delay: 0.50s;
}
@keyframes animate3{
    0%{
        right: -100%;
    }
    50%,100%{
        right: 100%;
    }
}
.btnN span:nth-child(4){
    bottom: -100%;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(360deg,transparent,#f40303);
    animation: animate4 1s linear infinite;
    animation-delay: 0.75s;
}
@keyframes animate4{
    0%{
        bottom: -100%;
    }
    50%,100%{
        bottom: 100%;
    }
}
.box-articles{
    margin-top: 60px;
}
.articles_title{
	font-size: 30px;
	text-align: center;
	color: #333;
	border-bottom: 1.8px solid #f40303;
	display: inline;
}
.articles{
	text-align: center;
	margin-top: 40px;
}
.articles_items{
	display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 40px;
}
.article{
    width: 100%;
	height: 310px;
	border-radius: 5px;
	padding: 20px;
	text-decoration: none;
    border: #000000 1px solid;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform .3s ease;
    background: #fff;
}

.name{
	color: #000000;
	text-align: left;
	font-size: 40px;
    margin-bottom: 10px;
    border-bottom: #000000 1px solid;
}
.imageArticle{
    width: 100%;
    height: 80%;
}
#b1{
    background: url("./img/main/article2021.jpg") center no-repeat;
    background-size: 80%;
    background-repeat: no-repeat;
    background-position: center;
}
#b2{
    background: url("./img/main/article2022.jpg") center no-repeat;
    background-size: 75%;
    background-repeat: no-repeat;
    background-position: center;
}
#b3{
	background: url("./img/Autres/article2023lower.jpg") center no-repeat;
    background-size: 99%;
    background-repeat: no-repeat;
    background-position: center;
}
#b4{
	background: url("./photo2024/background.jpg") center no-repeat;
    background-size: 99%;
    background-repeat: no-repeat;
    background-position: center;
}
#b5{
	background: url("background2025.jpg") center no-repeat;
    background-size: 99%;
    background-repeat: no-repeat;
    background-position: center;
}

@media (max-width: 1024px){
  .articles_items{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px){
  .articles_items{ grid-template-columns: 1fr; }
  .article{ width: 100%; }
}


.footer{
	background: #505556;
	color: white;
	height: 360px;
	position: relative;
    margin-top: 50px;
    padding-top: 65px;
}
.contact-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.contact-form h2 {
    font-size: 24px;
    margin-bottom: 10px;
}
.contact-form form{
    width: 100%;
    max-width: 400px;
}
.contact-form label {
    font-size: 16px;
    margin-top: 10px;
}
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.contact-form button{
    background-color: #f40303;
    color: white;
    border: none;
    padding: 10px 20px;
    margin-top: 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.contact-form button:hover{
    background-color: #d60101;
}
.footer-banner{
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px;
    bottom: 0;
    width: 100%;
}

.box-container{
    display: flex;
    margin-top: 5%;
    align-items: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: center;
}
.box{
    display: flex;
    margin-left: 10px;
    cursor: pointer;
}
.box:not(:checked) {
    z-index: 1;
    background-color: rgb(255, 255, 255);
}
.box-content{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}
.info{
    border-radius: 7px;
    height: 30px;
    width: 280px;
    margin-top: 10px;
}
#btnIns{
    background-color: #f40303;
    color: white;
    border: none;
    padding: 10px 20px;
    margin-top: 30px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    /*visibility: hidden;*/
}
.textTemp{
    color: red;
}
.info-image-container {
    display: flex;
    align-items: flex-start;
    margin-top: 55px;
    transition: transform 0.3s;
}
.image-container {
    flex: 1;
    padding: 10px;
    align-items: center;
    justify-content: flex-end;
    display: flex;
}
.image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 5.5px;
    z-index: 0;
    overflow: hidden;
}
.info-container{
    flex: 2;
    padding: 20px;
    text-align: left;
}
.info-container ul{
    margin-top: 50px;
    margin-left: 20px; 
    padding-left: 20px; 
}
.info-container li{
    margin-bottom: 15px;
}
.gg-instagram{
    margin-left: 5px;
    margin-right: 5px;
}
.spLi{
    display: flex;
}
#openPopup{
    cursor: pointer;
}
.categorie{
    margin-top: 40px;
}
.vainqueur_items {
    display: flex;
    justify-content: space-between;
}
.name_v{
    margin: 20px;
    font-size: 17px;
    padding-bottom: 6px;
    border-bottom: #505556 1px solid;
}
.imageArticle_v{
    width: 100%;
    height: 190px;
    background-size: cover;
}
.article_v {
    width: 80%;
}
#v1{
    background: url("./img/photoTournois/Photo_Jules/General/finalisteFille.jpeg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 90%;
}
#v2{
    background: url("./img/photoTournois/Photo_Jules/General/finalisteGars.jpeg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 90%;
}
#v3{ 
    background: url("./img/photoTournois/Photo_Jules/General/IMG-20230903-WA0007.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 85%;
}
#v1_2024{
    background: url("./photo2024/FinalisteFille_ml-min.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 85%;
}
#v2_2024{
    background: url("./photo2024/FinalistesHomme_ml-min.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 85%;
}
#v3_2024{
    background: url("./photo2024/Finalistes4vs4.jpeg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 85%;
}
#v1_2025{
    background: url("F.JPG");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 85%;
}
#v2_2025{
    background: url("H.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 85%;
}
#v3_2025{
    background: url("M.JPG");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 85%;
}
.sponsor{
    margin-top: 25px;
}
.sponsor img{
    margin-top: 30px;
    height: 101px;
}
.edition_2023{
    margin-top: 120px;
}
.message_2023{
    margin-top: 20px;
    font-size: 17px;
}
.equipe_v{
    margin-top: 12px;
}
.as_v{
    margin-top: 20px;
    font-size: 13.9px;
}
@media screen and (max-width: 767px) {
    .nav{
        align-items: flex-start;
        margin-top: 5px;
    }
    .menu .link{
        font-size: 20px;
        left: 0%;
        top: 15px;
        color: #000000;
    }
    .logo img{
        height: 50px;
        top: 0%;
    }
    .logo h1{
        margin-top: 10px;
    }
    #slogant_title{
        font-size: 26px;
        line-height: 1.9rem;
    }
    .box-container{
        justify-content: flex-start;
        margin-top: 20px;
    }
    .box{
        margin: 5px 0;
    }
    .info-image-container{
        flex-direction: column;
        align-items: center;
    }
    .info-container ul {
        margin-top: 30px;
        margin-left: 0;
        padding-left: 0;
    }
    .info-container li {
        margin-bottom: 15px;
    }
    .name{
        font-size: 35px;
    }
    .articles_items {
        display: flex;
        flex-wrap: wrap; 
        justify-content: center;
        gap: 20px;
    }
    .article {
    flex: 1 1 calc(33% - 40px); 
    max-width: 300px;         
    border-radius: 5px;
    padding: 20px;
    text-decoration: none;
    border: #000000 1px solid;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
    }
    .article:hover{
        transform: translate(0px, 6px);
    }
    .articles_title{
        font-size: 28px;
        margin-top: 150px;
        margin-bottom: 15px;
    }
    .name_v{
        margin-bottom: 3px;
    }
    .popup-content{
        width: 90%; 
        left: 5%;
        top: 3%;
        height: auto;
        padding: 4.9%;
    }
    .close-popup {
        top: 5.5%;
        right: 6%;
        font-size: 30px;
    }
    .footer {
        height: auto;
        padding-top: 30px;
        padding-bottom: 15px;
    }
    .equipe_v{
        margin-top: 5px;
        margin-bottom: 5.5px;
    }
}
