@font-face {
    font-family: 'sosh-medium';
    src: url('fonts/MaPremierePolice.woff2') format('woff2'),
         url('fonts/MaPremierePolice.woff') format('woff'),
         url('../fonts/Sosh-Medium.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'sosh-black';
    src: url('fonts/MaPremierePolice.woff2') format('woff2'),
         url('fonts/MaPremierePolice.woff') format('woff'),
         url('../fonts/Sosh-Black.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

body{
    margin: 0;
    padding: 0;
    height: 100vh;
    background: #0d081d;
    font-family: 'sosh-medium', sans-serif;
    background: linear-gradient(to bottom, #00AEEF, #6FCF97);
   /* background-image: url('../img/background.png');*/
    background-size: contain; /* Ajuste l'image pour qu'elle tienne entièrement dans l'écran */
    background-repeat: no-repeat; /* Évite la répétition de l'image */
    background-position: center; 
}

.logo-container {
    display: flex;
    justify-content: space-between; /* Place les éléments aux extrémités */
    align-items: center; /* Aligne verticalement si nécessaire */
    padding: 0 20px; /* Ajoute un peu de marge sur les côtés */
}

.logo-top-right {
    position: fixed;
    top: 0px;
    right: 0px;
    z-index: -10; /* S'assure que le logo est au-dessus des autres éléments */
}

h1{
    font-size: 45px;
    line-height: 45px;
   /* color: #f5f5f5; */
    font-family: 'sosh-black', sans-serif;
}

h2{
    line-height: 30px;
    font-family: 'sosh-black', sans-serif;
}

h3{
    font-family: 'sosh-black', sans-serif;
}

.ecoCup{
    width: 150px;
}

.ecoCup img{
    width: 100%;
}

/* --- SECTION PROMO PRINCIPALE --- */
.promo-main {
    position: relative;
    text-align: center;
    /*padding: 80px 0; */
}

.promo-background, .promo-background-2 {
    position: relative; /* Pour contenir l’étoile */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Ajuste l’étoile en arrière-plan */
.promo-background::before {
    content: "";
    background: url("../img/etoile.png") no-repeat center;
    background-size: contain;
    position: absolute;
    width: 100%;
    height: 240%;
   /* top: -20%; */
    left: 50%;
    transform: translateX(-50%);
    z-index: -1; /* Derrière le texte */
}

/* Ajuste l’étoile en arrière-plan */
.promo-background-2::before {
    content: "";
    background: url("../img/etoile-2.png") no-repeat center;
    background-size: contain;
    position: absolute;
    width: 100%;
    height: 240%;
   /* top: -20%; */
    left: 50%;
    transform: translateX(-50%);
    z-index: -1; /* Derrière le texte */
}


.foot p{
    font-size: 12px;
    font-family: 'sosh-medium', sans-serif;
}

.follow-insta a{
 color: #000;
 text-decoration: none;
 font-family: 'sosh-black', sans-serif;
}

.custom-input {
    background-color: #fff;
    color: #000;
    border: none;
    height: 60px;
    border-radius: 50px;
    padding: 10px 20px;
    font-size: 16px;
    outline: none;
    font-family: 'sosh-black', sans-serif;
}
.custom-input::placeholder {
    color: #000; /* Optional: to style the placeholder text */
    font-family: 'sosh-black', sans-serif;
}

.d-grid{
  justify-items: center;
}

.btn-sosh{
    background-color:#ffff ;
    border-color:#ffff ;
    text-transform: uppercase;  
   /* width: 30%; */
    border-radius: 50px;
    height: 50px;
    line-height: 40px;
    font-family: 'sosh-black', sans-serif;
}

.btn-sosh-2{
    background-color:#ffff ;
    border-color:#ffff ;
    text-transform: uppercase;  
    width: 60%; 
    border-radius: 50px;
    height: 45px;
    line-height: 35px;
    font-family: 'sosh-black', sans-serif;
}

.btn-sosh-3{
    background-color:#ffe700 ;
    border-color:#ffe700 ; 
    text-transform: uppercase; 
    width: 60%; 
    border-radius: 50px;
    color: #000;
    height: 45px;
    line-height: 35px;
    font-family: 'sosh-black', sans-serif;
}
.btn-sosh-4{
    background-color:#ffe700 ;
    border-color:#ffe700 ; 
    text-transform: uppercase; 
    width: 100%; 
    border-radius: 50px;
    color: #000;
    height: 45px;
    line-height: 35px;
    font-family: 'sosh-black', sans-serif;
}

#loadingIndicator{
    color:#ffe700;
}


.pink{
    color: #de2554;
}

.yellow{
    color: #ffe700;
}

.btn-primary:hover{
    background-color:#0894c2 ;
    border-color:#28bff2 ;
    text-transform: uppercase;   
}

.btn-defis{
    text-decoration: none;
    color: #3e3e3e;
    align-items: center;
    display: flex;
    justify-content: flex-start;
    height: 100px;
    background-color: #f5f5f5;
    border-radius: 10px;
}

.btn-defis:hover{
    color:#8d8d8e;
}

#video, #photoPreview{
    height: 100%;
    width: 100%;
}

.defis-btnInfo{
    margin-left: 10px;
    text-align: left;
    line-height: normal;
}

.defis-btnInfo .title{
    font-size: 24px;
    font-weight: 600;
}

.defis-btnInfo .descrip{
    font-size: 18px;
}

.defis-btnImg img{
    border-radius: 5px;
}

.back-rules{
    background-color: #fff;
    margin-top: 5%;
    border-radius: 30px;
    padding: 30px;
}

.def{
    max-width: 480px;
    margin: auto;
   /* margin-top: 30px; */
}

.def-2{
    max-width: 480px;
    margin: auto;
    margin-top: 15px;
}

.def-diapo{
    max-width: 900px;
    margin: auto;
    margin-top: 100px;
}

#cameraContainer{
    background-color: #ffe700;
    border-radius: 20px;
    padding: 20px;
}

#previewContainer{
    background-color: #ffe700;
    border-radius: 20px;
    padding: 20px;
}

#captureBtn{
    border-radius: 50%;
    background-color:#de2554;
    color: #fff;
    height: 80px;
    width: 80px;
    border: none;
}



