@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400&family=Oswald:wght@300&display=swap');

html {
    scroll-behavior: smooth;
  }  

body {
    font-family: 'Noto Sans JP', sans-serif;
    padding: 0;
    margin: 0;
}

header {
    display : block ;
    width : 100%;
    height : 50px;
    background-color: #fff;
    color: #000;
    position: fixed;
    top: 0px;
    left : 0px;
    text-align: center;
}

nav {
    position: sticky;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid #000;
}

nav .logo img {
    margin: 3px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 1px solid #000;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-right: 20px;
    cursor: pointer;
    border-bottom: 1px solid #fff;
}

nav ul li:hover {
    border-bottom-color: #000;
}

.flex-container .presentation {
    color: #000;
    background-color: #fff;
    position: relative;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    border-radius: 5px;
    transition: transform 0.3s ease-in-out;
    border: 1px solid #000;
}

.flex-container .presentation h3{
    width: 100%;
    margin: 1%;
    margin-left: 0;
    margin-right: 0;
}

.flex-container .presentation p{
    margin: 1%;
    margin-left: 0;
    margin-right: 0;
}

.flex-container .presentation:hover {
    transform: translate(-10px, -10px);
    box-shadow: 5px 5px 15px #ccc;
}

.flex-container .image-deco {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    padding: 0;
    margin: 0;
    margin-top: 2%;
}

.flex-container .image-deco img{
    width: max-content;
    height: max-content;
}

.flex-container .list-projet {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    padding: 0;
    margin: 0;
    margin-top: 2%;
    text-align: center;
    color: #000;
    background-color: #fff;
}

.flex-container .list-projet .projet {
    padding: 0;
    margin: 0;
    margin-top: 10px;
    border: 1px solid #000;
    border-radius: 5px;
    transition: transform 0.3s ease-in-out;
}

.flex-container .list-projet .projet h4 {
    margin: 2%;
    margin-left: 0;
    margin-right: 0;
}

.flex-container .list-projet .projet:hover {
    transform: translate(-10px, -10px);
    box-shadow: 5px 5px 15px #ccc;
}

.flex-container .list-projet .projet p {
    margin: 2%;
    max-width: 360px;
    word-wrap: break-word;
}

.flex-container {
    margin: 4%;
}

.flex-container ul {
    list-style: none;
}

.flex-container ul li {
    font-size: 10px;
}

a {
    text-decoration: none;
    color: #000;
}

footer {
    background-color: #333; /* Couleur de fond du footer */
    color: #fff; /* Couleur du texte du footer */
    padding: 0;/* Espacement interne du footer */
    margin: 0; 
    width: 100%; /* Largeur du footer à 100% de la fenêtre */
    margin-top: 100%;
    
}
.footer {
   display: flex;
    flex-wrap: wrap; 
    justify-content: space-around;
    padding: 0;
    margin: 0;
    margin-top: 5%;
    color: #fff;
    background-color: #000;
}
.footer .colonne {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    margin-top: 2%;
    margin-bottom: 2%;
    border: 1px solid #fff;
    border-radius: 5px;
    text-align: center;
}

.footer .colonne h4{
    margin: 2%;
    width: 100%;
}

.footer .colonne p {
    font-size: 12px;
    color: #ccc;
    cursor: pointer;
    max-width: 400px;
    width: 100%;
    word-wrap: break-word;
    margin: 0;
    margin-bottom: 2%;
}

footer .colonne p:hover {
    color: #fff;
}

@media screen and (max-width: 700px) {

    nav {
        justify-content: center;
    }

    nav ul {
        display: none;
    }

    .flex-container header {
        margin-top: 10%;
        max-width: 100%;
    }

    .flex-container h1 {
        font-size: 1.5em;
    }

    footer {
        justify-content: flex-start;
    }

    footer .column {
        width: 80%;
    }
}