/*************************************************************************/
/*                  FICHIER CSS POUR LA PAGE INDEX.HTML                  */
/*************************************************************************/

/*************************************************************************/
/*                             Général                                   */
/*************************************************************************/
h1{
    color: #EAD6BF;
    margin-left: 5px;
    font-size: 30px;
}

hr{
    color: #EAD6BF;
    margin-top: -15px;
    margin-bottom: 20px;
}

#S1 h1, #S2 h1{
    text-align: center;
}
/*************************************************************************/
/*                             Section 0                                 */
/*************************************************************************/
#S0{
    display: flex;
    justify-content: space-between;
}

#S0 img{
    display: flex;
    align-self: center;
    width: 470px;
    height: 470px;
}

#S0 div{
    width: 33%;
    display: flex;
    flex-direction: column;
    align-self: center;
    justify-content: space-between;
}

#S0 h2{
    color: #EAD6BF;
    display: flex;
    margin-top:10%;
    margin-bottom: 10%;
    justify-content: center;
}

#text1 h2:nth-child(1), #text1 h2:nth-child(3){
    align-self: flex-end;
}

#text2 h2:nth-child(1), #text2 h2:nth-child(3){
    align-self: flex-start;
}
/*************************************************************************/
/*                             Section 1                                 */
/*************************************************************************/
#S1{
    margin-top: 25px;
}

#S1 .content{
    display: flex;

    margin-top: 25px;
}

#S1 .container{
    background-color: #5a3d21;
    height: 5%;
    border-radius: 25px;
    display: flex;
    align-self: center;
    align-items: center;
    margin-left: 10px;
    margin-right: 10px;
}

#S1 .container img{
    border-radius: 25px;
    height: 250px;
    width: 250px;
    margin: 10px;
}

#S1 .container p{
    display: flex;
    justify-content: center;
    color: #EAD6BF;
    padding: 1%;
    font-size: large;
}

#S1 #back{
    height: 50px;
}

#S1 #back img{
    width: 950px;
    height: 950px;
}

/*************************************************************************/
/*                             Section 2                                 */
/*************************************************************************/
#S2{
    padding: 15px;
    margin-top: 20px;
    background-color: #5A3D21;
}

#S2 hr{
    width: 80%;
}

.articles{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.articles > div{
    margin-right: 15px;
    background-color: #EAD6BF;
    border-radius: 15px;
    max-width: 25%;
    margin-bottom: 15px;
}

.articles .text{
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.text h3{
    display: flex;
    justify-content: space-around;
}

.text p{
    margin-top: 0;
    margin-left: 15px;
    margin-right: 15px;
}

.shop .discover{
    padding: 15px;
    margin: 0 5px 5px 5px;
    font-size: 15px;
    display: flex;
    justify-content: center;
}

.shop  .buy i.ph-basket{
    color: #EAD6BF;
    margin-right: 3px;
    font-size: 1rem;
}

.shop div img{
    width: 100%;
    border-radius: 15px 15px 0 0;
}

.shop2{
    display: flex;
    justify-content: center;
}

.shop .more{
    border-radius: 50px;
    border: 2px #EAD6BF solid;
    padding: 15px;
    width: 100px;
    display: flex;
    align-items: center;
    
    &:hover{
        color: #5A3D21;
        border: 2px #5A3D21 solid;
        background-color: #EAD6BF;
    }
}

/*************************************************************************/
/*                             Responsive                                */
/*************************************************************************/
@media screen and (max-width: 1000px) {

    #S1 h1, #S2 h1{
        font-size: 100%;
    }

    /*************************************************************************/
    /*                              Navigation                               */
    /*************************************************************************/
    nav {
        margin-top: 20px;
    }

    nav h1{
        font-size: 100%;
    }

    .bar{
        width: 55%;
        height: 45px;
    }

    .bar{
        margin-top: -10px;
    }

    .search_bar{
        width: 10rem;
    }

    .search_bar input{
        width: 5rem;
        padding-right: 0;
    }

    .ph-list{
        font-size: 25px;
        margin-right: 13px;
    }

    .icons{
        font-size: 25px;
    }

    /*************************************************************************/
    /*                             Section 0                                 */
    /*************************************************************************/
    #S0 img{
        width: 40%;
        height: 40%;
    }

    #S0 h2{
        font-size: 75%;
    }

    /*************************************************************************/
    /*                             Section 1                                 */
    /*************************************************************************/
    #S1 .content{
        display: flex;
        flex-direction: column;
    }
    #S1 .container p{
        font-size: 10px;
    }

    #S1 .container img{
        width: 100px;
        height: 100px;
    }

    #back{
        display: none;
    }

    /*************************************************************************/
    /*                             Section 2                                 */
    /*************************************************************************/
    .shop{
        display: flex;
        justify-content: center;
        flex-direction: column;
    }
    #S2 hr{
        margin-top: 5px;
    }
    .articles{
        display: flex;
        flex-direction: column;
        align-content: center;
    }

    .articles > div{
        min-width: 75%;
        height: 10%;
        margin-right: 0;
    }

    .articles > div .text{
        display: flex;
        justify-items: center;
        font-size: smaller;
    }

    /*************************************************************************/
    /*                                 Footer                                */
    /*************************************************************************/
    .end-footer{
        align-content: center;
        font-size: 0.7rem;
    }

    .maker{
        margin-left: 15px;
    }

    .link > a{
        font-size: 1rem;
    }

    .name > div{
        font-size: 1rem;
    }


}