*{
    margin: 0;
    padding: 0; 
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}
  


header{
    width: 100%;
    position: sticky;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3px;
    background-color: black;
    color: white;
    z-index: 1000;
}

header nav ul {
    position: absolute;
    left: 230px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    float: left;
}

nav ul li{
    list-style: none;
}

nav ul li select{
    background-color: black;
    color: white;
    border: none;
}

nav ul li a{
    text-decoration: none;
    color: white;
}

.aller{
    background-color: white;
    padding: 9px 15px;
    border-radius: 20px;
}

.aller input{
    border: none;
}

.aller button{
    border: none;
    background-color: white;
    cursor: pointer;
}
span{
    font-size: 24px;
    background-color: orange;
    border-radius: 15px;
    padding: 0 16px;
}

 .globe{
    padding: 50px;
} 


@media  screen and (max-width: 768px) {
    header{
        flex-wrap: nowrap;
        gap: 48px;
        padding: 6px;
        font-size: 12px;
    }
    header h1{
        font-size: 20px;
        white-space: nowrap;
    }
    header nav{
        display: none;
        order: 2;
        flex: 1;
        overflow-x: auto;
    }
    /* header nav ul{
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 8px;
        padding: 0;
        font: 12px;
    } */
    .burger{
        display: none;
    }
    .aller{
        order: 3;
        width: auto;
        padding: 5px 10px;
    }
    .aller input{
        width: auto;
        font-size: 10px;
    }

    main .div-1{
        flex-direction: column;
        margin: auto;
        align-items: center;
    }
    
    main .div-1 .image img{
        width: 300px;
        height: auto;
    }
    /* .corps-1 .images .img-1{
        width: 150px;
        height: auto;
    } */

    .corps-1 .images .img-1 img{
        width: 250px;
        height: 250px;

    }

    .corps-1 .bloc-1, .bloc-2, .bloc-3{
        font-size: 10px;
    }
     main .corps-1 .images{
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    
    main .corps-2{
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
    .bloc-1 .sous-1 p:nth-child(1), .bloc-2 .sous-2 p:nth-child(1), .bloc-3 .sous-3 p:nth-child(1), .bloc-5 .sous-5 p:nth-child(1){
        width: 58px;
        font-size: 8px;
    }
    .corps-2 .bloc-3 .sous-3 a{
        color: white;
        font-size: 10px;
        padding: 5px;
    }
    
    .corps-2 .bloc-6 .sous-6 a{
        color: white;
        font-size: 10px;
    } 
    main .corps-3 .photos{
        display: flex;
        flex-direction: column;
    }
    main .corps-3 .photos img{
        width: 250px;
        height: 250px;
    }
}
 


/* Mise en forme du main */
/* Blocs un  */
main .div-1{
    padding: 45px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(200, 209, 209, 0.993);
}
/* Fin bloc-1 */
.global{
    padding: 20px;
}
main .un{
    padding: 100px;
} 

.un h1{
    font-size: 56px;
}

.but-lien{
    margin-top: 32px;
    display: flex;
    align-items: stretch;
    gap: 32px;
}

.but-lien a:nth-child(1){
    text-decoration: none;
    padding: 8px 25px;
    background-color: rgb(13, 13, 226);
    border-radius: 25px;
    color: white;
}
.but-lien a:nth-child(2){
    text-decoration: none;
    padding: 8px 25px;
    background-color: rgb(9, 9, 9);
    border-radius: 25px;
    color: white;
}


.but-lien a{
    color: black;
}
/* Fin du bloc un */

/* Debut du Blocs deux */
.titre{
    margin-top: 16px;
    padding: 20px;
}

.images {
    width: 100%;
    margin: auto;
    padding: 15px;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    justify-content: center;
    align-items: center;
    gap: 40px;
    box-shadow:0px 4px 20px rgba(166, 155, 155,0.2); 
    border: none;
    border-radius: 5px;
}
.images .img-1{
    display: flex;
    flex-direction: column;
    animation: fadeSlideUp 0.6s ease forwards;
}


/* Animation de .images .img-1 */
@keyframes fadeSlideUp{
    0%{
        opacity: 0;
        transform: translateY(40px);
    }
    100%{
        opacity: 1;
        transform: translateY(0px);
    }
}

.images .img-1:nth-child(1){
    animation-delay: 0.1s;
}
.images .img-1:nth-child(2){
    animation-delay: 0.2s;
}
.images .img-1:nth-child(3){
    animation-delay: 0.3s;
}
.images .img-1:nth-child(4){
    animation-delay: 0.4s;
}
.images .img-1:nth-child(5){
    animation-delay: 0.5s;
}
.images .img-1:nth-child(6){
    animation-delay: 0.6s;
}
.images .img-1:nth-child(7){
    animation-delay: 0.7s;
}
.images .img-1:nth-child(8){
    animation-delay: 0.8s;
}
.images .img-1:nth-child(9){
    animation-delay: 0.9s;
}

.images .img-1 .logo{
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.images .img-1:hover .logo{
    transform: translateY(-6px);
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.15) ;
}
/* Fin de mise en forme du .images .img-1*/
.images img {
    width: 100px;
    height: 100px;
    display: flex;
    gap: 16px;
}
.images .img-1{
    gap: 16px;
}
 
.images .img-1 p{
    margin-top: 0;
    display: flex;
    justify-content: center;
    align-items: stretch;
} 

.logo{
    background-color: rgba(207, 213, 213, 0.993);
    padding: 20px;
    border-radius:10px; 
    cursor: pointer;
    transition: 0.3s;
 }
 /* .logo:hover{
    background-color: rgb(87, 80, 80);
 } */
/* Animation des blocs */
@keyframes fadeSlideUp {
    0%{
        opacity: 0;
        transform: translateY(40px);
    }
    100%{
        opacity: 1;
        transform: translateY(0px);
    }
}

@keyframes pulse {
    0%{
        transform: scale(1);
    }
    50%{
        transform: scale(1.03);
    }
    100%{
        transform: scale(1);
    }
}

.bloc-1, .bloc-2, .bloc-3{
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.bloc-1:hover, .bloc-2:hover, .bloc-3:hover{
    transform: translateY(-6px);
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.15);
    animation: pulse ease;
}

.corps-2:nth-of-type(2){
    animation-delay: 0.3s;
}
/* Fin animation */

.corps-2{
    margin: auto;
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
    align-items: stretch;
    gap: 24px;
    animation: fadeSlideUp 0.7s ease forwards;
}





 /*.corps-2 .bloc-1, .bloc-2, .bloc-3{
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 18px;
    font-size: 18px;
    border-radius: 10px;
}

.corps-2 .bloc-1{
    background-color: rgb(238, 238, 207);
}

.corps-2 .bloc-2{
    background-color: rgb(228, 170, 180);
}

.corps-2 .bloc-3{
    background-color: rgb(231, 222, 222);
}


.corps-2 .bloc-1, .bloc-2, .bloc-3 img {
    width: 140px;
    height: 140px;
    object-fit: contain;
    flex-shrink: 0;
}

.corps-2 .sous-1, .sous-2, .sous-3{
    flex: 1;
    flex-direction: column;
    justify-content: flex-start;
}

.sous-1, .sous-2, .sous-3 p:nth-child(1){
    margin-bottom: 8px;
    font-size: 12px;
    background-color: rgb(255, 255, 255);
    padding: 2px 6px;
    border-radius: 3px;
} */

.images .img-1 h6{
    margin: auto;
    padding: 5px;
    margin-top: 0;
    font-size: 12px;
    text-align: center;
    background-color: rgb(238, 238, 207);
    border-radius: 5px;
    margin-bottom: 16px;
}

.bloc-1{
    padding: 18px;
    font-size: 18px; 
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
    background-color: rgb(238, 238, 207);
    border-radius: 10px;
}
.bloc-1 img{
    width: 200px;
    height: auto;
}

.sous-1 p:nth-child(1) {
    align-self: flex-start;
    /* margin-top: 32px; */
    margin-bottom: 8px;
    font-size: 12px;
    background-color: rgb(255, 255, 255);
    width: 70px;
    border-radius: 1px;
}

.bloc-2{
    padding: 10px;
    font-size: 18px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    align-items: center;
    background-color: rgb(228, 170, 180);
    border-radius: 10px;
}
.bloc-2 img{
    width: 200px;
    height: auto;
}

.sous-2 p:nth-child(1) {
    align-self: flex-start;
    margin-bottom: 8px;
    font-size: 12px;
    background-color: rgb(255, 255, 255);
    width: 50px;
    border-radius: 1px;
}

.bloc-3{
    padding: 10px;
    font-size: 18px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    align-items: center;
    background-color:  rgb(231, 222, 222);
    border-radius: 10px;
}
.bloc-3 img{
    width: 200px;
    height: auto;
}

.sous-3 p:nth-child(1) {
    align-self: flex-start;
    font-size: 12px;
    background-color: rgb(255, 255, 255);
    width: 90px;
    border-radius: 1px;
}

.bloc-4{
    padding: 18px;
    font-size: 18px; 
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
    background-color: rgb(238, 238, 207);
    border-radius: 10px;
}
.bloc-4 img{
    width: 190px;
    height: auto;
}

.sous-4 p:nth-child(1) {
    align-self: flex-start;
    margin-bottom: 8px;
    /* margin-top: 16px; */
    font-size: 12px;
    background-color: rgb(255, 255, 255);
    width: 70px;
    border-radius: 1px;
}


.bloc-5{
    padding: 18px;
    font-size: 18px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    align-items: center;
    background-color: rgb(228, 170, 180);
    border-radius: 10px;
}
.bloc-5 img{
    width: 200px;
    height: auto;
}

.sous-5 p:nth-child(1) {
    align-self: flex-start;
    margin-bottom: 16px;
    font-size: 12px;
    background-color: rgb(255, 255, 255);
    width: 50px;
    border-radius: 1px;
}

.bloc-6{
    padding: 10px;
    font-size: 18px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    align-items: center;
    background-color:  rgb(231, 222, 222);
    border-radius: 10px;
}
.bloc-6 img{
    width: 200px;
    height: auto;
}

.sous-6 p:nth-child(1) {
    margin-top: 0;
    align-self: flex-start;
    font-size: 12px;
    background-color: rgb(255, 255, 255);
    width: 90px;
    border-radius: 1px;
}

.bloc-1 a{
    color: black;
    /* padding: 3px 5px;
    background-color: blue;
    text-decoration: none;
    border-radius: 15px; */
}

.bloc-2 a {
    color: black;
}

.bloc-3 a{
    text-decoration: none;
    color: white;
    background-color: black;
    padding: 3px 5px;
    border-radius: 15px;
}
.bloc-4 a{
    color: black;
   /*  background-color: blue;
    padding: 3px 5px;
    text-decoration: none;
    border-radius: 15px; */
}

.bloc-5 a {
    color: black;
}

.bloc-6 a{
    text-decoration: none;
    color: white;
    background-color: black;
    padding: 3px 5px;
    border-radius: 15px;
}


/* Mise en forme du corps-3 */

.corps-3 .navigation .entete{
    display: flex;
    gap: 16px;
    margin: 16px;
    margin-top: 16px;
}

.entete a{
    text-decoration: none;
    color: black;
}
.entete{
    padding: 20px;
}

@keyframes fadeSlideUp{
    0%{
        opacity: 0;
        transform: translateY(40px);
    }
    100%{
        opacity: 1;
        transform: translateY(0px);
    }
}
@keyframes pulse {
    0%{
        transform: scale(1);
    }
    50%{
        transform: scale(1.03);
    }
    100%{
        transform: scale(1);
    }
}

.corps-3 .photo-1 .bas {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.corps-3 .photo-1:hover .bas{
    transform: translateY(-6px);
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.15);
    animation: pulse ease;
}

.corps-3{
    padding: 10px;
    margin: auto;
    margin-top: 32px;
    background-color: rgba(223, 223, 223, 0.993);
    box-shadow: 0px 4px 20px rgba(166, 155, 155, 0.2);
    margin-bottom: 32px;
    animation: fadeSlideUp 0.7s ease forwards;
}

.photos{
    padding: 15px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(8, 2fr);
    justify-content: center;
    align-items: center;
    gap: 48px;
}

.photos .photo-1{
    display: flex;
    flex-direction: column;
}

 
.photos img{
    margin: auto;
    width: 100px;
    height: 100px;
    display: flex;
    gap: 48px;
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 16px;
    flex-direction: column;
}

.photos .photo-1 p{
    text-align: center;
}

.photos .photo-1 h5{
    width: 50px;
    margin: auto;
    padding: 5px;
    margin-top: 0;
    font-size: 12px;
    text-align: center;
    background-color: rgb(238, 238, 207);
    border-radius: 5px;
    margin-bottom: 16px;
}

footer{
    padding: 40px;
    background-color: rgb(83, 69, 69);
    color: white;
    text-align: center;
    font-size: 20px;

}

/* .corps-2 .sous-1{
    flex-direction: column;
    justify-content: flex-start;
    align-self: flex-start;
    vertical-align: top;
} */
