body {
    user-select: none; /* Evita seleção de texto no body */
    margin: 0;
    height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;

    font-family: "Pixelify Sans", sans-serif;
    color: #FE4494;
    font-style: normal;
    cursor: url('./cursor/cursor.png'), auto;
    background: url('./images/layout/pastelsky.gif') no-repeat center center;
    background-size: cover;
}



#container-jogo {
    position: relative;
    width: 370px;
    height: 400px;

    background-image: url('./images/layout/fundobased.png');
    background-size: auto;
    background-repeat: no-repeat;
    background-position: center;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    
    user-select: none;
}


.slider {
  position: absolute;
  top: 62px;
  width: 346px;
  height: 190px;
  overflow: hidden;
}


#background {
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  
}

#background img {
  cursor: url('./cursor/cursor.png'), auto;
}

.arrow {
  position: absolute;
  top: 50%;
  width: 40px;
  height: 40px;
  cursor: url('./cursor/cursorhover.png'), pointer;
  user-select: none;
  transform: translateY(-50%);
  z-index: 10;
}

#left-arrow {
  left: 10px;
}

#right-arrow {
  right: 10px;

}




.interfacenova {
    position: absolute;
    top: 220px;
    left: 185px;
    transform: translate(-50%, -50%);
    width: 346px;
}



#blusaroupa {
    position: absolute;
    top: 49.5%;
    left: 50%;
    transform: translate(-152%, -50%) translateY(80px); 

    width: 73px;
    height: auto;
    cursor: pointer;
}



#calcaroupa {
    position: absolute;
    top: 49.5%;
    left: 50%;
    transform: translate(-52%, -50%) translateY(80px); 

    
    width: 73px;
    height: auto;
    cursor: pointer;
}




#chapeuroupa {
    position: absolute;
    top: 49.5%;
    left: 50%;
    transform: translate(46%, -50%) translateY(80px); 
    width: 73px;
    height: auto;
    cursor: pointer;
}



#personagem img {
    display: none;
}

#personagem img[src] {
    display: block;
}


#personagem-blusa {
  position: absolute;
  width: 120px;
  height: 110px;
  top: 140px;
  left: 125px;
  z-index: 2;


}

#personagem-calca{
  position: absolute;
  width: 250px;
  height: 230px;
  top: 43px;
  left: 60px;
  z-index: 1;
}

#personagem-acessorios{
  position: absolute;
  width: 200px;
  height: 110px;
  top: 90px;
  left: 40px;
  z-index: 3;
}


#blusaroupa,
#calcaroupa,
#chapeuroupa {
  cursor: url('./cursor/cursorhover.png'), pointer;
}


#opcoes-itens {

  position: absolute;
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  margin-top: 71%;
  z-index: 2;
  width: 75px;
  height: 75px;

}

#opcoes-itens img{

    cursor: url('./cursor/cursorhover.png'), pointer;
    

}



#opcoes-itens img:hover {
  transform: scale(0.9);
}




.selecionado {
  opacity: 0.6;
  transition: opacity 0.3s ease;
}





.opcao-img {

  width: 80px;
  height: auto;
  margin: 5px;
  margin-top: 25px;
  cursor: pointer;
  transition: transform 0.2s;
}

.opcao-img:hover {
  transform: scale(1.05);
}


#personagem-acessorios {
    position: absolute;
    top: 55px;
    left: 150px;
}

#personagem-acessorios img {
    position: absolute; 
    width: 70px;
}


.janela-controles {
    user-select: none;
    position: absolute;
    top: 25px;
    right: 10px;
    display: flex;
    gap: 10px;
}

.janela-controles img {
    width: 25px;
    height: 25px;
    cursor: url('./cursor/cursorhover.png'), pointer;
    user-select: none;
}

#fechar:hover,
#minimizar:hover,
#maximizar:hover {
    transform: scale(0.9);
}

#left-arrow:hover,
#right-arrow:hover {
    opacity: 0.7;
  transition: opacity 0.2s ease;
}

img {
  -webkit-user-drag: none;
  user-select: none;
  
}
