@font-face {
  font-family: 'Roboto';
  src:    url('../fonts/roboto/Robotto-BlackItalic.ttf') format('ttf'),
          url('../fonts/roboto/Robotto-Bold.ttf') format('ttf'),
          url('../fonts/roboto/Robotto-BoldItalic.ttf') format('ttf'),
          url('../fonts/roboto/Robotto-Italic.ttf') format('ttf'),
          url('../fonts/roboto/Robotto-Light.ttf') format('ttf'),
          url('../fonts/roboto/Robotto-LightItalic.ttf') format('ttf'),
          url('../fonts/roboto/Robotto-Medium.ttf') format('ttf'),
          url('../fonts/roboto/Robotto-MediumItalic.ttf') format('ttf'),
          url('../fonts/roboto/Robotto-Regular.ttf') format('ttf'),
          url('../fonts/roboto/Robotto-Thin.ttf') format('ttf'),
          url('../fonts/roboto/Robotto-ThinItalic.ttf') format('ttf'),
          url('../fonts/roboto/Robotto-Black.ttf') format('ttf');
}

html{
  background-color: #750000;
  display: flex;
  justify-content: center;
}

body {
  min-height: 115vh;
  margin: 0;
  padding: 0;
  font-family: 'Robotto', sans-serif;
  color: white;
  max-width: 450px;
  position: relative;
  font-size: 70%;
  overflow-x: hidden;
}


/*####################################  header   ############################################*/

header {
  height: 15vh;
  background-color: #000000;
  display: flex;
  justify-content: center;
  align-items: center;
}

#CABRef{
  height: 80%;
}

#CABImg{
  height: 100%;
}
/*####################################  headerEnd   ############################################*/
/*######################################  main   #############################################*/

main {
  min-height: 85vh;
  background: linear-gradient(to bottom, rgb(0, 0, 0) 75%, rgb(109, 8, 8));
}

.containerIndex{
  height: 100%;
  display: flex;
  flex-direction: column;
  font-size: medium;
}

.containerIndex > div{
margin: 5%;
border-left: 4px solid red;
width: 90%;
height: auto;
}

.nextMatch > p {
margin: 0 0 0 5%;
}

.nextMatch > h3{
margin: 0 0 10% 5%;
text-decoration: underline;
color: #ff8686;
}

#einleitung{
border: none;
}

#einleitung p{
  font-size: small;
}

/*############ login ###########*/

#loginDiv {
border: none;
display: flex;
justify-content: space-between;
align-items: center;
}

#loginBig{
display: none;
position: fixed;
width: 100%;
backdrop-filter: blur(5px);
top: 0;
height: 100%;
justify-content: center;
align-items: center;
}

#loginForm{
width: 80%;
height: 50%;
background-color: #750000;
border-radius: 10px;
animation: bounce 1000ms 1;
}

.formDiv{
  height: 25%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

form > div > h3{
  margin: 0;
}

.close{
  position: absolute;
  top: 0;
  right: 0;
  padding: 1%;
}

.user-box{
  padding: 0% 5%;
  position: relative;
  height: 25%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.user-box > label {
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  pointer-events: none;
  transition: 0.3s ease-out;
  color: #000;
  padding: 2px;
}

label.active {
  top: 0;
  color: #ffffff; /* Optional: Ändern Sie die Textfarbe, um hervorzuheben, dass das Label aktiv ist */
}

.formButtonDiv{
  height: 25%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.formButton{
  width: 40%;
  height: 60%;
  background-color: black;
  color: white;
  box-shadow: 5px 5px 1px 1px black;
}

input[type=text],
input[type=password] {
  width: 100%;
  padding: 12px 20px;
  margin: 0;
  display: inline-block;
  border: 1px solid #ccc;
  box-sizing: border-box;
  height: 50%;
  box-shadow: 5px 5px 1px 1px black;
  background-color: white;
  text-align: center;
}

.anmelden {
  display: flex;
  justify-content: center;
}

#untriggert {
  width: auto;
  background-color: #801c1c;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  cursor: pointer;
  border-radius: 20px;
  height: 70px;
}

/*########## loginEnde ###########*/

/*################################################### meldesystem ###############################################*/

#godfatherOfDivs {
  position: relative;
  display: flex;
  width: 200%;
}

.week {
  transition: transform 3s;
  transition-timing-function: ease;
  width: 50%;
}

.toLeft {
  transform: translateX(-150%);
}

.toMiddle {
  transform: translateX(0%);
}

.toRight {
  transform: translateX(150%);
}

#formBig {
  border-radius: 20px;
  display: flex;
  justify-content: center;
  transition: transform 3s;
  transition-timing-function: ease;
  width: 50%;
}

#formSmall {
  height: 60vh;
  width: 80%;
  display: grid;
  background-color: black;
  border: 1px solid red;
  padding: 5%;
  border-radius: 10px;
  grid-template: 10% 70% 20% / 50% 50%;
  font-size: large;
  margin-top: 10%;
}

