
main
{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: calc(100vh - 80px) ;
    width: 100%;
    z-index: 997;
    margin-top: 10px;
    margin-bottom: 10px;

    /*background:url(/assets/img/infinity.jpg) no-repeat;
    background-size: cover;
    background-position: center;*/
}

.haut
{
    max-width: 50rem;
    width: 80%;
    margin-top: 20px;
    /*padding: 2rem 9%;*/
}

.haut h3
{
    font-size: 4rem;
}

.haut span
{
    color: rgb(242, 142, 44);
    font-size: 2rem;
    padding: 10px 0;
    line-height: 1.5;
}


.haut p
{
    max-width: 400px;
    font-size: 1.3rem;
    padding: 10px 0;
    line-height: 1.5;
    color: #828282;
}

.haut a
{
    font-size: 0.8rem;
    font-weight: 700px;
    color: var(--infinity-blue);
    text-decoration: none;
    padding: 3px 5px;
    border: 2px solid var(--infinity-blue);
    border-radius: 20px;
    transition: all 0.7s ease;
    white-space: nowrap;
}

.notre_boutique
{
    width: 80%;
    margin-top: 80px;
    background: rgb(229, 229, 229);
    display: flex;
    border-radius: 20px;
}

.notre_boutique .texte
{
    width: 40%;
    margin: 130px 0 0 50px;
}

.notre_boutique .texte h3
{
    font-size: 2rem;
}

.notre_boutique .texte p
{
    width: 70%;
    color: #828282;
    margin-bottom: 10px;
}

.notre_boutique .texte a
{
    
    font-size: 0.8rem;
    font-weight: 700px;
    color: var(--infinity-blue);
    text-decoration: none;
    padding: 3px 5px;
    border: 2px solid var(--infinity-blue);
    border-radius: 20px;
    transition: all 0.7s ease;
    white-space: nowrap;
}

.notre_boutique img
{
    width: 60%;
    height: 500px;
    border-radius: 0 10px 10px 0;
}

.nos_services
{
    width: 80%;
    margin: auto;
    padding-top: 50px;
    text-align: center;
    margin-top: 120px;

}

.nos_services h2
{
    margin-bottom: 15px;
}

.nos_services .p
{
    margin-bottom: 25px;
}


.les_services
{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    
}

.le_service
{
    /*width: 25%;*/
    height: 410px;
    flex-basis: 30%;
    margin-bottom: 30px;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    margin:auto;
    margin-bottom: 20px;
}


.le_service img
{
    width: 100%;
    height: 100%;
    border-radius: 10px;
    
}

.le_service .desc
{
    background:transparent;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.5s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
   
}

.le_service .desc p, .le_service .desc ul
{
    opacity: 0;
    text-align: left;
    font-size: 0.7rem;
}


.le_service .desc h3
{
    color: rgb(217, 211, 211);
    width: 100%;
    font-weight: 500;
    font-size: 26px;
    bottom: 4%;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    transition: 0.5s;
}

.le_service .desc p
{
    color: rgb(217, 211, 211);
    width: 100%;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    transition: 0.5s;
}

.le_service .desc:hover
{
    background: rgb(242, 142, 44);
    border-radius: 5px 5px 0 0;
    margin-top: 50%;
    opacity: 0.6;
    display: inline;
}


.le_service .desc:hover h3
{
    position: relative;
    margin-top: 20px;
    color: var(--infinity-blue);
}

.le_service .desc:hover p
{
    padding: 0 10px;
    position: relative;
    color: black;
    opacity: 1;
}


.le_service .desc:hover ul
{
    opacity: 1;
    position: relative;
    margin-top: 5px;
    padding: 0 10px;
    color: var(--infinity-blue);
   
}

.le_service .desc:hover li
{
    list-style: circle;
    margin-left: 10px;
    
}



.nos_contacts
{
    background-color: white;
    box-shadow: 0 16px 70px -8px rgba(0, 0, 0, 0.25);
    width: 80%;
    height: 300px;
    text-align: center;
    margin-top: 120px;
    margin-bottom: 90px;
    display: flex;
    align-items: center;
    border-radius: 10px;
}

.nos_contacts .contacter
{
    width: 60%;
}

.nos_contacts .contacter h5, .nos_contacts .contacter h3, .nos_contacts .contacter .p_contact
{
    margin-bottom: 12px;
    
}

.nos_contacts .contacter .p_contact
{
    color: #828282;
    margin-bottom: 15px;
}

.nos_contacts .contacter a
{
    font-size: 0.8rem;
    font-weight: 700px;
    color: var(--infinity-blue);
    text-decoration: none;
    padding: 3px 5px;
    border: 2px solid var(--infinity-blue);
    border-radius: 20px;
    transition: all 0.7s ease;
    white-space: nowrap;
}

.nos_contacts img
{
    width: 40%;
    height: 100%;
    border-radius: 0 10px 10px 0;
}


p,h2,h1,h3,h5,a
{
    color: var(--secondary-color);
}

@media screen and (max-width:900px) 
{
    .haut h3
    {
        font-size: 3.5rem;
    }

    .haut span
    {
        font-size: 1.8rem;
    }


    .haut p
    {
        font-size: 1.1rem;
    }


    .notre_boutique .texte
    {
        width: 60%;
    }

    .notre_boutique .texte h3
    {
        font-size: 1.7rem;
    }

    .notre_boutique img
    {
        width: 40%;
        height: 400px;
        border-radius: 0 20px 20px 0;
    }

    .nos_contacts .contacter .p_contact
    {
        margin-left: 10px;
    }

}

@media screen and (max-width:810px) 
{
    .nos_services h2
    {
        font-size: 1.3rem;
    }

    .nos_services .p
    {
        font-size: 0.9rem;
    }

    .le_service
    {
        height: 300px;
    }

    .le_service .desc h3
    {
        font-size: 0.9rem;
    }

    .le_service .desc p
    {
        font-size: 0.7rem;
    }
}


@media screen and (max-width:651px) 
{
    main
    {
        flex-direction: column;
        margin: 20px 0;
    }

    .haut h3
    {
        font-size: 2.0rem;
    }

    .haut span
    {
        font-size: 1.1rem;
    }


    .haut p
    {
        font-size: 0.8rem;
    }

    .notre_boutique .texte
    {
        margin-top: 100px;
    }

    .notre_boutique .texte h3
    {
        font-size: 1.2rem;
    }

    .notre_boutique .texte p
    {
        font-size: 0.7rem;
    }

    .notre_boutique .texte a
    {
        font-size: 0.6rem;
    }

    .notre_boutique img
    {
        height: 275px;
    }

    .nos_services h2
    {
        font-size: 1.1rem;
    }

    .nos_services .p
    {
        font-size: 0.8rem;
    }

    .le_service
    {
        height: 250px;
    }

    .le_service .desc h3
    {
        font-size: 0.7rem;
    }

    .le_service .desc p
    {
        font-size: 0.6rem;
    }

    .nos_contacts h3
    {
        font-size: 0.9rem;
    }

    .nos_contacts .p_contact
    {
        font-size: 0.8rem;
    }
}


@media screen and (max-width:500px) 
{
    .haut, .notre_boutique
    {
        width: 95%;
    }

    .nos_services, .nos_contacts
    {
        width: 95%;
    }

    .le_service
    {
        flex-basis: 45%;
    }

    .notre_boutique .texte
    {
        margin-left: 15px;
    }
    .notre_boutique .texte h3
    {
        font-size: 1rem;
    }

    .notre_boutique .texte p
    {
        font-size: 0.8rem;
    }

    .notre_boutique .texte a
    {
        font-size: 0.6rem;
    }
}