body {
  font-family: "Ubuntu", sans-serif;
  /* font-size: 23px !important; */
  font-size: 1.4rem !important;
  --blue-color: #001d94;
  --yellow-color: #ffe101;
  --blue-color-hover: #0008a5;
  --white-color: #fff;
  --white-color-hover: rgb(206, 206, 206);
  width: 100%;
}
.blueBackground {
  background-color: var(--blue-color);
}
.main-content {
  width: 100%;
  height: 100%;
  font-size: 5rem;
  line-height: 1.16;
}
.error_404 .main-content {
  height: unset;
}
/* .left,
.right {
  display: flex;
  align-items: center;
  z-index: 3000;
} */

/* .left {
  background-color: var(--blue-color);
  width: 50%;
  height: 100%;
  left: 0;
  position: fixed;
  top: 0px;
} */
.centere section {
  /* position: absolute; */
  /* height: fit-content !important; */
  /* right: 0; */
  padding-right: 7px;
  /* text-align: right; */
  color: white;
  /* height: 1.1em; */
}
/* .left section * {
  display: block;
}
.left section::before {
}
.left section svg {
  width: 80%;
} */
.appCircles path {
  fill: white;
  stroke: white;
}
/* .right {
  width: 50%;
  height: 100%;
  right: 0;
  position: fixed;
  top: 0px; 
}

.right span {
    position: absolute;
    padding-left: 3px;
    text-align: left;
    left: 0;    
    top: 50%;
} */

/* Animazione 1 */
.text_animation_container {
  position: absolute;
  text-align: left;
  color: var(--yellow-color);
  padding-left: 7px;
  overflow: hidden;
  height: 1.25em;
}

.words_list {
  list-style: none;
  -webkit-animation-name: change;
  -webkit-animation-duration: 30s;
  -webkit-animation-iteration-count: infinite;
  animation-name: change;
  animation-duration: 30s;
  animation-iteration-count: infinite;
  margin: 0;
  padding: 0;
}

.shapes {
  position: absolute;
  z-index: +100;
  width: 100%;
  height: 100%;
}
.shape {
  position: inherit;
}
.shapes svg {
  opacity: 0.3;
  position: fixed;
}

.shapeLarge,
.shapeLarge svg {
  height: 18vmax;
  width: 18vmax;
}
.shapeMedium,
.shapeMedium svg {
  height: 13vmax;
  width: 13vmax;
}
.shapeSmall,
.shapeSmall svg {
  height: 7vmax;
  width: 7vmax;
}

.left .shapes path {
  fill: var(--yellow-color);
}
.right .shapes path {
  fill: var(--blue-color);
}
.shapes section {
  display: inline-flex;
}

body {
  overflow-x: hidden;
}
.main {
  /* height: 100vh; */
}
header h1,
header section svg {
  font-size: 6vmin;
  width: 6vmin;
}
header section svg,
header section h1 {
  display: inline-block;
  font-weight: bold;
}
header section svg {
  margin-right: 0.3rem;
}
.contenuto {
  color: white;
  position: relative;
  /* height: -webkit-fill-available; */
  background-color: var(--blue-color);
  text-align: center;
}
.contenuto p {
  font-family: "Roboto", sans-serif;
}
.privacypolicy .contenuto {
  text-align: left;
}

.custom_gap {
  row-gap: 6rem;
}

body {
  height: 100%;
}
.ocean {
  height: 5%;
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  background: #015871;
}

.wave {
  background: url(../svg/Onda4.svg) repeat-x;
  position: absolute;
  top: -198px;
  width: 6400px;
  height: 198px;
  animation: wave 7s cubic-bezier(0.36, 0.45, 0.63, 0.53) infinite;
  transform: translate3d(0, 0, 0);
}

.wave:nth-of-type(2) {
  top: -175px;
  animation: wave 7s cubic-bezier(0.36, 0.45, 0.63, 0.53) -0.125s infinite,
    swell 7s ease -1.25s infinite;
  opacity: 1;
}

/*.wave1 {
  animation: wave 6s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}
.wave2 {
  left: -300px;
  animation: wave 6s cubic-bezier(0.18, 0.89, 0.32, 1.28) infinite;
}
.wave3 {
  left: +300px;
  animation: wave 8s cubic-bezier(0.18, 0.89, 0.32, 1.28) infinite;
}
 .wave:nth-of-type(2) {
  top: -175px;
  animation: wave 7s cubic-bezier(0.36, 0.45, 0.63, 0.53) -0.125s infinite,
    swell 7s ease -1.25s infinite;
  opacity: 1;
} 

@keyframes wave {
  0% {
    margin-left: 0;
  }
  100% {
    margin-left: -1000px;
  }
}

@keyframes swell {
  0%,
  100% {
    transform: translate3d(0, -25px, 0);
  }
  50% {
    transform: translate3d(0, 5px, 0);
  }
}*/
/*******************/
/*******************/
/*******************/
/*******************/

