* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body {
    background-color: #17313e;
    font-family: Arial, Helvetica, sans-serif;
    padding: 2vh 5vw;
    color: #ffffff8d;
    text-align: center;
}

main {
    color: #17313e;
    box-shadow: 0.5rem 0px 2rem #7b6e6e90;
    display: flex;
    gap: 1rem;
    padding: 2rem;
    padding: 2rem;
    flex-direction: column;
    max-height: calc (70vh - 5rem);
}

nav {
    display: flex;
    width: 100%;
    max-width: 50rem;
    font-weight: bold;
    padding: 1rem;
    justify-content: space-around;
    flex-direction: row;
}
a,
a:active,
a:visited {
    color: #17313e;
    text-decoration: none;
}
main,
.touche,
button,
input,
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 {
    flex-direction: column;
    display: flex;
    gap: 0.5rem;
    width: fit-content;
    padding: 0.5rem;
}
form div {
    width: 100%;
    justify-content: space-between;
}
input {
    width: fit-content;
    justify-content: center;
    align-items: center;
    padding: 0.8rem;
    gap: 0;
}
input:focus,
input:active {
    border-color: #ffffff;
    font-weight: bold;
}
input[type="text"]:focus {
    outline: 3px solid #17313e;
}
button {
    color: #17313e;
    padding: 0.6rem 1rem;
    width: fit-content;
    display: flex;
    align-items: center;
}
div {
    display: flex;
    gap: 1rem;
}

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

.none {
    display: none;
}
label {
    padding: 0;
    margin: 0;
}
#tabD {
    display: flex;
}

.tb {
    overflow: auto;
    max-width: 75vw;
    max-height: calc(50vh - 5rem);
    margin: auto;
}
td,
th {
    padding: 0.5rem;
    text-align: center;
    width: 25%;
    padding: 0.5rem;
    background: none;
}
#tbody {
    overflow: auto;
    max-height: 50vh;
    max-width: 50vw;
    border: 10px solid #000000;
    max-height: 30vh;
}

#thead {
    position: sticky;
    top: 0;
}

tr:nth-child(even) {
    background-color: #ffffff80;
}
tr:nth-child(odd) {
    background-color: #ffffff60;
}

#thead {
    font-weight: bold;
    background-color: #17313e;
    vertical-align: bottom;
    padding-bottom: 0;
    color: white;
    border-radius: 2rem;
}
td,
th {
    width: 100%;
}
#theadD th,
#tbodyD td {
    border-bottom: 1px solid #17313e48;
    text-align: left;
}

#tbodyD tr {
    display: flex;
    flex-direction: column;
    background: none;
}
#theadD tr {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: none;
}

.popUp {
    box-shadow: 0px 0px 2rem #00000090;
    padding: 2rem;
    border-radius: 2rem;
    background-color: #17313e;
    position: absolute;
    height: fit-content;
    min-height: 50vh;
    width: 80vw;
    top: calc(7rem + 10vh);
    left: calc(10vw);
    color: #ffffff;
    flex-direction: column;
    justify-content: space-between;
    z-index: 100;
}

.none {
    display: none;
}