.daySwitch {
  height: 50%;
  width: 100%;
  display: grid;
  align-items: center;
  font-size: large;
}

.switchButton {
  height: 99%;
  width: 100%;
  background-color: red;
  border: none;
  font-size: 3em;
}

#formNote {
  height: fit-content;
  width: fit-content;
}

#test {
  background-color: red;
}

#dayLabel {
  grid-area: 1 / 1 / 1 / 3;
  display: grid;
  justify-content: center;
}

#selectDay {
  grid-area: 2 / 1 / 2 / 3;
  height: fit-content;
  width: 100%;
  display: grid;
  justify-content: center;
  align-content: center;
  align-items: center;
  align-self: center;
}

#divButton {
  grid-area: 3 / 1 / 3 / 3;
  display: flex;
  justify-content: space-around;
}

.buttonNew {
  height: 50%;
  width: 40%;
  background-color: black;
  border: 1px solid red;
  border-radius: 10px;
  color: white;
}

#selectDaySmall {
  width: 100%;
}

.checkbox-container {
  display: flex;
  /* Flexbox verwenden */
  align-items: center;
  /* Vertikal ausrichten */
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  padding: 5px;
}

.checkbox-label {
  margin-right: 10px;
  /* Abstand zwischen Checkbox und Label */
}

input[type="checkbox"]:checked+label::before {
  content: "X";
  /* Neues Zeichen, das angezeigt werden soll */
  color: red;
  /* Farbe des neuen Zeichens */
}

.checkbox {
  height: 15px;
  width: 15px;
  border: solid #8f8f9d 2px;
  display: inline-block;
  background-color: black;
  margin-right: 30px;
  margin-left: 4px;
  margin-bottom: 2px;
  margin-top: 2px;
  border-radius: 1.5px;
}


label {
  display: flex;
  align-items: center;

}

.material-symbols-rounded {
  font-variation-settings: 'FILL' 10, 'wght' 500, 'GRAD' 10, 'opsz' 0;
  background-color: transparent;
  width: 15px;
  height: 15px;
  display: none; 
  justify-content: center;
  align-items: center;
  font-size: 13px;
  animation: bounce 100ms 1;
}

.formFull {
  min-height: 90vh;
  height: auto;
  width: 100%;
  margin: 0;
  border-radius: 20px;
  border: none;
  align-items: center;
  display: none;
  position: relative;
  margin-bottom: 10%;
}

.oneDay {
  display: flex;
  width: 90%;
  height: 85%;
  border-radius: 20px;
  box-shadow: 18px 18px 18px 12px #6f0000b5;
  background: linear-gradient(to bottom, #350303 15%, #650707);
  transition: left 0.5s ease-in-out;
  box-shadow: 5px 5px 0px 0px #510000, 12px 12px 0px 0px #300;
  border: 3px solid #750202;
}


.dayField {
  width: 30%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: initial;
}

.statusField {
  background-color: #6c6c6c;
  width: 15%;
  border: 1px black solid;
  border-radius: 20px;
  margin: 7% 0.5%;
}

.noteField {
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
  padding: 3%;
  width: 48%;
  box-sizing: border-box;
}

.textarea {
  width: 100%;
  height: 100%;
  background-color: #00000030;
  border: 1px solid #310505;
  color: white;
  border-radius: 20px;
  padding: 15px;
  box-sizing: border-box;
}

.button {
  position: relative;
  width: 74px;
  height: 36px;
  margin: -20px auto 0 auto;
  overflow: hidden;
}

.button.r,
.button.r .layer {
  border-radius: 100px;
}

.button.b2 {
  border-radius: 2px;
}

.checkbox2 {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 3;
}

.knobs {
  z-index: 2;
}

.layer {
  width: 100%;
  background-color: #ebf7fc;
  transition: 0.3s ease all;
  z-index: 1;
}



/* Button 3 */
#button-3 .knobs:before {
  content: "CAB";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 10px;
  color: #fff;
  font-size: 10px;
  font-weight: bold;
  text-align: center;
  line-height: 1;
  padding: 9px 4px;
  background-color: #cc2424;
  border-radius: 50%;
  transition: 0.3s ease all, left 0.3s cubic-bezier(0.18, 0.89, 0.35, 1.15);
}

#button-3 .checkbox2:active+.knobs:before {
  width: 46px;
  border-radius: 100px;
}

#button-3 .checkbox2:checked:active+.knobs:before {
  margin-left: -26px;
}

#button-3 .checkbox2:checked+.knobs:before {
  content: "CAB";
  left: 42px;
  background-color: #cc2424;
}

#button-3 .checkbox2:checked~.layer {
  background-color: #fcebeb;
}

.didLoad {
  animation: bounce-out 900ms 1;
}

.dragme {
  position: absolute;
}

