body{margin: 0;background-color: #0f1115; color: white;  overflow-x: hidden; width: 100%;}

#h1 { width: 100%; line-height: 30px; text-align: center; transform: translateY(30px);}
#intro-text{height: 200px; background-color: #000000;}
#intro-text p{text-align: center; transform: translateY(30px);}

#cell{  width: 100%; margin: 0 auto;  height: 800px; }

h1{font-size: 15px; margin: 0%;}
h2{text-align: center; font-size: 230%; justify-content: center; padding: 0 10%;}
#games-left h3, #games-right h3{font-size: inherit; font-weight: inherit; margin: 0;   padding: 0;}



/*-----*/
#body_P1{height: 700px;  margin: 50px; background-color: black; background-size: cover; background-position: center; background-repeat: no-repeat; position: relative; margin: 0%; }
#body_P1 h2{text-align: center; font-size: 230%; justify-content: center; margin: auto; padding-top: 40px;}

#stars-container { position: absolute; width: 100%; height: 100%; top: 0; left: 0; overflow: hidden; }
.star { position: absolute; background: white; border-radius: 50%; animation: twinkle 3s infinite alternate; }
@keyframes twinkle { 0% { opacity: 0; } 100% { opacity: 1; } }
.s1  { width: 2px; height: 2px; top: 10%; left: 20%; animation-delay: 0s; }
.s2  { width: 3px; height: 3px; top: 25%; left: 55%; animation-delay: 0.5s; }
.s3  { width: 1px; height: 1px; top: 40%; left: 80%; animation-delay: 1s; }
.s4  { width: 2px; height: 2px; top: 60%; left: 15%; animation-delay: 1.5s; }
.s5  { width: 3px; height: 3px; top: 75%; left: 40%; animation-delay: 2s; }
.s6  { width: 1px; height: 1px; top: 15%; left: 70%; animation-delay: 0.3s; }
.s7  { width: 2px; height: 2px; top: 50%; left: 90%; animation-delay: 0.8s; }
.s8  { width: 3px; height: 3px; top: 85%; left: 30%; animation-delay: 1.2s; }
.s9  { width: 1px; height: 1px; top: 35%; left: 5%;  animation-delay: 2.5s; }
.s10 { width: 2px; height: 2px; top: 90%; left: 65%; animation-delay: 0.6s; }

#game{position: relative; display: flex; width: 350px; height: 200px; margin:  50px auto ; align-items: center;   border-radius: 12px; border: 1px solid white ; box-shadow: 0 0 10px white; display: flex;justify-content: center; position: relative; overflow: hidden;}
#Shadow1{ position: absolute; top: 0; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent 60%, rgba(0,0,0,0.7) 80%, rgba(0,0,0,0.95) 100%);}
#game img{ border-radius: 12px; overflow: hidden; width: 100%; height: 100%;position: relative;}
#Download1 { font-size: 15px ; width: 87px; height: 25px; border-radius: 20px; background-color:rgba(139,92,246,0.2);   border: 1px solid rgba(167,139,250,0.4); position: absolute; bottom: 10px; right: 25px; display: flex; justify-content: center; align-items: center; } 
#Download1 p{color:  #a78bfa;}
#typology1{width: 75px; height: 25px; border-radius: 20px; background-color: rgba(255, 157, 29, 0.2); border: 1px solid rgba(255, 158, 12, 0.4); position: absolute; bottom: 10px; left: 25px; display: flex; justify-content: center; align-items: center; }
#typology1 p{color: #ff970f; font-size: 15px;}
#written {  left: 20px ;  width: 70%; height: 45%; position: absolute;   z-index: 1; bottom: 43px; overflow: visible; }
#written p{ text-shadow: 1px 1px 4px black;}
#title { font-family: 'Nunito', sans-serif; height: 30%;  font-size: 18px;display: flex; align-items: center;}
#desc{display: flex; height: 70%; }
#desc p {line-height:1;}
#desc span,
#title span {background: rgba(107, 107, 107, 0.85); padding: 0 5px; border-radius: 4px;box-decoration-break: clone;-webkit-box-decoration-break: clone;}
#desc p{transform: translateY(-17px); font-size: 0.9em; }   
.scarica{text-decoration: none;}

#game2-container { padding-top: 10px; width: 400px; height: 100px; margin: auto; overflow: hidden; }
#game2 {margin: 0 auto; display: block; width: 350px; height: 200px; border-radius: 12px; border: 1px solid white; box-shadow: 0 0 10px white;}

#body_P1 a:not(.scarica) {margin: 0 auto; color: inherit; text-decoration: none; cursor: pointer;   display: flex;justify-content: center; align-items: center; font-size: 20px; 
    border: 1px #424242 solid ; border-radius: 999px;  padding: 5px 20px;  position: absolute;  display: inline-flex; display: flex;}
#body_P1 a:hover:not(.scarica) {text-decoration: underline 1px;text-decoration-color: white;text-underline-offset: 4px;  }
#body_P1 a:not(.scarica){ left: 50%;transform: translateX(-50%);  justify-content: center; margin-top: 40px;}

/*-----*/
#body_P2{ flex-direction: column; justify-content: flex-start;margin: 0 auto;  height: 600px; background-color:#121927 ; display: flex;  padding-top: 50px;}
#body_P2 h1{margin-bottom: 120px;}

#games{ width: 700px; height: 200px; margin:  50px auto ; align-items: center;   border-radius: 12px; border: 1px solid #616161b9 ; background: #2b2b2bb9; display: flex;justify-content: center;   }
#games img{width:200px ; height:200px ; margin-top: -50px ;}
#games-left{border-right: white 1px solid; width: 50%; height: 50%; text-align: center; }
#games-left h3 { margin-bottom: 10px; }
#games-left image {  justify-content: center;}


#games-right{ width: 50%; height: 50%; text-align: center;}
#games-right h3 { margin-bottom: 10px; }
#games-left image {  justify-content: center; }



#body_P2 a{color:white ; text-align: center; text-decoration: none; font-size: 20px; display: inline-block; width: fit-content; margin: 0 auto;}
#body_P2 a:hover {text-decoration: underline 1px;text-decoration-color: white;text-underline-offset: 4px;  }

/*-----*/


.Logo{ position: absolute;top: 90px; right: 250px; font-size: 25px; margin: auto; }


@media (max-width: 760px) {

#body_P1 h2{text-align: center; font-size: 180%; justify-content: center; margin: auto; padding-top: 40px;}
h2{text-align: center; font-size: 180%; justify-content: center; padding: 0 10%;}

#games{ width: 600px; height: 180px; margin:  50px auto ; align-items: center;   border-radius: 12px; border: 1px solid #616161b9 ; background: #2b2b2bb9; display: flex;justify-content: center;}
#games img{width:180px ; height:180px ; margin-top: -45px ;}
#games-left{border-right: white 1px solid; width: 50%; height: 50%; text-align: center; }
#games-left h3 { margin-top: -5px; font-size: 0.9em; }
#games-left image {  justify-content: center;}

#games-right{ width: 50%; height: 50%; text-align: center;}
#games-right h3 { margin-top: -5px; font-size: 0.9em; }
#games-left image {  justify-content: center;}


}    


@media (max-width: 1150px) {

#body_P1{height: 750px;}


} 



@media (max-width: 952px) {

#body_P1{height: 750px;}


.Logo{right: 190px;}

} 

@media (max-width: 750px) {


.Logo{right: 160px;}

#intro-text p{font-size: 0.9em;}
#intro-text {padding-left: 20px; padding-right: 20px; display: block;}


}

@media (max-width: 700px) {


body{margin: 0;background-color: #0f1115; color: white;  }
#cell{  width: 100%; margin: 0 auto;  height: 800px; }


/*-----*/
#body_P1{height: 675px;  margin: auto; background-color: black; }

#game{width: 280px; height: 170px; margin:  50px auto ; align-items: center;   border-radius: 12px; border: 1px solid white ; display: flex;justify-content: center; }
#text-big { display: none; }
#text_click { position: absolute; transform: translateY(-15px); display: none; color: white; text-decoration: underline; cursor: pointer; font-size: 12px; }


#game2{width: 280px; height: 170px; }



#body_P1 a:not(.scarica){margin: 0 auto; color: inherit; text-decoration: none; cursor: pointer;   display: flex;justify-content: center; align-items: center; font-size: 20px; 
    border: 1px #424242 solid ; border-radius: 999px;  padding: 5px 20px;  position: absolute;  display: inline-flex; display: flex;}
#body_P1 a:hover:not(.scarica) {text-decoration: underline 1px;text-decoration-color: white;text-underline-offset: 4px;  }
#body_P1 a:not(.scarica){ left: 50%;transform: translateX(-50%); margin-top: 50px;}

/*-----*/
#body_P2{ flex-direction: column; justify-content: flex-start;margin: 0 auto;  height: 550px; background-color:#121927; display: flex;  padding-top: 50px;}
#body_P2 h1{margin-bottom: 70px;}
#game img{  width: 100%;  height: 100%; object-fit: cover;}

}


@media (max-width: 650px) {

#body_P1 h2{text-align: center; font-size: 155%; justify-content: center; margin: auto; padding-top: 40px;}
h2{text-align: center; font-size: 155%; justify-content: center; padding: 0 10%;}

#body_P2{ flex-direction: column; justify-content: flex-start;margin: 0 auto;  height: 450px; background-color:#121927 ; display: flex;  padding-top: 50px;}

#games{ width: 400px; height: 140px;  margin:  50px auto ; align-items: center;   border-radius: 12px; border: 1px solid #616161b9 ; background: #2b2b2bb9; display: flex;justify-content: center; } 
#games img{width:150px ; height:150px ; margin-top: -40px ;}
#games-left{border-right: white 1px solid; width: 50%; height: 50%; text-align: center; }
#games-left h3 { margin-top: -5px; font-size: 0.83em; }
#games-left image {  justify-content: center;}

#games-right{ width: 50%; height: 50%; text-align: center;}
#games-right h3 { margin-top: -5px; font-size: 0.83em; }
#games-left image {  justify-content: center;}

#body_P2 a{color:white ; text-align: center; text-decoration: none; font-size: 15px; display: inline-block; width: fit-content; margin: 0 auto; margin-top: -5px;}
#body_P2 a:hover {text-decoration: underline 1px;text-decoration-color: white;text-underline-offset: 4px;  }


.Logo{right: 150px;}

}

@media (max-width: 600px) {

.Logo{right: 135px;}
.delete{display: none;}

}

@media (max-width: 550px) {

.Logo{font-size:20px;}

}

@media (max-width: 550px) {

.Logo{font-size:20px;}

}

@media (max-width: 550px) {

.Logo{font-size:20px;}

}

@media (max-width: 500px) {

#span_P3{display:block;}
.Logo{font-size:20px;}

#body_P3_2 ul{left: 25px ; }
.Logo{right: 85px;}

}

@media (max-width: 750px) {
    
h1{font-size: 12px;}
#h1 { width: 100%; height: 40px; line-height: 30px; text-align: center; }
.h1_block{display: block; margin-top: -15px;}

}


@media (max-width: 400px) {

html, body { overflow-x: hidden; max-width: 100%; }    
    
#body_P1 {justify-content: center;}
#body_P1 h2{text-align: center; font-size: 155%; justify-content: center; margin: auto; padding-top: 40px;}
h2{text-align: center; font-size: 155%; justify-content: center; padding: 0 10%;}

#body_P1{height: 675px;  margin: auto; background-color: black; }

#game{width: 280px; height: 170px; margin:  50px auto ; align-items: center;   border-radius: 12px; border: 1px solid white ; display: flex;justify-content: center; }
#game p{font-size: 0.80em;}
#title{transform: translateY(5px);}
#desc{transform: translateY(5px);}

#game2 { width: 280px; height: 170px; margin: 0 auto; display: block; }
#game2-container{width: 100%;}

#body_P1 a:not(.scarica){margin: 0 auto; color: inherit; text-decoration: none; cursor: pointer;   display: flex;justify-content: center; align-items: center; font-size: 20px; 
    border: 1px #424242 solid ; border-radius: 999px;  padding: 5px 20px;  position: absolute;  display: inline-flex; display: flex;}
#body_P1 a:hover:not(.scarica){text-decoration: underline 1px;text-decoration-color: white;text-underline-offset: 4px;  }
#body_P1 a:not(.scarica){ left: 50%;transform: translateX(-50%);  justify-content: center; margin-top: 50px;}


#body_P2{ flex-direction: column; justify-content: flex-start;margin: 0 auto;  height: 450px; background-color:#121927 ; display: flex;  padding-top: 50px;}

#games{ width: 350px; height: 150px;  margin:  50px auto ; align-items: center;   border-radius: 12px; border: 1px solid #616161b9 ; background: #2b2b2bb9; display: flex;justify-content: center; } 
#games img{width:150px ; height:150px ; margin-top: -40px ;}
#games-left{border-right: white 1px solid; width: 50%; height: 50%; text-align: center; }
#games-left h3 { margin-top: -5px; font-size: 0.70em; }
#games-left image {  justify-content: center;}

#games-right{ width: 50%; height: 50%; text-align: center;}
#games-right h3 { margin-top: -5px; font-size: 0.70em; }
#games-left image {  justify-content: center;}

#body_P2 a{color:white ; text-align: center; text-decoration: none; font-size: 15px; display: inline-block; width: fit-content; margin: 0 auto; margin-top: -5px;}
#body_P2 a:hover {text-decoration: underline 1px;text-decoration-color: white;text-underline-offset: 4px;  }

} 



