/*----------------------------! Preloading ----------------------------*/

#loading-section{
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background: #002f33;
  transition: all 0.5s ease-out;
  z-index: 100000000;
}
#loading-section.fade-out{
  opacity: 0;
}
.loading-text{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 20px;
  color: #66CDAA;
}
.circle-loader{
  position: absolute;
  left: 50%;
  top: 50%;
  width: 200px;
  height: 200px;
  margin: -100px 0 0 -100px;
  border: 3px solid transparent;
  border-top-color: #66CDAA;
  border-bottom-color: #66CDAA;
  border-radius: 50%;
  animation: circleLoader 2s linear;
  animation-iteration-count: infinite;
}
.circle-loader:after,
.circle-loader:before{
  content: "";
  position: absolute;
  border-radius: 50%;
}
.circle-loader:after{
  left: 15px;
  top: 15px;
  right: 15px;
  bottom: 15px;
  border: 3px solid transparent;
  border-top-color: #66CDAA;
  border-bottom-color: #66CDAA;
  animation: circleLoader 1.5s linear;
  animation-iteration-count: infinite;
}
.circle-loader:before{
  left: 5px;
  top: 5px;
  right: 5px;
  bottom: 5px;
  border: 3px solid transparent;
  border-top-color: #66CDAA;;
  border-bottom-color: #66CDAA;
  animation: circleLoader 3s linear;
  animation-iteration-count: infinite;
}
@keyframes circleLoader {
  from{
      transform: rotate(0deg);
  }
  to{
      transform: rotate(360deg);
  }
}


/*----------------------------! Scrollbar----------------------------*/

::-moz-selection  {
  background: #1bf214;
  color: black;
  }
::selection   {
  background: #39f214;
  color: black;
}

::-webkit-scrollbar{
  width:10px;
  height:1px ;
  background: #ccdbde;
  margin-right: 10px;
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
}
::-webkit-scrollbar:hover{
  background-color:#ccdbde;
  border: none;
}
::-webkit-resizer{
  border-radius:30%;
  background-color:#ccc;
  border: none;
  
}
::-webkit-scrollbar-thumb{
  min-height:1px ;
  min-width:10px;
  border-radius:30%;
  background:linear-gradient(0deg, rgba(204,219,222,1) 0%, rgba(19,195,89,1) 100%);
  border: none;
}
::-webkit-scrollbar-thumb:hover{
  background: linear-gradient(0deg, rgba(204,219,222,1) 0%, rgba(19,195,89,1) 100%);
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.8);
  border: none;
}
::-webkit-scrollbar-thumb:active{
  background:linear-gradient(0deg, rgba(204,219,222,1) 0%, rgba(19,195,89,1) 100%);
  border: none;
}


