@font-face {
    font-family: 'sinewssanspro';
    src: url('schrift/sinewssanspro_regular.ttf');
}

:root {
    --bsBlau1: #009FE3;
    --bsBlau2: #00387B;
    --newWhite: #f5f5f7;
    --bgHeader: #1a1e38;
    --bgsubHeader: #575757;

    --borderRadius: 20px;
    --borderRadiusKlein: 10px;
}

body {
    margin: 0;
    margin-top: 120px;
    font-family: sinewssanspro;
    background-color: var(--newWhite);
}

a {
    cursor: pointer;
}

hr {
    border: solid grey 0.35px;
}

/*Login*/
.loginBild {
    height: 100vh;
    width: 100vw;
    object-fit: cover;
}

.loginBox {
    height: 500px;
    width: 500px;
    border-radius: var(--borderRadius);
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    
    background-color: white;
    /* background: linear-gradient(135deg, transparent 10px, '#65C7F20') top left,
                linear-gradient(225deg, transparent 10px, '#65C7F20') top right,  
                linear-gradient(315deg, transparent 10px, '#65C7F20') bottom right,
                linear-gradient(45deg,  transparent 10px, '#65C7F20') bottom left; 

    /* background: linear-gradient(225deg, transparent 20px, #ffffff 0) top right, 
    
    
    background: linear-gradient(315deg, transparent 20px, #ffffff 0);
    border: solid 13px red; */
}

.loginBox h1 {
    margin-top: 0;
}

.loginLogo {
    height: 200px;
}

.loginInput {
    height: 50px;
    padding: 0px 15px;
    width: 90%;
    font-size: 20px;
    border: solid 1px lightgray;
    border-radius: var(--borderRadiusKlein);
}

.loginPfeil {
    margin-top: 20px;
    height: 50px;
}

.startseite {
    margin-top: 0px !important;
}

/* Header*/
.headerBox {
    background-color: var(--bgHeader);
    width: 100%;
    height: 60px;
    border-bottom-right-radius: var(--borderRadius);
    display: flex;
    justify-content: center;
    align-items: center;
}

.headerLogo {
    height: 45px;
}

.headerLogoBox {
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header {
    background-color: rgba(255, 255, 255, 0.2);
    display: grid;
    grid-template-columns: calc(100vw - 120px) 120px;
}

.subheaderBox {
    background-color: var(--bgsubHeader);
    width: fit-content;
    max-width: calc(100% - 200px);
    block-size: fit-content;
    height: 50px;
    border-bottom-right-radius: var(--borderRadius);
    display: flex;
    justify-content: left;
    align-items: center;
}

.subheaderBox :hover,
.headerBox :hover {
    color: white;
}

header {
    position: fixed;
    top: 0px;
    z-index: 1000;
}

.headerBox>ul {
    display: inline-flex;
    list-style: none
}

.subheaderBox>ul {
    display: inline-flex;
    list-style: none;
    padding-left: 20px;
}

.headerBox>ul>a,
.subheaderBox>ul>a {
    color: var(--newWhite);
    text-decoration: none;
}

.headerBox>ul>a>li,
.subheaderBox>ul>a>li {
    margin-right: 15px;
}

/*Startseite*/
.startGrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 35px;
    padding: 35px;
}

.startGridBox {
    height: calc(100vh - 300px);
    min-height: 500px;
    background-color: white;
    border-radius: var(--borderRadius);
}

.startGridBoxHead {
    width: 100%;
    background-color: var(--bgHeader);
    height: 60px;
    color: white;
    border-top-left-radius: var(--borderRadius);
    border-top-right-radius: var(--borderRadius);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: x-large;
    position: relative;
    top: 0px;
}

.startGridBoxLine {
    margin: auto;
    margin-top: 20px;
    width: 90%;
    height: 40px;
    border-radius: var(--borderRadiusKlein);
    background-color: var(--bgsubHeader);
    display: flex;
    justify-content: center;
    align-items: center;

}

.startGridBoxLine:hover {
    background-color: darkgray;
}

.startGridBox>a {
    text-decoration: none;
    color: white;
}

/*Theke*/
.dateBox {
    position: absolute;
    top: 120px;
    right: 0px;
    width: fit-content;
    background-color: var(--bgHeader);
    border-top-left-radius: var(--borderRadiusKlein);
    padding: 15px;
    color: white;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px
}

.dateBoxIcon {
    filter: invert(100%) sepia(0%) saturate(4%) hue-rotate(152deg) brightness(101%) contrast(102%);
    height: 17px;

}

.aufgabenBody {
    width: 100%;
    margin: auto;
    padding-top: 100px;
    display: block;
}

.aufgabenBox {
    margin: auto;
    margin-bottom: 20px;
    width: 90%;
    padding: 15px;
    height: 30px;
    border-radius: var(--borderRadiusKlein);
    background-color: white;
    display: grid;
    grid-template-columns: 50px 2fr 1fr 1fr 1fr 40px;
}

.aufgabenBoxIcon,
.popUpIcon {
    height: 25px;
    border-radius: solid black 1px;
}

