:root {
    --clr-accent: rgb(0, 174, 255);
    --clr-accent-dark: rgb(0, 134, 196);
}

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

body {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    background-image: url("bg.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
}

h3 {
    text-align: center;
    position: relative;
}

h3::before {
    content: "";
    position: absolute;
    height: 10px;
    width: 100px;
    background-color: var(--clr-accent);
    bottom: 0;
    left: calc(50% - 100px);
    opacity: 0.3;
    border-radius: 100vmax;
    z-index: -1;
}

main {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

.feedback {
    font-size: 80px;
}

main form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: min(100%, 800px);
}

.input_container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 5px;
}

label {
    width: 100%;
    text-align: left;
}

input, textarea, select {
    padding: 10px 20px;
    border-radius: 5px;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px 1px rgb(192, 192, 192);
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    width: 100%;
}

input[type=submit] {
    color: white;
    border: none;
    cursor: pointer;
    background: linear-gradient(var(--clr-accent), var(--clr-accent-dark));
    box-shadow: inset 0 1px 0 #ffffff59,
        inset 0 -2px 0 #0003,
        0 1px 2px #0006,
        0 8px 24px -6px #5b5bf099;
}

input[type=submit]:active {
    translate: 0 1px;
    box-shadow: inset 0 2px 4px #0004;
}

/* input[type=submit].logout {
    position: fixed;
    top: 20px;
    right: 20px;
} */


/* input[type=submit].menu {
    position: fixed;
    top: 20px;
    left: 20px;
} */

/* input[type=submit].delete {
    background-color: rgb(255, 60, 0);
} */

/* input[type=submit].insert {
    background-color: green;
} */

/* input[type=submit].insert:disabled {
    background-color: gray;
    cursor: not-allowed;
    opacity: 0.5;
} */

/* .table-container {
    overflow-x: auto;
}

@media screen and (max-width: 1000px)  {
    .table-container {
        width: 100%;
    }
}

table {
    width: 100%;
}

td, th {
    padding: 5px;
    line-height: 28px;
}

td.seperator {
    border-bottom: 1px dashed var(--clr-accent);
}

td form {
    flex-direction: row;
    justify-content: start;
    gap: 10px;
}

td form input.sid,
td form textarea.comment{
    width: 120px;
}

.left {
    text-align: left;
}

.center {
    text-align: center;
}

.right {
    text-align: right;
}

.self {
    color: #f08e47;
}

.free {
    color: green;
}

.blocked {
    color: red;
} */

.form-students .content {
    flex-direction: row;
    flex-wrap: wrap;
}

.link {
    text-decoration: none;
    color: var(--clr-accent);
    font-weight: bold;
}

.lageplan {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 1000;
}

.lageplan a {
    background-color: var(--clr-accent);
    padding: 10px 20px;
    border-radius: 5px;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px 1px rgb(192, 192, 192);
}

.lageplan a img {
    width: 40px;
}

footer {
    position: relative;
    bottom: 10px;
    text-align: center;
    width: 100%;
    margin-top: 40px;
}