﻿/*    SOCIAL rolling ICONS    */
.social-up {
  font-family: 'Raleway', sans-serif;
  font-size: 0.8em;
  position: fixed;
  top: 120px;
}
.social-up ul {
  padding: 0px;
  -webkit-transform: translate(-305px, 0);
  -moz-transform: translate(-305px, 0);
  -ms-transform: translate(-305px, 0);
  -o-transform: translate(-305px, 0);
  transform: translate(-305px, 0);
}
.social-up ul li {
  display: block;
  margin: 10px; 
  background: rgba(0, 0, 0, 0.26);
  width: 280px; 
  text-align: right;
  padding: 10px; 
  padding: 0px;
  -webkit-border-radius: 0 30px 30px 0;
  -moz-border-radius: 0 30px 30px 0;
  border-radius: 0 30px 30px 0;
  -webkit-transition: all 1s;
  -moz-transition: all 1s;
  -ms-transition: all 1s;
  -o-transition: all 1s;
  transition: all 1s;
}
.social-up ul li:hover {
  -webkit-transform: translate(125px, 0);
  -moz-transform: translate(125px, 0);
  -ms-transform: translate(125px, 0);
  -o-transform: translate(125px, 0);
  transform: translate(125px, 0);
  background: rgba(255, 255, 255, 0.9);
}
.social-up ul li:hover a {
  color: #8c113c;   
  }
.social-up ul li:hover i {
  color: #0566c7;
  background: red;
  -webkit-transform: rotate(360deg);
  -moz-transform: rotate(360deg);
  -ms-transform: rotate(360deg);
  -o-transform: rotate(360deg);
  transform: rotate(360deg);
  -webkit-transition: all 1s;
  -moz-transition: all 1s;
  -ms-transition: all 1s;
  -o-transition: all 1s;
  transition: all 1s;
}
/*--------------------------------------------------------- my   */
.social-up ul li:hover i {
  margin-left: 10px;
  padding: 10px;
  color: blue;
}
.social-up ul li i {
  margin-left: 0px;
/*  color: rgba(140, 17, 60, 0.90); */
  color: rgba(255, 255, 255, 0.80);
  background: #fff;
  padding: 0px;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 20px;
  background: rgba(0, 0, 0, 0.0);
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -ms-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
}
/*----------------------------------------------------------------------------
----------------------------   VARIAZIONE BANNER IN FONDO --------------------
------------------------------------------------------------------------------*/
.social-container {
  width: 300px;
  margin: 5vh auto;
  text-align: center;
}

.social-icons {
  padding: 0;
  list-style: none;
  margin: em;
}
.social-icons li {
  display: inline-block;
  margin: 0.0em;
  position: relative;
  font-size: 1.2em;
}
.social-icons i {
  color: #fff;
  position: absolute;
  top: 18px;
  left: 20px;
  transition: all 265ms ease-out;
}
.social-icons a {
  display: inline-block;
}

.social-icons a:before {
  transform: scale(1);
  -ms-transform: scale(1);
  -webkit-transform: scale(1);
  content: " ";
  width: 60px;
  height: 60px;
  border-radius: 100%;
  display: block;
  background: linear-gradient(45deg, #8c113c, #ff003c);
  transition: all 265ms ease-out;
}

.social-icons a:hover:before {
  transform: scale(0);
  transition: all 265ms ease-in;
}
.social-icons a:hover i {
  transform: scale(2.2);
  -ms-transform: scale(2.2);
  -webkit-transform: scale(2.2);
  color: #ff003c;
  background: -webkit-linear-gradient(45deg, #8c113c, #ff003c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 265ms ease-in;
}
.social-icons a.social-square:before {
  background: linear-gradient(45deg, #7b00e0, #ae31d9);
  border-radius: 10%;
}
.social-icons a.social-square:hover:before {
  transform: rotate(-180deg);
  -ms-transform: rotate(-180deg);
  -webkit-transform: scale(-180deg);
  border-radius: 100%;
}
.social-icons a.social-square:hover i {
  transform: scale(1.6);
  -ms-transform: scale(1.6);
  -webkit-transform: scale(1.6);
  color: #fff;
  transform: scale(1.6);
  -webkit-text-fill-color: #fff;
}

/* Full-width video */
.full-width {
  width: 100vw; 
  height: calc(100vw * var(--ratio) * 2);
}

/* Constrained */
.max-width {
  --container-width: 100vw;
  
  height: calc(100vw * var(--ratio));
  max-height: calc(var(--container-width) * (var(--ratio) * 12));

  width: 100%;
  max-width: var(--container-width);  
}

iframe {
  display: block;
  margin: 0 auto 1em;
}
