main
{
    display: flex;
    flex-direction: column;
    align-items: center;
}
h1
{
    color: #b48a78;
    text-align: center;
    font-size: 75px;
}
main > div:nth-of-type(1)
{
    margin-top: 50px;
    margin-bottom: 50px;
    padding: 50px;
    position: relative;
    z-index: 1;
    width: 80%;
    background-color: #fff;
    border-radius: 24px;
    box-shadow: 0 4px 24px #f3e6d8;
}

/* Menu principale de la boutique */

main > div:nth-of-type(1) > div
{
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-around;
    margin-top: 100px;
    padding: 30px;
    border-radius: 24px;
    background-color: #fffbe6;
    box-shadow: 0 2px 8px #f3e6d8;
}
main > div:nth-of-type(1) > div > a
{
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 25px;
    width: 300px;
    height: 300px;
    box-shadow: 0 2px 8px #f3e6d8;
    transition: 0.3s;
}
main > div:nth-of-type(1) > div > a:hover
{
    transform: scale(1.05);
}
main > div:nth-of-type(1) > div > a > img
{
    position: absolute;
    z-index: -1;
    width: 300px;
}
main > div:nth-of-type(1) > div > a > span
{
    margin-bottom: 20px;
    align-self: flex-end;
    color: #b48a78;
    border-radius: 24px;
    font-size: 30px;
    background-color: #faf1e7;
    padding: 10px;
}

/* Grille des produits */

main > article
{
    width: 80%;
    margin-top: 100px;
}
article > section > div
{
    display: grid;
    justify-items: center;
    row-gap: 50px;
    grid-template-columns: repeat(3, 1fr);
}
article > section > h2
{
    color: #b48a78;;
    font-style: italic;
    margin-bottom: 30px;
    width: fit-content;
    padding: 10px;
    font-size: 50px;
}
article > section > div > a
{
    text-decoration: none;
    background-color: #faf1e7;
    width: 300px;
    border: 10px solid #faf1e7;
    border-radius: 25px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}
article > section > div > a > div:nth-of-type(1)
{
    height: 300px;
    border-radius: 25px;
    overflow: hidden;
}
article > section > div > a > div > img
{
    border-radius: 25px;
    width: 100%;
}
article > section > div > a > div:nth-of-type(2)
{
    color: #b48a78;
    text-align: center;
    font-size: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
    font-weight: bold;
}
article > section > div > a > div:nth-of-type(3),
article > section > div > a > div:nth-of-type(4)
{
    color: #b48a78;
    margin-top: 5px;
    font-weight: bold;
}

/* Partie pour le Devis */

main > div > .devis
{
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 30px;
    margin-top: 30px;
    color: #b48a78;
}
main > div > .devis > h2
{
    background-color: #fffbe6;
    border-radius: 24px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: center;
}
main > div > .devis > section > h3
{
    margin-top: 30px;
}
main > div > .devis > section:nth-of-type(1)
{
    display: flex;
    flex-wrap: wrap;
    width: 90%;
}
main > div > .devis > section:nth-of-type(2),
main > div > .devis > section:nth-of-type(3)
{
    display: flex;
    flex-direction: column;
    width: 90%;
}
/* main > div > .devis > section:nth-of-type(3) > h3,
main > div > .devis > section:nth-of-type(3) > h3
{
    
} */
main > div > .devis > section:nth-of-type(1) > h3
{
    width: 100%;
}
main > div > .devis > section:nth-of-type(1) > ul
{
    width: 50%;
}
main > div > .devis > section:nth-of-type(1) > ul:nth-of-type(1) > li
{
    background-color: #fff;
    padding: 20px;
    border-radius: 24px;
    width: fit-content;
    list-style: none;
    margin-left: auto;
    margin-right: 15px;
    margin-top: 20px;
}
main > div > .devis > section:nth-of-type(1) > ul:nth-of-type(2) > li
{
    background-color: #fff;
    padding: 20px;
    border-radius: 24px;
    width: fit-content;
    list-style: none;
    margin-left: 15px;
    margin-top: 20px;
}

/* ---------- Section des couleurs ---------- */