.buttonCenter {
  display: flex;
  justify-content: center;
  justify-items: center;
}

.badMessage {
  display: flex;
  position: absolute;
  width: 50%;
  height: auto;
  background-color: #ff0000c9;
  top: 10px;
  margin-right: 10px;
  right: 0;
  padding: 10px;
  border-radius: 10px;
  font-size: medium;
  z-index: 5;
}

.bigInfoForm {
  position: absolute;
}

#infotext {
  position: relative;
top: 30px;
left: 0;
padding: 5px;
border: 1px solid #ccc;
background-color: #222;
width: 47%;
box-shadow: 3px 2px 0px 0px aliceblue;
font-size: x-small;
}

#infotextSend {
  position: absolute;
  top: -90px;
  right: 16px;
  padding: 5px;
  border: 1px solid #ccc;
  background-color: #222;
  box-shadow: 3px 2px 0px 0px aliceblue;
  font-size: medium;
  text-align: end;
}


.person:first-child {
border-radius: 20px 20px 0px 0px;
}

.person:last-child {
border-radius: 0px 0px 20px 20px;
}

#weekHeadline{
  font-size: x-large;
  text-align: center;
  border-top: 10px solid #cc2424;
  border-bottom: 10px solid #cc2424;
}
/*################################################  meldesystemEnde  ################################################*/

/*########## animations ##########*/
@-webkit-keyframes bounce {
  0% {
    -webkit-transform: scale(0) translate(0%, 0%);
    transform: scale(0) translate(0%, 0%);
  }

  100% {
    -webkit-transform: scale(1) translate(100%, 100%);
    transform: scale(1) translate(100%, 100%);
  }
}

@-webkit-keyframes bounce-out {
  0% {
    -webkit-transform: scale(0) translate(0%, 0%);
    transform: scale(1) translate(0%, 0%);
  }

  100% {
    -webkit-transform: scale(1) translate(0%, 0%);
    transform: scale(0) translate(0%, 0%);
  }
}

@keyframes bounce {
  0% {
    -webkit-transform: scale(0) translate(0%, 0%);
    transform: scale(0) translate(0%, 0%);
  }

  100% {
    -webkit-transform: scale(1) translate(0%, 0%);
    transform: scale(1) translate(0%, 0%);
  }
}


@keyframes bounce-out {
  0% {
    -webkit-transform: scale(0) translate(0%, 0%);
    transform: scale(1) translate(0%, 0%);
  }

  100% {
    -webkit-transform: scale(1) translate(0%, 0%);
    transform: scale(0) translate(0%, 0%);
  }

}

/*########## animationsEnd ##########*/
/* ############### navi ################*/

.bigNav{
  display: flex;
  height: 85vh;
  width: 100%;
  flex-direction: column;
  justify-content: space-around;
  align-content: center;
  align-items: center;
  font-size: medium;
}

.smallNav{
  height: 17%;
  width: 90%;
  background-color: #750000;
  display: flex;
  align-items: center;
  box-shadow: 5px 5px 5px 3px #400000;
}

.smallNav > p{
  color: #ffffff;
  font-size: 100%;
  margin: 0;
  margin-left: 0px;
  margin-left: 15%;
  transition: all 0.3s linear;
}

.smallNav:hover{
  transform: scale(0.95);
}

/* ############### naviEnd ################*/
/* ############### construction ################*/

#underConstructionBig{
  width: 100%;
  height: 85vh;
  display: flex;
  justify-content: center;
  align-items:flex-start;
}

#construction{
  width: 80%;
  height: 65%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0px 0px 5px 5px #400000;
  font-style: oblique;
  margin-top: 10%;
}

#constHeadline{
margin: 0;
font-size: x-large;
}

.constText{
margin: 0;
font-size: larger;
text-align: center;
}

/* ############### constructionEnde ################*/
/*###################################  mainEnd  ###########################################*/
/*####################################  footer   ############################################*/

footer {
  border-top: 1px solid white;
  min-height: 15vh;
  background-color: rgb(109, 8, 8);
  display: flex;
}

.bigInfo{
width: 50%;
}

.bigSocial{
width: 50%;
display: flex;
flex-direction: column;
}

.socialHeadline{
text-align: center;
}

.socialLinks{
display: flex;
align-items: center;
height: 7.5vh;
}

.socialLinks > a{
display: flex;
justify-content: center;
}

.socialmedia{
display: flex;
flex-direction: column;
justify-content: center;
align-content: center;
align-items: center;
height: 80%;
}

.socialmedia > a{
  display: flex;
  align-items: center;
  height: 100%;
  justify-content: center;
}

.icon{
  transition: all 0.3s linear;
  height: 100%;
  padding: 5px;
}

.icon:hover{
transform: scale(1.1);
}

.banner{
width: 100%;
transition: all 0.3s linear;
}

.banner:hover{
transform: scale(1.1);
}
/*######################################  footerEnd  ##############################################*/
