@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  user-select: none;
  color: white;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.nvd-watermark{
  position: fixed;
  top:1vh;
  justify-content: center;
}

.votemenu{
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(247.73deg, rgba(28, 34, 36, 0.786) 8.11%, rgba(28, 34, 36, 0.986) 91.98%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.votemenu-title{
  margin-top: -10vh;
  margin-bottom: 5vh;
}

.votemenu-weapon {
  display: flex;
  justify-content: space-around; 
  flex-wrap: wrap;
}

.votemenu-weaponcard {
  position: relative;
  width: 300px;
  padding: 20px;
  margin: 20px;
  text-align: center;
  transition: transform 500ms ease;
}

#voted {
  transform: scale(1.1); 
  transition: 500ms;
}
.votemenu-weaponcard:hover {
  transform: scale(1.1); 
  transition: 500ms;
}

.weapon-image {
  width: 100%;
  height: auto;
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.6), 0 0 20px rgba(255, 0, 0, 0.2) ;   
}

.weapon-card-name {
  margin-top: -3.8vh;
  font-size: 24px;
  color: white; 
}

.vote-count {
  margin-top: 8px;
  font-size: 22px;
  color: white;
}

.vote-timer {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #333;
  border-radius: 10px;
  padding: 15px 10px 15px 10px;
  width: 80px;
  margin: 0 auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#timer {
  font-size: 2em;
  color: #fff;
  font-weight: bold;
  text-align: center;
  margin: 0;
}


.warning {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 0, 0, 0.5) 25%, transparent 25%, transparent 50%, rgba(255, 0, 0, 0.5) 50%, rgba(255, 0, 0, 0.5) 75%, transparent 75%, transparent);
  background-size: 300px 300px; 
  animation: moveBackground 5s linear infinite;
  display: flex;
}

@keyframes moveBackground {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 100px 100px; 
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  user-select: none;
  color: white;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.nvd-watermark{
  position: fixed;
  top:1vh;
  justify-content: center;
}

.votemenu{
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(247.73deg, rgba(28, 34, 36, 0.786) 8.11%, rgba(28, 34, 36, 0.986) 91.98%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.votemenu-title{
  margin-top: -10vh;
  margin-bottom: 5vh;
}

.votemenu-weapon {
  display: flex;
  justify-content: space-around; 
  flex-wrap: wrap;
}

.votemenu-weaponcard {
  position: relative;
  width: 300px;
  padding: 20px;
  margin: 20px;
  text-align: center;
  transition: transform 500ms ease;
}

#voted {
  transform: scale(1.1); 
  transition: 500ms;
}
.votemenu-weaponcard:hover {
  transform: scale(1.1); 
  transition: 500ms;
}

.weapon-image {
  width: 100%;
  height: auto;
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.6), 0 0 20px rgba(255, 0, 0, 0.2) ;   
}

.weapon-card-name {
  margin-top: -3.8vh;
  font-size: 24px;
  color: white; 
}

.vote-count {
  margin-top: 8px;
  font-size: 22px;
  color: white;
}

.vote-timer {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #333;
  border-radius: 10px;
  padding: 15px 10px 15px 10px;
  width: 80px;
  margin: 0 auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#timer {
  font-size: 2em;
  color: #fff;
  font-weight: bold;
  text-align: center;
  margin: 0;
}


.warning {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 0, 0, 0.5) 25%, transparent 25%, transparent 50%, rgba(255, 0, 0, 0.5) 50%, rgba(255, 0, 0, 0.5) 75%, transparent 75%, transparent);
  background-size: 300px 300px; 
  animation: moveBackground 7s linear infinite;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: -1;
}

.warning-icon{
  width: auto;
  height: 12vh;
  animation: enlargeAndFlip 6s forwards; 
  z-index: 3;
}

.warning > div {
  text-align: center;
  margin-top: -35%;
  padding: 20px;
  border-radius: 15%;
  z-index: 2;
}

.warning h1 {
  margin-top: 3vh!important;
  font-size: 3em;
  color: #9b5629;
  margin: 10px 0;
  font-family: 'Montserrat', sans-serif !important;
  border-bottom: 5px solid #cb7439;
  border-top: 5px solid #cb7439;
  
}
.timer-contenair{
  display: flex;
  justify-content: center;
  align-items: center;
}

#timerWarning {
  display: flex;   
  justify-content: center; 
  align-items: center; 
  width: 80px; 
  height: 80px;
  font-size: 3.5em;
  color: red; 
  font-family: 'Montserrat', sans-serif !important;
  text-shadow: 
    0 0 10px rgba(255, 0, 0, 0.5), 
    0 0 20px rgba(255, 0, 0, 0.4), 
    0 0 30px rgba(255, 0, 0, 0.3), 
    0 0 40px rgba(255, 0, 0, 0.2), 
    0 0 50px rgba(255, 0, 0, 0.1), 
    0 0 60px rgba(255, 0, 0, 0.1), 
    0 0 70px rgba(255, 0, 0, 0.1), 
    0 0 80px rgba(255, 0, 0, 0.1);
  border-radius: 50%;
  background-color: #cb7439; 
}

@keyframes moveBackground {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 100px 100px; 
  }
}

@keyframes enlargeAndFlip {
  from {
    transform: scale(1) rotateY(0deg);
  }
  to {
    transform: scale(1.5) rotateY(360deg);
  }
}

.enlargeAndFlip {
  animation: enlargeAndFlip 1s forwards;
}


.scoreboard {
  position: absolute;
  display: flex;
  right:1.5vw;
  bottom: 15em;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
}

.player-info {
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 10px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 15vw;
  height: 3.5vh;
  margin-bottom: 1.5px;
}

.player-name {
  flex: 1;
  text-align: left;
  font-size: 16px;
  font-weight: bold;
}
.lead{
  color: red;
}
.yourself{
  color: lightgreen;
}
.player-kills {
  display: flex;
  align-items: center;
  text-align: right;
}

.skull-icon {
  margin-left: 5px;
  width: auto;
  height: 20px;
  margin-right: 5px;
  color: white;
}

#timerGame{
  margin-right: 5px;
}

.right-hud {
  position: absolute;
  top : 0;
  right:45%;
  margin:0.5vw;
  padding: 0.5vw;
  background-color: rgba(0, 0, 0, 0.5);   
  display:flex;
  flex-direction: column;
  width:auto;
  font-family: 'Montserrat', sans-serif !important;
}

.right-hud > h {
  padding-left: 0.5vw;
  padding-right:0.5vw;
  text-align: center;
  border-bottom: 1px solid white;
  font-family: 'Montserrat', sans-serif !important;
}

.right-hud > p {
  padding-left: 0.5vw;
  padding-right:0.5vw;
  padding-bottom: -0.3vh;
  text-align: center;
  font-family: 'Montserrat', sans-serif !important;
}