main > div > .devis > section:nth-of-type(2) > ul
{
    background-color: #fffbe6;
    border-radius: 24px;
    border-radius: 24px;
    display: grid;
    justify-items: center;
    row-gap: 50px;
    column-gap: 50px;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 30px;
    padding: 30px;
}
main > div > .devis > section:nth-of-type(2) > ul > li
{
    width: 100%;
    list-style: none;
}
main > div > .devis > section:nth-of-type(2) > ul > li > span
{
    padding: 30px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    flex-direction: row;
    background-color: #fff;
    margin-left: auto;
    margin-right: auto;
    width: 75%;
    box-shadow: 0 2px 8px #f3e6d8;
}
main > div > .devis > section:nth-of-type(2) > ul > li > span > span:nth-of-type(1)
{
    display: inline-block;
    background-color: green;
    border-radius: 10px;
    width: 50px;
    height: 50px;
}
main > div > .devis > section:nth-of-type(2) > ul > li > span > span:nth-of-type(2)
{
    margin-left: 20px;
}

/* ---------- Section des déco ---------- */

main > div > .devis > section:nth-of-type(3) > ul
{
    background-color: #fffbe6;
    display: grid;
    justify-items: center;
    row-gap: 50px;
    column-gap: 50px;
    grid-template-columns: repeat(3, 1fr);
    border-radius: 24px;
    margin-top: 30px;
    padding: 30px;
    box-shadow: 0 2px 8px #f3e6d8;
}
main > div > .devis > section:nth-of-type(3) > ul > li
{
    width: 100%;
    list-style: none;
}
main > div > .devis > section:nth-of-type(3) > ul > li > span
{
    padding: 30px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    flex-direction: row;
    background-color: #fff;
    margin-left: auto;
    margin-right: auto;
    width: 75%;
    box-shadow: 0 2px 8px #f3e6d8;
}
main > div > .devis > section:nth-of-type(3) > ul > li > span > span:nth-of-type(1)
{
    display: inline-block;
    background-color: green;
    border-radius: 10px;
    width: 50px;
    height: 50px;
}
main > div > .devis > section:nth-of-type(3) > ul > li > span > span:nth-of-type(2)
{
    margin-left: 20px;
}


@media (max-width: 1300px)
{
    article > section > div
    {
        display: grid;
        justify-items: center;
        row-gap: 50px;
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 1250px)
{
    main > div:nth-of-type(1) > div
    {
        flex-direction: column;
        position: relative;
        z-index: 1;
        display: flex;
        justify-content: space-around;
        margin-top: 100px;
        padding: 30px;
        border-radius: 24px;
        background-color: #fffbe6;
        box-shadow: 0 2px 8px #f3e6d8;
        align-items: center;
    }
    main > div:nth-of-type(1) > div > a
    {
        position: relative;
        overflow: hidden;
        text-decoration: none;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 25px;
        width: 300px;
        height: 300px;
        box-shadow: 0 2px 8px #f3e6d8;
        transition: 0.3s;
        margin-bottom: 20px;
    }
}
@media (max-width: 900px)
{
    article > section > div
    {
        display: grid;
        justify-items: center;
        row-gap: 50px;
        grid-template-columns: repeat(1, 1fr);
    }
}
@media (max-width: 500px)
{
    h1
    {
        font-size: 50px;
    }

    article > section > h2
    {
        font-size: 30px;
    }
    main > div:nth-of-type(1) > div > a
    {
        position: relative;
        overflow: hidden;
        text-decoration: none;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 25px;
        width: 150px;
        height: 150px;
        box-shadow: 0 2px 8px #f3e6d8;
        transition: 0.3s;
        margin-bottom: 20px;
    }
    main > div:nth-of-type(1) > div > a > img
    {
        position: absolute;
        z-index: -1;
        width: 150px;
    }
    main > div:nth-of-type(1)
    {
        margin-top: 50px;
        margin-bottom: 50px;
        padding-top: 50px;
        padding-bottom: 50px;
        padding-right: 25px;
        padding-left: 25px;
        position: relative;
        z-index: 1;
        width: 80%;
        background-color: #fff;
        border-radius: 24px;
        box-shadow: 0 4px 24px #f3e6d8;
    }
    article > section > div > a
    {
        text-decoration: none;
        background-color: #faf1e7;
        width: 150px;
        border: 10px solid #faf1e7;
        border-radius: 25px;
        box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    }
    article > section > div > a > div:nth-of-type(1)
    {
        height: 150px;
        border-radius: 25px;
        overflow: hidden;
    }
    article > section > div > a > div > img
    {
        translate: none;
        border-radius: 25px;
        width: 100%;
    }
    article > section > div > a > div:nth-of-type(2)
    {
        color: #b48a78;
        text-align: center;
        font-size: 15px;
        margin-top: 20px;
        margin-bottom: 20px;
        font-weight: bold;
    }
    article > section > div > a > div:nth-of-type(3),
    article > section > div > a > div:nth-of-type(4)
    {
        color: #b48a78;
        margin-top: 5px;
        font-weight: bold;
        font-size: 10px;
    }
}