.img-nav {
  border-bottom: 2px solid #E9E2D2;
  padding-top: 5%;
}


.white-circle {
  height: 100%;
}

.white-circle:before {
  z-index: 1000;
  content: "";
  top: 0;
  left: 0;
  right: 0;
  height: 60vh;
  background-image: linear-gradient(-180deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.white-circle:after {
  z-index: 1000;
  content: "";
  bottom: 0;
  left: 0;
  right: 0;
  height: 20vh;
  background-image: linear-gradient(0deg, #ebebeb 0%, rgba(235, 235, 235, 0) 100%);
}

.squares {
  height: 100%;
  display: flex;
  justify-content: space-around;
  overflow: hidden;
}

.square {
  -webkit-animation: squares 9.5s linear infinite;
  animation: squares 9.5s linear infinite;
  align-self: flex-end;
  width: 1em;
  height: 1em;
  border-radius: 10rem;
  transform: translateY(100%);
  background: #d8be9524;
}

.square:nth-child(2) {
  height: 1.5em;
  width: 3em;
  -webkit-animation-delay: 1s;
  animation-delay: 1s;
  -webkit-animation-duration: 17s;
  animation-duration: 17s;
  -webkit-filter: blur(5px);
}

.square:nth-child(3) {
  height: 2em;
  width: 2em;
  -webkit-animation-delay: 1.5s;
  animation-delay: 1.5s;
  -webkit-animation-duration: 8s;
  animation-duration: 8s;
  -webkit-filter: blur();
}

.square:nth-child(4) {
  height: 1.5em;
  width: 1.5em;
  -webkit-animation-delay: 0.5s;
  animation-delay: 0.5s;
  -webkit-filter: blur(3px);
  -webkit-animation-duration: 13s;
  animation-duration: 13s;
}

.square:nth-child(5) {
  height: 2em;
  width: 2em;
  -webkit-animation-delay: 4s;
  animation-delay: 4s;
  -webkit-filter: blur(2px);
  -webkit-animation-duration: 11s;
  animation-duration: 11s;
}

.square:nth-child(6) {
  height: 2.5em;
  width: 2.5em;
  -webkit-animation-delay: 2s;
  animation-delay: 2s;
  -webkit-filter: blur(1px);
  -webkit-animation-duration: 9s;
  animation-duration: 9s;
}

.square:nth-child(7) {
  height: 5em;
  width: 5em;
  -webkit-filter: blur(2.5px);
  -webkit-animation-duration: 12s;
  animation-duration: 12s;
}

.square:nth-child(8) {
  height: 3em;
  width: 3em;
  -webkit-animation-delay: 5s;
  animation-delay: 5s;
  -webkit-filter: blur(6px);
  -webkit-animation-duration: 18s;
  animation-duration: 18s;
}

.square:nth-child(9) {
  height: 2em;
  width: 2em;
  -webkit-filter: blur(0.5px);
  -webkit-animation-duration: 9s;
  animation-duration: 9s;
}

.square:nth-child(9) {
  height: 3em;
  width: 3em;
  -webkit-animation-delay: 6s;
  animation-delay: 6s;
  -webkit-filter: blur(0.5px);
  -webkit-animation-duration: 12s;
  animation-duration: 12s;
}

@-webkit-keyframes squares {
  from {
    transform: translateY(100%) rotate(-50deg);
  }

  to {
    transform: translateY(calc(-150vh + -100%)) rotate(20deg);
  }
}

@keyframes squares {
  from {
    transform: translateY(100%) rotate(-50deg);
  }

  to {
    transform: translateY(calc(-150vh + -100%)) rotate(20deg);
  }
}

.menu-burger {
  font-size: calc(14px + (50 - 14) * ((100vw - 300px) / (1920 - 300)));
  cursor: pointer;
}


/*------------------------------------------------css-----------------------------*/
.back-box {
  background-color: transparent;
  border-radius: 1rem;

  border: 0.5px solid #C2C2C2;
}

.sp-colonna {
  padding-left: 2rem;
  padding-right: 2rem;
  padding-bottom: 2rem;
  padding-top: 2rem;
}

.sp-box {
  padding: 1rem;
  padding-top: 0.2rem;
  padding-bottom: 0.2rem;
}

.sp-txt-box {
  padding: 1rem;
}

.freccia {
  max-width: 30px;
}

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

.back-marchi {
  border-left: 0.5px solid #C2C2C2;
  background-color: #F1F1F1;
}




.tit-nav {
  font-size: calc(22px + (50 - 22) * ((100vw - 300px) / (1920 - 300)));
  line-height: calc(22px + (44 - 22) * ((100vw - 300px) / (1920 - 300)));
  color: #191919;
  font-weight: 700;
  margin-bottom: 0px;
  padding-bottom: 1rem;

  text-transform: uppercase;
}

.txt-nav {
  font-size: calc(18px + (24 - 18) * ((100vw - 300px) / (2560 - 300)));
  line-height: calc(18px + (26 - 18) * ((100vw - 300px) / (2560 - 300)));
  color: #191919;
  font-weight: 400;
  margin-bottom: 0px;
  padding-top: 4rem;
  text-transform: uppercase;
}

.txt-nav>span {
  font-weight: 800;
  color: #204896;
}

.txt-nav-marchi {
  font-size: calc(20px + (30 - 20) * ((100vw - 300px) / (1920 - 300)));
  line-height: calc(18px + (26 - 18) * ((100vw - 300px) / (1920 - 300)));
  color: #191919;
  font-weight: 800;
  margin-bottom: 0px;
  padding-top: 2rem;
  text-transform: uppercase;
}

.sub-txt-nav {
  font-size: calc(16px + (20 - 16) * ((100vw - 300px) / (1920 - 300)));
  color: #191919;
  font-weight: 400;
  margin-bottom: 0px;
  text-transform: uppercase;
  padding-top: 0.6rem;
}

.sp-collapse {
  padding-top: 1rem;
  padding-bottom: 1rem;
  margin-bottom: 0rem;
}

.dim-nav {
  height: 100vh;
}

.dim-col-nav {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.sp-row-nav {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.txt-link-nav {
  font-size: calc(12px + (16 - 12) * ((100vw - 300px) / (1920 - 300)));
  color: #F8F4EC;
  margin-bottom: 0.2rem;
}

.txt-link-nav span {
  width: 100%;
  background-color: #262626;
  transition: 250ms linear;
}

.txt-link-nav span:hover {
  background-size: 100% 100%;
}

.loghi-nav {
  max-width: 220px;
  padding-bottom: 1rem;
}

.brd-nav-bot {
  border-bottom: 2px solid #000;
  width: 98%;
}

.brd-nav-dx-div {
  border-right: 2px solid #E9E2D2;
}

.brd-nav-dx {
  border-right: 2px solid #E9E2D2;
}

.box-nav {
  padding: 2rem 4rem;
}

.overlay-content {
  position: relative;

  width: 100%;
  text-align: left;
  ;
}

.overlay a {
  text-decoration: none;
  display: block;
  transition: 0.3s;
  color: #191919;
}

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

.overlay .closebtn {
  position: absolute;
  top: -10px;
  right: 10px;
  font-size: 60px;
  z-index: 99999999;
  color: #191919;
}

@media screen and (max-height: 450px) {
  .overlay a {
    font-size: 20px
  }

  .overlay .closebtn {
    font-size: 40px;
    top: 15px;
    right: 35px;
  }

}

@media only screen and (max-width: 1400px) {
  .sp-colonna {
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 1rem;
    padding-top: 1rem;
  }

  .txt-nav {
    font-size: calc(18px + (20 - 18) * ((100vw - 300px) / (2560 - 300)));
  }

  .sub-txt-nav {
    font-size: calc(16px +(18 - 16)*((100vw - 300px) /(1920 - 300)));
    padding-top: 1rem;
  }
}

@media only screen and (max-width: 700px) {
  .box-nav {
    padding: 1rem 1rem;
    padding-top: 0rem;
    padding-bottom: 2rem;
    i
  }

  .h-mobile-nav {
    padding-top: 2rem;
  }

  .brd-nav-dx {
    border-right: none;
  }

  .overlay .closebtn {
    position: absolute;
    top: -10px;
    right: 10px;
    font-size: 40px;
    z-index: 99999999;
  }

  .menu-burger {
    font-size: 34px;

  }

  .brd-nav-dx-div {
    border-right: none;
    border-bottom: 2px solid #E9E2D2;
    width: 98%;
    padding-top: 0.6rem;
  }

  .nav-item {
    margin-top: -10px;
  }

  .sp-colonna {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .sp-box {
    padding: 1rem;
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
  }

  .sp-txt-box {
    padding: 1rem;
  }

  .freccia {
    max-width: 40px;
  }

  .txt-nav-marchi {
    font-size: calc(20px +(30 - 20)*((100vw - 300px) /(1920 - 300)));
    line-height: calc(18px +(26 - 18)*((100vw - 300px) /(1920 - 300)));
    color: #191919;
    font-weight: 800;
    margin-bottom: 0px;
    padding-top: 0rem;
    text-transform: uppercase;
  }

  .txt-nav {
    padding-top: 2rem;
  }

  .freccia {
    max-width: 20px;
  }
}