*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
header{
    color: white;
    text-align: center;
}

header h1{
    color: white;
    text-align: center;
    margin: 15px;
    margin-top: 40px;
    font-size: 2.5rem;
}

header p{
    color: white;
    text-align: center;
    font-size:1.2rem;
    margin-bottom: 40px;
}

.conteneur{
    max-width: 1440px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.main{
    display: flex;
    flex-direction: column;
    width: 100%;
}

.kina{
    width: 60%;
    height: 250px;
    position: relative;
    background: #FFFFFF;
    border-radius: 12px;
    margin: 10px;
    padding: 10px;
    overflow: hidden;   /* pour cacher les débordements */
    box-shadow: 1px  4px 10px 10px rgba(0, 0, 0, 0.2);
}

.kina::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 5px; /* épaisseur de la bordure */
  width: 100%;
  background: linear-gradient(to right, #ff6b6b, #4ecdc4, #f9ca24);
}

.kina::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px; /* épaisseur */
  height: 100%;
  background: #ff6b6b;
}
.kina:hover{
    box-shadow: 1px  4px 10px 10px rgba(0, 0, 0, 0.3);
}

.brah{
    width: 28%;
    height: 250px;
    position: relative;
    background: #FFFFFF;
    border-radius: 12px;
    margin: 10px;
    padding: 10px;
    overflow: hidden;
    box-shadow: 1px  4px 10px 10px rgba(0, 0, 0, 0.2);
}
.brah:hover{
    box-shadow: 1px  4px 10px 10px rgba(0, 0, 0, 0.3);
}
.brah::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 5px;
  width: 100%;
  background: linear-gradient(to right, #ff6b6b, #4ecdc4, #f9ca24);
}

.brah::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px; 
  height: 100%;
  background: #4ecdc4;
}

.Djingarey{
    width: 28%;
    height: 250px;
    position: relative;
    background: #FFFFFF;
    border-radius: 12px;
    margin: 10px;
    padding: 10px;
    overflow: hidden;
    box-shadow: 1px  4px 10px 10px rgba(0, 0, 0, 0.2);
}
.Djingarey:hover{
    box-shadow: 1px  4px 10px 10px rgba(0, 0, 0, 0.3);
}
.Djingarey::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 5px; 
  width: 100%;
  background: linear-gradient(to right, #ff6b6b, #4ecdc4, #f9ca24);
}

.Djingarey::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px; 
  height: 100%;
  background: #45b7d1;
}

.yac{
    width: 30.5%;
    height: 250px;
    position: relative;
    background: #FFFFFF;
    border-radius: 12px;
    margin: 10px;
    padding: 10px;
    overflow: hidden;
    box-shadow: 1px  4px 10px 10px rgba(0, 0, 0, 0.2);
}
.yac:hover{
    box-shadow: 1px  4px 10px 10px rgba(0, 0, 0, 0.3);
}

.yac::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 5px; 
  width: 100%;
  background: linear-gradient(to right, #ff6b6b, #4ecdc4, #f9ca24);
}

.yac::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px; 
  height: 100%;
  background: #f9ca24;
}
.avis{
    margin: 20px;
}

.yac .avis{
    margin: 20px;
}

.mariam{
    width: 60%;
    height: 250px;
    position: relative;
    background: #FFFFFF;
    border-radius: 12px;
    margin: 10px;
    padding: 10px;
    overflow: hidden;
    box-shadow: 1px  4px 10px 10px rgba(0, 0, 0, 0.2);
}
.mariam:hover{
    box-shadow: 1px  4px 10px 10px rgba(0, 0, 0, 0.3);
}

.mariam::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 5px; 
  width: 100%;
  background: linear-gradient(to right, #ff6b6b, #4ecdc4, #f9ca24);
}

.mariam::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px; 
  height: 100%;
  background: #a55eea;
}

.haoua{
    width: 28%;
    height: 250px;
    position: relative;
    background: #FFFFFF;
    border-radius: 12px;
    margin: 10px;
    padding: 10px;
    overflow: hidden;
    box-shadow: 1px  4px 10px 10px rgba(0, 0, 0, 0.2);
}
.haoua:hover{
    box-shadow: 1px  4px 10px 10px rgba(0, 0, 0, 0.3);
}

