html, body {max-width: 100%;margin: 0;height: 100%;box-sizing: border-box;}
body{overflow-x: hidden; width: 100%; height: 100%;}
#cell_2 { width: 100%;  height: auto; margin: 0; }

#title1 p, #title2 p, #title3 p, #title4 p , #title5 p, #title6 p { transform: translateX(23px)!important}
#title3 p{height: 57px;}


#h1_2 { width: 100%; height: 30px; line-height: 30px; text-align: center; background-color: transparent; transform: translateY(30px); }
#intro-text-2 { height: 150px; margin-bottom: 30px; }
#intro-text-2 p { text-align: center; transform: translateY(30px); }

#body_P3{margin-top: auto;}


h2 { font-size: inherit; font-weight: inherit; margin: 0; padding: 0; }
.scarica { text-decoration: none; }

#P1_game { margin: 80px auto; display: flex; width: 750px; height: 200px; transform: translateY(30%); justify-content: center; }
#P2_game { margin: 100px auto; display: flex; width: 750px; height: 200px; transform: translateY(30%); justify-content: center; }
#P3_game { margin: 120px auto; display: flex; width: 750px; height: 200px; transform: translateY(30%); justify-content: center; }

#P1_game-left { margin-right: auto; position: relative; display: flex; width: 350px; height: 200px; align-items: center; border-radius: 12px; border: 1px solid white; box-shadow: 0 0 10px white; justify-content: center; overflow: hidden; }
#P1_game-right { margin-left: auto; position: relative; display: flex; width: 350px; height: 200px; align-items: center; border-radius: 12px; border: 1px solid white; box-shadow: 0 0 10px white; justify-content: center; overflow: hidden; }
#P2_game-left { margin-right: auto; position: relative; display: flex; width: 350px; height: 200px; align-items: center; border-radius: 12px; border: 1px solid white; box-shadow: 0 0 10px white; justify-content: center; overflow: hidden; }
#P2_game-right { margin-left: auto; position: relative; display: flex; width: 350px; height: 200px; align-items: center; border-radius: 12px; border: 1px solid white; box-shadow: 0 0 10px white; justify-content: center; overflow: hidden; }
#P3_game-left { margin-right: auto; position: relative; display: flex; width: 350px; height: 200px; align-items: center; border-radius: 12px; border: 1px solid white; box-shadow: 0 0 10px white; justify-content: center; overflow: hidden; }
#P3_game-right { margin-left: auto; position: relative; display: flex; width: 350px; height: 200px; align-items: center; border-radius: 12px; border: 1px solid white; box-shadow: 0 0 10px white; justify-content: center; overflow: hidden; }

#Shadow1, #Shadow2, #Shadow3, #Shadow4, #Shadow5, #Shadow6 { 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%); }

#Download1, #Download2, #Download3, #Download4, #Download5, #Download6 { 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, #Download2 p, #Download3 p, #Download4 p, #Download5 p, #Download6 p { color: #a78bfa; }

#written1 { justify-content: flex-start; left: 20px; width: 70%; height: 45%; position: absolute; z-index: 1; bottom: 43px; overflow: visible; }
#written2, #written3, #written4, #written5, #written6 { left: 20px; width: 70%; height: 45%; position: absolute; z-index: 1; bottom: 43px; overflow: visible; }
#written1 p, #written2 p, #written3 p, #written4 p, #written5 p, #written6 p { text-shadow: 1px 1px 4px black; }



#desc1, #desc2, #desc3, #desc4, #desc5, #desc6 { display: flex; height: 70%; }
#desc1 p, #desc2 p, #desc3 p, #desc4 p, #desc5 p, #desc6 p { line-height: 1; transform: translateY(-17px); font-size: 0.9em; }

#desc1 span, #title1 span,
#desc2 span, #title2 span,
#desc3 span, #title3 span,
#desc4 span, #title4 span,
#desc5 span, #title5 span,
#desc6 span, #title6 span { background: rgba(107,107,107,0.85); padding: 0 5px; border-radius: 4px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

#body_P1_2 { width: 100%; height: auto; margin-top: 0; padding-top: 0; display: inline-block; position: relative; overflow: hidden; margin: auto;}

#stars-container { position: absolute; width: 100%; height: auto; top: 0; left: 0; overflow: visible; }
.star { position: absolute; background: white; border-radius: 50%; animation: twinkle 3s infinite alternate; }
@keyframes twinkle { 0% { opacity: 0; } 100% { opacity: 1; } }

