.UI{
    display: none;
    position: relative;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 60px;
    background-color: #372f3a;
    flex: 1;
    padding: 40px 40px;
    border: 3px solid #c5d2ce;
}
.buttons-div{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 100vh;
    width: 100%;
}

.title{
    font-size: 5rem;
    color: #d3d8d9;
    text-align: center;
}

.start{
    font-size: 40px;
    width: 410px;
    border: 3px solid #545e72;
    background-color: #464459;
    color: #c5d2ce;
    margin-bottom: 20px;
    transition: all 0.2s;
}

.start:hover{
    width: 430px;
    padding: 10px 0;
    font-size: 43px;
}

.start:active{
    margin-top: 10px;
}

.settings-container{
    border: none;
    background-color: transparent;
}
.settings,.audio{
    cursor: pointer;
    position: fixed;
    transition: all 1s;
}

.settings{
    right: 50px;
    top: 20px;
}

.audio{
    right: 150px;
    top: 20px;
}

.audio:hover{
    scale: 1.1;
}

.settings:hover{
    rotate: 90deg;
}


.character-stats{
    background-color:#372f3a;
    border: 5px solid #c5d2ce;
    width: 380px;
    padding:15px;
}

.character-stats .container{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 30px 0;
}

.character-stats label{
    font-size: 30px;
    color: white;
}


.character-stats input{
  font-size: 30px;
  text-align: center;
  background-color: transparent;
  border: none;
  color: white;
  width: 50px;
}


.health-player,.stamina{
    color: white;
    font-weight: bold;
    width: 410px;  
    border:4px solid #464459;
    text-align: center;
    
    margin-bottom: 5px;
}

.health-player{
    background-color: #a52a2a;
    font-size: 30px;
    padding: 10px 0;  
}

.stamina{
    background-color: rgb(0, 127, 0);
    font-size: 20px;
    padding: 5px 0;  
}


.ui-buttons{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 417px;
    margin-top: 10px;
}

.ui-buttons button{ 
    font-size: 25px;
    padding: 10px;
    border: 3px solid #464459;
    font-weight: 700;
    flex: 1;
    transition: all 0.2s;
    color: white;
}

/* .ui-buttons button:hover{
    padding: 15px;
} */

.ui-buttons button:active{
    margin-top: 5px;
    opacity: 0.7;
}

.attack{
    background-color: #a52a2a;   
}

.move{
    background-color: #4682b4 ; 
}

.turn{
    background-color: #778899;   
}

.error{
    background-color: transparent;
    color: red;
    border: 2px solid red;
    width: 410px;
    padding: 10px 0px;
    font-size:30px;
    text-align: center;
    margin: 2px;
    display: none;
    transition: all 0.2s;
    margin-top:10px;
}

.turn-modal{
    display: none;
    position: absolute;
    background-color: rgba(0,0,0,0.3);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.level-rewards,.item-rewards{
    position: fixed;
    display: none;
    align-items: center;
    justify-content: space-evenly;
    width: 100%;
    height: 100vh;
    background-color: rgba(0,0,0,0.9);
    font-size: 35px;
    color: #d3d8d9;
    z-index: 3;
}

.reward-container{
    text-align: center;
}

.reward-inner-div{
    display: flex;
    align-items: center;
    justify-content: center;
}

.reward-inner-div button,.item-reward-btn{
    font-size: 25px;
    padding:10px 50px;
    border: 3px solid ;
    background-color: #372f3a;
    color: #c5d2ce;
    transition: all 0.2s;
}

.item-rewards{
    font-size: 20px;
}

.item-name{
    font-size: 30px;
}

.item-img{
    position: relative;
}

.item-description{
    font-size: 25px;
    text-align: center;
}

.item-reward-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    background-color: #545e72;
    border:5px solid #c5d2ce;
    height: 500px;
    width: 300px;
}

.enemy-heath-container{
    display: none;
    color: white;
    font-weight: bold;
    width: 300px;  
    border:4px solid #464459;
    text-align: center;
    background-color: #a52a2a;
    margin-bottom: 5px;
    margin-top: 50px;
    position: absolute;
    top: -58px;
    left: -350px;
}


