:root {
  --brand: #4CAF50; /* Green brand color */
  --light-gray: #f9f9f9;
  --medium-gray: #ddd;
  --dark-gray: #333;
  --text-color: #555;
  --border-radius: 8px;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: var(--light-gray);
  color: var(--text-color);
}


.todo-form {
  background-color: white;
  padding: 20px;
  margin: 20px auto;
  width: 90%;
  max-width: 600px;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display:inline-flex;
  gap: 10px;
  
}

.todo-form input {
  flex: 1;
  padding: 10px;
  border: 1px solid var(--medium-gray);
  border-radius: var(--border-radius);
  font-size: 16px;
}

.todo-form button {
  background-color: var(--brand);
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: background-color 0.3s;
}

.todo-form button:hover {
  background-color: #388e3c;
}

.todo-list {
  background-color: white;
  padding: 20px;
  margin: 20px auto;
  width: 90%;
  max-width: 600px;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.todo-list li {
  padding: 10px 15px;
  margin-bottom: 10px;
  background-color: var(--light-gray);
  border: 1px solid var(--medium-gray);
  border-radius: var(--border-radius);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.todo-list li:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.todo-list button {
  background-color: #f44336;
  color: white;
  border: none;
  padding: 5px 10px;
  font-size: 14px;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: background-color 0.3s;
}

.todo-list button:hover {
  background-color: #d32f2f;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* rooster */
.planner_wrapper {
  display: flex;
  align-items: flex-start; /* Aligns items to the top */
  justify-content: flex-start; /* Ensures left alignment */
  gap: 20px; /* Adds space between elements */
  width: 90%; /* Ensures content does not stretch too much */
  max-width: 1200px; /* Prevents it from being too wide */
  margin: 20px auto; /* Centers the wrapper */
}

/* Zermelo Rooster */
#zermelo_rooster {
  flex: 1; /* Takes up available space */
  max-width: 800px; /* Ensures it doesn’t take up too much space */
}

/* To-Do List Container */
.todo_container {
  flex: 1; /* Takes up available space */
  max-width: 400px; /* Prevents it from being too wide */
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.zermelo_embed {
  width: 100%;
  height: 700px; /* Adjust as needed */
}


@media (max-width: 768px) {
  .planner_wrapper {
    flex-direction: column; /* Stack elements vertically */
    align-items: center; /* Center align items */
  }

  #zermelo_rooster, .todo_container {
    max-width: 100%; /* Allow full width */
    width: 100%;
  }

  #zermelo_rooster embed {
    width: 100%; /* Make embed responsive */
    height: 700px; /* Adjust height automatically */
  }


  .zermelo_embed {
    height: 400px; /* Reduce height on small screens */
  }
  .todo-container {
    width: 100%;
  }

  .todo-form,
  .todo-list {
    width: 100%;
  }

}