@media (max-width: 770px) {
  
#cell_2 { width: 100%;  min-height: 2500px;  margin: 0; }


  h2 { font-size: inherit; font-weight: inherit; margin: 0; padding: 0; }

  #P1_game { display: contents; }
  #P1_game-left { width: 350px; height: 200px; margin: auto; margin-top: 75px; align-items: center; border-radius: 12px; border: 1px solid white; }
  #title1 { font-family: 'Nunito', sans-serif; height: 30%; font-size: 18px; display: flex; align-items: center; justify-content: flex-start; transform: translateY(8px) translateX(-24.5px); }
  #desc1 { display: flex; height: 70%; transform: translateY(8px); }
  #text_click1 { position: absolute; transform: translateY(-17px); }

  #P1_game-right { width: 350px; height: 200px; margin: auto; margin-top: 75px; align-items: center; border-radius: 12px; border: 1px solid white; }
  #desc2, #title2 { transform: translateY(8px); }
  #title2 { justify-content: flex-start; transform: translateY(8px) translateX(-24.5px); }
  #text_click2 { position: absolute; transform: translateY(-17px); }

  #P2_game { display: contents; }
  #P2_game-left { width: 350px; height: 200px; margin: auto; margin-top: 75px; align-items: center; border-radius: 12px; border: 1px solid white; display: flex; justify-content: center; }
  #desc3, #title3 { transform: translateY(8px); }
  #title3 { justify-content: flex-start; transform: translateY(8px) translateX(-24.5px); }
  #text_click3 { position: absolute; transform: translateY(-17px); }

  #P2_game-right { width: 350px; height: 200px; margin: auto; margin-top: 75px; align-items: center; border-radius: 12px; border: 1px solid white; display: flex; justify-content: center; }
  #desc4, #title4 { transform: translateY(8px); }
  #title4 { justify-content: flex-start; transform: translateY(8px) translateX(-24.5px); }
  #text_click4 { position: absolute; transform: translateY(-17px); }

  #P3_game { display: contents; }
  #P3_game-left { width: 350px; height: 200px; margin: auto; margin-top: 75px; align-items: center; border-radius: 12px; border: 1px solid white; display: flex; justify-content: center; }
  #desc5, #title5 { transform: translateY(8px); }
  #title5 { justify-content: flex-start; transform: translateY(8px) translateX(-24.5px); }
  #text_click5 { position: absolute; transform: translateY(-17px); }

  #P3_game-right { width: 350px; height: 200px; margin: auto; margin-top: 75px; align-items: center; border-radius: 12px; border: 1px solid white; display: flex; justify-content: center; }
  #desc6, #title6 { transform: translateY(8px); }
  #title6 { justify-content: flex-start; transform: translateY(8px) translateX(-24.5px); }
  #text_click6 { position: absolute; transform: translateY(-17px); }

  #body_P1_2 { height: 1850px; }
  #stars-container { height: 1850px; }
}

@media (max-width: 750px) {
  #intro-text-2 p { font-size: 0.9em; }
  #intro-text-2 { padding-left: 20px; padding-right: 20px; display: block; }
}

@media (max-width: 600px) {
   #cell_2 { width: 100%;  min-height: 3400px; margin: 0; }

  .delete_2 { display: none; }
}

@media (max-width: 485px) {
  h1 { font-size: 12px; }
  #h1_2 { width: 100%; height: 40px; line-height: 30px; text-align: center; background-color: transparent; }
  .h1_block { display: block; margin-top: -15px; }
}

@media (max-width: 400px) {

   #cell_2 { width: 100%;  min-height: 3500px;  margin: 0 auto; }


  #intro-text-2 { height: 200px; }
}

@media (-webkit-min-device-pixel-ratio: 2) and (pointer: coarse) and (orientation: portrait) {
  #desc1 p, #desc2 p, #desc3 p, #desc4 p, #desc5 p, #desc6 p { font-size: 12.5px; }
  #desc1 p, #desc2 p, #desc3 p, #desc4 p, #desc5 p, #desc6 p,
  #title1, #title2, #title3, #title4, #title5, #title6 { transform: translateY(-12px); }
  #title1, #title2, #title3, #title4, #title5, #title6 { transform: translateY(12px) translateX(-25px); }
}

@media (-webkit-min-device-pixel-ratio: 2) and (pointer: coarse) and (orientation: landscape) {
  #desc1 p, #desc2 p, #desc3 p, #desc4 p, #desc5 p, #desc6 p { font-size: 12.5px; }

}