@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: #fff url('../img/background.png') no-repeat center top; /* Image de fond centrée */
    background-size: contain; /* Ajuste l'image pour qu'elle couvre tout l'écran */
    font-family: 'sosh-medium', sans-serif;
  /*  background: linear-gradient(0deg, rgba(0,26,112,1) 40%, rgba(3,57,157,1) 80%, rgba(0,76,199,1) 100%);*/
}

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

.mention{
    color:#fff;
}

h1{
    font-size: 45px;
    line-height: 45px;
    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: 100%;
    padding: 0;
}

.ecoCup img{
    width: 75%;
}

.brunch-home img{
    width: 60%;
}

.logo-go{
    width: 150px;
}

.logo-go img{
    width: 70%;
}

.bulleTirage{
    width: 80%;
    padding: 0;
    margin: auto;
}

.bulleTirage img{
    width: 100%;
}


.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: #00a6ca;
    color: white;
    border: none;
    height: 60px;
    border-radius: 50px;
    padding: 10px 20px;
    font-size: 16px;
    outline: none;
    font-family: 'sosh-black', sans-serif;
    width: 100%; /* Assure que tous les inputs prennent toute la largeur disponible */
    box-sizing: border-box; /* Pour inclure le padding dans la largeur totale */
}

.custom-input::placeholder {
    color: #cccccc; /* Optional: to style the placeholder text */
    font-family: 'sosh-black', sans-serif;
}

select.custom-input {
    appearance: none; /* Supprime l'apparence par défaut du select */
    -webkit-appearance: none; /* Pour Safari et Chrome */
    -moz-appearance: none; /* Pour Firefox */
    background-color: #00a6ca; /* Même couleur que les inputs */
    color: white;
    border: none;
    height: 60px; /* Même hauteur que les autres inputs */
    border-radius: 50px;
    padding: 10px 20px;
    font-size: 16px;
    outline: none;
    font-family: 'sosh-black', sans-serif;
    width: 100%; /* Assure que le select prend toute la largeur disponible */
    box-sizing: border-box;
    text-align: left; /* Ajuste l'alignement du texte */
}



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

.btn-sosh{
    background-color:#fde700 ;
    border-color:#fde700 ;
    width: 65%; 
    font-size: 1.3rem;
    border-radius: 50px;
    height: 50px;
    line-height: 40px;
    font-family: 'sosh-black', sans-serif;
}

.btn-sosh-a{
    background-color:#fde700 ;
    border-color:#fde700 ;
    width: 100%; 
    font-size: 1.3rem;
    border-radius: 50px;
    height: 50px;
    line-height: 40px;
    font-family: 'sosh-black', sans-serif;
}

.btn-sosh-2{
    background-color:#ffff ;
    border-color:#ffff ;
    width: 65%; 
    font-size: 1.3rem;
    border-radius: 30px;
    height: 80px;
    line-height: 20px;
    font-family: 'sosh-black', sans-serif;
    padding: 10px;
}

.btn-sosh-3{
    background-color:#de2554 ;
    border-color:#de2554 ; 
    width: 100%; 
    border-radius: 50px;
    color: #f5f5f5;
    height: 60px;
    font-family: 'sosh-black', sans-serif;
}


.pink{
    color: #de2554;
}

.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;
}

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

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



/* Surprises */
.surprise-item h3 {
    font-size: 3rem;
    font-family: 'sosh-medium', sans-serif;
    font-weight: bold;
  }
  
  .surprise-item h4 {
    font-size: 1.5rem;
    font-family: 'sosh-medium', sans-serif;
    font-weight: bold;
    color: #333;
  }
  
  .surprise-item, .surprise-item-2 {
    width: 380px;
    margin: auto;
  }

  .surprise-item img {
    width: 80%;
  }
  .surprise-item-2 img {
    width: 70%;
  }

  .insta-event{
    font-size: 20px;
    line-height: 24px;
  }

  h3.text-num{
    background-color: #de2554;
    color: #fff;
    width: 65px;
    height: 65px;
    line-height: 70px;
    border-radius: 100px;
}

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

#previewContainer{
    background-size: cover; /* Ajuste l'image pour qu'elle couvre tout l'écran */
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
}

#captureBtn{
    border-radius: 50%;
    background-color:#fbcd00;
    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:#fbcd00;
    color: #fff;
    height: 40px;
    width: 40px;
    border: none;
    padding: 0;
}

#switchCameraBtn i {
    margin: 0;

}

.form-take{
    display: flex;
    border-radius: 20px;
    min-height: 660px;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    align-content: center;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

input::placeholder {
    color: white !important;
}

#btnPreview{
    margin-top: 20px;
}

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

.btnContainer{
    display:inline-grid;
}

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

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

}

.btn-sosh-ts {
    background-color: #ffff;
    border-color: #ffff;
    width: 65%;
    font-size: 1.3rem;
    border-radius: 30px;
    height: 80px;
    line-height: 55px;
    font-family: 'sosh-black', sans-serif;
    padding: 10px;
}

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

.result-tirage{
    padding: 30px 0px;
    background-color: #00a6ca;
    border-radius: 25px;
}

.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-color: #fccf00;
}

.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 ==========*/