
@font-face {
  font-family: 'gilroymedium';
  src: url('font/gilroy-medium-webfont.eot');
  src: url('font/gilroy-medium-webfont.eot?#iefix') format('embedded-opentype'),
      url('font/gilroy-medium-webfont.woff2') format('woff2'),
      url('font/gilroy-medium-webfont.woff') format('woff'),
      url('font/gilroy-medium-webfont.ttf') format('truetype'),
      url('font/gilroy-medium-webfont.svg#gilroymedium') format('svg');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'gilroylight';
  src: url('font/gilroy-light-webfont.eot');
  src: url('font/gilroy-light-webfont.eot?#iefix') format('embedded-opentype'),
      url('font/gilroy-light-webfont.woff2') format('woff2'),
      url('font/gilroy-light-webfont.woff') format('woff'),
      url('font/gilroy-light-webfont.ttf') format('truetype'),
      url('font/gilroy-light-webfont.svg#gilroylight') format('svg');
  font-weight: normal;
  font-style: normal;
}
html,body{
  height: 100%;
}
body{
  margin:0;
  padding:0;
  background-image:url('../img/shape.png');
  background-repeat: no-repeat;
  background-position: right top;
  background-size: contain;
  font-family: 'gilroylight', Helvetica, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header{
  height: 80px;
  -webkit-box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.1);
  -moz-box-shadow:    0 2px 14px 0 rgba(0, 0, 0, 0.1);
  box-shadow:         0 2px 14px 0 rgba(0, 0, 0, 0.1); 
}
header .logo{
  font-family: 'gilroymedium', Helvetica, sans-serif;
  font-size: 24px;
  font-weight: 700;
  padding: 22px 0px; 
  display: inline-block;
  color: #007de8;
}
header a{
  text-decoration: none;
}
header img{
  width:166px;
  margin:25px 0 0 0;
}
.container{
  width:1170px;
  margin:0 auto;
}
article{
  position: relative;
  z-index: 1;
}
.lead{
  color: #000000;
  font-weight: normal;
  width: 605px;
  padding-top:80px;
}
.lead h1{
  font-size: 48px;
  font-weight: 600;
  font-family: 'gilroymedium', Helvetica, sans-serif;
  margin:0;
  padding:0;
}
.lead h2{
  font-size: 38px;
  line-height: 1.2;
  margin:0;
  padding:5px 0 20px 0;
}
.lead p{
  font-size: 24px;
  line-height: 1.4;
  margin:0;
  padding:0;
}
.lead a {
  color:#007de8;
  text-decoration: none;
}

footer{
  display:block;
  margin-top: auto;
  width: 100%;
  padding: 40px 0px;
  text-align: center;
}

footer .copyright {
  font-size: 12px;
  font-weight: 400;
  margin: 0px auto;
  max-width: 1170px;
}

/* tablet portrait */
@media(min-width: 768px)and (max-width:991px) {
  .container{
    width: 750px;
    text-align: center;
  }
  .lead{
    width: 100%;
  }
}
/* mobile  */
@media(max-width: 767px) {
  body{
    background-size: cover;
  }
  .container{
    width: 100%;
    text-align: center;
  }
  .lead{
    width: 100%;
    padding-top: 50px;
  }
  .lead h1{
    font-size: 30px;
  }
  .lead h2{
    font-size: 25px;
  }
  .lead p{
    font-size: 20px;
  }
}
/* laptop and tablet landscape */
@media(min-width: 992px)and (max-width:1240px) {
  .container{
    width: 970px;
  }
}

/* animate time edit */
.animate__delay-1s{
  --animate-delay: 0.5s;
}
.animate__delay-2s{
  --animate-delay: 0.3s;
}
.animate__delay-3s{
  --animate-delay: 0.3s;
}
.animate__delay-4s{
  --animate-delay: 0.3s;
}