.partenaire {
	height: 107vh; 
    width: 100vw;
    display: flex;
    align-items: center; 
    justify-content: flex-end;
    flex-direction: column; 
    background-image: url("image/fond.png"); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat; 
    color: #f5f5ef;
    text-align: center;
    position: relative;
}

.partenaire h1 {
    position: absolute;
    top: 25%; 
    left: 50%; 
    transform: translateX(-50%) translateY(-50%); 
    text-align: center;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 20px; 
    border: 2px solid white;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5); 
    transition: transform 0.3s ease-in-out;
	color: #ef9430;	
} 
 
 .presentation {
    display: flex;
    height: 115vh;
	background-image: url('image/spfond.jpg');
    background-size: cover;
    background-position: center;
}

.partenaire-left {
    width: 50%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.partenaire-right{
    width: 40%;
}


.partenaire-left h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: left;
}

.sponsors {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    width: 100%;
	margin-top: 50px;
}

.sponsors > div {
    position: relative;
    width: 100%; 
    padding-bottom: 100%; 
    overflow: hidden;
}

.sponsors > div img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



.sponsor {
    width: 100%;
    height: 0;
    padding-bottom: 70%; 
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background-color: #fff;
    margin: 0 70px; 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sponsor img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

.sponsors > .sponsor:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.petits-sponsors {
    background-color: #130f3d;
    background-size: cover;
    background-position: center;
    padding: 40px 20px;
    color: white;
    text-align: center;
}

.petits-sponsors h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #f5f5ef;
}

.sponsors.secondaires {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.sponsors.secondaires .sponsor {
    width: 150px;
    height: 150px;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.sponsors.secondaires .sponsor img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.sponsors.secondaires .sponsor:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}



.fondsponsor {
    background-image: url('image/spfond2.jpg');
	height: 35vh;
    padding: 40px;
    color: white;
    text-align: center;
	 background-size: cover;
    background-position: center;
}

.fondsponsor h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.avantages {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.contact {
    padding: 20px;
    border-radius: 10px;
    display: inline-block;
    font-size: 1rem;
    width: auto;
    margin-top: 20px;
    color: #333;
    text-align: center;
}


.btn-contact {
    display: inline-block;
    padding: 10px 50px;
    font-size: 1.25rem; 
    color: #f5f5ef;  
    text-decoration: none;
    border: 2px solid #f5f5ef;  /* Bordure qui correspond à la couleur du texte */
    background: transparent;
    transition: 0.3s ease-in-out;
    border-radius: 10px;
}

.btn-contact:hover {
    background-color: #f5f5ef;  /* Légère couleur de fond sur hover */
    color: black;  /* Changement de couleur du texte au survol */
    transform: scale(1.05);  /* Effet de zoom comme les autres boutons */
}


 
 
 @media (min-width: 2560px) {
    html {
        font-size: 100%;
    }
}

@media (max-width: 1920px) {
    html {
        font-size: 90%;
    }
}

@media (max-width: 1600px) {
    html {
        font-size: 85%;
    }
}

@media (max-width: 1200px) {
    html {
        font-size: 80%;
    }
}

@media (max-width: 992px) {
    html {
        font-size: 75%;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 70%;
    }
}

@media (min-width: 3000px) {
    html {
        font-size: 110%;
    }
}

@media (min-width: 3500px) {
    html {
        font-size: 120%;
    }
}