/** Write your CSS in here **/
:root {
  --primary-bg-color: #e9b066;
  --primary-color: #ffffff;
  --auto-activated: #8fc9f8;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--primary-bg-color);
}

#poster {
  width: 80%;
  padding: 25px;
  background-color: var(--primary-color);
  color: var(--primary-bg-color);
  font-size: larger;
  font-style: italic;
  position: relative;
  top: 150px;
}

#quote {
  font-weight: bold;
}

#slide-bar {
  display: flex;
  justify-content: end;
  width: 90%;
}

#button-field {
  display: flex;
  justify-content: end;
  margin-bottom: -10px;
}

#display-notice {
  display: flex;
  justify-content: end;
}

#auto-display-notice {
  font-size: 12px;
}

button {
  border-radius: 8px;
  font-size: medium;
  background-color: var(--primary-bg-color);
  color: var(--primary-color);
  border: none;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--primary-color);
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: var(--primary-bg-color);
  transition: 0.4s;
}

input:checked + .slider {
  background-color: var(--auto-activated);
}

input:focus + .slider {
  box-shadow: 0 0 1px var(--auto-activated);
}

input:checked + .slider:before {
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}
