body {
    margin: 0;
    background-color: black;
    color: white;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

/*========================================================*/
/*======================HEADER============================*/
/*========================================================*/
/* header {
    position: relative;
    background-color: rgba(0, 0, 0, .5);
    padding: 20px 10px;
    z-index: 2;
}

header nav ul {
    display: flex;
    justify-content: flex-start;
}

header nav ul li {
    list-style-type: none;
    margin: 0 20px;
    z-index: 1;
}

header nav ul li a {
    text-decoration: none;
    color: white;
}

header nav ul li a:hover {
    color: #3391ff;
} */




/*===================================================*/
/*====================FOOTER=========================*/
/*===================================================*/
footer {
    color: white;
    padding: 50px 25px;
    background-color: black;
}

footer h1 {
    margin-bottom: 1rem;
    font-size: 1rem;
    margin: 0 0 1em 0;
    padding: 0;
}

footer nav ul {
    padding: 0;
}

footer nav ul li {
    list-style-type: none;
}

footer nav ul li a {
    text-decoration: none;
    color: white;
}

footer nav ul li a:hover {
    color: #3391ff;
}

footer p {
    text-align: center;
    color: grey;
    font-size: 1em;
}

footer .flex {
    display: flex;
}

footer .flex>div {
    width: 50%;
}

hr{
            border: 2px solid grey;
        }

/*===================================================*/
/*====================ACCEUIL=========================*/
/*===================================================*/
main.accueil {
    font-size: 25px;
    /* background-color: red; */
    height: 50vh;
    background-image: url(../img/acceuil1.jpg);
    border: 2px solid grey;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* .overlay {
    position: absolute;
    width: 50%;
    height: 50%;
    background-color: rgba(0, 0, 0, .5);
} */

h1 {
    padding: 20px;
}

h2 {
    padding: 10px;
    font-size: 30px;
}

.titre {
    padding: 10px;
    font-size: 20px;
}

.div {
    position: static;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.div>div {
    width: calc(100%);
    text-align: center;
}

.div p img {
    position: relative;
    top: 3px;
    left: 5px;
}

@media screen and (min-width:768px) {

    .div>div {
        width: calc(100% / 2);
        text-align: center;
    }
}

@media screen and (min-width:1024px) {
    .div>div {
        width: calc(100% / 3);
        text-align: center;
    }

}

/*===================================================*/
/*====================CATALOGUE=========================*/
/*===================================================*/

main h1 {
    display: flex;
    justify-content: center;
}

main h2 {
    display: block;
    width: 100%;
    margin: 15px;
    position: relative;
    top: 20px;
}


/* .div > div p a img{} */

.image {
    width: 300px;
    height: 190px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

a:hover .image {
    transform: scale(1.1);
}

a {
    text-decoration: none;
}

/*===================================================*/
/*====================SHOP=========================*/
/*===================================================*/

main{
    border: 3px solid grey;
}

.shop {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 60px;
}

main h1 {
    margin-bottom: 4rem;
}

main .button-group {
    display: block;
    text-align: center;
}

.shop>div {
    width: calc(100% / 1 - 120px);
    flex-direction: column;
    text-align: center;
    margin-bottom: 120px;
    /* margin: 20px; */
}

.shop * {
    position: static;
}

button {
    background-color: grey;
    margin: 10px;
    padding: 10px;
    border-radius: 30px;
}

button:hover {
    color: white;
    background-color: black;
}

p {
    padding: 10px;
    font-size: 20px;
}

@media screen and (min-width:768px) {
    .shop>div {
        width: calc(100% / 2 - 120px);
        margin-bottom: 120px;
    }
}

@media screen and (min-width:1024px) {
    .shop>div {
        box-sizing: border-box;
        width: calc(100% / 3);
    }
}

/*===================================================*/
/*====================Détails=========================*/
/*===================================================*/
.detail {
    position: absolute;
    z-index: 1;
    left: 5%;
    top: 15%;
}

.detail .h1 {
    font-size: 30px;
    padding: 0;
    margin: 0 0 0 0;
}

.detail p {
    margin: 0;
    padding: 0;
}

.detail .p1 {
    margin-bottom: 1em;
}

.detail .p2 {
    font-size: 15px;
    margin-bottom: 1em;
}

.detail .p3 {
    font-size: 12px;
    margin-bottom: 1em;
}

strong {
    border: 1px solid grey;
    margin: 2px;
    padding: 3px;
}

strong:hover {
    background-color: gray;
}

/* img {
   position: absolute;
    left: 70%;
    top: 123%
} */

.img1 {
    position: absolute;
    left: 96%;
    top: 123%;
}

.img2 {
    position: absolute;
    left: 0.1%;
    top: 0.1%;
    height: 150%;
    object-fit: cover;
}

.img3 {
    position: absolute;
    left: 85%;
    top: 123%
}

.section1 {
    /* text-align: center; */
    position: relative;
    border: 1px solid grey;
    top: 350px;
    background-color: rgba(0, 0, 0, .5);
    margin: 0 10% 350px;
    padding: 20px;
    border-radius: 8px;
}

.a {
    text-decoration: none;
    color: white;
    border: 1px solid white;
    background-color: grey;
    padding: 5px;
    border-radius: 5px;
}

.a:hover {
    background-color: white;
}

.button:hover {
    background-color: darkgrey;
}

@media screen and (min-width:768px) {


    .p3 {
        right: 85%;
    }

    img {
        left: 85%;
    }

    .img3 {
        left: 93%;
    }

    .img2 {
        height: 150%;
    }
}

@media screen and (min-width:1024px) {
    .p4 {
        top: 30%;
    }

    .p3 {
        left: 0.1%;
    }
}

/*===================================================*/
/*====================CONTACT=========================*/
/*===================================================*/

.main {
    background-image: url(../img/fortnite.jpg);
    background-size: cover;
    border: 2px solid darkgray;
}

input {
    display: flex;
    justify-content: center;
    text-align: center;
    font-size: 20px;
    box-sizing: border-box;
    border-radius: 10px;
    z-index: 1;
    line-height: 35px;
}

.c {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 20px;
    top: 35px;
    font-size: 30px;
}

.nav4 {
    line-height: 30px;
    left: 10%;
}

.telephone {
    line-height: 30px;
}

.name-field {
    display: flex;
    justify-content: center;
    font-size: 25px;
    line-height: 40px;
    text-align: center;
}

.input {
    margin: 8px;
}