/* Webring Styles */
#webring-js-widget {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;

    margin: 2rem auto;
    padding: .5rem;
    max-width: 100px;
    border-color: gray;
    border-width: 3px;
    border-style: groove;
    background-color: black;
    /* To be changed to a locally stored background image */
    background-image: url("https://www.transparenttextures.com/patterns/otis-redding.png");
}

#webring-js-widget button {
    width: .4rem;
    height: .2rem;
    background: goldenrod;
    border-style: none;
}

#webring-js-widget a {
    padding: 0.3rem .3rem;
    text-decoration: none;
    color: goldenrod;
    text-align: center;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.2s ease;
    font-size: .8rem;
    font-family: monospace;
    animation: neonPulse 3.5s ease-in-out infinite alternate;
}

/* Comment this out to disable the neon glow */
@keyframes neonPulse {
    0% {
        text-shadow: 0 0 1px rgba(218, 165, 32, 0.4), 0 0 2px rgba(218, 165, 32, 0.2);
    }
    25% {
        text-shadow: 0 0 2px rgba(218, 165, 32, 0.5), 0 0 3px rgba(218, 165, 32, 0.3), 0 0 5px rgba(218, 165, 32, 0.1);
    }
    50% {
        text-shadow: 0 0 2px rgba(218, 165, 32, 0.6), 0 0 4px rgba(218, 165, 32, 0.4), 0 0 6px rgba(218, 165, 32, 0.2);
    }
    75% {
        text-shadow: 0 0 3px rgba(218, 165, 32, 0.7), 0 0 5px rgba(218, 165, 32, 0.5), 0 0 7px rgba(218, 165, 32, 0.3);
    }
    100% {
        text-shadow: 0 0 3px rgba(218, 165, 32, 0.8), 0 0 6px rgba(218, 165, 32, 0.6), 0 0 9px rgba(218, 165, 32, 0.4);
    }
}

#webring-js-widget div {
    width: 100%;
    text-align: center;
    display: flex;
    margin-top: 0.3rem;
    /* text-align: center; */
    flex-direction: row;
    justify-content: center;
}

#webring-js-widget a:hover {
  background-color: rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

@media (max-width: 600px) {
  #webring-js-widget {
    width: 90%;
    margin: 0 auto;
    padding: 0.5rem;
  }
  
  #webring-js-widget a {
    font-size: 0.7rem;
    padding: 0.2rem 0.2rem;
  }
}

@media (max-width: 400px) {
  #webring-js-widget {
    width: 95%;
    padding: 0.3rem;
    overflow: hidden;
  }
  
  #webring-js-widget a {
    font-size: 0.6rem;
  }
}
