.icona {
 width: 35px;
 height: 5px;
 background-color: black;
 margin: 6px 0;
 position: relative;
 cursor: pointer;

-webkit-transition: background-color;
 -webkit-transition-duration: 0.5s;
 -webkit-transition-timing-function: ease-in;

-moz-transition: background-color;
 -moz-transition-duration: 0.5s;
 -moz-transition-timing-function: ease-in;

-ms-transition: background-color;
 -ms-transition-duration: 0.5s;
 -ms-transition-timing-function: ease-in;

-o-transition: background-color;
 -o-transition-duration: 0.5s;
 -o-transition-timing-function: ease-in;
}


.trasparenza{
 position: absolute;
 width: 100%;
 height: 100%;
 background-color: grey;
 opacity: 0.6;
 -webkit-transition: opacity;
 -webkit-transition-duration: 1.5s ;
 -webkit-transition-timing-function: easy-in;
 -moz-transition: opacity;
 -moz-transition-duration: 1.5s ;
 -moz-transition-timing-function: easy-in;
 -ms-transition: opacity;
 -ms-transition-duration: 1.5s ;
 -ms-transition-timing-function: easy-in;
 -o-transition: opacity;
 -o-transition-duration: 1.5s ;
 -o-transition-timing-function: easy-in;
 }


.trasparenza:hover{
 opacity: 0.4;
 }


.container{
 position: absolute;
 top: 5%;
 left: 5%;
 border-radius: 100%;
 padding:1%;
 width:35px;
 border: solid 2px red;
 -webkit-transition: border-color,border-radius,padding,margin;
 -webkit-transition-duration: 0.5s,1s,1s,1s;
 -webkit-transition-timing-function: ease-out;
 -moz-transition: border-color,border-radius,padding,margin;
 -moz-transition-duration: 0.5s,1s,1s,1s;
 -moz-transition-timing-function: ease-out;
 -ms-transition: border-color,border-radius,padding,margin;
 -ms-transition-duration: 0.5s,1s,1s,1s;
 -ms-transition-timing-function: ease-out;
 -o-transition: border-color,border-radius,padding,margin;
 -o-transition-duration: 0.5s,1s,1s,1s;
 -o-transition-timing-function: ease-out;
}


.container:hover{
 margin-top: 0.5%;
 margin-left: 0.5%;
 border-radius:5%;
 border-color:black;
 padding:0.5%;
}


.container:hover .icona{
 background-color: red;
}


.overlay {
 height: 100%;
 width: 0;
 position: fixed;
 z-index: 1;
 left: 0;
 top: 0;
 background-color: #070707;
 overflow-x: hidden;
 transition: 0.5s;
}


.overlay-content {
 position: relative;
 top: 5%;
 width: 20%;
 text-align: left;
 margin-top: 30px;
 margin-left: 0px;
}


.overlay a {
 padding: 8px;
 text-decoration: none;
 font-size: 25px;
 color: #818181;
 display: block;
 transition: 0.3s;
}

.overlay a:hover, .overlay a:focus {
 color: #f1f1f1;
}

.overlay .closebtn {
 position: absolute;
 top: 0px;
 left: 235px;
 font-size: 40px;
}


@media screen and (max-height: 450px) {
 .overlay a {font-size: 20px}
 .overlay .closebtn {
 font-size: 40px;
 top: 15px;
 right: 35px;
 }
}


.titolo {
 position: absolute;
 top: 40px;
 left: 50%;
 transform: translate(-50%, -50%);
 text-align: center;
 color: white;
 font-size: 48px;
}

#cssmenu,
#cssmenu ul,
#cssmenu ul li,
#cssmenu ul li a {
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
  line-height: 1;
  display: block;
  position: relative;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
#cssmenu {
  width: 265px;
  font-family: Helvetica, Arial, sans-serif;
  color: #ffffff;
}
#cssmenu ul ul {
  display: none;
}
.align-right {
  float: right;
}
#cssmenu > ul > li > a { /* tasti menu senza sub menu */
  padding: 15px 15px;
  border-bottom: 1px solid #575757;
  cursor: pointer;
  z-index: 2;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  color: #ffffff;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);
  background: #080808;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
#cssmenu > ul > li.active > a,
#cssmenu > ul > li.open > a {
  color: #eeeeee;
  background: #080808;
}
#cssmenu > ul > li > a:hover {
  background: #212121;
}
#cssmenu > ul > li.open > a {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.15);  border-bottom: 1px solid #575757;
}
#cssmenu > ul > li:last-child > a,
#cssmenu > ul > li.last > a {
  border-bottom: 1px solid #575757;
}
.holder {
  width: 0;
  height: 0;
  position: absolute;
  top: 0;
  right: 0;
}
.holder::after,
.holder::before {
  display: block;
  position: absolute;
  content: "";
  width: 6px;
  height: 6px;
  right: 20px;
  z-index: 10;
  -webkit-transform: rotate(-135deg);
  -moz-transform: rotate(-135deg);
  -ms-transform: rotate(-135deg);
  -o-transform: rotate(-135deg);
  transform: rotate(-135deg);
}
.holder::after {
  top: 16px;
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
}
#cssmenu > ul > li > a:hover > span::after,
#cssmenu > ul > li.active > a > span::after,
#cssmenu > ul > li.open > a > span::after {
  border-color: #eeeeee;
}
.holder::before {
  top: 16px;
  border-top: 2px solid;
  border-left: 2px solid;
  border-top-color: inherit;
  border-left-color: inherit;
}
#cssmenu ul ul li a {
  cursor: pointer;
  border-bottom: 1px solid #32373e;
  border-left: 1px solid #32373e;
  border-right: 1px solid #32373e;
  padding: 10px 20px;
  z-index: 1;
  text-decoration: none;
  font-size: 13px;
  color: #eeeeee;
  background: #49505a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
/* sottomenu */
#cssmenu ul ul li:hover > a,
#cssmenu ul ul li.open > a,
#cssmenu ul ul li.active > a {
  background: #424852;
  color: #ffffff;
}
#cssmenu ul ul li:first-child > a {
  box-shadow: none;
}
#cssmenu ul ul ul li:first-child > a {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
#cssmenu ul ul ul li a {
  padding-left: 30px;
}
#cssmenu > ul > li > ul > li:last-child > a,
#cssmenu > ul > li > ul > li.last > a {
  border-bottom: 0;
}
#cssmenu > ul > li > ul > li.open:last-child > a,
#cssmenu > ul > li > ul > li.last.open > a {
  border-bottom: 1px solid #32373e;
}
#cssmenu > ul > li > ul > li.open:last-child > ul > li:last-child > a {
  border-bottom: 0;
}
#cssmenu ul ul li.has-sub > a::after {
  display: block;
  position: absolute;
  content: "";
  width: 5px;
  height: 5px;
  right: 20px;
  z-index: 10;
  top: 11.5px;
  border-top: 2px solid #eeeeee;
  border-left: 2px solid #eeeeee;  -webkit-transform: rotate(-135deg);
  -moz-transform: rotate(-135deg);
  -ms-transform: rotate(-135deg);
  -o-transform: rotate(-135deg);
  transform: rotate(-135deg);
}
#cssmenu ul ul li.active > a::after,
#cssmenu ul ul li.open > a::after,
#cssmenu ul ul li > a:hover::after {
  border-color: #ffffff;
}
