body {
  font-family: Arial, sans-serif;
  text-align: center;
  background-image: url(https://static.vecteezy.com/system/resources/previews/002/806/799/non_2x/girl-looking-at-calendar-beautiful-girl-relaxes-next-to-her-menstruation-calendar-illustration-concept-menstruation-girl-and-womens-health-vector.jpg);
  padding: 20px;
}

h1 {
  color: rgb(245, 10, 127);
  text-align: left;
  margin-left: 180px;
}

.container {
  background-color:#e91e63;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  margin: auto;
  margin-right: 700px;
}

label,
input {
  display: block;
  margin: 10px auto;
}

input[type="date"],
input[type="number"] {
  padding: 8px;
  border: 1px solid #f58cbd;
  border-radius: 5px;
  width: 80%;
}

button {
  background-color: #e91e63;
  color: white;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

button:hover {
  background-color: #e91e63;
}

.result {
  margin-top: 20px;
  font-size: 1.2em;
  color: #221fc5;
}

.late,
.alert {
  color: #e53935;
  font-weight: bold;
}

.calendar-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.calendar {
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 10px;
  background-color:#e91e63;
  transform: scale(0.5s);
}

.calendar:hover {
  transform: scale(1.1);
  transition: transform 0.1s ease-in-out;
}


.calendar h3 {
  margin: 0;
  color:#e91e63;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  margin-top: 10px;
}

.day {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  text-align: center;
}

.highlight {
  background-color: #e91e63;
  color: white;
}

.predicted {
  background-color: #ff9800;
  color: white;
}

.fertile {
  background-color: #4caf50;
  color: white;
}

.low-fertility {
  background-color: #a5d6a7;
  color: white;
}

.pregnancy-test {
  background-color: #3f51b5;
  color: white;
}

.legend {
  margin-top: 30px;
  text-align: left;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  background-color: #e91e63;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  margin-right: 700px;

}

.legend-item {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
}

.color-box {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  border-radius: 3px;
}


#remainder1 {
  position: absolute;
  right: 25px;
  background-color: #e91e63;
  color: white;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  border-radius: 5px;

}

#remainder1:hover {
  transform: scale(1.1);
  transition: transform 0.1s ease-in-out;

}