#switchCameraBtn{
    display: inline-flex; /* Utilise Flexbox pour le positionnement */
    justify-content: center; /* Centre horizontalement */
    align-items: center; /* Centre verticalement */
    border-radius: 50%;
    background-color:#de2554;
    color: #fff;
    height: 40px;
    width: 40px;
    border: none;
    padding: 0;
}

#switchCameraBtn i {
    margin: 0;

}

.form-take{
    background:linear-gradient(to bottom, #00AEEF, #6FCF97);
    background-size: contain;
    display: flex;
    border-radius: 20px;
    min-height: 420px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    align-content: center;
}

#btnPreview{
    margin-top: 20px;
}

#confirmBtn{
    border-radius: 50%;
    background-color:#de2554;
    color: #fff;
    height: 60px;
    width: 60px;
    border: none;
}

.btnContainer{
    display:inline-grid;
}

.btn-title{
    font-size: 25px;
    margin-bottom: 15px;
    letter-spacing: 1px;
    color: #000;
    font-family: 'sosh-medium', sans-serif;
}

.b-title{
    font-size: 25px;
    margin-bottom: 15px;
    letter-spacing: 1px;
    color: #000;
    font-family: 'sosh-black', sans-serif;

}

#cancelBtn{
    border-radius: 50%;
    background-color:#de2554;
    color: #fff;
    height: 60px;
    width: 60px;
    border: none;
}

.back-rules h3{
    color: #0451e0;
}

.photo-feed {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 30px;
}
.photo-item {
    width: 30%; /* Ajustez la taille selon vos besoins */
    margin-bottom: 15px;
    border-radius: 10px; /* Arrondir les coins des images */
}
.photo-in-feed {
    width: 100%; /* Assurez que l'image prend toute la largeur de son conteneur */
    border-radius: 10px;
}

/* ======= feed ==========*/

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: linear-gradient(to bottom, #00AEEF, #6FCF97);;
    background-size: contain;
}

.heart {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 100px;
    color: #de2554;
    opacity: 0;
    transition: opacity 0.5s;
}

.modal-content {
    position: relative;
    cursor: pointer;
    margin: auto;
    margin-top: 25px;
    display: block;
    width: 90%;
    max-width: 700px;
}

.return-feed {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    padding: 0px 20px;
    color: #000;
    border: none;
    cursor: pointer;
    font-size: 16px;
    background-color:#ffff ;
    text-transform: uppercase;  
    border-radius: 50px;
    height: 50px;
    line-height: 40px;
    font-family: 'sosh-black', sans-serif;
    
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: 80px;
    padding: 16px;
    margin-top: -50px;
    color: white;
    background: none;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    border: none;
    user-select: none;
    -webkit-user-select: none;
}
.prev {
    left: 0;
    border-radius: 3px 0 0 3px;
}
.next {
    right: 0;
    border-radius: 0 3px 3px 0;
}
.back-to-feed {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 10px;
    font-size: 16px;
    color: white;
    background-color: #fccf02;
    border: none;
    cursor: pointer;
}

.likeContain {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
}

.likeContain button {
    background-color: #de2554;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    outline: none;
}

.likeContain #likeCount {
    color: #de2554;
    font-size: 16px;
    font-family: 'sosh-black', sans-serif;

}


/* ======= feed end ==========*/