.card-buttons {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  gap: 5px;
  background: yellow;
}
.card-buttons.hide {
  display: none;
}
.card-buttons button {
    all: unset;
    height: 100%;
    display: flex;
    align-items: center;
}

#search-button,button,.svg-btn,.normal-button,.dropbtn
{
font-family: inherit; /* Force inheritance from parent */
 font-size: 16px;
 background: var(--btn-background-color);
 border-radius: 0.5em;
 border-color: transparent;
 color: var(--btn-font-color);
 cursor: pointer;
 height: 35px;
 max-width: fit-content; 
 width: fit-content; 
 margin: 5px 5px 5px 0px;
 padding: 0px 10px 0px 10px;
 display: inline-flex;
 align-items: center;
 border: 1px solid transparent;

}

#search-button,button,.normal-button
{
 transition: all 0.5s;
}

.svg-btn
{
 display: flex;
 align-items: center;
 max-width: unset; 
 width: unset; 
}

#search-button:hover,button:hover,.svg-btn:hover,.normal-button:hover
{
 background-color: var(--btn-hover-color);
 color: var(--btn-font-hover-color);
 border: 1px solid;
}


.svg-btn .icon {
  display: inline-flex;
  height: 100%;
  padding: 5px 10px;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
}

.svg-btn .icon svg 
{
  fill: var(--font-hover-color);
}

.icon-svg 
{
 width: 40px;
 height: 40px;
  padding: 5px 5px;
 fill: var(--font-hover-color);
}

.icon-svg:hover
{
  fill: var(--dark-color);
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 360px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: var(--font-color);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  border-style: solid;
  border-width: thin;
  border-color: var(--font-readonly-color);
  background-color: var(--body-background-color);
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover 
{ background-color: var(--hover-background-color);
  color: var(--btn-font-hover-color);
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {display: block;}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {background-color: #3e8e41;}

}


.league-buttons {
    position: sticky;
    display: flex;
    flex: 1;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 10px 10px 10px 10px;
    min-height: 60px;
    max-height: 60px;
    background: var(--body-background-color);
    margin: 0px;
    margin-bottom: 5px;

    left: 0;
    right: 0;
 
    z-index: 100;
    justify-content: space-between;
    align-items: center;
    min-height: fit-content;
}

.btn {
  display: inline-block;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.25rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
@media screen and (prefers-reduced-motion: reduce) {
  .btn {
    transition: none;
  }
}
.btn:focus,
.btn:hover {
  text-decoration: none;
}
.btn.focus,
.btn:focus {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.btn.disabled,
.btn:disabled {
  opacity: 0.65;
}
.btn:not(:disabled):not(.disabled) {
  cursor: pointer;
}
.btn:not(:disabled):not(.disabled).active,
.btn:not(:disabled):not(.disabled):active {
  background-image: none;
}
