* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-family: 'Nunito', sans-serif;
}

body {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

header {
    font-size: min(1em,2vh);
    user-select: none;
    position: sticky;
    top: 0;
    left: 0;
    background-color: #333;
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: scroll;
    box-shadow: 0 2px 9px 5px rgba(0,0,0,0.5);
    z-index: 999;

    &::-webkit-scrollbar {
        display: none;
    }
}

#password {
    font-size: 20px;
}

#login-button {
    font-size: 16px;
}

main {
    padding: 20px;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-direction: column;
    position: relative;
}

#content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
}

#cycleCount {
    color: #747474;
}

.menu {
    background-color: #333;
    color: white;
    text-align: center;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.menu div {
    cursor: pointer;
    color: white;
    text-decoration: none;
    margin: 0 10px;
}

.current-user {
    color: rgb(188, 206, 70);
}

.selected {
    font-weight: bolder;
    text-decoration: underline!important;
}

.notification {
    position: fixed;
    left: 2em;
    bottom: -4em;

    font-size: 1.2em;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    color: white;
    text-align: center;
    padding: 1em;
    opacity: 0;
    transform: translateZ(180deg);

    transition: bottom 0.5s, opacity 0.5s;
    z-index: 9999;
    pointer-events: none;
}

#boutons {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin-top: 1em;
}

.button {
    color: white;
    user-select: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5em;
    border: 1px solid #ddd;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    cursor: pointer;
    background-color: #333;
}

#callButton {
    background-color: rgb(48, 159, 48);

    &:active {
        background-color: rgb(27, 111, 27);
    }
}

#nbTelephonistesDiv {
    position: absolute;
    top: 1em;
    left: 1em;
}