.backBanner {
  position: relative;
  display: inline-block;
  z-index: 0;
}

.backBanner.backBanner.highlighted::before {
  width: calc(100% + 0.4em);
}

.backBanner.backBannerBlu::before {
  background-color: #001776;
}

.backBanner::before {
  content: "";
  position: absolute;
  display: block;
  top: 50%;
  left: -0.2em;
  font-size: 0.5em;
  margin-top: 0.25em;
  height: 1em;
  transform: translateY(-20%) rotate(0deg);
  transform-origin: center left;
  background-repeat: no-repeat;
  background-position: center right;
  z-index: -1;
}

.pulse {
  animation-name: pulse;
  animation-delay: 1.2s;
  animation-duration: 3000ms;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

.shapeBottom,
.lineBottom {
  position: fixed;
  right: 0vw;
  width: 50vw;
  bottom: 0vw;
  max-height: 50vh;
}
.shapeTop,
.lineTop {
  position: absolute;
  width: 100vw;
  top: 0vw;
  z-index: 3;
  max-height: 33vmin;
}
.lineTop,
.lineBottom {
  z-index: 4;
  margin-top: 6vmin;
}
.lineTop svg {
  width: 100%;
  height: 18vmin;
}
.lineBottom svg {
  width: 100%;
}
.shapeBottom path,
.shapeTop path {
  fill: var(--yellow-color);
}
.error_404 .shapeTop {
  position: relative;
  display: inline-grid;
}

.svgCornerBR {
  position: absolute;
  bottom: 0;
}

.rounded_image {
  border-radius: 10%;
}

header {
  height: 25vmin;
  font-size: 3vw;
  display: flex;
  align-items: center;
}
header h1 {
  color: var(--blue-color);
  width: max-content;
}
.contenuto h1,
.contenuto h3 {
  margin: 5rem 0;
  font-style: italic;
  font-weight: bolder;
}
.contatti .contenuto h3 {
  margin: 0;
}
.comelofacciamo h3 {
  margin: 0;
}

.team_member img {
  animation: animTeamOut 0.4s steps(19) 1;
  -moz-animation: animTeamOut 0.4s steps(19) 1;
  -webkit-animation: animTeamOut 0.4s steps(19) 1;
  -o-animation: animTeamOut 0.4s steps(19) 1;
  display: block;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  transform-style: preserve-3d;
  width: 2000%;
  position: relative;
  z-index: 500;
}
.team_member:hover img {
  animation: animTeamIn 0.4s steps(19) 1;
  -moz-animation: animTeamIn 0.4s steps(19) 1;
  -webkit-animation: animTeamIn 0.4s steps(19) 1;
  -o-animation: animTeamIn 0.4s steps(19) 1;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}
#imgBruno {
  animation: animTeamOut 0.4s steps(18) 1;
  -moz-animation: animTeamOut 0.4s steps(18) 1;
  -webkit-animation: animTeamOut 0.4s steps(18) 1;
  -o-animation: animTeamOut 0.4s steps(18) 1;
}
#imgBruno:hover {
  animation: animTeamIn 0.4s steps(18) 1;
  -moz-animation: animTeamIn 0.4s steps(18) 1;
  -webkit-animation: animTeamIn 0.4s steps(18) 1;
  -o-animation: animTeamIn 0.4s steps(18) 1;
}

.member_image {
  padding: 0 !important;
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
  /* background-color: black;
  background-color: #e5e2e1; */
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  transform-style: preserve-3d;
}
.member_name {
  font-family: "Ubuntu", sans-serif;
  font-weight: bold;
  font-style: italic;
  font-size: 1.666em;
  margin: 2rem 0;
}
.member_name svg {
  width: 3.1vw;
}
.member_name span {
  vertical-align: middle;
}
.member_name span:before {
  vertical-align: middle;
  content: "";
  display: inline-block;
  height: 1em;
  width: 1em;
  background-image: url("../svg/yellow_square.svg");
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 12px;
}

.map iframe {
  width: 100%;
  border-radius: 20px;
}