/*----------------------------! Base style----------------------------*/
body {font-family: 'Inter', sans-serif; font-size: 16px; background-color: #ccdbde;}
a {text-decoration: none;}
h1, h2, h3, h4, h5, p {color: #000; padding-bottom: 30px;}
p{line-height: 28px; color: #007976; font-weight: 300;}
i {font-size: 40px;font-weight: bolder;font-family: cursive;}
.big-text {font-size: 70px; font-weight: 900;}
.med-text {font-size: 40px;}
.normal-text {font-size: 20px;}
.small-text {font-size: 14px;}
.intro-text {text-transform: uppercase; font-size: 20px; font-weight: bold;}
.button {
  padding: 18px 28px; 
  background: #007976; 
  color: #fff; 
  display: inline-block; 
  border-radius: 30px 3px 30px 30px;
  -webkit-box-shadow: 0px 10px 13px -7px #000000, 0px 0px 17px 6px rgb(161 175 179 / 68%);
  box-shadow: 0px 10px 13px -7px #000000, 0px 0px 17px 6px rgb(161 175 179 / 68%);
 
}

/* 

Button of the page Project with effect of (hover) the beating heart! 

*/
/* .button::before{
  content: ' ';
  position: absolute;
  top: -50%;
  left: -50%;
  background: linear-gradient(0deg, transparent, #45f3ff,#45f3ff);
  transform-origin: bottom right;
  animation: snake 6s linear infinite;
}
@keyframes snake {
  0%{
    transform: rotate(0deg);
  }
  100%{
    transform: rotate(360deg);
  }
} */




.button:hover{
  animation-name: zoom;
  animation-duration: 1.3s;
  animation-iteration-count: 3;
  animation-direction: normal;
}
@keyframes zoom{
  0%{transform: scale(0.6);}
  25%{transform: scale(0.9);}
  50%{transform: scale(0.8);}
  75%{transform: scale(0.9);}
  100%{transform: scale(0.6);}
}




.m_t{text-align: center; font-weight: bold;}

/*------------------------Animation button-----------------------*/
.button-anim{
  display: inline-block;
  padding: 13px 50px 13px 20px;
  border: 3px solid #fff;
  margin-top: 10px;
  text-decoration: none;
  color: #fff;
  background: rgb(57,97,189);
  background: linear-gradient(180deg, rgba(57,97,189,1) 0%, rgba(45,182,114,1) 100%);
  border-radius: 7px;
  position: relative;
  transition: all 0.4s ease-in-out;
  animation: rotate-effect 3s infinite ease-in-out;
}
/* background: #13c359; */
@keyframes  rotate-effect{

  0% {transform: rotate(0deg);}
  20%{transform: rotate(0deg);}
  40%{transform: rotate(10deg);}
  60%{transform: rotate(-10deg);}
  80%{transform: rotate(0deg);}
  100% {transform: rotate(0deg);}
}

.button-anim:after{
  content: " ";
  width: 30px;
  height: 30px;
  display: block;
  background:url(img/right-arrow24.png) no-repeat center center;
  position: absolute;
  right: 13px;
  top: 7px;
  transition: all 0.3s ease-in-out;
}


.button-anim:hover{
  background: rgb(204,219,222);
  background: linear-gradient(0deg, rgba(204,219,222,1) 0%, rgba(19,195,89,1) 100%);
  border: 5px solid  #004bf9;
  transform: scale(1.1);
}

.button-anim:hover:after{right: 5px;}

/*------------------Smartphone-----------------*/
@media (max-width: 768px) {
  .big-text{font-size: 35px;}
  i{font-size: 30px;}
}


/*------------------! Header-------------------------*/
.header {
  width: 90%;
  position: absolute;
  z-index: 10;
  top: 0;
  left: 55%;
  transform: translateX(-50%);
  padding: 50px;
  display: flex;
  max-width: 1350px;
}
.hea_der {
  width: 50%;
  position: absolute;
  z-index: 10;
  top: 0;
  left: 30%;
  transform: translateX(-50%);
  padding: 50px;
  display: flex;
  max-width: 1350px;
}

.lo_go{
  z-index: 1;
  position:relative;
  top: -50px;
  left: -130px;
}
.logo{
  z-index: 1;
  position:relative;
  left: -90px;
  top: -9px;
  /* top: -17px;
  left: -85px; */
  width: 91px;
  height: 71px;
 
}
.logoimg{
  top: -98px;
  width: 300px;
  position: absolute;
  left: -91px;
}

.menu {
  transition: all 1s cubic-bezier(.215, .61, .355, 1);
  width: 100%;
  z-index: 0;

}

.menu li {
  display: inline-block;
}

.menu li a {
  color: #fff;
  padding: 15px;
  display: block;
}


.home-content h1
{
    font-size: 40px;
    margin-bottom: 40px;
}
.home-content h1::after
{
    content: ' Front-end Developer';
    animation: text-anim 10s forwards infinite;
    /* border-bottom: 3px solid white; */
}
@keyframes text-anim
{
    25%
    {
        content: ' HTML / CSS / JS';
    }
    50%
    {
        content: ' PHP/MySQL';
    }
    75%
    {
      content: ' React.Js'; 
    }
    100%
    {
      content: 'Wordpress ';
    }
}



/* ---------------------menu mobile--------------------- */
.container{

  display: none;
}

.navbar{
  width: 300px;
  height: 100vh;
  background: #262626;
  position: fixed;
  top:0;
  right: -300px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 20% 0 0 60%;
  transition: right .8s cubic-bezier(1, 0, 1);
}

.change{
  right: 0;
}

.hamburger-menu{
  width: 35px;
  height: 30px;
  position: fixed;
  top: 50px;
  right: 55px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}
.line{
  width: 100%;
  height: 3px;
  background:linear-gradient(to right bottom, rgba(126, 213, 111, 0.8), rgba(40, 180, 133, 0.8));
  transition: all 0.8s;
}

.change .line-1{
  transform: rotateZ(-405deg) translate(-8px, 6px);
}
.change .line-2{
  opacity: 0;
}
.change .line-3{
  transform: rotateZ(405deg) translate(-8px, -6px);
}
.nav-list{
  /* text-align: right; */
  margin-left: 40px;
}

.nav-item{
  list-style: none;
  margin: 25px;
  margin-left: -35px;
}

a.nav-link.home {
  margin-right: 13px;
}

/* a.nav-link.contatti {
  margin-right: -30px;
} */

a.nav-link:hover{color: green; font-weight: bold;}
.nav-link{
  text-decoration: none;
  font-size: 22px;
  color: #eee;
  font-weight: 300;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  padding: 3px 0;
}

.nav-link:before,
.nav-link:after{
  content: "";
  width: 100%;
  height: 2px;
  background-color: #007976;
  position: absolute;
  left: 0;
  transform: scaleX(0);
  transition: transform 0.5s;
}
.nav-link:after{
  bottom: 0;
  transform-origin: right;
  
}
a.nav-link.contatti:after{
  bottom: 22px;
}

.nav-link:before{
  top: 0;
  transform-origin: left;
}

.nav-link:hover:before,
.nav-link:hover:after{
  transform: scaleX(1);
}
#contatti{display: none;}



/*-------------------Mediaquery Smartphone Menu--------------------- */
@media (max-width: 768px) {
  /* .cta {display: none;} */
  .menu{
    display: none;
  }
  
  .container{
    display: block;
  }
  .logo{display: none;}
  .log_o{
    z-index: 1;
    position:relative;
    top: -235px;
    left: 35px
    
  }
  .hea_der{display: none;}
  .header{position: fixed;}
  #contatti{display: block;}
}

/*-----------------------------Hero------------------------------------------------*/
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  width: 100%;
  align-items: center;
  background: linear-gradient(0deg, rgba(0, 0, 0, .2), rgba(0, 0, 0, 0.5)), url('img/contatti.jpg') no-repeat center center;
  background-size: cover;
  overflow: hidden;
}

.hero:after{
  content: ' ';
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  top: 0; left: 0;
  background: #000;
  opacity: 0.4

}

.hero__content {
  width: 100%;
  max-width: 1350px;
  margin: 0 auto;
  padding: 30px;
  z-index: 1;
  position: relative;
}

.hero__content h1,
.hero__content p {color: #66CDAA;}

.hero--small{height: 450px; text-align: center;}

/*----------------------------Id Video-----------------------------------*/
#ufficio-video{
  position: absolute;
  bottom: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  z-index: 0;
}

/* @media (max-width: 768px) {
  #ufficio-video{


  }
} */

/*---------------------------! Poster---------------------------*/

.poster{display: flex; height: 100vh;
  width: 100%;
  align-items: center;
}
.poster__img{width: 65%; height: 100%;}
.poster__proj{width: 55%; height: 50%; margin: auto;}
.small{display: none;}
.small_bot{display: block;}
.poster__img img{
  object-fit: cover; 
  width: 100%; 
  height: 100%;
  border-radius: 10px;
  -webkit-box-shadow: 0px 10px 13px -7px #000000, 0px 0px 17px 6px rgba(161,175,179,0.68); 
  box-shadow: 0px 10px 13px -7px #000000, 0px 0px 17px 6px rgba(161,175,179,0.68);
  transform-origin: 50% 65%;
  transition: transform 1s, filter 3s ease-in-out;
  filter: brightness(150%);

}
.poster__img img:hover{
  -webkit-box-shadow: 0px 10px 13px -7px #000000, 0px 0px 17px 6px rgba(75,82,84,0.67); 
  box-shadow: 0px 10px 13px -7px #000000, 0px 0px 17px 6px rgba(75,82,84,0.67);
  cursor: pointer;
  border-radius: 90px 0 90px 0;
  filter: brightness(100%);
  transform: scale(0.9);
}
.poster__content{width: 35%; padding: 50px;}
.poster__content1{display: flex; flex-wrap: wrap; padding: 50px;}
/*--------------Mediaquery Poster Smartphon-----------*/

@media (max-width: 768px) {
  .poster{flex-wrap: wrap;height: auto;}

  .poster__img,
  .poster__content{width: 100%;}
  .small{display: block;}
  .small_bot{display: none;}
  

}

/*--------------Big-Cover---------------*/

.big-cover{
  display: flex;
  padding: 100px 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, .2), rgba(0, 0, 0, 0.9)), url('img/pc.jpg') no-repeat center center;
  background-size: cover;
}

