:root {
    /* --main-color: #7d0909; */
    --main-color: #c30505;
}

* {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
    margin: 0;
    width: 100vw;
    

}

img, video, audio {
    max-height: 80vh;
    max-width: 80vw;
}

#nav-bar {
    max-height: 10%;
    display: flex;
    justify-content: space-between;
    background-color: var(--main-color);
    padding: 5px 10px;


    
}

#nav-bar * {
    color: white;
    text-decoration: none;

}

#nav-bar ul {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

}

#nav-bar ul li {
    margin-right: 10px;

}

ul {
    list-style-type: none;
}

.page {
    display: flex;
    flex-direction: column;
    padding: 10px 25px;
    align-items: center;
}

.bonjour {
    display: flex;
    justify-content: flex-end;
}


.nav-page {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-page ul {
    display: flex;
    flex-direction: row;
    width: 100%;
    padding: 0px;
}

.nav-page ul li, .nav-page ul li a {
    margin: 0px 5px;
    color: black;
    text-decoration: none;
    /* min-width: 20%; */

}


video, audio, img {
    box-shadow: 0px 7px 29px 0px black;
    margin-bottom: 25px;
}

.nav-page ul {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    
}

.nav-page ul a {
    border: 1px black solid;
    background-color: lightgrey;
    border-radius: 25%;
    padding: 5px;
    transition: background-color 0.5s;
    text-align: center;
}

.nav-page li {
    text-align: center;

}

.nav-page ul a:hover {
    background-color: whitesmoke;
}



.texte-message {
    border: var(--main-color) 2px solid;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0px 7px 29px 0px black;
    margin-bottom: 25px;

}


.dateheure-content {
    text-align: center;
    margin: 10px 0px;


}



#login-form {
    margin: 25px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

#login-form input {
    margin-bottom: 20px;
}


.top-page {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.top-page > * {
    width: 33%;
}

.miniature {
    max-width: 100px;
    max-height: 100px;
    box-shadow: none;
}


.media-content > * {
    display: flex;
    justify-content: center;

}

.media-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
