
  pop {
    position: relative;
    top: 10px;
    font-family: sans-serif;
    text-transform: uppercase;
    font-size: 2em;
    letter-spacing: 6px;
    overflow: hidden;
    background: linear-gradient(90deg, #000, #0eb81c, #000);
    background-repeat: no-repeat;
    background-size: 80%;
    vertical-align: sub;
    animation: animate_pop 4s linear infinite;
    -webkit-background-clip: text;
     background-clip: text;
    -webkit-text-fill-color: rgba(255, 255, 255, 0);
    padding: 10px;
    margin: 20px 0;
  }
  
  @keyframes animate_pop {
    0% {
      background-position: -500%;
    }
    100% {
      background-position: 500%;
    }
  }

  .ace { background-color: rgb(255, 230, 0) !important; }
  .eagle { background-color: rgb(4, 165, 165) !important; }
  .birdie { background-color: rgb(36, 196, 36) !important; }
  .par { background-color: lightgray !important; }
  .bogey { background-color: rgb(221, 55, 55) !important; }
  .doublebogey { background-color: rgb(80, 15, 141) !important;}

  .Dags {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    font: normal 25px/50px Montserrat, sans-serif;
    color: #999;
  }
  .Dags pp {
    height: 25px;
    width: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    margin-right: 2em;
  }
  .Dags boobs {
    float: left;
    overflow: hidden;
    position: relative;
    height: 50px;
    top: 0px;
    align-items: center;
    white-space: nowrap; 
  }
  .Dags .innerDags {
    display: inline-block;
    color: #e74c3c;
    position: relative;
    top: 0;
    left: 0;
  
  
  /*animation*/
  -webkit-animation:move 5s;
     -moz-animation:move 5s;
      -ms-animation:move 5s;
       -o-animation:move 5s;
          animation:move 5s;
  /*animation-iteration-count*/
  -webkit-animation-iteration-count:infinite;
     -moz-animation-iteration-count:infinite;
      -ms-animation-iteration-count:infinite;
       -o-animation-iteration-count:infinite;
          animation-iteration-count:infinite;
  /*animation-delay*/
  -webkit-animation-delay:1s;
     -moz-animation-delay:1s;
      -ms-animation-delay:1s;
       -o-animation-delay:1s;
          animation-delay:1s;
  }
  @keyframes move{
  0%  { top: 0px; }
  20% { top: -50px; }
  40% { top: -100px; }
  60% { top: -150px; }
  80% { top: -200px; }
  }
  
  @-webkit-keyframes move {
      0%  { top: 0px; }
      20% { top: -50px; }
      40% { top: -100px; }
      60% { top: -150px; }
      80% { top: -200px; }
  }
  @-moz-keyframes move {
      0%  { top: 0px; }
      20% { top: -50px; }
      40% { top: -100px; }
      60% { top: -150px; }
      80% { top: -200px; }
  }
  @-o-keyframes move {
      0%  { top: 0px; }
      20% { top: -50px; }
      40% { top: -100px; }
      60% { top: -150px; }
      80% { top: -200px; }
  }
  @keyframes move {
      0%  { top: 0px; }
      20% { top: -50px; }
      40% { top: -100px; }
      60% { top: -150px; }
      80% { top: -200px; }
  }


  h1.disc-golf {
    font-family: 'Arial', sans-serif;
    color: #af4f17; /* Green color for disc golf */
    text-shadow: 2px 2px #612b08; /* Brown shadow for a natural look */
    font-size: 3em;
    text-align: center;
    animation: bounce 2s infinite ease-in-out;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}


  .scoremodal {
    display: none;
    position: fixed;
    z-index: 1050; /* Ensures modal appears above everything */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.849);
  }
  
  .scoremodal-content {
    background-color: #222222;
    position: absolute;
    border-radius: 20px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    border: 1px solid #888;
    width: 95%;
    max-width: 600px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
  }
  
  .scoreclose {
    color: #ff0000;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
  }
  
  .scoreclose:hover {
    color: black;
  }
  
  .scoremodal-buttons {
    display: flex;
    justify-content: space-around;
    margin-top: 30px;
    margin-bottom: 30px;
  }
  
  .score-btn {
    padding: 20px 30px;
    font-size: 1.8rem;
    background-color: #0d741e;
    color: rgb(255, 255, 255);
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  
  .score-btn:hover {
    background-color: #0056b3;
  }
  
  .scoremodal-pagination {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
  }
  
  #prevRange, #nextRange {
    padding: 5px 10px;
    font-size: 1.8rem;
    background-color: #e6d81b;
    border: 1px solid #0a9185;
    cursor: pointer;
  }


  .highlight {
    background-color: #d1e7dd !important; /* Light green for success highlight */
    transition: background-color 0.5s ease;
}


.ace-highlight {
  background-color: gold !important; 
  font-weight: bold;
}

.avatar-img {
  width: 75px;
  height: 75px;
  object-fit: cover;
  object-position: center;
}


.chart-container {
  display: flex;
  justify-content: center;  
  align-items: center;      
  height: 300px;            
}

