@font-face {
	font-family: 'Eyesome';
	src: url('../font/Eyesome-Script.otf') format('opentype')
}

/* Partie image */

main > div:nth-of-type(1)
{
    font-family: 'Eyesome';
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow-y: hidden;
    margin-bottom: 50px;
    box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 1px, rgba(0, 0, 0, 0.07) 0px 2px 2px, rgba(0, 0, 0, 0.07) 0px 4px 4px, rgba(0, 0, 0, 0.07) 0px 8px 8px, rgba(0, 0, 0, 0.07) 0px 16px 16px;
}
main > div:nth-of-type(1) > div
{
    position: relative;
}
main > div:nth-of-type(1) > img
{
    position: absolute;
    width: 100%;
    z-index: -2;
}
main > div:nth-of-type(1) > div > p
{
    font-size: 150px;
    color: #fff;
    /* color: #996515; */
    /*background-color: #faf1e7;*/
    padding-left: 10px;
    padding-right: 10px;

}
main > div:nth-of-type(1) > div:nth-of-type(1) > div
{
    display: none;
    top: 30px;
    background-color: #faf1e7;
    z-index: -1;
    position: absolute;
    width: 805px;
    height: 230px;
}
main > div:nth-of-type(1) > div:nth-of-type(2) > div
{
    display: none;
    top: 20px;
    background-color: #faf1e7;
    z-index: -1;
    position: absolute;
    width: 350px;
    height: 230px;
}

/* Partie description */

main > div:nth-of-type(2)
{
    display: flex;
    justify-content: center;
}
main > div:nth-of-type(2) > div
{
    color: #b48a78;
    width: 90%;
    border-radius: 25px;
    background-color: #fffbe6;
    box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 2px, rgba(0, 0, 0, 0.07) 0px 2px 4px, rgba(0, 0, 0, 0.07) 0px 4px 8px, rgba(0, 0, 0, 0.07) 0px 8px 16px, rgba(0, 0, 0, 0.07) 0px 16px 32px, rgba(0, 0, 0, 0.07) 0px 32px 64px;
}
main > div:nth-of-type(2) > div > p
{
    padding-left: 10px;
    padding-right: 10px;
    margin-top: 25px;
    margin-bottom: 5px;
    font-size: 30px;
    width: fit-content;
}

/* Partie détail produit */

main > div:nth-of-type(3)
{
    margin-bottom: 250px;
    margin-top: 250px;
    display: flex;
    justify-content: space-evenly;
}
main > div:nth-of-type(3) > div
{
    display: flex;
    flex-direction: column;
    align-items: center;
}
main > div:nth-of-type(3) > div > div
{
    border-radius: 200px;
    height: 250px;
    width: 250px;
    background-color: #fff;
    border: 10px solid #fffbe6;
    box-shadow: 0 4px 8px #f3e6d8;
}
main > div:nth-of-type(3) > div > p
{
    color: #b48a78;
    width: fit-content;
    padding: 10px;
    margin-top: 10px;
    font-size: 50px;
    border: none;
    background-color: #fffbe6;
    box-shadow: 0 4px 12px #f3e6d8;
    border-radius: 24px;
}

/* Media Queries */

@media (max-width: 900px) {
    main > div:nth-of-type(1) > div > p {
        font-size: 60px;
        padding-left: 5px;
        padding-right: 5px;
    }
    main > div:nth-of-type(1) > div:nth-of-type(1) > div {
        width: 330px;
        height: 95px;
        top: 10px;
    }
    main > div:nth-of-type(1) > div:nth-of-type(2) > div {
        width: 140px;
        height: 95px;
        top: 10px;
    }
    main > div:nth-of-type(1) {
        margin-bottom: 20px;
        min-height: 220px;
        position: relative;
        overflow: hidden;
    }
    main > div:nth-of-type(1) > img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: -2;
    }
    main > div:nth-of-type(2) > div {
        font-size: 16px;
        width: 98%;
        padding: 10px 0;
    }
    main > div:nth-of-type(2) > div > p {
        font-size: 18px;
        margin-top: 10px;
        margin-bottom: 5px;
        padding-left: 5px;
        padding-right: 5px;
    }
    main > div:nth-of-type(3) {
        margin-bottom: 40px;
        margin-top: 40px;
        flex-direction: row; /* Garde les ronds en ligne */
        align-items: flex-start;
        justify-content: space-between;
        gap: 0;
        width: 100%;
    }
    main > div:nth-of-type(3) > div {
        flex: 1 1 0;
        min-width: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 0 2px;
    }
    main > div:nth-of-type(3) > div > div {
        height: 90px;
        width: 90px;
        border-width: 4px;
    }
    main > div:nth-of-type(3) > div > p {
        font-size: 16px;
        padding: 4px;
        margin-top: 6px;
    }
}