.big-cover__text{
  width: 50%;
  padding: 30px;
}

.big-cover__title{
  width: 50%;
  padding: 50px;
  display: flex;
  align-items: center;
}
/*--------------------------Mediaquery Big-Cover Smartphon-------------------------*/
@media (max-width: 768px) {
  .big-cover{flex-wrap: wrap; height: auto;}

  .big-cover__text,
  .big-cover__title{
    width: 100%;
  }
}

/*------------------------------! Grid------------------------*/

.grid{display: flex; max-width: 1350px; padding: 0 30px; margin: 0 auto;}
.grid .col{width: 100%;}

/*-------------------------Mediaquery Grid Smartphon-----------------------------------*/
@media (max-width: 768px) {
  .grid{flex-wrap: wrap;}
}

/*----------------------! Carousel---------------------------*/


/*! Flickity v2.2.2
https://flickity.metafizzy.co
---------------------------------------------- */

.flickity-enabled {
  position: relative;
}

.flickity-enabled:focus { outline: none; }

.flickity-viewport {
  overflow: hidden;
  position: relative;
  height: 100%;
}

.flickity-slider {
  position: absolute;
  width: 100%;
  height: 100%;
}

/* draggable */

.flickity-enabled.is-draggable {
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.flickity-enabled.is-draggable .flickity-viewport {
  cursor: move;
  cursor: -webkit-grab;
  cursor: grab;
}

.flickity-enabled.is-draggable .flickity-viewport.is-pointer-down {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}

/* ---- flickity-button ---- */

.flickity-button {
  position: absolute;
  background: hsla(0, 0%, 100%, 0.75);
  border: none;
  color: #333;
}

.flickity-button:hover {
  background: white;
  cursor: pointer;
}

.flickity-button:focus {
  outline: none;
  box-shadow: 0 0 0 5px #19F;
}

.flickity-button:active {
  opacity: 0.6;
}

.flickity-button:disabled {
  opacity: 0.3;
  cursor: auto;
  /* prevent disabled button from capturing pointer up event. #716 */
  pointer-events: none;
}

.flickity-button-icon {
  fill: currentColor;
}

/* ---- previous/next buttons ---- */

.flickity-prev-next-button {
  top: 50%;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  /* vertically center */
  transform: translateY(-50%);
  display: none;
}

.flickity-prev-next-button.previous { left: 10px; }
.flickity-prev-next-button.next { right: 10px; }
/* right to left */
.flickity-rtl .flickity-prev-next-button.previous {
  left: auto;
  right: 10px;
}
.flickity-rtl .flickity-prev-next-button.next {
  right: auto;
  left: 10px;
}

.flickity-prev-next-button .flickity-button-icon {
  position: absolute;
  left: 20%;
  top: 20%;
  width: 60%;
  height: 60%;
}

/* ---- page dots ---- */

.flickity-page-dots {
  position: absolute;
  width: 100%;
  bottom: 2px;
  padding: 0;
  margin: 0;
  list-style: none;
  text-align: center;
  line-height: 1;
}

.flickity-rtl .flickity-page-dots { direction: rtl; }

.flickity-page-dots .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 8px;
  background: #333;
  border-radius: 50%;
  opacity: 0;
  cursor: pointer;
}