footer {
  z-index: 100;
  display: flex;
  justify-content: space-between;
  line-height: 1.5;
  font-size: 1rem;
  background-color: var(--blue-color);
  color: white;
  padding-top: 2em;
  padding-right: 1em;
  padding-left: 1em;
  padding-bottom: 1em;
}
.index body {
  overflow: hidden;
}
.index footer,
.error_404 footer {
  bottom: 0;
  position: fixed;
  background-color: transparent;
  width: 100%;
}

footer .footerAddressSmall {
  display: none;
}
footer .footerAddressLarge {
  display: block;
}

footer span {
  display: block;
}
footer .social_icons {
  display: flex;
  right: 0;
  bottom: 0;
  flex-wrap: wrap;
  align-content: center;
  justify-content: space-around;
  align-items: center;
  width: 42vw;
}
footer .social_icons svg {
  width: 6vmin;
}
footer .social_icons path {
  fill: #fff;
}
footer .social_icons path:hover {
  fill: rgb(206, 206, 206);
}
.blueBackground footer .social_icons path {
  fill: var(--blue-color);
}
.blueBackground footer .social_icons path:hover {
  fill: var(--blue-color-hover);
}

.comelofacciamo {
  row-gap: 2rem;
  text-align: left;
}
.comelofacciamo ul {
  line-height: 2;
  font-size: 1.7rem;
}
.trovaci ul li::before,
.comelofacciamo ul li::before {
  vertical-align: middle;
  content: "";
  display: inline-block;
  height: 1em;
  width: 1em;
  background-image: url("../svg/yellow_square.svg");
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 12px;
}
p + p {
  margin-top: 0.8em;
}
p + img {
  margin: 1.8em 0;
}
h3 + p,
h4 + div,
h4 + p {
  margin-top: 1.1em;
}

.trovaci {
  row-gap: 2rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  line-height: 3;
}
.trovaci ul {
  /* line-height: 2.2; */
  font-size: 1.4rem;
}
#zoom::before {
  background-image: url("../svg/zoom.svg");
}
#skype::before {
  background-image: url("../svg/skype.svg");
}
#teams::before {
  background-image: url("../img/teams.png");
}
#meets::before {
  background-image: url("../svg/meets.svg");
}
.contenuto a,
footer a {
  color: white;
  font-style: italic;
  text-decoration: underline;
}

/* PER IL MENU QUANDO VIENE SCROLLATO */
.duck-menu.white {
  color: white;
}
.duck-menu.white span {
  background-color: white;
}

p + h4 {
  margin-top: 2rem;
}

.privacypolicy .contenuto ul li {
  list-style: inherit;
}

.div404 {
  position: relative;
  display: block;
  width: 100vw;
  /* height: 100vh; */
  display: flex;
  flex-direction: row;
  align-content: center;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 1.25rem;
}
.div404 a {
  color: var(--white-color);
}
.div404 a:hover {
  color: var(--white-color-hover);
}
.explaination404 {
  width: 40vw;
}
.explaination404 h1 {
  margin: 0.8em 0;
}
.duck404 img {
  width: unset;
  max-height: 30vmin;
}

@media screen and (max-width: 968px) {
  footer .footerAddressSmall {
    display: block;
  }
  footer .footerAddressLarge {
    display: none;
  }
}
@media screen and (max-height: 750px) {
  .error_404 footer {
    position: relative;
  }
}

@media screen and (max-width: 790px), (max-height: 590px) {
  .div404 {
    flex-direction: column-reverse;
  }
  .explaination404 {
    width: 80vw;
  }
  .shapeBottom,
  .lineBottom {
    /*width: 58vw;
    height: 33vh;*/
    display: none;
  }
  .shapeTop svg,
  .shapeBottom svg {
    height: 100%;
    width: 100%;
  }
  footer .social_icons svg {
    width: 8vmin;
  }
  footer .social_icons {
    justify-content: space-between;
    width: 47vw;
  }
  .blueBackground footer .social_icons path {
    fill: #fff;
  }
  .blueBackground footer .social_icons path:hover {
    fill: rgb(206, 206, 206);
  }
}
@media screen and (min-width: 1894px) {
  .shapeBottom {
    width: unset;
  }
}
@media only screen and (max-width: 48em) {
  /* footer {
    padding-top: 2em;
    padding-right: 1em;
    padding-left: 1em;
    padding-bottom: 0.3em;
  } */
  .main-content {
    font-size: 8.7vw;
  }

  /* .shapeBottom {
    position: absolute;
    right: 0vw;
    width: 0;
    bottom: 0vw;
    z-index: 3;
  } */

  /* .index footer .social_icons path {
    fill: white;
  } */
}
