/* style.css - Hauptstyles für Kleintierfütterer */

body {
  background: linear-gradient(135deg, #d2ecff 0%, #ffedd1 100%);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  margin: 0;
  padding: 30px 0;
  font-family: sans-serif;
  transition: all 0.3s ease;
}

/* Profilknopf */
.profile-button {
  position: fixed;
  top: 30px;
  right: 30px;
  width: 108px;
  height: 108px;
  background: linear-gradient(135deg, #00A0FF,#0078FF, #0050FF);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  z-index: 1000;
}

.profile-button:hover {
  background: linear-gradient(135deg, #0EB4FF,#0E78FF, #0e4eff);
  transform: scale(1.05);
  box-shadow: 0px 6px 20px rgba(0, 162, 255, 0.4);
}

.profile-icon {
  width: 108px;
  height: 108px;
  object-fit: contain;
  filter: brightness(0) invert(1); /* Macht das Bild weiß */
}

/* Haupt-Container */
.main-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 800px;
} 

/* Ovaler Container */
.oval-container {
  width: 600px;
  height: 900px;
  background: #1a1a1a;
  border-radius: 400px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 40px;
  box-shadow: 0px 0px 30px 15px #ffffff;
  transition: all 0.3s ease;
}

/* Kreis-Timer */
.circle-timer {
  position: relative;
  width: 600px;
  height: 600px;
}

svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

circle {
  fill: none;
  stroke-width: 10;
  cx: 50;
  cy: 50;
  r: 45;
}

.bg {
  stroke: #333;
}

.progress {
  stroke: #00A0FF;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.5s linear;
  stroke-linecap: round;
}

/* Icon */
.dog-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  opacity: 0.7;
}

/* Zeit-Anzeige */
.time-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 4rem;
  font-family: sans-serif;
  font-weight: bold;
  z-index: 1;
}

/* Letzte Fütterungszeit */
.last-feeding-info {
  text-align: center;
  color: #fff;
  font-family: sans-serif;
  margin: 20px 0;
}

.last-feeding-title {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #00A0FF;
}

/* Responsive Design für den neuen Button */
@media (max-width: 768px) {
  .schedule-button {
    font-size: 2.5rem;
    height: 10rem;
    margin-top: 30px;
  }
}

.last-feeding-time {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 5px;
  color: #fff;
}

.last-feeding-date {
  font-size: 1.6rem;
  font-weight: 500;
  color: #ccc;
}

/* Manueller Fütterungsknopf */
.manual-feed-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 30px;
  font-size: 2rem;
  font-weight: 600;
  background: linear-gradient(135deg, #00A0FF,#0078FF, #0050FF);
  border: none;
  color: white;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 20px;
  width: 280px;
  height: 80px;
  box-shadow: 0px 0px 20px 5px #333;
}

.manual-feed-button:hover {
  background: linear-gradient(135deg, #0EB4FF,#0E78FF, #0e4eff);
  transform: scale(1.03);
}

.manual-feed-button:active {
  transform: translateY(-1px);
}

/* Navigation Buttons */
.set-time-button, .schedule-button,
.stats-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px;
  font-size: 3rem;
  font-weight: 600;
  background: linear-gradient(135deg, #00A0FF,#0078FF, #0050FF);
  border: none;
  color: rgb(255, 255, 255);
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  height: 12rem;
  box-shadow: 0px 0px 20px 20px #ffffff;
}

.schedule-button {
  margin-top: 50px;
}

.stats-button, .set-time-button {
  margin-top: 20px;
}

.set-time-button:hover, .schedule-button:hover,
.stats-button:hover {
  background: linear-gradient(135deg, #00A0FFec,#0078FFea, #0050FFe8);
  transform: scale(1.03);
}



/* Button Icons */
.button-icon {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

/* Pulse Animation */
@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    color: #fff;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.4);
    color: #ff5555;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    color: #fff;
  }
}

.time-overlay.pulse {
  animation: pulse 0.6s ease-in-out 2;
}

/* Responsive Design */
@media (max-width: 768px) {
  .oval-container {
    width: 90vw;
    height: 80vh;
    padding: 20px;
  }
  
  .circle-timer {
    width: 60vw;
    height: 60vw;
    max-width: 400px;
    max-height: 400px;
  }
  
  .time-overlay {
    font-size: 3rem;
  }
  
  .last-feeding-title {
    font-size: 1.4rem;
  }
  
  .last-feeding-time {
    font-size: 2rem;
  }
  
  .last-feeding-date {
    font-size: 1.3rem;
  }
  
  .manual-feed-button {
    font-size: 1.6rem;
    width: 220px;
    height: 100px;
  }
}