body {
    background-color: #170b0f;
    background-position: top right;
    background-image:url("./background/base.jpg");
    background-repeat: no-repeat;
    background-size: contain;
}

h1 {
    text-align: center;
}

#container {
    z-index: 10;
    background: white;
    display: inline-block;
    padding: 1em;
    border-radius: 1em;
}

#container.transparent {
    opacity: 0.8;
}

table {
    /*width: 100%;*/
}
th:nth-child(3), td:nth-child(3) {
    width: 500px;
}
table, tr, th, td {
    border: 1px solid black;
    border-collapse: collapse;
}
th, td {
    padding: 3px 1em;
}

tbody tr:nth-child(even) {
    background-color: lightgray;
}

tbody tr {
    cursor: pointer;
}

ul, li {
    margin: 0;
    padding: 0;
    list-style: none;
}

ul {
    margin: 0 0 1em;
}
table + ul {
    margin-top: 2rem;
}
li {
    padding-left: 1em;
    margin-bottom: 0.5em;
}

a {
    color: black;
    text-decoration: none;
}

.btn-nav {
    height: 100%;
    font-size: 5em;
}

a:hover {
    text-decoration: underline;
}

.hidden {
    display: none;
}

.modal {
    display: none; /* Masqué par défaut */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Couleur de fond semi-transparente */
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    padding: 50px;
    border-radius: 5px;
    width: 70vw;
    position: relative;
}

#modal-video, #modal-audio {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.media-container {
    padding: 0 1em;
    flex: auto;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 24px;
}
