@font-face {
  font-family: taz;
  src: url(img/tazblack.otf);
}

@font-face {
  font-family: lab;
  src: url(img/LabGrotesque-Regular.woff2);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  background: #eeeeee;
}

.main {
  width: 100%;
  margin: 0 auto;
}

.block {
  max-width: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  padding: 0.5rem 0;
  border-bottom: 1px solid #dcdcdc;
  background: #f2f2f2;
  transition: background 0.2s ease-in-out;
}

.igraci:hover {
  background: #e0e0e0;
}

.igraci:hover .progress-bar {
  background: #fff;
}

.igraci:hover .smiletxt {
  font-weight: bold;
  color: #000;
}

.smileys {
  padding-left: 2rem;
  display: flex;
  width: 55%;
  padding-right: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media screen and (max-width: 480px) {
  .smileys {
    width: 50%;
    padding-left: 0;
  }
}

.flag {
  width: 100px;
}

.countrywrap {
  display: flex;
  align-items: center;
  padding-left: 1rem;
  width: 45%;
}

@media screen and (max-width: 480px) {
  .countrywrap {
    width: 50%;
  }
}

.smiley,
.smileysec {
  /*min-width: 30px;*/
  width: max-content;
  font-size: 30px;
  cursor: pointer;
  transition: all 0.4s ease-in-out;
  text-align: center;
  position: relative;
  z-index: 10;
}

.smiley:hover {
  transform: rotate(16deg);
}

.smileysec {
  margin-left: 1rem;
}

/*.smiley.clicked {
    transform: scale(1.3);
}*/

.smiley.clicked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 38px;
  height: 38px;
  background: linear-gradient(320deg, #000, #f2f2f2, #000);
  background-size: 600% 600%;
  z-index: -1;
  border-radius: 5px;
  animation: animacija 2s ease infinite;
}

@keyframes animacija {
  0% {
    background-position: 46% 0%;
  }

  50% {
    background-position: 75% 100%;
  }

  100% {
    background-position: 46% 0%;
  }
}

.country {
  font-family: taz;
  font-size: 1rem;
  padding-left: 1rem;
  width: 100%;
  padding-right: 1rem;
}

@media screen and (max-width: 480px) {
  .country {
    padding-left: 0em;
    padding-right: 0.5rem;
  }
}

.singer {
  display: block;
  font-family: lab;
  font-size: 1rem;
}

.button {
  min-width: 150px;
  background: #000;
  color: #fff;
  font-family: taz;
  font-size: 1rem;
  text-align: center;
  padding: 0.3rem;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s ease-in-out, color 0.2s ease-in-out;
  border: none;
}

.button:hover {
  background: #dd1335;
  color: #fff;
}

.cro {
  background: rgb(255, 0, 0);
  background: linear-gradient(
    90deg,
    rgba(255, 0, 0, 0.4) 0%,
    rgba(242, 242, 242, 1) 60%
  );
}

.bttns {
  width: 100%;
  max-width: 330px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0.5rem 0;
}

.sendblock {
  flex-direction: column;
}

.smiletxt {
  color: #000;
  pointer-events: none;
  font-weight: 300;
  font-size: 18px;
  font-family: lab;
  transition: font-weight 0.2s ease-in-out, color 0.2s ease-in-out;
}

#rezgrid {
  display: none;
}

#responses {
  padding: 0.5rem 0 0 0;
  font-family: lab;
  color: #b9132f;
}

.title {
  font-family: taz;
  font-weight: 400;
  font-size: 1.25rem;
  padding: 0.25rem 1rem;
  text-align: center;
  color: #000;
}

@media screen and (max-width: 480px) {
  .smileys {
    padding-left: 0;
  }

  .smiley,
  .smileysec {
    font-size: 20px;
  }

  .flag {
    width: 50px;
  }

  .country {
    font-size: 14px;
  }

  .singer {
    font-size: 0.8rem;
  }

  .smiletxt {
    font-size: 14px;
  }

  .smiley.clicked::after {
    width: 27px;
    height: 27px;
  }
}

.results {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.results-wrap {
  width: 100%;
}

.container {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin: 4rem auto;
}

.container h1 {
  font-family: taz;
  letter-spacing: 0.6px;
  font-size: 2rem;
  text-align: center;
  padding: 0 5px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: #49ad5080;
}

.sport {
  color: #40b14d;
  font-size: 6.2rem;
  line-height: 0.6;
}

.container label {
  font-family: taz;
  font-size: 1.25rem;
  color: #00a6ed;
  display: flex;
  gap: 5px;
}

.container form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  padding: 0 1rem;
}

.form-input {
  padding: 1rem 0rem;
  font-size: 1rem;
  font-family: taz;
  letter-spacing: 0.6px;
  text-align: center;
  outline: none;
  border: 1px solid #00a6ed;
  border-radius: 5px;
  background: #fff;
  width: 100%;
}

.form-input:hover {
  cursor: pointer;
}

