@font-face {
    font-family: 'Departure';
    src: url('fonts/DepartureMonoNerdFont-Regular.otf') format('truetype');
    /* Vous pouvez également spécifier d'autres formats comme 'woff' ou 'woff2' */
}


body {
    background-color: #f0e68c;
    /* Couleur de fond rétro */
    font-family: 'Departure', Courier, monospace;
    font-size: 0.8vw;
    margin: 0;
    padding: 0;
}

@media (max-width: 768px) {
    body {
        font-size: 2vw;
    }
}

.container {
    width: 80%;
    margin: 0 auto;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border: 2px solid #000;
}

header {
    text-align: center;
    padding: 20px 0;
    border-bottom: 2px dashed #000;
}

main {
    padding: 20px;
}

footer {
    text-align: center;
    padding: 10px 0;
    border-top: 2px dashed #000;
}

article {
    margin-bottom: 20px;
}

.navbar {
    background-color: #d2b48c;
    /* Couleur de fond de la bannière */
    padding: 10px 0;
    text-align: center;
    border-bottom: 2px dashed #000;
}

.navbar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.navbar li {
    margin: 0 15px;
}

.navbar a {
    text-decoration: none;
    color: #000;
    font-weight: bold;
}

.navbar a:hover {
    color: #8b4513;
}


#list_project {
    list-style-type: none;
    padding: 0;

    figure {
        display: flex;
        align-items: start;
    }

    @media (max-width:768px) {
        figure {
            flex-direction: column;
        }
    }

    figcaption {
        margin: 10px;
        font-size: 1.2em;
    }

}

fieldset {
    border: 3px solid #000;
    /* Bordure épaisse noire */
    background-color: #e0e0e0;
    /* Gris clair rétro */
    padding: 10px;
    margin: 10px 0;
    box-shadow: inset -2px -2px 0 #fff, inset 2px 2px 0 #aaa;
}


legend {
    background-color: #c0c0c0;
    /* Gris plus foncé pour la légende */
    border: 2px solid #000;
    padding: 2px 6px;
    box-shadow: inset -1px -1px 0 #fff, inset 1px 1px 0 #888;
}

.images_projects {
    width: 10vw;
    opacity: 1;
    transition: opacity 0.3s ease;
}


.images_projects:hover {
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

img {
    border: 3px solid #c0c0c0;
    box-shadow: inset -2px -2px 0 #fff, inset 2px 2px 0 #808080;
    background-color: #e0e0e0;
    padding: 4px;
}
