
#body {
    margin: 0;
    padding: 0;
    background-image: url('http://twistedsifter.com/wp-content/uploads/2013/05/animated-gifs-of-fighting-game-backgrounds-47.gif');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;

}

.hidden {
  display: none; /* Hide the playerinfo element */
}
/* PROGRESS BAR */

.progressbar{
  position: absolute;
    top: 13%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-radius: 1rem;
 visibility: hidden;

}

.pbplayer1 {
  width: 30%;
}
.pbplayer2{
  width: 30%;
}

#score-text{
color: brown;
}
#myProgress {
   width: 100%; 
  border-radius: 10rem;
  border: 2px solid darkred;
  
  height: 25px;
 }
#score-text{
  position: absolute;
  margin-top: 2rem;
  
}

#mybar {
  
  width: 1%;
  height: 25px;
  background-color: chocolate;
  border-radius: 10rem;
  border: 2px solid darkred;
}
#mybar2 {
  
  width: 1%;
  height: 25px;
  background-color: chocolate;
  border-radius: 10rem;
  border: 2px solid darkred;
}


.navigatebg{
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}


  /* main next button */

  .nextbtn{
    display: flex;
    justify-content: flex-end;
  

  }


  .btn-class-name {
    --color: 180,255, 100;
    border-radius: .5em;
    transition: .3s;
    background-color: rgba(var(--color), .2);
    color: rgb(var(--color));
    fill: rgb(var(--color));
    font-family: monospace;
    font-weight: bolder;
    font-size: x-large;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    border: 2px solid rgb(var(--color));
    box-shadow: 0 0 10px rgba(var(--color), .4);
    outline: none;
    display: flex;
    align-items: center;
    padding: .5em 1em;
  }
  
  .btn-class-name:hover {
    box-shadow: 0 0 0 5px rgba(var(--color), .5);
  }
  
  .btn-class-name span {
    transform: scale(.8);
    transition: .3s;
  }
  
  .btn-class-name:hover span {
    transform: scale(1);
  }
  
  .btn-class-name svg {
    font-size: 0;
    transform: scale(0.5) translateX(0%) rotate(-180deg);
    transition: .3s;
  }
  
   .btn-class-name:hover svg {
    font-size: 20px;
    transform: scale(1) translateX(20%) rotate(0deg);
  }
   
  #back {
    font-size: 20px;
    transform: scale(-1) translateX(20%) rotate(0deg);
    
  }
  .btn-class-name:active {
    transition: 0s;
    box-shadow: 0 0 0 5px rgb(var(--color));
  }



  /* playerinfocard */

.playerinfo{
    display: flex;
    justify-content: center;
    
}


  .card {
    width: 190px;
    height: 135px;
    padding: 0.5rem;
    background: rgba(198, 198, 198, 0.34);
    border-radius: 8px;
    backdrop-filter: blur(5px);
    border-bottom: 3px solid rgba(255, 255, 255, 0.440);
    border-left: 2px  rgba(255, 255, 255, 0.545) outset;
    box-shadow: -40px 50px 30px rgba(0, 0, 0, 0.280);
    transform: skewX(10deg);
    transition: .4s;
    overflow: hidden;
    color: white;
    margin: 1rem;


  }
  
  .card:hover {
    height: 254px;
    transform: skew(0deg);
  }
  
  .align {
    padding: 1rem;
    display: flex;
    flex-direction: row;
    gap: 5px;
    align-self: flex-start;
  }
  
  .red {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ff605c;
    box-shadow: -5px 5px 5px rgba(0, 0, 0, 0.280);
  }
  
  .yellow {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ffbd44;
    box-shadow: -5px 5px 5px rgba(0, 0, 0, 0.280);
  }
  
  .green {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #00ca4e;
    box-shadow: -5px 5px 5px rgba(0, 0, 0, 0.280);
  }
  
  .card h1 {
    text-align: center;
    margin: 1.3rem;
    color: rgb(218, 244, 237);
    text-shadow: -10px 5px 10px rgba(0, 0, 0, 0.573);
  }
  
  /* play button */

  .playbtn{
    
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    
  }

  .button {
    width: 140px;
    height: 40px;
    display: flex;
    /* align-items: center; */
    
    gap: 10px;
    padding: 0px 15px;
    background-color: red;
    border-radius: 10px;
    border: none;
    color: white;
    position: relative;
    cursor: pointer;
    font-weight: 900;
    transition-duration: .2s;
    
  }
  
  .game path {
    color: white;
  }
  
  .button .arrow {
    position: absolute;
    right: 0;
    padding: 0px 5px;
    width: 30px;
    height: 100%;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .button:hover,
  .button:focus {
    background-color: black;
    transition-duration: .2s;
  }
  
  .button:hover .arrow {
    animation: slide-right .6s ease-out both;
  }
  /* arrow animation */
  @keyframes slide-right {
    0% {
      transform: translateX(-10px);
      opacity: 0;
    }
  
    100% {
      transform: translateX(0);
      opacity: 1;
    }
  }
  
  .button:active {
    transform: translate(1px , 1px);
    transition-duration: .2s;
  }

/* Styles for the title */
.title {
  font-size: 3rem;
  color: #FF5733;
  font-family: 'Arial', sans-serif;
  text-align: center;
  margin-top: 100px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}


.main-element{
  display: flex;
  justify-content: center;
  align-items: center;

}  

.background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('path/to/your/background-image.jpg') center/cover no-repeat;
  filter: blur(8px);
  opacity: 0.6;
  z-index: -1;
  
}

/* Styles for the title container */
.title-container {
  position: absolute;
  top: 10%;
  left: 50%; 
  transform: translate(-50%, -50%);
  text-align: center;
}

/* Styles for the title */
.title {
  font-size: 6rem;
  color: #FF5733;
  text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.3);
}

/* Styles for the subtitle */
.subtitle {
  font-size: 1.5rem;
  color: #FFC300;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Animations */
.title-container {
  animation: fadeInUp 1s ease-in-out;
}

@keyframes fadeInUp {
  0% {
      opacity: 0;
      transform: translate(-50%, 20%);
  }
  100% {
      opacity: 1;
      transform: translate(-50%, -50%);
  }
}

/* Media Query for Mobile Devices */
@media (max-width: 768px) {
  .title {
      font-size: 3rem; /* Decrease font size for smaller screens */
  }

  .subtitle {
      font-size: 1.2rem; /* Decrease font size for smaller screens */
  }
}

@media (min-width: 769px){
  .charac1 img{
    height: 18rem;
  }
  .charac2 img{
    height: 18rem;
  }
}
/*------ MAIN SCREEN CHARACTER---------- */

.main-screen-chracter{
  display: flex;
  justify-content: space-around;
width: 100%;
  position: absolute;
  top: 60%;
  
  
}
/* 
 .loader{
  display: flex;
  justify-content: center;
display: none; 
 }  */