.div-container{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (min-width:0px)and (max-width:541px){
    .UI{
        gap: 20px;
        padding:20px;
        justify-content: space-evenly;
        flex: 1;
    }
    .title{
        font-size: 3rem;
    }
    .character-stats{
        width: 216px;
        border: 2px solid #c5d2ce;
    }
    .character-stats label{
        font-size: 15px;
    }
    .character-stats input{
      font-size: 15px;
      width: 50px;
    }
    .character-stats .container {
        margin: 10px 0;
    }
    .health-player,.stamina{
        font-size: 15px;
        padding:0px;
        width: 250px;
        border: 2px solid #464459;
    }
    .ui-buttons{
        width: 253px;
    }
    .ui-buttons button{
        border: 2px solid #464459;
        padding: 5px 0px;
        font-size: 15px;
    }
   
    .settings,.audio{
        width: 50px;
        height: 50px;
        top:20px;
    }
    .settings{
        left: 0px;
    }
    .audio{
        left: 35px;
    }
    .enemy-heath-container{
        width: 200px;
        font-size: 15px;  
        border:2px solid #464459;
        position: absolute;
        top: -90px;
        left: 50%;
        translate: -50% 0;
    }
    .error{
        font-size: 15px;
        width: 250px;
    }
    .reward-inner-div button,.item-reward-btn{
        font-size: 10px;
        padding:5px 20px;
        border: 1px solid ;
    }
    .level-rewards, .item-rewards {
        font-size: 15px;
    }
    .item-reward-container{
        border:2px solid #c5d2ce;
        height: 150px;
        width: 150px;
    }
    .item-description {
        font-size: 10px;
    }
    .item-name {
        font-size: 15px;
    }

    .start{
        width: 300px;
        font-size: 25px;
    }
    .start:hover{
        width: 430px;
        padding: 10px 0;
        font-size: 35px;
    }
}

@media (min-width:541px)and (max-width:1000px){
    .UI{
        gap: 20px;
        padding:20px;
        justify-content: space-evenly;
        flex: 1;
    }
    .character-stats{
        width: 500px;
        border: 2px solid #c5d2ce;
    }
    .character-stats label{
        font-size: 25px;
    }
    .character-stats input{
      font-size: 25px;
      width: 50px;
    }
    .character-stats .container {
        margin: 10px 0;
    }
    .health-player,.stamina{
        font-size: 25px;
        padding:0px;
        width: 530px;
        border: 2px solid #464459;
    }
    .ui-buttons{
        width: 530px;
    }
    .ui-buttons button{
        border: 2px solid #464459;
        padding: 5px 0px;
        font-size: 25px;
    }
   
    .settings,.audio{
        width: 70px;
        height: 70px;
        top:20px;
    }
    .settings{
        left: 0px;
    }
    .audio{
        left: 55px;
    }
    .enemy-heath-container{
        width: 200px;
        font-size: 20px;  
        border:4px solid #464459;
        position: absolute;
        top: -100px;
        left: 50%;
        translate: -50% 0;
    }
    .error{
        font-size: 25px;
        width: 530px;
    }
    .reward-inner-div button,.item-reward-btn{
        font-size: 25px;
        padding:5px 25px;
        border: 1px solid ;
    }
    .level-rewards, .item-rewards {
        font-size: 30px;
    }
    .item-reward-container{
        border:2px solid #c5d2ce;
        height: 300px;
        width: 300px;
    }
    .item-reward-container img{
        width: 100px;
        height: 100px;
    }
    .item-description {
        font-size: 23px;
    }
    .item-name {
        font-size: 35px;
    }

    .start{
        width: 500px;
        font-size: 35px;
    }
    .start:hover{
        width: 550px;
        padding: 10px 0;
        font-size: 45px;
    }
}

@media (min-width:1001px)and (max-width:1800px){
    .buttons-div{
        translate: 0 -50%;
        top: 50%;
        position: fixed;
    }
    .UI{
        gap: 20px;
        padding:50px 40px;
        justify-content: space-evenly;
        flex: 1;
    }
    .character-stats{
        width: 300px;
        border: 2px solid #c5d2ce;
    }
    .character-stats label{
        font-size: 25px;
    }
    .character-stats input{
      font-size: 25px;
      width: 50px;
    }
    .character-stats .container {
        margin: 10px 0;
    }
    .health-player,.stamina{
        font-size: 20px;
        padding:0px;
        width: 328px;
        border: 2px solid #464459;
    }
    .ui-buttons{
        width: 328px;
    }
    .ui-buttons button{
        border: 2px solid #464459;
        padding: 5px 0px;
        font-size: 20px;
    }
    .settings,.audio{
        width: 70px;
        height: 70px;
        top:20px;
    }
    .settings{
        left: 0px;
    }
    .audio{
        left: 55px;
    }
    .enemy-heath-container{
        width: 200px;
        font-size: 20px;  
        border:4px solid #464459;
        position: absolute;
        top: -100px;
        left: 50%;
        translate: -50% 0;
    }
    .error{
        font-size: 25px;
        width: 328px;
    }
    .reward-inner-div button,.item-reward-btn{
        font-size: 25px;
        padding:5px 25px;
        border: 1px solid ;
    }
    .level-rewards, .item-rewards {
        font-size: 30px;
    }
    .item-reward-container{
        border:2px solid #c5d2ce;
        height: 300px;
        width: 300px;
    }
    .item-reward-container img{
        width: 100px;
        height: 100px;
    }
    .item-description {
        font-size: 23px;
    }
    .item-name {
        font-size: 35px;
    }

    .start{
        width: 500px;
        font-size: 35px;
    }
    .start:hover{
        width: 550px;
        padding: 10px 0;
        font-size: 45px;
    }

   
}