/* styles.css */
.scroll-left {
    white-space: nowrap;
    overflow-x: scroll;
    animation: scroll-left 20s linear infinite;
}

/* Move it (define the animation) */
@keyframes scroll-left {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* radio button horizontal space */
.radio-items {
  display: inline-flex;
  justify-content: space-between;
  margin: 5px 0px 0px 0px;
}

.radio-item {
  margin-right: 5px;
}

/* MarkDown Text Flashing */
.flash {
  transition: animation 1s infinite;
  animation: flash 1s infinite;
}

@keyframes flash {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
  100% {
    opacity: 1;
  }
}

/* Default for desktop */
.responsive-image {
    margin-top: -50px !important;
}

/* Adjust margin for mobile screens */
@media (max-width: 768px) {
    .responsive-img-container {
        height: 80vh !important;  /* Prevent excess space */
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 5px 0;  /* Add minimal spacing */
    }

    .responsive-image {
        max-height: 70vh !important;  /* Reduce height for phones */
        width: 90% !important;  /* Fit within screen */
        object-fit: contain;
        border-radius: 15px !important;  /* Ensure round corners */
        margin-top: 0px !important;  /* Remove negative margin on mobile */
    }
}


/* Shrinking */
.flex-container {
    display: flex;
    width: 1200px;
    height: 500px;
    background-color: #eee;
}

.shrinkable-element {
    flex-grow: 1; /* Takes up all available space */
    background-color: lightgreen;
}

.fixed-element {
    flex-shrink: 0; /* Prevents this element from shrinking */
    width: 150px; /* Fixed width */
    background-color: coral;
}



