/* Base Styles */
.uk-timeline .uk-timeline-item {
  display: flex;
  position: relative;
  gap: 1rem;
}

.uk-timeline .uk-timeline-item::before {
  content: "";
  background-color: #348f80 !important;
  height: 100%;
  width: 2px;
  position: absolute;
  left: 19px;
  top: 20px;
}

.uk-timeline .uk-timeline-item:last-child::before {
  display: none;
}

.uk-timeline .uk-timeline-item .uk-timeline-icon {
  z-index: 999;
}

.uk-timeline .uk-timeline-item .uk-timeline-icon .uk-badge {
  margin-top: 20px;
  width: 40px;
  height: 40px;
  transition: 0.5s;
}

.uk-timeline .uk-timeline-item .uk-timeline-content {
  flex: 1 1 auto;
  padding-left: 1rem;
}

.uk-badge {
  background-color: #348f80 !important;
}

.uk-badge.incomplete {
  background-color: #0c132a !important;
  border: 4px solid #348f80;
}

/* Card styles */
.uk-card-default {
  background-color: #50626517 !important;
  box-shadow: 0 5px 15px rgb(0 0 0 / 8%);
  border: 1px solid #348f80 !important;
  border-radius: 20px;
  max-height: initial !important;
}

.uk-card-header {
  border-bottom: 1px solid #348f80 !important;
}

.uk-card-title {
  color: white !important;
  font-family: "Space Grotesk", Sans-serif !important;
}

.uk-timeline-item .uk-card-body p {
  color: rgba(255, 255, 255, 0.628);
}

.uk-timeline-item.active .uk-card-body p {
  color: #03d4a5;
}

.uk-timeline-item.active .uk-card-default {
  box-shadow: 0 5px 15px rgb(52 143 128);
}

.uk-timeline-item.active .uk-badge.incomplete {
  background-color: #348f80 !important;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .uk-timeline .uk-timeline-item {
    flex-direction: column;
    padding-left: 2.5rem;
  }

  .uk-timeline .uk-timeline-item::before {
    left: 0.9rem;
    top: 0;
    height: 100%;
  }

  .uk-timeline .uk-timeline-item .uk-timeline-icon {
    position: absolute;
    left: 0;
    top: 0;
  }

  .uk-timeline .uk-timeline-item .uk-timeline-icon .uk-badge {
    margin-top: 0;
  }

  .uk-timeline .uk-timeline-item .uk-timeline-content {
    padding-left: 0;
    margin-top: 2.5rem;
  }
}


@font-face {
    font-family: 'icomoon';
    src:  url('fonts/icomoon.eot?oayw2d');
    src:  url('fonts/icomoon.eot?oayw2d#iefix') format('embedded-opentype'),
      url('fonts/icomoon.ttf?oayw2d') format('truetype'),
      url('fonts/icomoon.woff?oayw2d') format('woff'),
      url('fonts/icomoon.svg?oayw2d#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
  }
  
  [class^="icomoon-"], [class*=" icomoon-"] {
    /* use !important to prevent issues with browser extensions that change fonts */
    font-family: 'icomoon' !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
  
    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  .icomoon-treasure:before {
    content: "\e900";
  }
  

  /* Wrapper: hides overflow */
.headline-wrapper {
  width: 100%;
  overflow: hidden;
  background-color: #000000; /* dark background */
  padding: 10px 0;
  border-top: 2px solid #348f80;
  border-bottom: 2px solid #348f80;
}

/* Moving Text */
.headline-text {
  display: inline-block;
  white-space: nowrap;
  animation: scroll-left 20s linear infinite;
  font-size: 18px;
  font-weight: 600;
  color: #03d4a5;
  font-family: "Space Grotesk", sans-serif;
  text-shadow: 0 0 5px #348f80;
}

.contract-address {
    font-size: 13px;
    color: #05c6a9; /* Adjust based on your background */
    word-break: break-all;
    margin-top: 10px;
    margin-bottom: 20px;
}


@keyframes scroll-left {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}
