@import url(https://fonts.googleapis.com/css?family=Calligraffitti:regular);

body{
    margin: 0;
}
header{
    background-color:rgb(134, 78, 37);
    display: flex;
    justify-content: center;
    height: 60px;
    gap: 20px;
    margin: 0 auto;
}
img{
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
section div h1{
    font-family: Calligraffitti;
}
footer{
    background-color: rgb(83, 53, 32);
    color: white;
    text-align: center;
    padding-top: 1px;
    padding-bottom: 1px;
}
table, th, td{
    border-collapse: collapse;
    border: 1px solid black;
    padding: 20px;
}
footer nav ul li a{
    color: rgb(153, 118, 104);
}
footer nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
    justify-content: center;
}
header a{
    text-decoration: none;
    color: black;
}
header nav ul{
    flex-direction: row;
    justify-content: space-between;
    display: flex;
    gap: 30px;
}
header nav ul li{
    background-color: rgb(107, 61, 27);
    border: 1px, white, solid;
    border-radius: 5px;
    text-decoration: none;
    height: 25px;
    width: 110px;
    display: flex;
    justify-content: center;
    flex-direction: row;
}
header nav ul li a{
    color: white;
    text-decoration: none;
    font-family: Calligraffitti;
}
#autreHeader-id{
    display: flex;
    align-items: center;
    height: 60px;
    gap: 20px;
    margin: 0 auto;
    justify-content: space-between;
    padding: 0 10px;
}
#sectionTitle-id div{
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
}
#sectionTitle-id{
    position: relative;
    text-align: center;
    color: white;
    font-size: 25px;
}
#sectionDifferences-id{
    background-color: rgb(134, 78, 37);
    text-align: center;
    width: 80%;
    height: 170px;
    margin-left: 10%;
    border-radius: 10px;
    color: white;
    font-size: 20px;
    margin-bottom: 2%;
}
#sectionDifferences-id ul{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    justify-content: space-around;
    text-decoration: none;
}
#sectionDifferences-id ul li{
    width: 30%;
    background-color: rgb(107, 61, 27);
    border-radius: 10px;
    list-style: none;
    font-size: 20px;
}
#sectionDifferences-id ul li a{
    text-decoration: none;
    color: white;
}
#sectionTaille-id{
    border: 2px rgb(107, 61, 27) solid;
    border-radius: 10px;
    text-align: center;
    width: 80%;
    margin-left: 10%;
    text-decoration: none;
    font-size: 20px;
    margin-bottom: 20px;
}
#sectionTaille-id h2{
    font-family: Calligraffitti;
    font-size: 30px;
}
#sectionTaille-id ol{
    padding: 0%;
    display: flex;
    justify-content: space-around;
}
#sectionTaille-id ol li img{
    width: 400px;
    height: 400px;
    border-radius: 5px;
}
#sectionTaille-id ol li #descriptionDesChats-id{
    position: absolute;
    bottom: -20px;
    border-radius: 1px;
    background-color: rgb(153, 118, 98);
    width: 400px;
}
#sectionTaille-id ol li #nomDesChats-id{
    position: absolute;
    top: -10px;
    left: 10px;
}
#sectionTaille-id ol li{
    position: relative;
    text-align: center;
    color: white;
    border: 5px rgb(153, 118, 98) solid;
    border-radius: 10px;
}
form{
background-color: rgb(211, 184, 171);
padding: 20px;
}
input{
    width: 100%;
    border: 3px solid rgb(177, 157, 142);
}
textarea{
    width: 100%;
}
/* Responsive design for phone*/
@media only screen and (min-device-width: 120px) and (max-device-width: 440px){
    header{
        width: 100%;
    }
    footer{
        width: 100%;
        font-size: 10px
    }
    img{
        width: 100%;
    }
    header nav ul li{
        display: flex;
        justify-content: center;
        width: 40px;
        height: 40px;
    }
    header nav {
        justify-content: space-around;
    }
    #autreHeader-i{
        width: 100%;
    }
    #sectionTitle-id{
        font-size: 15px;
    }
    #sectionDifferences-id{
        width: 80%;
        font-size: 12px;
        margin-left: 10%;
    }
    #sectionDifferences-id ul{
        padding-left: 0px;
    }
    #sectionDifferences-id ul li{
        font-size: 12px;
    }
    #sectionTaille-id{
        width: 80%;
        font-size: 15px;
        margin-left: 10%;

    }
    #sectionTaille-id ol li img{
        width: 100px;
        height: 100px;
    }
    #sectionTaille-id h2{
        font-size: 20px;
    }
    #sectionTaille-id ol li #descriptionDesChats-id{
        font-size: 12px;
        width: 100px;
        bottom: -15px;
    }
    #sectionTaille-id ol li #nomDesChats-id{
        font-size: 10px;
        top: -5px;
        left: 5px;    
    }
}
@media only screen and (min-device-width: 450px) and (max-device-width: 956px){
    header{
        width: 100%;
    }
    #autreHeader-i{
        width: 100%;
    }
    footer{
        width: 100%;
        font-size: 10px
    }
    img{
        width: 100%;
    }
    header nav ul li{
        display: flex;
        justify-content: center;
        width: 100px;
        height: 20px;
    }
    header nav {
        justify-content: space-around;
    }
    #sectionTitle-id{
        font-size: 15px;
    }
    #sectionDifferences-id{
        width: 80%;
        font-size: 20px;
        margin-left: 10%;
    }
    #sectionDifferences-id ul{
        padding-left: 0px;
    }
    #sectionDifferences-id ul li{
        font-size: 15px;
    }
    #sectionTaille-id{
        width: 80%;
        font-size: 15px;
        margin-left: 10%;

    }
    #sectionTaille-id ol li img{
        width: 180px;
        height: 180px;
    }
    #sectionTaille-id h2{
        font-size: 30px;
    }
    #sectionTaille-id ol li #descriptionDesChats-id{
        font-size: 15px;
        width: 180px;
        bottom: -15px;
    }
    #sectionTaille-id ol li #nomDesChats-id{
        font-size: 15px;
        top: -5px;
        left: 5px;    
    }
}