@font-face {
  font-family: 'calendar';
  src: url('/fonts/Poppins-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'calendar', sans-serif;
}

body{
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #6f97c4;
}

/*Kalender Wrapper*/
.calendar-wrapper {
  display: flex;
  gap: 20px;
}

/*Kalender Flexbox*/
.calendar{
  width: 380px;
  height: auto;
  display: flex;
  flex-direction: column;
  padding: 10px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}


/*Header des Ganzen mit Dates und Co*/
.header {
  position: relative;
  display: flex;
  align-items: center;
  padding: 10px;
  margin: 10px 0px;
}

/*Monat mit Jahr Aufgabe*/
.monthYear {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-weight: 600;
  transition: 0.2s ease;
}

.header button:first-child {
  margin-right: auto;
}

.header button:last-child {
  margin-left: auto;
}

/*Vor und zurück Buttons*/
.header button{
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background-color: #fff;
  cursor: pointer;
  width: 40px;
  height: 40px;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
}

/*Einzelne Wochentage Mo-FR*/
.days{
  display: grid;
  grid-template-columns: repeat(7,1fr);
}

/*Montag bis Freitag*/
.day {
  text-align: center;
  padding: 5px;
  color: #999fa6;
  font-weight: 500;

}

/*Grid mit allen Days*/
.dates{
  display: grid;
  grid-template-columns: repeat(7,1fr);
  gap: 5px;
}

.date {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
  margin: auto;
  cursor: pointer;
  font-weight: 600;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  transition: 0.2s;
}

.belegt {
  text-decoration: line-through;
  color: rgb(180, 180, 180);
}

.date:hover, .date.active{
  background-color: #ff5869;
  color: #fff;
}

.date.inactive{
  color: #d2d2d2;
}

.date.inactive:hover{
  color: #fff;
}

/*Ausgwählter Zeitraum CSS*/
.date.selected-range{
  background-color: #6f97c4;
  color: #fff;
}

.date.selected-start,
.date.selected-end {
  background-color: #ff5869;
  color: #fff;
}

