@font-face {
    font-family: 'KodeMono';
    src: url('assets/fonts/Kode_Mono/static/KodeMono-Regular.ttf') format('truetype'); /* Safari, Android, iOS */
    font-weight: normal;
    font-style: normal;
}

body, button {
    font-family: KodeMono, sans-serif;
}

body {
    background-image: url('assets/images/background.jpg'); /* Ajoute ceci */
    background-size:cover; /* Assure que l'image couvre tout le fond */
    background-attachment: fixed;
    background-position: center; /* Centre l'image */
    max-height: 100vh;
    margin: 0;
    padding: 0;
}

h1 {
    color: #FFF;
    padding: 2%;
    text-transform: uppercase;
    text-decoration: underline;
}

h3 {
    margin-top: 2%;
    margin-bottom: 0;
}

p {
    color: #FFF;
}

.close-overlay-button {
    background-color: #008cba;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: max-content;
}

button:hover {
    background-color: #005f73;
}

.menu {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    right: 3vw;
    top: 3vh;
    width: 40vw;
}

.menu-button-list {
    list-style-type: none;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.menu-button {
    background-color: #0057ba72;
    color: white;
    padding: 10px 0%;
    border: none;
    cursor: pointer;
    width: 90%;
    font-size: large;
}

.overlay {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Effet de filtre pour le reste de la page */
    z-index: 2; /* Assure qu'il est au-dessus des autres éléments */
}

.overlay-content {
    width: 100%;
    min-width: 30vw;
    margin: auto;
    background-size: 100% 100%;
    text-align: center;
    color: white; /* Change selon ton design */
}

.image-part {
    width: 100%;
    margin: auto;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.overlay-top {
    background-position: top; /* Assure que le haut de l'image s'affiche */
    height: 5vh;
    background: url('assets/images/top_windows.png'); /* Image en arrière-plan */
    background-size: 100% 100%;
}

.overlay-middle {
    max-height: 70vh;
    overflow-y: auto;
    text-align: center;
    color: white; /* Change selon ton design */
    justify-content: center; /* Centre le contenu dans la partie centrale */
    background: url('assets/images/middle_windows.jpg'); /* Image en arrière-plan */
    background-size: 100% 100%;
}

.overlay-bot {
    background-position: bottom; /* Assure que le bas de l'image s'affiche */
    height: 5vh;
    background: url('assets/images/bot_windows.png'); /* Image en arrière-plan */
    background-size: 100% 100%;
}



/* width */
::-webkit-scrollbar {
    width: 15px;
}

/* Track */
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 25px rgb(0, 0, 0); 
    border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: rgb(0, 196, 180); 
    border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: rgb(0, 154, 141); 
}



ul {
    margin: 0;
    padding: 1%;
}

li {
    margin: 1%;
}

.ul-ns {
    list-style-type: none; /* Supprimer les puces de la liste */
}

.tas {
    text-align: start;
}

.tac {
    text-align: center;
}

.pw5 {
    padding-left: 5%;
    padding-right: 5%;
}

.pw10 {
    padding-left: 10%;
    padding-right: 10%;
}

.pw15 {
    padding-left: 15%;
    padding-right: 15%;
}

.ph5 {
    padding-top: 5%;
    padding-bottom: 5%;
}

.m0 {
    margin: 0;
}

.m2 {
    margin: 2%;
}

.m5 {
    margin: 5%;
}

.mb2 {
    margin-bottom: 2%;
}

.mb5 {
    margin-bottom: 5%;
}

.max-w40 {
    max-width: 40vw;
}

.max-w60 {
    max-width: 60vw;
}

.max-w80 {
    max-width: 80vw;
}

.max-wc {
    max-width: max-content;
}

.min-w20 {
    min-width: 20vw;
}