@import url('colors.css');

body {
    margin: 0%;
    background-color: var(--background-color);
}

label {
    color: var(--text);
}

.main {
    width: 100%;
    height: calc(100vh - 60px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}

.title-wrapper {
    display: flex;
    justify-content: space-between;
    width: 70%;
}

.title {
    width: 45%;
    background-color: var(--one-deep-background);
    text-align: center;
    color: var(--text);
    padding: 1% 0;
    border-radius: 10px;
    min-width: fit-content;
}

.selected-title {
    background-color: var(--call-to-action);
}

form {
    width: 70%;
}

.input-wrapper {
    margin: 1% 0;
    position: relative;
}

label {
    font-size: normal;
}

input,
select {
    background-color: var(--input-background);
    width: 100%;
    border: none;
    border-radius: 5px;
    padding: 1.5%;

    font-size: normal;

    box-sizing: content-box;
    color: var(--text);
}

input:focus,
select:focus {
    box-shadow: 0px 0px 20px 0px var(--box-shadow-color);
}

.time-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 72vw;
    font-size: normal;
    color: var(--text);
}

.time-input {
    width: 45%;
}

.button-wrapper {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
}

.submit-button {
    background-color: var(--call-to-action);
    color: var(--text);
    border-radius: 5px;
    border: none;
    padding: 1.5%;
    width: 30%;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    font-size: smaller;
}

.lessen-per-user {
    background-color: blue;
}

.mos-delete-button {
    background-color: var(--delete-background);
}

#clarien-user-list {
    position: absolute;
    z-index: 1;

    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    background-color: var(--one-deep-background);
    margin-top: -1%;
    max-height: 11em;
    overflow-y: auto;
    overflow-x: hidden;
    list-style: none;
    padding: 1.5%;
}

#clarien-user-list>p {
    width: 100%;
    color: var(--text);
    padding-top: 2%;
    padding-bottom: 2%;
    border-bottom: 1px solid var(--text);
    padding-left: 5%;
    padding-right: 5%;
}

.user-options {
    max-height: 250px;
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;

    display: none;
}

.user-option {
    cursor: pointer;
    padding: 10px;
}

.user-option:hover {
    background-color: var(--one-deep-background);
    border-radius: 10px;
}

.user-options * {
    cursor: pointer;
}