.haoua::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 5px; 
  width: 100%;
  background: linear-gradient(to right, #ff6b6b, #4ecdc4, #f9ca24);
}

.haoua::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px; 
  height: 100%;
  background: #26de81;
}

.yacouba{
    width: 28%;
    height: 160px;
    position: relative;
    background: #FFFFFF;
    border-radius: 12px;
    margin: 10px;
    padding: 10px;
    overflow: hidden;
    box-shadow: 1px  4px 10px 10px rgba(0, 0, 0, 0.2);
}
.yacouba:hover{
    box-shadow: 1px  4px 10px 10px rgba(0, 0, 0, 0.3);
}

.yacouba::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 5px; 
  width: 100%;
   background: linear-gradient(to right, #ff6b6b, #4ecdc4, #f9ca24);
 
}

.yacouba::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px; 
  height: 100%;
  background: #f9ca24;
}

.section1{
    display: flex;
}

.section2{
    width: 100%;
    display: flex;
}
.dev{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 20px;
}

.dev1{
    display: flex;
}

img{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border-color: #f0f0f0;
    margin-top: 10px;
}

.kina1{
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    margin-top: 12px;
    margin-left: 10px;
}
.kina1 h3, p{
    margin: 3px;
    color: #333;
}

.avis{
    font-size: 18px;
    margin-top: 45px;
}

.etoiles{
    display: flex;
    justify-content: end;
    width: 20%;
    padding-right: 20px;
}
i{
    color: #ffd700;
    font-size: 1.1rem;
}

@media (max-width:1024px) {
    .conteneur{
        width: 100%;
    }
    .avis{
        font-size: 16px;
        margin: 0;
        margin: 20px;
    }
    .yac{
        width: 310px;
    }
    .yac .etoiles{
        padding-right: 0;
    }

}



@media (max-width:768px) {
    .section1{
       width: 97%;
        display: flex;
        flex-direction: column;
    }
    .section2{
       width: 97%;
        display: flex;
        flex-direction: column;
    }
    .conteneur{
        width: 97%;
    }
    .main{
        width: 97%;
    }

    .kina, .brah, .yac, .mariam, .haoua, .Djingarey{
        width: 97%;
        display: flex;
        flex-direction: column;
    }
    .yacouba{
        width: 94%;
    }

}

@media (max-width:375px) {

    .kina, .brah, .yac, .mariam, .Djingarey, .haoua{
        width: 90%;
        height: 300px;
    }
    .avis {
        font-size: 1.1rem;
    }
    .dev{
        flex-direction: column;
        margin-top: 0;
    }
    .dev1{
        flex-direction: column;
         align-items: center;
    }

    .kina1{
        align-items: center;
    }
    .etoiles{
        padding-right: 0;
        justify-content: center;
    }
    .yac .avis{
        margin: 10px;
    }
    .yacouba{
        width: 92%;
    height: 200px;
    }
    
}
@media (max-width:425px) {
    .conteneur, .section1, .section2{
        width: 100%;
        align-items: center;
    }

    .kina, .brah, .yac, .mariam, .Djingarey, .haoua{
        width: 90%;
        height: 300px;
    }
    .avis{
        margin: 0;
        margin-top: 10px;
    }
    .dev{
        flex-direction: column;
        margin-top: 0;
    }
    .dev1{
        flex-direction: column;
         align-items: center;
    }

    .kina1{
        align-items: center;
    }
    .etoiles{
        padding-right: 0;
        justify-content: center;
    }
    .yacouba{
        width: 92%;
    height: 200px;
    }
    
}

@media (max-width:320px) {
    .yac .avis {
        margin: 0;
        margin-top: 5px;
        margin-left: 10px;
    }
    .avis{
        margin-left: 10px;
    }
    .dev{
        flex-direction: column;
        margin-top: 0;
    }
    .dev1{
        flex-direction: column;
         align-items: center;
    }

    .kina1{
        align-items: center;
    }
    .etoiles{
        padding-right: 0;
        justify-content: center;
    }
    .kina, .brah, .yac, .mariam, .Djingarey, .haoua{
        height: 350px;
    }
    .yacouba{
        width: 92%;
    height: 200px;
    }
}
