:root {
    --orange: #fd1414;
    --white: #ffffff; 
    --bgColor: #e7b1b138;
    --text:#ffffff;
    --font:sans-serif
  }
  body {
    background-color: var(--bgColor);
    margin: 0px!important;
    padding: 0px!important;
    position: relative;
    color: var(--orange);
    font-size: var(--font);
    font-family: 'MyWebFont', Fallback, sans-serif;
  }
  @font-face {
    font-family: 'MyWebFont';
    src: url('webfont.eot'); /* IE9 Compat Modes */
    src: url('webfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('webfont.woff2') format('woff2'), /* Super Modern Browsers */
         url('webfont.woff') format('woff'), /* Pretty Modern Browsers */
         url('webfont.ttf')  format('truetype'), /* Safari, Android, iOS */
         url('webfont.svg#svgFontName') format('svg'); /* Legacy iOS */
  }
  *{
    box-sizing: border-box;
}
.swing .fa{
    font-size: 80px;
    display: flex;
    justify-content: center;
    padding-top: 50px;
    margin-bottom: 20px;
}
.swing h1{
    font-size: 20px;
    margin-bottom: 10px!important;
}
.swing h3{
    padding: 0 20px;
    font-size: 11px;
    text-align: center;
}
header{
    width: 100%;
    height: 70px;
    background-color: rgb(0,0,0,.4);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 11;
    cursor: pointer;
    display: flex;
}
.header-nav{
    width: 100px;
    height: 70px;
    line-height: 70px;
    background-color: transparent;
    color: var(--text);
    margin: 0 20px;
    font-size: 20px;
    font-weight: 600;
    font-family: sans-serif;
    text-align: center;
   transition: 300ms;
   font-family: sans-serif;
}
.header-nav:hover{
    border-bottom: 4px solid var(--text);
}
.logo{
    background: url(logo.jpeg) no-repeat;
    width: 100px;
    height: 100px;
    background-size: 100px 70px;
    margin-left: 50px;
    border-radius: 50px;
}
.ml-a{
    margin-left: auto;
}
button {
    background-color: var(--white);
    color: var(--text);
    outline: none;
    border: none;
    cursor: pointer;
  }
.wrapper{
    width: 100%;
    height: auto;
}

/* Header */
.large-header {
    position: relative;
    width: 100%;
    background: #333;
    overflow: hidden;
    background-size: cover;
    background-position: center center;
    z-index: 1;
  }
  .main-content{
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    bottom: 0px;
    margin: auto;
    z-index: 2;
  }
  #large-header {
    background-image: url("https://www.marcoguglie.it/Codepen/AnimatedHeaderBg/demo-1/img/demo-1-bg.jpg");
  }
  .main-subsection{
    width: 100%;
    height: auto;
    font-size: 20px;
    color: var(--white);
    padding: 0 170px;
    text-align: center;
    font-weight: 700;
    font-family: sans-serif;
    margin-bottom: 40px;
    text-shadow: 2px 2px 5px var(--orange);
}
.let-us{
    width: auto;
    height: 60px;
    line-height: 60px;
    padding: 0 30px;
    background-color: var(--orange);
    color: var(--white);
    text-transform: capitalize;
    font-size: 20px;
    border-radius: 50px;
    font-family: sans-serif;
    font-weight: 700;
    opacity: 0.7;
    transition: 300ms;
}
.let-us:hover{
    opacity: 1;
}
  .main-title {
    width: 100%;
    text-align: center;
    margin: 0;
    padding: 0;
    color: #f9f1e9;
    text-align: center;
    font-size: 30px;
    font-weight: 800;
    font-family: sans-serif;
    text-shadow: 2px 2px 5px var(--orange);
    /* -webkit-transform: translate3d(-50%, -50%, 0);
    transform: translate3d(-50%, -50%, 0); */
    margin-top: 100px;
    margin-bottom: 10px;
  }
  .demo-1 .main-title {
    text-transform: uppercase;
    font-size: 4.2em;
    letter-spacing: 0.1em;
  }
  .main-title .thin {
    font-weight: 200;
  }
  .about-us-wrapper{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    padding: 50px;
    margin: 50px 0;
  }
  .about-us-wrapper h1{
    text-align: center;
    margin-bottom: 50px;
}
.fa-leaf:before {
    content: "\f06c"
}
  .newspaper {
    column-count: 3;
    column-gap: 40px;
    column-rule: 1px solid lightblue;
    padding: 0 50px;
    color: var(--orange);
    justify-items: center;
  }
  /* swing features */
  .swing-space{
    width: 200px;
  }
  .swing-wrapper{
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
  }
  .swing {
    animation: swing ease-in-out 1s infinite alternate;
    transform-origin: center -20px;
    float:left;
    box-shadow: 5px 5px 10px rgba(0,0,0,0.5);
}
.swing img {
    border: 5px solid #f8f8f8;
    display: block;
}
.swing:after{
    content: '';
    position: absolute;  
    width: 20px; height: 20px;  
    border: 1px solid #999;
    top: -10px; left: 50%;
    z-index: 0;
    border-bottom: none;
    border-right: none;
    transform: rotate(45deg);
}
/* nail */
.swing:before{
    content: '';
    position: absolute;
    width: 5px; height: 5px;
    top: -14px;left: 54%;
    z-index: 5;
    border-radius: 50% 50%;
    background: #000;
}
.about-features{
    width: 100%;
    height: auto;
    margin-top: 60px;
}
.about-features h1{
    text-align: center;
}
.servies-wrapper{
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    padding: 50px;
    justify-content: center;
}
 /* flip card */
 .flip-card {
    background-color: transparent;
    width: 250px;
    height: 250px;
    perspective: 1000px;
    margin: 10px;
  }
  
  .flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform .6s;
    transform-style: preserve-3d;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  }
  
  .flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
  }
  
  .flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  .flip-card-front, .flip-card-back h1{
    font-size: 20px;
  }
  .flip-card-front {
    background-color: #bbb;
    color: black;
  }
  
  .flip-card-back {
    background-color: #2980b9;
    color: white;
    transform: rotateY(180deg);
  }
