.game-board{
    height: 100vh;
    padding-top: 3vh;
    align-items: center;
}

.container-cfs{
    padding: 15px;
    box-shadow: inset 0 -5px  rgb(255, 1, 1),  0 5px 20px 0 #a11717;
    text-align: center;
    border-radius: 12px;
    width: 340px;
    border: 3px solid red;
    max-height: 90vh;
    margin: auto;
    position: relative;
    background: linear-gradient(180deg, rgb(255, 255, 255) 0%, #D9FF66 100%);
    /* display: flex;
    flex-direction: column;
    justify-content: space-between; */
}

.area-risultato{
    width: 85%;
    margin: auto;
    font-size: 20px;
	line-height: 26px;
	font-weight: 700;
	padding: 5px 16px 0 16px;
	display: flex;
	justify-content:center;
	color: #66d00f;
	border-radius: 10px;
	background-color: white;
	box-shadow: 6px 6px 10px #bee15a;
}


#area-gioco{
    padding: 10px;
    border: 2px solid red;
    border-radius: 12px;
    background-color: black;
    
}

.game-img{
    visibility:hidden;
}

.btn-img-container{
    width: 85px;
    height: 85px;
 
    border: 3px solid green;
    border-radius: 12px;
    
}

#img-pc{
    /* width: 50%; */
    width: 82px;
    padding: 2px;
    border: 1px solid green;
    border-radius: 12px;
    margin-top: -2px;
    margin-left: -2px;
    
}

#img-giocatore{
    /* width: 50%; */
    width: 82px;
    padding: 2px;
    border: 3px solid green;
    border-radius: 12px;
    margin-top: -2px;
    margin-left: -2px;
    
}

.img-player-pc{
    height: 80px;
}

.img-player-giocatore{
    height: 70px;
}

.button-row{
	padding: 0 20px;
	display: flex;
	gap: 15px;
	justify-content: space-between;
}


.button-row button {
	width: 80px;
	height: 100%;
    display: flex;
    align-items: center;
}

.btn-image{
    width: 100%;
    height: auto;
}

.developed-by{
    margin-top: 4px;
    color:grey;
    font-size: 1.7vh;
    text-align: end;
}

.fontResult {
    font-family: "Bungee Tint", sans-serif;
    font-weight: 900;
    font-size: 30px;
    color: goldenrod;
}

.button-game {
	padding: 8px 13px;
	font-size: 20px;
	text-transform: uppercase;
	text-align: center;
	cursor: pointer;
	outline: none;
	border: none;
	letter-spacing: 1.02px;
	text-decoration: none;
	color: #fff;
	/* font-family: 'ruddy', sans-serif; */
	font-family: "Mountains of Christmas", serif;
	font-weight: 700;
	background-color: #F4F4F6;
	/* background-color: #4c64f2; */
	/* background-image: linear-gradient(to bottom, #cc2e2e, red); */
	border-radius: 16px;
    border: 1px solid red;
	box-shadow: inset 0 -3px rgba(255, 255, 255, 0.5), 0 6px #a11717;
	transition: all 0.1s ease;
	touch-action: manipulation;
}

.button-game:active {
	box-shadow: inset 0 -3px rgba(255, 255, 255, 0.5), 0 4px  #a11717;
	transform: translateY(8px);
}

#fine-gioco > button{
    font-size: 18px;
    padding: 10px;
    border-radius: 12px;
    background-color: rgb(109, 109, 247);
    box-shadow: 5px 5px 5px black;
    color: white;
}


#punteggio{
    font-size: 22px;
}

#punteggio p{
    margin: 0;
}

#num-vincite{
    font-size: 30px;
}

#num-sconfite{
    font-size: 30px;

}

.game-board h2{
    font-size: 20px;
}

.show{
    visibility: visible;
    opacity: 100;
    animation-name: rotation-icon;
    animation-duration: .3s;
    /* background-color:whitesmoke;
    border: 1px solid #3889c4;
    border-radius: 10px; */
}

