html{
  font-size: 10px;
  overflow-x: hidden;
}
@property --a{
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}
p{
  margin-bottom: 0;
}
.scroll {
  overflow: auto;
   width: 100%;
  height: 911px; 
  /* width: 1400px; */
  cursor: grab;
  aspect-ratio: 1920 / 911;
}
.mobile-ani {
  position: absolute;
  width: 100vw;
  top: 0;
  left: 0;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}
.arrows {
  width: 35px;
  height: 72px;
  position: absolute;
  left: 50%;
  margin-left: -30px;
  bottom: 20px;
}
.arrows-left {
  transform: rotate(90deg);
  left: 10%;
}
.arrows-right {
  transform: rotate(-90deg);
  left: 100%;
}

.arrows path {
  stroke: #2994d1;
  fill: transparent;
  stroke-width: 4px;
  animation: arrow 2s infinite;
  -webkit-animation: arrow 2s infinite;
}
.main{
  aspect-ratio: 1920 / 911;
    width: 1400px;
    height: 800px;
    background: url('../Assets/wine-process-map.svg');
    background-size: 1400px auto;
    background-repeat: no-repeat;
    margin: 0 auto;
    position: relative;
}
.hotsport-1 {
    position: absolute;
    width: 2rem;
    height: 2rem;
    display: inline-block;
    cursor: pointer;
  }
  .toolTip{
    position: absolute;
    display: inline-block;
    cursor: pointer;
    width: fit-content;

  }
  .toolTip .pulse-wrapper{
    border: 1px solid white;
    padding: 5px;
    border-radius: 5px;
    animation: rotate 4s linear infinite;
    background: conic-gradient(from var(--a), transparent 0%, rgb(226 232 240 / .1) 70%, #5b6770 100%);;
  }
  @keyframes rotate {
    0% {
      --a: 0deg;
  }
  100% {
      --a: 360deg;
  }
  }

  .pulse-wrapper{
    position: relative;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
  }
  .pulse-wrapper img{
    position: relative;
    z-index: 2;
  }
  .hotsport-1 span{
    position: absolute;
    background-color: rgba(255, 255,255, 1);
    height: 1.5rem;
    width: 1.5rem;
    border-radius: 50%;
    z-index: 1;
    transform: translate(-50%, -50%);
  }
  .hotsport-1 .pulse{
    width: 1px;
    height: 1px;
  }
  .toolTip .pulse{
    position: absolute;
    /* background-color: rgba(255, 255,255, 1); */
    z-index: 1;
    transform: translate(-50%, -50%);
    aspect-ratio: 1 / 1;
    height: 100%;
    width: auto;
  }
  .toolTip .toolTip-text{
    color: white;
    position: relative;
    z-index: 2;
    background-color: rgb(0, 0, 0);
    padding: 1px 10px;
    font-size: 14px;
    line-height: 1.25em;
    border-radius: 2px;
  }
  .toolTip:hover .toolTip-text{
    box-shadow: 0 0 10px 1px rgba(255, 255,255, 0.7);
    /* animation: pulse 1.5s ease-in-out infinite; */
  }
  .toolTip.active .toolTip-text{
    box-shadow: 0 0 10px 1px rgba(255, 255,255, 0.7);
  }
  .hotsport-1:hover .pulse{
    animation: pulse 1.5s ease-in-out infinite;
  }
  .hotsport-1.active .pulse{
    animation: pulse 1.5s ease-in-out infinite;
  }
  @keyframes pulse {
    0% {
      transform: translate(-50%, -50%) scale(.85);
    }
  
      100% {
      transform:  translate(-50%, -50%) scale(45);
      background-color: rgba(255, 255,255, 0.1);
    }
  }
  .modal.show{
    position: absolute;
    overflow: hidden;
  }
  .modal-dialog{
    margin: 0;
    pointer-events: all;
  
  }
 .modal-backdrop{
    display: none;
 }
  .modal{
    background: rgba(0, 0, 0, 0.5);
  }
  .modal-wrapper {
    background-color: rgba(0,120,161, 0.69);
    padding: 1rem 2rem;
    position: relative;
    backdrop-filter: blur(5px);
    /* width: 80%; */
    margin: 0;
    border-radius: 0.8rem;
    /* transform: translate(0, -57%); */
    display: flex;
    max-height: 30rem;
    flex-direction: column;
    /* overflow-y: auto; */
  }
  .modal-header {
    padding: 0;
    border: none;
    /* cursor: pointer; */
  }
  .modal-header .btn-close{
    color: white;
    background: transparent;
    cursor: pointer;
    opacity: 1;
    font-size: 1.7rem;
    text-align: right;
    line-height: 1em;
    top: -0.5rem;
    position: relative;
    right: -1rem;
  }
  #modal-image{
    background-color: rgba(255,255,255,0.8);
    margin-bottom: 1rem;
    text-align: center;
  }
  #modal-image img{
    width: 12rem;
    height: auto;
  }

  
  .modal-body {
    padding: 0;
    background-color: transparent;
    color: white;
    display: flex;
    gap: 1.5rem;
  }

  .modal-content {
    background-color: transparent;
    border-radius: 0;
    border: none;
    /* padding: 1rem;
    display: flex; */

  }
  .modal-content h5 {
    font-weight: 600;
    font-size: 1.6rem;
    line-height: 2rem;
  }
  #modal-content-text{
    font-size: 1.3rem;
    line-height: 1.6em;
    letter-spacing: 0.01rem;
    word-spacing: 0.2rem;
    height: 100%;
    overflow-y: auto;
  }
  #modal-content-text a{
    font-style: italic;
    font-weight: 500;
    text-decoration: underline;
    font-size: inherit;
  }
  #modal-content-text::-webkit-scrollbar{
    width: 0.5rem;
    height: 0.5rem;
  }
  #modal-content-text::-webkit-scrollbar-track{
    background-color: #0078a1;
  }
  #modal-content-text::-webkit-scrollbar-thumb{
    background-color: #fff;
    border-radius: 100px;
  }
  .modal-content a {
    color: white;
    text-decoration: underline;
    font-style: italic;
    font-size: 1.2rem;
    font-weight: 400;
  }

  @keyframes arrow {
    0% {
      opacity: 0;
    }
    40% {
      opacity: 1;
    }
    80% {
      opacity: 0;
    }
    100% {
      opacity: 0;
    }
  }
  
  @-webkit-keyframes arrow /*Safari and Chrome*/ {
    0% {
      opacity: 0;
    }
    40% {
      opacity: 1;
    }
    80% {
      opacity: 0;
    }
    100% {
      opacity: 0;
    }
  }
  .arrows path.a1 {
    animation-delay: -1s;
    -webkit-animation-delay: -1s; /* Safari 和 Chrome */
  }
  
  .arrows path.a2 {
    animation-delay: -0.5s;
    -webkit-animation-delay: -0.5s; /* Safari 和 Chrome */
  }
  
  .arrows path.a3 {
    animation-delay: 0s;
    -webkit-animation-delay: 0s; /* Safari 和 Chrome */
  }

@media screen and (min-width: 900px) {
  .mobile-ani {
    display: none;
  }

  .scroll{
    cursor: default;
  }
}