.genitore {
  display: table;  
  width: 50%;
  float: left;
  height: min-content;
 
}

.center {
  margin-top: auto;
  width: 100%;
  
  text-align: center;
  
}


.colonne {  
  display: flex;  
} 

.button {
    margin-top: -3%;
    position: absolute;
    background-color:#FFDF2B;
    border: none;
    border-radius: 15px;
    font-size: 28px;
    color: #FFFFFF;
    padding: 20px;
    width: 200px;
    margin-left: -5%;
    text-align: center;
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
    text-decoration: none;
    overflow: hidden;
    cursor: pointer;
    font-family: Aclonica;;
  }

  .button:hover {
    background: #ffed84;
  }
  
  .button:after {
    content: "";
    background: #dbf8db;
    display: block;
    position: absolute;
    padding-top: 300%;
    padding-left: 350%;
    margin-left: -20px!important;
    margin-top: -120%;
    opacity: 0;
    transition: all 0.8s
  }
  
  .button:active:after {
    padding: 0;
    margin: 0;
    opacity: 1;
    transition: 0s
  }

  .modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  }
  
  /* Modal Content */
  .modal-content {
    font-family: Aclonica;
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    border-radius: 3%;
    width: 40%;
    text-align: left;
  }
  
  /* The Close Button */
  .close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
  }

  #myBtn {
    background: none;
    border: 0cm;
    margin:2%;
    cursor: pointer;
    font-family: Aclonica;;
    font-size: medium;
    color: #7d7d7d;
  }

  #myBtn:hover {
    color: #ffed84;

  }

  .tasti{
    font-family: Aclonica;;
    border: 1px;
    border-radius: 5%;
    background-color: #aaaaaa;
    box-shadow: 4px 4px 4px 2px #c4c4c4;
    padding: 1%;
    border-style: solid;
    font-size:15px;
    height: 1em;
    height: calc(1em + 2px);
    width: 1em;
    width: calc(1em + 2px);
    
  }

  .box{
    margin: 4%;
  }

  .description{
    font-family: Arial, Helvetica, sans-serif;
  }

  .card2 {
    box-shadow: 0 2px 4px 0 rgba(0,0,0,0.2);
    transition: 0.3s;
    float: left;
    margin-inline-end: 5%;
    border-radius: 4%;
    width: 20%;
    max-height: fit-content;
    margin-top: 3%;
    padding: 0 -60px;
    
  }
  .card {
    box-shadow: 0 2px 4px 0 rgba(0,0,0,0.2);
    transition: 0.3s;
    float: left;
    margin-inline-end: 5%;
    border-radius: 4%;
    width: 20%;
    max-height: fit-content;
    margin-top: 3%;
    padding: 0 -60px;
    margin-bottom: 3%;
  }
  .ciao{
    float: left;
  }

  .card img{
    width: 100%;
    height:100%;
    object-fit: cover;
  }
  
  .card:hover {
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
  }
  .container {
    padding: 10px ;
    text-align: center;
    
  }

  .contcards{
    float: left;
  }

  .title{
    font-family:Aclonica;
    font-size: medium;
    color: #7d7d7d;
    text-shadow: rgba(0, 0, 0, 0.568);
    margin: 3%;
    
    
  }

 label{
    font-family: Aclonica;
    color: #7d7d7d;
  }
  
  /* Hide the browser's default radio button */
  input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width:30px;
  }
  
 input[type="radio"]:checked + label {
    color: #FFDF2B;
    font-style: normal;
  } 


  .toggle {
    margin-top: 3%;
    --width: 80px;
    --height: calc(var(--width) / 3);
    position: relative;
    display: inline-block;
    width: var(--width);
    height: var(--height);
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.3);
    border-radius: var(--height);
    cursor: pointer;
  }

  .toggle input {
    display: none;
  }

  .toggle .slider {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--height);
    background-color: #ccc;
    transition: all 0.4s ease-in-out;
  }

  .toggle .slider::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: calc(var(--height));
    height: calc(var(--height));
    border-radius: calc(var(--height) / 2);
    background-color: #fff;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease-in-out;
  }

  .toggle input:checked+.slider {
    background-color: #FFDF2B;
  }

  .toggle input:checked+.slider::before {
    transform: translateX(calc(var(--width) - var(--height)));
  }

  .toggle .labels {
    position: absolute;
    top: 8px;
    left: 0;
    width: 100%;
    height: 100%;
    font-size: 12px;
    padding: 2%;
    font-family: Marker Felt, fantasy;
    transition: all 0.4s ease-in-out;
  }

  .toggle .labels::after {
    content: attr(data-off);
    position: absolute;
    right: 20px;
    color: #4d4d4d;
    opacity: 1;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
    transition: all 0.4s ease-in-out;
  }

  .toggle .labels::before {
    content: attr(data-on);
    position: absolute;
    left: 10px;
    color: #ffffff;
    opacity: 0;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.4);
    transition: all 0.4s ease-in-out;
  }

  .toggle input:checked~.labels::after {
    opacity: 0;
  }

  .toggle input:checked~.labels::before {
    opacity: 1;
  }
 
  