.loading{
    pointer-events: none;
}

@media screen and (min-width: 650px ){
    .container-cfs{
        /* padding: 15px; */
        box-shadow: inset 0 -5px  rgb(255, 1, 1),  0 5px 20px 0 #a11717;
        text-align: center;
        border-radius: 12px;
        width: 600px;
        border: 3px solid red;
        max-height: 90vh;
        margin: auto;
        position: relative;
        background: linear-gradient(180deg, rgb(255, 255, 255) 0%, #D9FF66 100%);
        /* display: flex;
        flex-direction: column;
        justify-content: space-between; */
    }
    .btn-image{
        width: 70%;
        height: auto;
        margin:auto
    }

    .img-player-pc{
        height: 60px;
    }
    
    .img-player-giocatore{
        height: 50px;
    }

    .area-risultato{
        width: 85%;
        margin: auto;
        font-size: 18px;
        line-height: 22px;
        font-weight: 700;
        padding: 5px 16px 0 16px;
        display: flex;
        justify-content:center;
        color: #66d00f;
        border-radius: 10px;
        background-color: white;
        box-shadow: 6px 6px 10px #bee15a;
    }

    .btn-img-container{
        width: 60px;
        height: 60px;
        border: 3px solid green;
        border-radius: 12px;
        
    }
    #img-pc{
        /* width: 50%; */
        width: 58px;
        padding: 2px;
        border: 1px solid green;
        border-radius: 12px;
        margin-top: -2px;
        margin-left: -2px;
        
    }
    
    #img-giocatore{
        /* width: 50%; */
        width: 58px;
        padding: 2px;
        border: 3px solid green;
        border-radius: 12px;
        margin-top: -2px;
        margin-left: -2px;
        
    }
}

@media screen and (min-width: 800px ){
    .game-board{
        height: 100vh;
        padding-top: 15vh;
        align-items: center;
    }

    .container-cfs{
        /* padding: 15px; */
        box-shadow: inset 0 -5px  rgb(255, 1, 1),  0 5px 20px 0 #a11717;
        text-align: center;
        border-radius: 12px;
        width: 790px;
        border: 3px solid red;
        max-height: 90vh;
        margin: auto;
        position: relative;
        background: linear-gradient(180deg, rgb(255, 255, 255) 0%, #D9FF66 100%);
        /* display: flex;
        flex-direction: column;
        justify-content: space-between; */
    }
    .btn-image{
        width: 70%;
        height: auto;
        margin:auto
    }

    .img-player-pc{
        height: 60px;
    }
    
    .img-player-giocatore{
        height: 50px;
    }

    .area-risultato{
        width: 85%;
        margin: auto;
        font-size: 18px;
        line-height: 22px;
        font-weight: 700;
        padding: 5px 16px 0 16px;
        display: flex;
        justify-content:center;
        color: #66d00f;
        border-radius: 10px;
        background-color: white;
        box-shadow: 6px 6px 10px #bee15a;
    }

    .btn-img-container{
        width: 60px;
        height: 60px;
        border: 3px solid green;
        border-radius: 12px;
        
    }
    #img-pc{
        /* width: 50%; */
        width: 58px;
        padding: 2px;
        border: 1px solid green;
        border-radius: 12px;
        margin-top: -2px;
        margin-left: -2px;
        
    }
    
    #img-giocatore{
        /* width: 50%; */
        width: 58px;
        padding: 2px;
        border: 3px solid green;
        border-radius: 12px;
        margin-top: -2px;
        margin-left: -2px;
        
    }
}

@keyframes rotation-icon {
    from {
        transform: perspective(300px) rotate3d(0, 1, 0, 80deg);
        animation-timing-function: ease-in;
    }
 
    50% {
        transform: perspective(300px) rotate3d(0, 1, 0, -10deg);
        animation-timing-function: ease-in;
    }
 
    to {
        transform: perspective(300px);
        animation-timing-function: ease-in;
    }
 }