* {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
  background-color: rgb(255, 255, 255);
  margin: 0;
  padding: 0;
  
}
section{
  column-count: 3;
}
.settings-bar {
  width: 100%;
  display: block;
  background: conic-gradient(from 0deg at 80% 50%, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0) 45deg, rgb(102, 119, 145) 85deg, rgb(225, 225, 234) 110deg, rgba(255, 255, 255, 0) 180deg, rgba(255, 255, 255, 0) 360deg),
    linear-gradient(135deg, rgba(246, 248, 249, 0) 0%, rgb(229, 235, 238) 70%, rgb(172, 191, 205) 70.5%, rgb(245, 247, 249) 75%, rgba(255, 255, 255, 0) 100%),
    linear-gradient(70deg, rgba(10, 20, 40), rgb(255, 255, 255) 70px);
  position: fixed;
  border-bottom: 1px solid rgb(20, 10, 10);
  z-index: 99;
}

.titolopagina {
  display: inline-flex;
  font-family: system-ui, Helvetica, sans-serif;
  font-size: 1.8rem;
  color: rgb(50, 60, 60);
  text-shadow: -1px 1px 3px rgba(55, 55, 45, 1);
  position: relative;
  animation: presentazione 2s;
  padding: 3px;
  margin-left: 50px;
}

.container-testo {
  display: block;
  width: 100%;
  margin-left: 0px;
  padding-top: 40px;
  padding-right: 20px;
  margin-bottom: 20px;
  background: conic-gradient(from 0deg at 85% 50%, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.9) 45deg, rgba(123, 154, 147, 0.6) 85deg, rgba(225, 225, 234, 1) 110deg, rgba(255, 255, 255, 0.3) 180deg, rgba(255, 255, 255, 0) 360deg);
}

.testo {
  text-align: justify;
  padding: 12px;
  padding-top: 0px;
  margin: 10px;
  font-family: system-ui, sans-serif;
  font-size: 16px;
  position: relative;
  column-count: 3;
  column-rule: 1px solid gray;
  column-gap: 5%;
}

.testo2 {
  padding: 12px;
  margin: 10px;
  font-family: system-ui, sans-serif;
  font-size: 13px;
  position: relative;
  column-count: 2;
  column-rule: 1px solid gray;
}

/* riquadro dove sono posizionate le immagini */
.riquadro {
  display: inline-block;
  position: relative;
  width: 800px;
  height: 200px;
  padding: 5px;
  margin: 5px;
  border: solid 1px gray;
  background-color: rgb(232, 235, 235);
  font-family: system-ui, sans-serif;
}
.grafEsempio{
  height:25vh;
  min-height: 150px;
}
.grafici {
  position: absolute;
  width:300px;
  min-width:300px;
  transition-duration: 1s;
}
.graficiProp{
  display:flex; 
  justify-content: space-around;
}
.diagrammi{
  display:inline;
  float: center; 
  margin: 20px;
  padding: 10px; 
  border: solid 1px cadetblue;
  background-color: rgb(151, 191, 192);
}
.lineaMedia{
  position: absolute;
  top:2px;
  left:289px;
  height: 130px;
  width: 0;
  border: solid 1.5px rgb(167, 140, 9);
}
.check{
  position: relative;
  padding: 10px;
  top:140px;
  left:20px;
}
/* gauss rossa */
#g1 {
  left: 0px;
}
/* gauss verde */
#g2 {
  left: 170px;
}
/* gauss blu */
#g3 {
  left: 250px;
}
#gd1{ 
  top:90px;
  transform-origin: bottom;
  transform: scale(1.2, 0.8);
}
#gd2{
  top:90px;
  transform-origin: bottom;
  transform: scale(0.6, 1.7);
}
#gd3{
  top:90px;
  transform-origin: bottom;
  transform: scale(1, 1);
}
#gv1{
  top:10px;
  left: 0px;
  transform-origin: bottom;
  transform: scale(1.2, 0.8);
}
#gv2{
  left: 170px;
  top:10px;
  transform-origin: bottom;
  transform: scale(0.6, 1.7);
}
#gv3{
  left: 250px;
  top:10px;
  transform-origin: bottom;
  transform: scale(0.9, 1.1);
}
#applicaMedia:checked~#g1 {
    transform: translateX(140px);
}
#applicaMedia:checked~#g2{
   transform: translatex(-30px);
}
#applicaMedia:checked~#g3{
  transform: translatex(-110px);
}
#applicaDev:checked~#gd1 {
  transform: scale(1, 1);
}
#applicaDev:checked~#gd2 {
  transform: scale(1, 1);
}
#applicaDev:checked~#gd3 {
  transform: scale(1, 1);
}
#applicaMediaDev:checked~#gv1 {
  transform: scale(1, 1);
  transform: translateX(140px);
}
#applicaMediaDev:checked~#gv2 {
  transform: scale(1, 1);
  transform: translatex(-30px);
}
#applicaMediaDev:checked~#gv3 {
  transform: scale(1, 1);
  transform: translatex(-110px);
}
@media screen and (max-width: 900px) {

  .titolopagina {
    font-size: 1.2rem;
  }

  .testo {
    column-count: 1;
    padding: 30px;
  }
  .testo2 {
    column-count: 1;
  }
  .container {
    display: block;
  }
  .graficiProp{
    display:block;
    margin:auto;
    float: center; 
  }
}

@keyframes presentazione {
  0% {
    transform: scale3d(10, 10, 10);
    opacity: 0;
  }

  100% {
    transform: scale3d(1, 1, 1);
    opacity: 0.8;
  }

  0% {
    transform: translateX(200%);
  }

  100% {
    transform: translateX(0);
  }
}