/* main */
* {
    margin:0px;
}

header {
    text-align: center;
    background-color: rgb(64, 184, 184);
    padding:20px;
}

nav {
    background-color: rgb(64, 184, 184);
    text-align: center;
}

ul {
    margin-top: -10px;
    padding : 5px;
    display: flex;
    flex-direction: row;
    list-style: none;
    justify-content: center;
}

li {
    margin-left: 10px;
    margin-right: 10px;
}

a {
    text-decoration: none;
    color:rgb(0, 0, 0);
}


section {
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
    justify-content: center;
}

article {
    height : 200px;
    width: 250px;
}

/* autre tag */
img {
    margin: 20px;
    padding: 10px;
    height : 150px;
    width:200px;
    border-radius: 40px;
}

span {
    text-decoration: underline;
    display: inline-block;
    margin-top: 10px;
}

h2 {
    text-align: center;
    font-size: 25px;
    padding-top: 20px;
}

/* classe */
.box-text {
    position: relative;
    margin: -80px auto ;
    padding: 10px;
    width: 50%;
    border-radius: 10px;
    text-align: center;
    font-family: sans-serif;
    background-color: rgb(60, 194, 194);
}

.legende-text {
    position: relative;
    margin: -10px auto;
    padding: 10px;
    width: 160px;
    border-radius: 10px;
    text-align: center;
    font-family: sans-serif;
    word-wrap: break-word;
    background-color: rgb(60, 194, 194);
    text-align: center;
}

.menu-actuel {
    color: rgb(196, 250, 250);
}

/*site laines*/
.laines-sections {
    flex-wrap: unset;
    flex-direction: column;
}

.laines-article {
    position: relative;
    margin-left: 50px;
    padding: 10px;
    width: 90%;
    height: fit-content;
    font-family: sans-serif;
    word-wrap: break-word;
    text-align: justify;
}

.flex-div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 25px;
}

.laines {
    width: 100%;
    height: fit-content;
}

.img-laines {
    width: 150px;
    height: fit-content;
    margin-left: 0px;
}

.titre-laines {
    margin-left: 20px;
}

.text-laines {
    margin-left : 25px;
    margin-right: 25px;
    margin-top: 30px;
}

.img-text-laines {
    display: flex;
    flex-direction: row;
}

.laines-noms-sections {
    background-color: white;
    opacity: 70%;
    width: fit-content;
    margin: auto;
    padding: 5px;
    border-radius: 10px;
}

.laines-sections-text {
    margin-top: 10px;
}

.fond {
    background-color: rgb(60, 194, 194);
    width: 80%;
    margin: 20px auto;
    border-radius: 50px;
    padding-top: 20px;
}

@media (max-width : 992px) {
    .laines-sections {
        flex-wrap: wrap;
        flex-direction: unset;
    }

    .laines-article {
        margin-top: 50px;
        margin-bottom: 20px;
        width: 600px;
        border-radius: 25px;
        background-color: rgb(60, 194, 194);
    }

    .flex-div {
        display: unset;
        margin-bottom: 0px;
    }

    .laines {
        margin-left : 5px;
        margin-right: 5px;
    }

    .img-laines {
        margin-left: unset;
        margin-top: 0px;
        width: 200px;
    }

    .titre-laines {
        margin-left: 0px;
        margin-top:10px;
        text-align: center;
        margin-bottom: 20px;
    }

    .text-laines {
        margin-left : 0px;
        margin-top: 0px;
        margin-right: 40px;
        margin-bottom: 20px;
    }

    .fond {
        background-color: unset;
        width: unset;
        margin: 0px;
        border-radius: 0px;
        padding-top: 0px;
    }
}

@media (max-width : 750px) {
    .laines-sections {
        flex-wrap: wrap;
        flex-direction: unset;
    }

    .laines-article {
        margin: 50px auto 20px;
        width: 70%;
        border-radius: 25px;
        background-color: rgb(60, 194, 194);
    }

    .flex-div {
        display: unset;
        margin-bottom: 0px;
    }

    .laines {
        margin-left : 5px;
        margin-right: 5px;
    }

    .img-laines {
        margin-left: unset;
        margin : 0px auto;
        width: 200px;
    }

    .titre-laines {
        margin-left: 0px;
        margin-top:10px;
        text-align: center;
        margin-bottom: 20px;
    }

    .text-laines {
        margin-left : 30px;
        margin-top: 0px;
        margin-right: 20px;
        margin-bottom: 30px;
    }

    .img-text-laines {
        flex-direction: column;
    }

    .laines-noms-sections {
        width: 70%;
    }

    .fond {
        background-color: unset;
        width: unset;
        margin: 0px;
        border-radius: 0px;
        padding-top: 0px;
    }
}

/* magasin site */
.article-magasin {
    height: 100%;
}

.background-magasins, section {
    margin-top: 0%;
}

.img-magasin {
    margin-left: 0px;
    margin-right: 0px;
    border-radius: 5px;
    width: 160px;
    height: 30px;
    min-height: 30px;
    max-height: 50px;
    background-color: white;
}

.a-magasin {
    display: flex;
    justify-content: center;
}

/* body fond */   
.body-magasin {
    height: 100%;
    width: 100%;
    background-image: url(../img/magasin.jpg);
    background-size: cover;
}

.background-magasins {  
    background-color: rgba(255, 255, 255, 0.5);
    height: calc(100vh - 96px);
    width: 100%;
}
/* */
.body-laines {
    height: 100%;
    width: 100%;
    background-image: url(../img/type_laine.jpg);
    background-size: cover;
}

.background-laines {  
    background-color: rgba(255, 255, 255, 0.5);
    height: 100%;
    width: 100%;
}