/*body {
    background-image: url('../assets/professional/Prime2.jpg');
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* Light Mode Specific Styling 
[data-md-color-scheme="default"] {
    background-color: rgba(255, 255, 255, 0.7);
}*/

/* Dark Mode Specific Styling 
[data-md-color-scheme="slate"] {
    background-color: rgba(0, 0, 0, 0.7);
}*/

/*.md-main {
    min-height: 100vh;
    overflow-y: auto;
}*/

/* Icon Animations */
@keyframes heart {
  0%, 40%, 80%, 100% {
    transform: scale(1);
  }
  20%, 60% {
    transform: scale(1.15);
  }
}
.heart {
  animation: heart 1000ms infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
.pulse {
  animation: pulse 2s ease-in-out infinite;
  display: inline-block;
  transform-origin: center;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.spin {
  animation: spin 3s linear infinite;
  display: inline-block;
  transform-origin: center;
}

@keyframes bounce {
  0%, 20%, 53%, 80%, 100% {
    transform: translateY(0);
  }
  40%, 43% {
    transform: translateY(-8px);
  }
  70% {
    transform: translateY(-4px);
  }
  90% {
    transform: translateY(-2px);
  }
}
.bounce {
  animation: bounce 2s ease infinite;
  display: inline-block;
  transform-origin: center;
}

@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  10%, 30%, 50%, 70%, 90% {
    transform: translateX(-2px);
  }
  20%, 40%, 60%, 80% {
    transform: translateX(2px);
  }
}
.shake {
  animation: shake 2s ease-in-out infinite;
  display: inline-block;
  transform-origin: center;
}

@keyframes glow {
  0%, 100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.3);
  }
}
.glow {
  animation: glow 2s ease-in-out infinite;
  display: inline-block;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-6px);
  }
}
.float {
  animation: float 3s ease-in-out infinite;
  display: inline-block;
  transform-origin: center;
}

@keyframes tada {
  0% {
    transform: scale(1);
  }
  10%, 20% {
    transform: scale(0.9) rotate(-3deg);
  }
  30%, 50%, 70%, 90% {
    transform: scale(1.1) rotate(3deg);
  }
  40%, 60%, 80% {
    transform: scale(1.1) rotate(-3deg);
  }
  100% {
    transform: scale(1) rotate(0);
  }
}
.tada {
  animation: tada 2s ease-in-out infinite;
  display: inline-block;
  transform-origin: center;
}

/** Marigold page styling **/
#map {
    position: relative;
    z-index: 1;
    height: 400px;
    width: 100%;
    margin: 20px 0;
}

#openweathermap-widget-5 img {
    z-index: 1;
}

/** Investing page  styling **/
.widget-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.stock-widget,
.market-widget {
    width: 48%;
}

.stock-widget>h1,
.market-widget>h1 {
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px) {
    .widget-container {
        flex-direction: column;
    }

    .stock-widget,
    .market-widget {
        width: 100%;
        margin-bottom: 20px;
    }
}

/** Custom Back to Top Button Styling **/
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--md-primary-fg-color);
    color: var(--md-primary-bg-color);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 2000;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.back-to-top:hover {
    background: var(--md-accent-fg-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:active {
    transform: translateY(0);
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}