html, body {
    width: 100%;
    min-height: 100%;
    margin: 0;
    font-family: Arial, sans-serif;
    font-size: 12pt;
    text-align: center;
}

header {
    height: 40px;
    background-color: cadetblue;
    color: #FFF;
}

header h1 {
    font-size: 30px;
    line-height: 40px;
    text-transform: uppercase;
    margin: 0;
    margin-left: 10px;
    margin-right: 10px;
    display: inline-block;
    vertical-align: top;
}

header nav {
    vertical-align: top;
    display: inline-block;
    height: 100%;
}

header nav ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
    height: 100%;
}

header nav ul li {
    display: inline-block;
    margin: 0;
    height: 100%;
    width: 150px;
    text-align: center;
}

header nav ul li a {
    display: block;
    width: 100%;
    height: 100%;
    line-height: 40px;
    color: #FFF;
    text-decoration: none;
}

header nav ul li a:hover {
    background-color: #333;
}

body {
    font-family: serif;
    font-size: 100%;
    background-color: Lavender;
}

#contact-me h2 {
    text-align: center;
    color: #fff;
    border-radius: 8px;
    font-weight: 900;
}

#contact-me ul {
    list-style: none;
    padding: 0;
}

#contact-me li {
    margin-bottom: 10px;
}

aside {
    max-width: 20%;
    float: left;
    padding: 12px;
    color: white;
    background-color: cadetblue;
}

aside a {
    text-decoration: none;
    color: white;
    transition: color 0.3s ease;
}

aside a:hover {
    color: midnightblue;
}

#profileimage {
    max-width: 50%;
    height: auto;
    border-radius: 50%;
}

footer {
    bottom: 0;
    background-color: cadetblue;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 5px;
    width: 100%;
}

footer ul {
    list-style-type: none;
}

footer a {
    color: darkred;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

form {
    background-color: mintcream;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 300px;
    display: inline-block;
    vertical-align: top;
    margin-right: 15px;
}

.forms {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    color: #132438;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 300px;
}

input, textarea {
    width: 100%;
    padding: 10px;
    margin: 8px auto;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 8px;
}

input[type="submit"] {
    background-color: #18293E;
    color: #fff;
    cursor: pointer;
}

input[type="submit"]:hover {
    background-color: midnightblue;
}

@media (max-width: 600px) {
    body {
        font-size: 14px;  /* Augmente légèrement la taille du texte */
    }

    header h1 {
        font-size: 18px;
    }

    header nav ul li {
        display: block;  /* Affiche les éléments de menu verticalement */
        width: 100%;  /* Les éléments prennent toute la largeur */
    }

    aside {
        max-width: 100%;
        float: none;  /* Les éléments de l'aside seront empilés */
    }

    #profileimage {
        max-width: 100%;  /* L'image prend toute la largeur disponible */
    }

    footer {
        font-size: 14px;
    }

    form {
        width: 100%;  /* Formulaire qui s'étend sur toute la largeur */
        margin-right: 0;
    }


