* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body {
    background-color: #bebebe;
    font-family: Arial, Helvetica, sans-serif;
    padding: 2vh 5vw;
    color: #0000008d;
}
img {
    max-width: 100%;
    margin: auto;
}
#logo {
    max-width: 20rem;
}
main {
    color: #17313e;
    box-shadow: 0.5rem 0px 2rem #7b6e6e90;
    display: flex;
    gap: 0.5rem;
    padding: 2rem;
    flex-direction: column;
    max-height: calc (70vh - 5rem);
}

a,
a:active,
a:visited {
    color: #1f6487;
    text-decoration: none;
}
main,
.touche,
form,
nav {
    border-radius: 2rem;
    background-color: #ffffff8d;
    box-shadow: 0px 0px 0.8rem #00000080;
}
.touche,
button,
input,
form {
    border: none;
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
}
form {
    display: flex;
    gap: 0.5rem;
    width: fit-content;
    padding: 0.2rem;
}
form div {
    width: 100%;
    justify-content: space-between;
}
input,
button {
    width: fit-content;
    justify-content: center;
    align-items: center;
    padding: 0.8rem;
    gap: 0;
    background: none;
    border-radius: 2rem;
}
input:focus,
input:active {
    border-color: #ffffff;
    font-weight: bold;
}
input[type="text"]:focus {
    outline: 2px solid #17313e;
}
button {
    background-color: #17313e;
    color: #ffffff;

    width: fit-content;
    display: flex;
    align-items: center;
    border-radius: 2rem;
}
div {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

button:active {
    background-color: #ffffff75;
    box-shadow: 0px 0px 0.8rem #00000040;
}

.none {
    display: none;
}
label {
    padding: 0;
    margin: 0;
}
#tabD {
    flex-direction: column;
    padding: 0.5rem;
    align-items: center;
}

.tb,
#tabD {
    overflow-y: auto;
    max-width: 72vw;
    max-height: calc(75vh - 12rem);
    margin: auto;
}
td,
th {
    padding: 0 0.5rem;
    background: none;
}
#tbody,
#tbodyD {
    overflow-y: auto;
    max-width: 60vw;
    scale: 95%;
}
.snippet {
    font-style: italic;
    font-size: 0.9rem;
    padding-bottom: 0.9rem;
}

.title {
    font-weight: bold;
    cursor: pointer;
}
#notifD {
    text-align: center;
    max-width: 10rem;
}

.none {
    display: none;
}

#close {
    float: right;
}

#tabD .div {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}

@media (min-width: 800px) {
    .tb,
    #tabD {
        overflow: auto;
        max-width: 80vw;
        max-height: calc(75vh - 14rem);
        margin: auto;
    }
}