.flickity-page-dots .dot.is-selected {
  opacity: 0;
}










.li_m{color: rgb(11, 243, 204);font-weight: bold;}




















.main-carousel{padding: 40px 0;}

.carousel-cell{
  height: 350px;
  width: 350px;
  margin-right: 40px;
}

.carousel-cell__content{
  height: 100%;
  width: 100%;
  background: #20e99a;
  border-radius: 100%;
  line-height: 350px;
  text-align: center;
  transition: transform .5s ease;
}
.carousel-cell__content:hover{transform: scale(0.9);}
#cr{background: url(img/c.png) no-repeat center center; background-size: cover;}
#id{background: url(img/i.png) no-repeat center center; background-size: cover;}
#la{background: url(img/Lady\ immobiliare.png) no-repeat center center; background-size: cover;}
/*----------------------------------Panel Blue------------------------*/

.panel-blu{background: #227dd1; padding: 100px 30px;}
.panel-blu__text{display: flex; align-items: center;}
.dot{height: 250px
  ;width: 250px;
  background: #20e99a;
  border-radius: 100%;
  line-height: 250px;
  text-align: center;
  display: inline-block;
  margin-right: 40px;
  margin-bottom: 40px;
}




* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}



.title_form {
  font-family: 'Playfair Display',
      serif;
  font-size: 59px;
  color: black;
  font-weight: 600;
  padding-bottom: 20px;
}

.text_form{
  color: black;
}

.text_form,
input,
textarea,
label {
  font-family: 'Poppins',
      sans-serif;
}