.form-input::placeholder {
  color: #999999;
}

.teams {
  display: flex;
  gap: 1rem;
}

@media screen and (max-width: 480px) {
  .teams {
    flex-direction: column;
    align-items: flex-start;
  }
}

.container form button {
  font-family: taz;
  letter-spacing: 0.6px;
  font-size: 1rem;
  color: #fff;
  background: #00a6ed;
  outline: none;
  border: none;
  border-radius: 5px;
  padding: 0.5rem 1rem;
}

.container form button:hover {
  cursor: pointer;
}

.embed-wrap {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}

.embed {
  width: 80%;
  padding: 1rem;
  font-family: lab;
  font-weight: 300;
  margin: 0 10px;
  background: #eeeeee;
  height: 100%;
}

@media screen and (max-width: 480px) {
  .embed {
    font-size: 12px;
  }
}

.copy {
  display: none;
  font-family: taz;
  letter-spacing: 0.6px;
  font-size: 1rem;
  color: #fff;
  background: #00a6ed;
  outline: none;
  border: none;
  border-radius: 5px;
  padding: 0.5rem 1rem;
  transition: background 0.3s ease-in-out;
}

.copy:hover {
  cursor: pointer;
}

.border {
  border: 1px solid #00a6ed;
  border-radius: 5px;
  background: #fff;
}

.container p {
  font-family: lab;
  font-size: 1rem;
  color: #00a6ed;
}

/* % bar */
.progress-bar {
  width: 100%;
  background-color: #e0e0e0;
  border-radius: 5px;
  overflow: hidden;
  height: 10px;
  position: relative;
}

.progress-fill {
  height: 100%;
  border-radius: 5px;
  -webkit-mask: linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0);
}

.progress-fill::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(
    to right,
    #eb1d03,
    #fa6e38,
    #f9b330,
    #84e05e,
    #00ac02
  );
}

/* footer */
.footer {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  /* background: #dd1335; */
  background: #007118;
}

.powered {
  font-family: lab;
  font-size: 0.875rem;
  color: #fff;
  text-transform: uppercase;
}

.footer-logo {
  display: block;
  height: 100%;
  max-width: 150px;
}

.number-of-people {
  color: #dd1335;
  font-family: lab;
  font-size: 1rem;
  font-weight: bold;
}

.loading {
  display: none;
  text-align: center;
  margin-top: 10px;
}

.loading img {
  width: 30px;
  height: 30px;
}

.icon {
  z-index: 100;
  display: block;
  width: 30px;
  height: 30px;
  padding: 0;
  font-family: taz;
  font-size: 22px;
  font-weight: 400;
  background: red;
  line-height: normal;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  color: #fff;
}

@media screen and (max-width: 480px) {
  .icon {
    font-size: 20px;
    width: 25px;
    height: 25px;
  }
}

/* tabovi */
.tabs {
  display: flex;
  padding: 0;
}

.tablink {
  background-color: #f1f1f1;
  color: black;
  border: none;
  cursor: pointer;
  padding: 1rem 1rem;
  font-size: 1rem;
  width: 50%;
  font-family: taz;
  font-weight: 400;
  text-align: center;
  color: #000;
  margin: 0;
}

@media screen and (max-width: 480px) {
.tablink {
    padding: 0.5rem 1rem;
  }
}

.tablink:hover {
  background-color: #ddd;
}

.tablink.active {
  background-color: #ccc;
}

.tabcontent {
  display: none;
  /*padding: 6px 12px;*/
  border-top: none;
}

.tabcontent.active {
  display: block;
}

#matchIdInput {
  width: 30%;
}

@media screen and (max-width: 480px) {
  #matchIdInput {
    width: 50%;
  }
}

.buttons {
  display: flex;
  gap: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  font-size: inherit;
  font-family: inherit;
}

.top-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
}

/* toggle toggle-label */
.toggle-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.toggle-text {
  width: max-content;
  font-family: taz;
  font-size: 1.25rem;
  color: #00a6ed;
  gap: 5px;
}

.toggle {
  width: max-content;
  scale: 1.5;
}

/* voted*/
#voted {
  display: none;
  padding: 0.5rem 0 0 0;
  font-family: taz;
  font-weight: 400;
  font-size: 1.6rem;
  text-align: center;
  color: #dd1335;
}

@media screen and (max-width: 480px) {
  #voted {
    font-size: 1.3rem;
  }
}

.flex-row {
  display: flex;
  justify-content: center;
  align-items: self-start;
  gap: 2rem;
  width: 100%;
}

@media screen and (max-width: 480px) {
  .flex-row {
    flex-direction: column;
    align-items: center;
  }
}

.flex-col {
  width: 100%;
  max-width: 250px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
}

.readers {
    font-family: taz;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    width: 100%;
}

@media screen and (max-width: 480px) {
  .readers {
    font-size: 0.875rem;
    padding-left: unset;
    padding-right: unset;
  }
}