body {
  font-family: Arial, sans-serif;
}

.card {
  /* Add shadows to create the "card" effect */
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  transition: 0.3s;
  position: relative;
  margin-bottom: 12px;
}

.card:last-of-type {
  margin-bottom: 60px;
}

/* On mouse-over, add a deeper shadow */
.card:hover {
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

.card img {
  width: 100%;
}

.card span {
  font-size: 2em;
  display: block;
  right: 30px;
  position: absolute;
  width: auto;
  padding: 0 10px;
  background: white;
  text-align: center;
  top: 110px;
}

.card span.vote {
  appearance: button;
  background-color: #000;
  border: 1px solid #000;
  border-radius: 4px;
  box-shadow: #fff 3px 3px 0 0, #000 3px 3px 0 1px;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  font-weight: 200;
  line-height: 20px;
  overflow: visible;
  padding: 11px 16px;
  text-align: center;
  touch-action: manipulation;
  user-select: none;
  white-space: nowrap;
}

.card .heart {
  background-image: var(--background);
  width: 100%;
  height: 120px;
  position: absolute;
  background-repeat: no-repeat;
  background-position-x: -130px;
  background-position-y: -49px;
  background-size: 350px auto;
  top: 0;
}

/* Add some padding inside the card container */
.container {
  padding: 2px 16px;
  margin-top: -64px;
  display: block;
  position: relative;
  background-blend-mode: overlay;
  background: rgba(255, 255, 255, 0.5);
}


/* The Modal (background) */
.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 1;
  /* Sit on top */
  padding-top: 100px;
  /* Location of the box */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: rgb(0, 0, 0);
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4);
  /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
}

/* The Close Button */
.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

#myModal div {
  margin-top: 35px;
}

#votefor {
  margin-bottom: 50px;
}

#myModal div div span {
  overflow: hidden;
  border: 1px solid #18181a;
  color: #18181a;
  display: inline-block;
  font-size: 2rem;
  line-height: 15px;
  width: 45px;
  padding: 18px 10px 17px;
  background: #fff;
  user-select: none;
  touch-action: manipulation;
  text-align: center;
  margin: 2px;
}

#myModal div div span#btn_clear {
  width: 20%;
  display: block;
  color: #969696;
  margin-top: 40px;
}

.card span.twelve {
  /* background-image: linear-gradient(90deg, rgb(203, 40, 91) 50%, transparent 50%), linear-gradient(90deg, rgb(203, 40, 91) 50%, transparent 50%), linear-gradient(0deg, rgb(203, 40, 91) 50%, transparent 50%), linear-gradient(0deg, rgb(203, 40, 91) 50%, transparent 50%); */
  /* background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
  background-size: 10px 4px, 10px 4px, 4px 10px, 4px 10px;
  background-position: left top, right bottom, left bottom, right top; */
  background-image: url(../images/esc_generic_heart.svg);
  background-repeat: no-repeat;
  animation: heartbeat-normal 2s ease-in 0s infinite normal forwards;
  background-size: 71px;
  width: 65px;
  height: 67px;
  padding-top: 16px;
  padding-left: 0px;
  background-color: transparent;
}

/* ----------------------------------------------
* Generated by Gradienty on 2025-05-11 16:27
* animation heartbeat-normal
* ----------------------------------------
*/
@keyframes heartbeat-normal {
  from {
    transform: scale(1);
    transform-origin: center center;
    animation-timing-function: ease-out;
  }

  10% {
    transform: scale(0.91);
    animation-timing-function: ease-in;
  }

  17% {
    transform: scale(0.98);
    animation-timing-function: ease-out;
  }

  33% {
    transform: scale(0.87);
    animation-timing-function: ease-in;
  }

  45% {
    transform: scale(1);
    animation-timing-function: ease-out;
  }
}

.heartbeat-normal {
  animation: heartbeat-normal 2s ease-in 0s infinite normal forwards;
}

@keyframes border-dance {
  0% {
    background-position: left top, right bottom, left bottom, right top;
  }

  100% {
    background-position: left 10px top, right 10px bottom, left bottom 10px, right top 10px;
  }
}

input {
  display: block;
  margin: 0 auto;
  padding: 10px 10px;
  color: inherit;
  width: 90%;
  font-size: 2rem;
  font-weight: inherit;
  border-radius: 0.4rem;
  transition: box-shadow var(--transitionDuration);
}

input::placeholder {
  color: #B0BEC5;
}

#setName span {
  background-color: #2ea44f;
  border: 1px solid rgba(27, 31, 35, .15);
  border-radius: 6px;
  box-shadow: rgba(27, 31, 35, .1) 0 1px 0;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: block;
  font-size: 2rem;
  line-height: 20px;
  position: relative;
  text-align: center;
  text-decoration: none;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  white-space: nowrap;
  width: 50%;
  padding: 15px;
  margin: 20px auto;
}

body.board .card {
  position: relative;
  height: 62px;
}

body.board .card:last-of-type {
  margin-bottom: 60px;
}

body.board .card h2 {
  width: calc(70% - 50px);
  float: left;
  margin-left: 50px;
}

body.board .card h3 {
  width: 25%;
  float: left;
  text-align: right;
}

body.board .container {
  display: block;
  position: relative;
  background-blend-mode: overlay;
  background: rgba(255, 255, 255, 0.5);
  margin-top: 0;
  padding: 0;
}

body.board .card .heart {
  background-image: var(--background);
  width: 100%;
  height: 66px;
  position: absolute;
  background-repeat: no-repeat;
  background-position-x: -90px;
  background-position-y: -31px;
  background-size: 225px auto;
  top: 0;
}

body.board .card span.favorites {
  display: inline-flex;
  background: none;
  top: 6px;
  right: 40px;
  z-index: -1;
}

body.board .card span.favorites img {
  height: 25px;
  width: 25px;
  display: inline-block;
  margin-top: 10px;
}

div#link_vote,
div#link_board {
  position: fixed;
  width: calc(100% - 16px);
  background: #fff;
  color: #18181a;
  border: 1px solid #18181a;
  border-radius: 15px;
  text-align: center;
  bottom: 8px;
  height: 40px;
  z-index: 20;
  font-size: 1.5rem;
  line-height: 15px;
}

div#link_board a {
  width: 100%;
  text-decoration: none;
  display: block;
  height: inherit;
  padding-top: 10px;
  background-image: url(../images/icons/leaderboard_star_icon.png);
  background-repeat: no-repeat;
  background-position: calc((100% / 2) - 60px) 1px;
  background-size: 35px;
}

div#link_vote a {
  width: 100%;
  text-decoration: none;
  display: block;
  height: inherit;
  padding-top: 10px;
  background-image: url(../images/icons/vote_icon.png);
  background-repeat: no-repeat;
  background-position: calc((100% / 2) - 60px) 1px;
  background-size: 35px;
}

a:visited {
  color: #000;
}

div#display_nickname {
  height: 90px;
  width: 100%;
  background: url(../images/bg-header-2025.png);
  background-size: auto 100%;

}

span#dis_nickname {
  display: block;
  text-align: right;
  padding-right: 7px;
  padding-top: 20px;
  font-size: 3rem;
  color: white;
}

.grid-container {
  display: grid;
  grid-template-columns: auto auto auto auto auto auto auto auto auto auto auto;
  grid-gap: 10px;
  background-color: #2196F3;
  padding: 10px;
}

.grid-container>div {
  background-color: rgba(255, 255, 255, 0.8);
  text-align: center;
  padding: 20px 0;
  font-size: 30px;
}