.co_form{
  max-width: 1320px;
  margin: 0 auto;
  padding: 5%;
  text-align: center;
  
}

form {
  max-width: 500px;
  margin: 0 auto;
  text-align: left;
  padding: 30px 0;
  
}

input,
textarea,
label {
  display: block;
  margin: 20px auto;
  width: 100%;
  color: #828282;
  
}

input,
textarea {
  background-color: transparent;
  border: 0;
  border-bottom: 2px solid #828282;
}

input[type=submit] {
  background: linear-gradient(0deg, rgba(204,219,222,1) 0%, rgba(19,195,89,1) 100%);
  padding: 15px 0;
  color: blue;
  font-size: 18px;
  border-bottom: none;
  margin-top: 30px;
  cursor: pointer;
  /* animation: zoomIn;
  animation: zoomIn;
  animation-duration: 6s;
  animation-iteration-count: infinite;
  transition: all .3s ease; */
}

input[type=submit]:hover {
  background: rgb(204,219,222);
  background: linear-gradient(0deg, rgba(204,219,222,1) 0%, rgba(19,195,89,1) 100%);
  border: 5px solid  #004bf9;
  transform: scale(1.1);
}

input,
textarea {
  color: #828282;
  font-size: 18px;
  padding: 10px;
}

input:focus,
textarea:focus {
  outline: 1px solid #828282;
}

.grazie{
  display: flex;
  height: 175px;
  position: absolute;
  top: 315px;
  background: white;
  left: 270px;
  right: 100px;
  text-align: center;
  font-size: 30px;
  font-weight: bolder;
  padding: 50px;
  border-radius: 30px;
  border-width: 71px;
  border-style: solid;
  border-color: #ece7e9 transparent transparent transparent;
  flex-wrap: wrap;
  justify-content: center;
}
.gra-btn{
  position: absolute;
  top: -22px;
  width: 45px;
  font-size: 30px;
  height: 45px;
}





/* POPUP  */
/* .popup {
  position: relative;
  display: inline-block;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
} */

/* The actual popup */
/* .popup .popuptext {
  visibility: hidden;
  width: 160px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 8px 0;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -80px;
} */

/* Popup arrow */
/* .popup .popuptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
} */

/* Toggle this class - hide and show the popup */
/* .popup .show {
  visibility: visible;
  -webkit-animation: fadeIn 1s;
  animation: fadeIn 1s;
} */

/* Add animation (fade in the popup) */
/* @-webkit-keyframes fadeIn {
  from {opacity: 0;} 
  to {opacity: 1;}
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity:1 ;}
} */







/* ------------------------------------FOOTER------------------------------------ */
footer
{
  padding: 80px 0;
  background-image: linear-gradient(to right bottom, rgba(126, 213, 111, 0.8), rgba(40, 180, 133, 0.8));
  background-position: top;
  background-size: cover;
  text-align: center;
  -webkit-box-shadow: 0px 10px 13px -7px #000000, 0px 0px 17px 6px rgba(161,175,179,0.68); 
  box-shadow: 0px 10px 13px -7px #000000, 0px 0px 17px 6px rgba(161,175,179,0.98);
}
.copyright
{
  color: #fff;
  font-size: 15px;
  margin-bottom: 20px;
}
.copyright a
{
  color: #777;
  text-decoration: none;
  font-weight: 600;
}

.icon a
{
  color: #fff;
  font-size: 22px;
  margin: 0 10px;
  transition: .2s linear;
}
.icon a:hover
{
  color: #7ed6df;
}

/* .pra{max-width: 900px; margin: 40px auto; text-align: center;} */

/*----------------------------link Whatsaap-------------------------- */

.wa-link {
  display: inline-block;
  height: 75px;
  width: 75px;
  position: fixed;
  bottom: 20px;
  right: 20px;

}
.imgwa-res{width: 100%;height: auto;}


/*-------Content--------------------*/
.content{max-width: 900px; margin: 40px auto;}

/*-------------------------------! Helpers----------------------------*/

.mt-1{margin-top: 50px;}
.mt-2{margin-top: 100px;}
.mt-3{margin-top: 150px;}

.tp{color: #ed23b2;}
.tw{color: #fff;}
.tb{color: #2ec8c1;}
.tk{color: #5F9EA0;}




@media (max-width: 768px) {
  .mt-sma-0{margin-top: 0}
  .mb-sma-0{margin-bottom: 0}
  /* .content{} */
  .grazie{
    height: 331px;
    left: 40px;
  }
}










*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing:border-box;
  box-sizing: border-box;
}
