/* Agipo Font */

@font-face {
    font-family: 'Agipo';
    src: url('fonts/Agipo-Italic.eot');
    src: url('fonts/Agipo-Italic.eot?#iefix') format('embedded-opentype'),
        url('fonts/Agipo-Italic.woff2') format('woff2'),
        url('fonts/Agipo-Italic.woff') format('woff'),
        url('fonts/Agipo-Italic.ttf') format('truetype'),
        url('fonts/Agipo-Italic.svg#Agipo-Italic') format('svg');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Agipo';
    src: url('fonts/AgipoLight-Italic.eot');
    src: url('fonts/AgipoLight-Italic.eot?#iefix') format('embedded-opentype'),
        url('fonts/AgipoLight-Italic.woff2') format('woff2'),
        url('fonts/AgipoLight-Italic.woff') format('woff'),
        url('fonts/AgipoLight-Italic.ttf') format('truetype'),
        url('fonts/AgipoLight-Italic.svg#AgipoLight-Italic') format('svg');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Agipo';
    src: url('fonts/AgipoLight-Regular.eot');
    src: url('fonts/AgipoLight-Regular.eot?#iefix') format('embedded-opentype'),
        url('fonts/AgipoLight-Regular.woff2') format('woff2'),
        url('fonts/AgipoLight-Regular.woff') format('woff'),
        url('fonts/AgipoLight-Regular.ttf') format('truetype'),
        url('fonts/AgipoLight-Regular.svg#AgipoLight-Regular') format('svg');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Agipo';
    src: url('fonts/Agipo-Regular.eot');
    src: url('fonts/Agipo-Regular.eot?#iefix') format('embedded-opentype'),
        url('fonts/Agipo-Regular.woff2') format('woff2'),
        url('fonts/Agipo-Regular.woff') format('woff'),
        url('fonts/Agipo-Regular.ttf') format('truetype'),
        url('fonts/Agipo-Regular.svg#Agipo-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Agipo';
    src: url('fonts/Agipo-Bold.eot');
    src: url('fonts/Agipo-Bold.eot?#iefix') format('embedded-opentype'),
        url('fonts/Agipo-Bold.woff2') format('woff2'),
        url('fonts/Agipo-Bold.woff') format('woff'),
        url('fonts/Agipo-Bold.ttf') format('truetype'),
        url('/fonts/Agipo-Bold.svg#Agipo-Bold') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

:root { 
  /* Fonts */
    --headingFont: 'Agipo';
    --bodyFont: 'Agipo';
}

 body {
   background-color: #f2f1ed;
}

.demo-wrap {
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 100%;
}
.demo-wrap::after {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: #000;
  opacity: 0.6;
  z-index: 1;
}
.demo-wrap *{
  z-index: 2;
}
.demo-bg {
  opacity: 0.6;
  left: 0;
  top: 0;
  width: 100%;
  height: auto;  
  background: black;
}


 .wrap {
   position: absolute;
   bottom: 0;
   top: 0;
   left: 0;
   right: 0;
   margin: auto;
   height: 310px;
}
 a {
   text-decoration: none;
   color: #1a1a1a;
}
 h1 {
   margin-bottom: 60px;
   text-align: center;
   font: 300 2.25em 'Lato';
   text-transform: uppercase;
}
 h1 strong {
   font-weight: 400;
   color: #ea4c4c;
}
 h2 {
   margin-bottom: 80px;
   text-align: center;
   font: 300 0.7em 'Lato';
   text-transform: uppercase;
}
 h2 strong {
   font-weight: 400;
}
.countdown {
  max-width: 890px;
  width: 100%;
  display: flex;
  margin: 0 auto;
  justify-content: center;
}
 .countdown .bloc-time {
   margin-right: 45px;
   text-align: center;
}
 .countdown .bloc-time:last-child {
   margin-right: 0;
}
 .countdown .count-title {
   display: block;
   margin-bottom: 15px;
   font: normal 0.94em 'Lato';
   color: #fff;
   text-transform: uppercase;
}
.countdown .figure {
  position: relative;
  float: left;
  height: 80px;
  width: 80px;
  margin-right: 10px;
  background-color: #fff;
  border-radius: 8px;
   -moz-box-shadow: 0 3px 4px 0 rgba(0, 0, 0, 0.2), inset 2px 4px 0 0 rgba(255, 255, 255, 0.08);
  -webkit-box-shadow: 0 3px 4px 0 rgba(0, 0, 0, 0.2), inset 2px 4px 0 0 rgba(255, 255, 255, 0.08);
  box-shadow: 0 3px 4px 0 rgba(0, 0, 0, 0.2), inset 2px 4px 0 0 rgba(255, 255, 255, 0.08);
}
 .countdown .figure:last-child {
   margin-right: 0;
}
.countdown .count-title {
  width: 100%;
}
.countdown .figure > span {
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    font: normal 3.94em/107px var(--bodyFont);
    font-weight: 700;
    color: #de4848;
    border-radius: 8px;
    line-height: 1.28;
}
 .countdown .figure .top, .countdown .figure .bottom-back{
    border-radius: 8px 8px 0 0 !important;
 }

 .countdown .figure .bottom, .countdown .figure .bottom-back{
     border-radius: 8px 8px 0 0 !important;
  }
 .countdown .figure .top:after, .countdown .figure .bottom-back:after {
   content: "";
   position: absolute;
   z-index: -1;
   left: 0;
   bottom: 0;
   width: 100%;
   height: 100%;
   border-bottom: 1px solid rgba(0, 0, 0, .1);
}
 .countdown .figure .top {
   z-index: 3;
   background-color: #f7f7f7;
   transform-origin: 50% 100%;
   -webkit-transform-origin: 50% 100%;
}
 .countdown .figure .bottom {
   z-index: 1;
}
 .countdown .figure .bottom:before {
   content: "";
   position: absolute;
   display: block;
   top: 0;
   left: 0;
   width: 100%;
   height: 50%;
   background-color: rgba(0, 0, 0, .02);
}
 .countdown .figure .bottom-back {
   z-index: 2;
   top: 0;
   height: 50%;
   overflow: hidden;
   background-color: #f7f7f7;
}
 .countdown .figure .bottom-back span {
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   margin: auto;
}
 .countdown .figure .top, .countdown .figure .top-back {
   height: 50%;
   overflow: hidden;
}
 .countdown .figure .top-back {
   z-index: 4;
   bottom: 0;
   background-color: #fff;
   -webkit-transform-origin: 50% 0;
   transform-origin: 50% 0;
}
 .countdown .figure .top-back span {
   position: absolute;
   top: -100%;
   left: 0;
   right: 0;
   margin: auto;
}
 
.wrap.counter-wrap-main {
  background-size: cover;
  box-sizing: border-box;
  max-width: 980px;
  width: 95%;
}
.counter-wrap-main h1 {
  color: #fff;
  font-weight: 500;
  letter-spacing: 4px;
  font-family: var(--headingFont); 
  text-align: left;
  padding: 50px 70px 30px;
  margin: 0;
}
.wrap.counter-wrap-main strong {
  font-weight: 700;
  font-size: 4.2rem;
  color: #fff;
}
.demo-wrap {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (max-width: 991px){
  .counter-wrap-main h1 {
    padding: 50px 50px 30px;
  }
  .countdown {
    max-width: 90%;
    justify-content: center;
  }
  .countdown .bloc-time {
    margin-right: 15px;
  }
.countdown .figure {
  height: 65px;
  width: 65px;
}
  .countdown .figure > span {
    font: normal 3.8em/106px 'Lato';
    line-height: 1.25;
  }
}

  @media (max-width: 767px){

    .countdown .bloc-time {
      margin: 0;
    }
    .countdown .figure {
      height: 160px;
      width: 140px;
    }
    .counter-wrap-main h1 {
      font-size: 1.9rem;
    }
    .wrap.counter-wrap-main strong {
      font-size: 2rem;
      letter-spacing: 7px;
    }
    .counter-wrap-main h1 {
      padding: 0;
      width: 100%;
      max-width: 344px;
      margin: 0 auto;
      text-align: center;
    }
    .countdown .figure > span {
      font: bold 7em 'Lato';
      line-height: 1.55;
    }

    .countdown .bloc-time {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      margin: 35px 0 0;
    }
    .countdown .count-title {
      width: 100%;
      order: 1;
      font-size: 24px;
      margin: 20px 0 0;
    }
   .wrap.counter-wrap-main {
    display: flex;
    flex-flow: column;
    align-content: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-image: url('mobile-view.png') !important;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
  }

  }