body {
    margin: 0;
    background-color: rgb(225, 224, 224);
}
html {
    scroll-behavior: smooth;
}
header h1 {
    margin: 0;
}
header {
    background-color: rgb(205, 203, 203);
    color: rgb(10, 10, 10);
    text-align: center;
}
header nav ul {
    list-style-type: none;
    display: flex;
    justify-content: space-evenly;
    font-size: clamp(0px,4vw,24px);
}
header nav a {
    text-decoration: none;
    position: relative;
    right: 4vh;
    padding: 3px;
    border: 1px solid rgb(6, 5, 5);
    border-radius: 5px;
    color: white;
    background-color: black;
    position: relative;
    right: 22px;
}
/* nav>section {
    margin: auto;
    max-width: 960px;
    background-color: blue;
} */
a:hover {
    background-color: white;
    color: rgb(13, 13, 13);
}

#apropos {
    margin: auto; 
    margin-top: 8%;
    width: 60%;
    min-height: 10vh;
    padding: 30px;
    text-align: center;
    border: 1px solid black;
    border-radius: 15px;
    box-shadow: 1px 3px 11px 1px;
    background-color: rgb(200, 185, 185);
}

#projet {
    margin: auto;
    text-align: center;
    background-color: beige;
    border: 1px solid black;
    border-radius: 15px;
    margin-top: 8%;
    padding: 5px;
    width: 65%;
    /* height: 35vh; */
    box-shadow: 1px 1px 10px 5px;
    /* transition: all .25s; */
}
.liens {
    display: flex;
    justify-content: space-around;
}

.liens a {
    text-decoration: none; 
    display: inline-block;
    /* justify-content: space-evenly; */
    padding: 10px;
    background-color: rgb(125, 48, 48);
    color: white;
    border-radius: 6px;
    border: 1px solid black;
    /* transition: all .25s ease-out; */
}
/* .liens a:hover {
    border-width: 8vh;
    background-color: black;
    color: white; */
    /* width: 10vh; */
    /* height: 10vh; */
    /* object-fit: cover; */
/* } */

hr {
    margin-top: 30px;
    width: 80%;
    color: grey
}

#contact {
    text-align: center;
}
.bas a {
    text-decoration: none;
    color: white;
    background-color: rgb(78, 71, 71);
    /* padding: 5px; */
    border-radius: 2px;
}
/* .bas a:hover { */
    /* color: brown; */
/* } */

.reseau img { 
    width: 15px;
}
.reseau a {
    text-decoration: none;
    color: white;
}
.reseau a:hover {
    color: brown;
    background-color: black;
}

.message {
    padding: 10px;
    text-align: center;
    border: 1px solid black;
    background-color: black;
    color: white;
    width: 80%;
    /* height: 45vh; */
    margin: auto;
    border-radius: 10px;
}

.retour a {
    /* text-align: center; */
    text-decoration: none;
    color: rgb(78, 71, 71);
}

#compétences {
    background-color: rgb(255, 255, 255);
    margin: 100px;
    border: 1px solid white;
    border-radius: 1px;
    margin: auto; 
    margin-top: 8%;
    width: 60%;
    min-height: 10vh;
    padding: 30px;
    text-align: center;
    box-shadow: 1px 3px 1px;
}
#compétences img {
  width: 100px;
}
footer {
    margin-top: 60px;
    background-color: black;
    color: white;
    text-align: center;
    padding: 5px;
    /* position: fixed; */
}
@media  screen and (min-width: 1024px) {
    header {
        background-color: rgb(4, 4, 4);
        color: rgb(248, 244, 244);
        text-align: center;
    }
    #projet {
        margin: auto;
        text-align: center;
        background-color: beige;
        border: 1px solid black;
        border-radius: 15px;
        margin-top: 8%;
        padding: 5px;
        width: 65%;
        /* height: 35vh; */
        box-shadow: 1px 1px 10px 5px;
        /* transition: all .25s; */
    }
    .liens {
        display: flex;
        justify-content: space-around;
    }
    
    .liens a {
        text-decoration: none; 
        display: inline-block;
        /* justify-content: space-evenly; */
        padding: 10px;
        background-color: rgb(125, 48, 48);
        color: white;
        border-radius: 6px;
        border: 1px solid black;
        transition: all .25s ease-out;
    }
    .liens a:hover {
        border-width: 8vh;
        background-color: black;
        color: white;
        /* width: 10vh; */
        /* height: 10vh; */
        /* object-fit: cover; */
    }
    #contact {
        text-align: center;
    }
    .bas a {
        text-decoration: none;
        color: white;
        background-color: rgb(78, 71, 71);
        /* padding: 5px; */
        border-radius: 2px;
    }
    .bas a:hover {
        color: rgb(153, 74, 68);
    }
    
    .reseau img { 
        width: 30px;
    }
    .reseau a:hover {
        background-color: rgb(225, 224, 224);
    }
    .reseau {
        margin: 10px;
    }
    
    #compétences {
        background-color: rgb(255, 255, 255);
        margin: 100px;
        border: 1px solid white;
        border-radius: 1px;
        margin: auto; 
        margin-top: 8%;
        width: 60%;
        min-height: 10vh;
        padding: 30px;
        text-align: center;
        box-shadow: 1px 3px 1px;
    }

    #compétences img {
        width: 300px;
      }
}