.circle-1{
    width: 340px;
    height: 340px;
    background: #FFD6B3;
    border-radius: 100%;
    position: absolute;
    transform: scale(.5);
    transition: 300ms;
    text-align: center;
    line-height: 340px;
    font-size: 2.4em;
    font-weight: 800;
    left: -60px;
    top: -40px;
}
.circle-2{
    width: 230px;
    height: 230px;
    background: #DBEBE6;
    border-radius: 100%;
    position: absolute;
    left: 14rem;
    transform: scale(.5);
    transition: 500ms;
    line-height: 230px;
    font-size: 2.4em;
    font-weight: 800;
    text-align: center;
}
.circle-3{
    width: 270px;
    height: 270px;
    background: #EAF9FF;
    border-radius: 100%;
    position: absolute;
    top: 11rem;
    left: -4rem;
    transform: scale(.5);
    transition: 700ms;
    line-height: 270px;
    font-size: 2.4em;
    font-weight: 800;
    text-align: center;
}
.circle-4{
    width: 270px;
    height: 270px;
    background: #FCE699;
    border-radius: 100%;
    position: absolute;
    top: 10rem;
    left: 10rem;
    transform: scale(.5);
    transition: 900ms;
    line-height: 270px;
    font-size: 2.4em;
    font-weight: 800;
    text-align: center;
}
.text-left{
    font-size: 2rem !important;
    line-height: 3.1rem !important;
    font-weight: 800;
    padding-right: 70px;
   
}
.support-section{
    width: 100%;
    height: auto;
    display: flex;
    padding: 50px;
}
.support-section:hover .circle-1{
    transform: scale(1);
}
.support-section:hover .circle-2{
    transform: scale(1);
}
.support-section:hover .circle-3{
    transform: scale(1);
}
.support-section:hover .circle-4{
    transform: scale(1);
}
.support-left{
    width: 50%;
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 2em;
}
.support-right{
    width: 50%;
    height: 80vh;
    position: relative;
}
@keyframes swing {
    0% { transform: rotate(3deg); }
    100% { transform: rotate(-3deg); }
}


  @media only screen and (max-width: 768px) {
    .demo-1 .main-title {
      font-size: 3em;
    }
  }
  