* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  overflow-y: hidden;
}
.content {
  display: flex;
  justify-content: center;
  align-items: center;
}
.calendar {
  width: 100vw;
  height: 100vh;
  border-radius: 20px;
  overflow: hidden;
}
.monthSelection {
  position: relative;
  height: 20vh;
  background: #2f3c52;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.monthSelection div {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.monthSelection div * {
  margin: 10px 0;
}
.monthSelection div button {
  padding: 10px 20px;
  border: 3px solid #3dd829;
  color: #c5c5c5;
  text-shadow: 0 0 10px #3dd829;
  border-radius: 50px;
  font-size: 1.4em;
  background: transparent;
  cursor: pointer;
}
.monthSelection div button[this-month="true"] {
  border: none;
  background: #3dd829;
  color: white;
}
.monthSelection div h1 {
  color: white;
}
.monthSelection i {
  color: white;
  font-size: 1.3em;
}
.monthSelection p {
  color: white;
  background: linear-gradient(to right, #3bd835, #4e852e, transparent);
  width: 50px;
  height: 100%;
  text-decoration: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}
.monthSelection p:last-child {
  background: linear-gradient(to left, #3bd835, #4e852e, transparent);
}
.calendarDays {
  height: 80vh;
  background: #35445e;
  padding: 0 45px;
}
.weekdays {
  padding: 0 6%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.weekdays p {
  margin-top: 10px;
  text-transform: uppercase;
  color: #3bd835;
}
.days {
  position: relative;
}
.row {
  display: flex;
  justify-content: center;
}
.row p {
  position: relative;
  padding: 40px 7%;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
}
.row p[anothermonth="true"] {
  opacity: 0.3;
}
.row p[is-date="true"]::before {
  content: '';
  position: absolute;
  width: 95%;
  height: 50px;
  background: transparent;
  border: 3px solid red;
  border-radius: 50px;
}
.row p[which-date="onedaydate"]::before {
  content: '';
  position: absolute;
  width: 99%;
  height: 50px;
  background: transparent;
}
.row p[which-date="startdate"]::before {
  border-right: none;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  right: 0;
}
.row p[which-date="middledate"]::before {
  width: 100%;
  border-radius: 0;
  border-right: none;
  border-left: none;
}
.row p[which-date="enddate"]::before {
  border-left: none;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  left: 0;
}

.row p[which-date="startdate"]:last-child::before {
  right: -50%;
  width: 150%;
}
.row p[which-date="middledate"]:last-child::before,
.row p[which-date="middledate"]:first-child::before{
  width: 100%;
}
.row p[which-date="enddate"]:first-child::before {
  left: -50%;
  width: 150%;
}
