/*******************************************************

                       GLOBAL

 *******************************************************/
*{
    box-sizing : border-box;
}

html{
    font-size : 62.5%;
}

body{
    margin-top: 100px;
    margin-bottom: 100px;
    text-align: center;
    background-image: url(../img/cahier.jpg);
    background-position: center;
    background-repeat: no-repeat;
    font-size : 1.6rem;
    color : #666;
    font-family : 'Roboto', verdana, helvetica, sans-serif;
}

ul li{
    text-align: center;
    list-style-type : none;
    margin : 0;
    padding : 0;
}

h1{
    margin-bottom: 20px;
    font-family : 'Nanum Brush script', verdana, helvetica, sans-serif;
    color : #222;
    white-space : nowrap;
    text-transform : uppercase;
    font-size : 3rem;
}


/*******************************************************

                        GENERIC

 *******************************************************/

.content{
    margin:0 auto;
    width:90%;
    max-width:1200px;
    margin-left: 140px;
}

.flex {
    display:flex;
    justify-content: space-between;
}
.flex-row{flex-direction: column;}
.flex-row> * + * {margin-top:1rem;}
.flex-wrap{flex-wrap: wrap;}
.flex-wrap > * { white-space: nowrap;}
.text-right{text-align: right;}
.flex-right, .flex-end{ justify-content: flex-end;}
.float-right{float: right;}
.text-left{text-align: left;}
.flex-left, .flex-start{ justify-content: flex-start;}
.float-left{float: left;}
.full{
    width:100%
}

.hidden{
    display:none
    
}

/*******************************************************

                        FORMS

 *******************************************************/
.form{
    margin:0 auto;
    max-width: 40px;
}
.form fieldset{
    padding: 2rem;
    border :2px solid #ddd
}
.form legend{ 
    padding: 0 1rem
    
}
.form ul{
    text-align: center;
    list-style-type: none;padding:0;margin:0
    
}
.form li{
    text-align: center;
    line-height: 3rem;display: flex;
    
}
.form li + li{
    text-align: center;
    margin-top:1rem
    
}
.form li label{
    display: inline-block;
    font-weight: bolder;
    width:30%;
    text-align: center;
    padding-right: 3rem;
}
.form input,
.form textarea,
.form button:not(.button){
    width: 70%;
    padding:.5rem 1rem;
    border:#aaa;
    background-color: #eee
}
.form input:focus,
.form textarea:focus,
.form button:focus{
    outline: none
}
.form .button{
    width: auto;
}

/*******************************************************

                        BUTTONS

 *******************************************************/
.button{
    background-color:  #f5b7b1;
    padding:.5rem 3rem;
    color: grey;
    font-weight: bold;
    border:none;
    margin: 20px;
}
.button:hover{
    background-color: #ec7063;
    color: black;
}
.ajout{
    font-family: "Mali";
    font-size: 1.5rem;
    margin: 0 auto;
    width: 40%;
}
.priority{
    margin-top: 20px;
}
.list{
    font-family: "Mali";
    font-size: 1.5rem;
    margin: 50px;
    text-align: center;
}
.list li{
    text-align: left;
    margin-left: 600px;
}
.date{
    margin-top: 20px;
    margin-bottom: 20px;
    font-family: "Mali";
    font-size: 1.5rem;
}
.proprity{
    margin-top: 20px;
}
#tasks_list li:hover .description{
    display: block;
}

.tooltip{
    padding: 1rem;
    border: 1px solid #fecece;
    background-color: #dbffed;
    border-radius: 10px;
    margin: 1rem 3rem;
    position: absolute;
}