html{
    width: 100%;
    height: 100%;
    
}
body{
    font-family: "Open sans", sans-serif;
    font-size: 17px;
    line-height: 1.8;
    margin-left:0;
    margin-top:0;
}

section{
    padding-top: 5vh;
}


h1{
    text-align: center;
    color: #067302;
}

h2{
    width: 80%;

    margin: auto;
    margin-bottom: 4vh;
}

h3{
    text-align: center;
    font-size: xx-large;
    color: #fff;
}


.carte ul{
    list-style-type: none;
    padding-left: 1vh;
}

.carte ul li:before{
    content: '✔';
    color: #992621;
    padding: 2px;
}

.carte li{
    line-height: 2.5;
}

.green{
    background-color: #a5d1a96b;
    padding-bottom: 5vh;;
}
.grad{
    background: linear-gradient(to top, #fff, #a5d1a96b);
    padding-bottom: 5vh;
}

#A{
    width: 80%;
    margin: auto;
    display: grid;
    /*
    grid-template-rows: 1fr 2fr;
    grid-template-columns: 1fr;*/
    grid-template-areas: 
                    "a a a a a a"
                    ". c c b b .";
    column-gap: 20px;
}

#B{
    width: 70%;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    column-gap: 3vh;
}


#C{
    width: 60%;
    margin: auto;
}

#C p::before{
    content: '✔';
    color:#992621;
    margin-right: 10px;
}

#decouvrir{
    background: #27322B;
    width: 80%;
    margin: 7vh auto 7vh auto;
    padding-bottom: 2vh;
    border-radius: 2vh;
    text-align: center;
}

.carte{
    /*box-shadow: 3px 3px 3px lightgray, -3px -3px 3px lightgray;*/
    /*box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;*/
    background-color: #fff;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    border-radius: 2vh;
    padding: 2vh;
}




#texte_a{
    grid-area: a;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 5vh;
    text-align: center;
}

#site_sage::after{
    content: '';
    background-image: url('./images/fleche_droite_verte.png');
    background-size:contain;
    background-repeat:no-repeat;
    display: inline-flex;
    margin-left: 10px;
    margin-right: 5px;
    width: 13px;
    height: 9px;
}



#A_list_a{
    grid-area: c;
}
#A_list_b{
    grid-area: b;
    position: relative;
}


.lien{
    font-size: 19px;
    color: #067302;
    border: 2px solid #067302;
    border-radius: 10px;
    padding: 5px;
    text-decoration: none; 
    position: absolute;
    transition: all 1s;
    overflow: hidden;
    z-index: 1;
    left: 35%;
    bottom: 20px;
}


.lien::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #067302;
    border: 2px solid #067302;
    transition: all 0.6s;
    z-index: -1;
    transform: translateX(-100%);

}
  
.lien:hover::before {
    transform: translateX(0);

}
.lien:hover {
    color: #fff;
}


.lien_service{
    font-size: 19px;
    color: #fff;
    border: 2px solid #067302;
    border-radius: 10px;
    padding: 5px;
    text-decoration: none; 
    background-color: #067302;
    margin: auto 2vh auto 2vh;
}

.lien_service:after{
    content: '';
    background-image: url('./images/fleche_droite_blanche.png');
    background-size:contain;
    background-repeat:no-repeat;
    display: inline-flex;
    margin-left: 10px;
    margin-right: 5px;
    width: 13px;
    height: 9px;
}

#ordi{
    width: 96px;
}
#hand{
    width: 176px;
}
#page{
    height: 132px;
}

@media screen and (max-width: 640px){
    body{
        width: 100%;
        padding: 0;
        font-size: 14px;
    }

    h2{
        padding: 0.5vh;
    }

    h3{
        font-size: 20px;
    }

    #A{
        grid-template-areas: 
                            "a"
                            "c"
                            "b";
                            row-gap: 2vh;
    }

    #B{
        width: 80%;
        grid-template-columns: 1fr;
        row-gap: 3vh;
    }

    #C{
        width: 80%;
    }

    #decouvrir{
        padding: 1vh;
    }

    #texte_a{
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr 1fr;
    }


    .carte{
        width: 90%;
        box-shadow: 2px 2px 3px lightgray, -2px -2px 3px lightgray;
    }

    #liste_a{
        display:block;
    }

    .lien{
        margin-left: 23%;;
        font-size: 16px;
        color: #067302;
        background-color: #fff;
        border: 2px solid #067302;
        border-radius: 10px;
        position: relative;
    }

    .lien::before{
        display: none;
    }

    #link_grid{
        display: grid;
        grid-template-rows: 1fr 1fr;
        row-gap: 2vh;
        width: 100%;
        margin-bottom: 2vh;
    }
    .lien_service{
        font-size: 16px;
    }

}