.aufgabenBoxAIcon {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.aufgabenBoxText {
    display: flex;
    align-items: center;
}

.aufZu {
    margin: auto;
    margin-bottom: 50px;
    font-size: x-large;
}

.aufZu>center>a {
    text-decoration: none;
    color: black;
}

.aufgabenKategorien {
    display: flex;
    align-items: stretch;
    width: fit-content;
    border-top-left-radius: var(--borderRadiusKlein);
    border-bottom-left-radius: var(--borderRadiusKlein);
    margin-bottom: 30px;
    background-color: var(--bgsubHeader);
    color: white;
    padding: 15px 20px;
    gap: 10px;
    position: absolute;
    top: 167px;
    right: 0px;
}

.aufgabenKategorien>a {
    cursor: pointer;
}

.aufgabenInput {
    margin: auto;
    margin-bottom: 20px;
    width: calc(90% + 60px);
    border-radius: var(--borderRadiusKlein);
    background-color: white;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.aufgabenInput>select {
    font-family: sinewssanspro;
    appearance: none;
    padding: 15px;
    font-size: medium;
    background: lightblue;
    border: none;
    width: 100%;
    height: 100%;
    border-radius: var(--borderRadiusKlein);
}


.aufgabenInput>div {
    padding: 15px;
    font-size: medium;

}

/* Form*/
#submit {
    margin: auto;
    margin-bottom: 20px;
    font-family: sinewssanspro;
    font-size: medium;
    width: calc(90% + 30px);
    padding: 15px;
    border-radius: var(--borderRadiusKlein);
    background-color: rgb(14, 70, 14);
    display: flex;
    justify-content: center;
    color: white;
    border: none;
    cursor: pointer;
}

.input {
    margin: auto;
    font-family: sinewssanspro;
    font-size: medium;
    width: calc(90% + 30px);
    padding: 15px;
    border-radius: var(--borderRadiusKlein);
    background-color: white;
    border: none;
    display: flex;
    justify-content: center;
}

.input50 {
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: calc(90% + 70px);
}

.inputHeadline {
    margin-left: calc(5% - 30px);
    margin-bottom: 10px;
}

/*Pop UP*/

#popUpBackground {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.3);
    overflow: auto;
    z-index: 1001;
    display: flex;
    justify-content: center;
    align-items: center;
}

.popUpBox {
    position: fixed;
    background-color: var(--newWhite);
    border-radius: var(--borderRadius);
    width: 90%;
    max-height: 90%;
    min-height: 400px;
    height: fit-content;
    font-size: medium;
    overflow-y: auto;
    z-index: 1002;
}

.popUpHead {
    width: 100%;
    height: 50px;
    border-top-left-radius: var(--borderRadius);
    border-top-right-radius: var(--borderRadius);
    background-color: white;
    display: grid;
    place-items: center;
    grid-template-columns: 80px auto 80px;
}

.popUpHead>a {
    width: 100%;
    cursor: pointer;
    display: grid;
    place-items: center;
}

.popUpTitle {
    font-size: larger;
}

.popUpInhalt {
    padding: 20px;
    margin: auto;
}

/*Load Animation*/
.loadAnimation {
    width: 100%;
    display: grid;
    place-items: center;
    height: 500px;

}

.lds-ring {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 64px;
    height: 64px;
    margin: 8px;
    border: 8px solid black;
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: black transparent transparent transparent;
}

.lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
}

.lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
}

.lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
}

@keyframes lds-ring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*kalender*/

.kalenderGrid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    width: 90%;
    padding: 25px;
    gap: 20px;
    margin: auto;
    column-rule-color: #1a1e38;
    background-color: white;
    border-radius: 20px;
}

.kalenderCell {
    min-height: 80px;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 50px;
    padding: 8px;
}

.emptyCell {
    background-color: var(--newWhite);
    min-height: 80px;
    border-radius: 10px;
    padding: 5px;
}

.kalenderDate,
.kalenderToDate {
    height: 30px;
    font-size: larger;
    text-align: center;
    margin: auto;
}

.kalenderDate>hr {
    border: solid lightgrey 0.5px;
    box-shadow: none;
    margin-top: 0;
}

.kalenderToDate>hr {
    border: solid red 0.5px;
    box-shadow: none;
    margin-top: 0;
}

.kalenderHeadCell {
    font-size: larger;
    text-align: center;
}

.kalenderMenu {
    grid-column: span 1/8;
    text-align: center;
    font-size: larger;
}

.kalenderMenu>a {
    text-decoration: none;
    font-weight: bolder;
}

.kalenderHeadline {
    grid-column: 1 / span 2;
    font-size: xx-large;
}

.kalenderEintrag {
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.redPointTrue {
    height: 10px;
    width: 10px;
    border-radius: 5px;
    background-color: green;
    margin-right: 10px;
}

.redPointFalse {
    height: 10px;
    width: 10px;
    border-radius: 5px;
    background-color: red;
    margin-right: 10px;
}

/* Container*/

.container90 {
    margin: auto;
    margin-top: 30px;
    margin-bottom: 30px;
    padding: 25px;
    background-color: white;
    border-radius: 20px;
    width: 90%;
}

.containerHeadline {
    font-size: xx-large;
}

.containerBox2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.containerRechts {
    text-align: right;
}

.containerIcon>img {
    height: 35px;
}

.containerIcon {
    display: grid;
    place-items: end;
}

.containerInhalt {
    margin-top: 20px;
}