.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:40px;
  cursor:pointer; 
  position:fixed;
}


/*------------------------------------------------css-----------------------------*/
.txt-contatti-nav{
    font-size: calc(14px + (18 - 14) * ((100vw - 300px) / (1920 - 300)));
    color: #E9E2D2;
    font-family: 'gothic';
}
.dim-nav{
  height: 100vh;
}
.dim-col-nav{
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.logo-nav{
    max-width: 200px;
}
.tit-nav{
  font-size: calc(26px + (38 - 26) * ((100vw - 300px) / (1920 - 300)));
  color: #E9E2D2;
   font-family: 'Fraunces', serif;
   font-weight: 700;
}
.sp-linee{
  padding-left: 5rem;
}

.txt-nav{
  font-size: calc(22px + (34 - 22) * ((100vw - 300px) / (1920 - 300)));
  color: #E9E2D2;
  font-family: 'gothic';
}
.txt-nav-small{
  font-size: calc(16px + (20 - 16) * ((100vw - 300px) / (1920 - 300)));
  color: #E9E2D2;
  font-family: 'gothic';
}
.brd-nav-bot{
  border-bottom:  2px solid #E9E2D2;
  width: 98%;
}

.brd-nav-dx-div{
  border-right:  2px solid #E9E2D2;
}
.brd-nav-dx{
  border-right:  2px solid #E9E2D2;
}
.box-nav{
  padding: 1rem 4rem;
}
.overlay {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  background-color: rgb(0,0,0);
  background-color: #262626;
  overflow-x: hidden;
  transition: 0.4s;
}

.overlay-content {
  position: relative;
  
  width: 100%;
  text-align: left;;
}

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

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

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

@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: 700px) {
  .box-nav {
    padding: 1rem 2rem;
}
.txt-nav {
    margin-bottom: 0rem;
}
.h-mobile-nav{
  padding-top: 2rem;
}
.brd-nav-dx {
    border-right: none; 
}
.overlay .closebtn {
  position: absolute;
  top: -10px;
  left: 10px;
  font-size: 40px;
  z-index: 99999999;
}
.menu-burger{
  font-size:30px;
}
.brd-nav-dx-div{
  border-right:  none;
  border-bottom:  2px solid #E9E2D2;
  width: 98%;
  padding-top: 0.6rem;
}

.tit-nav{
  font-size: calc(26px + (38 - 26) * ((100vw - 300px) / (1920 - 300)));
  color: #E9E2D2;
   font-family: 'Fraunces', serif;
   font-weight: 700;
   padding-top: 1rem;
}
}
