@font-face {
  font-family: 'BarlowCondensed';
  src: url(../fonts/BarlowCondensed-Regular.ttf);
}

@font-face {
  font-family: 'BarlowCondensed';
  src: url(../fonts/BarlowCondensed-SemiBold.ttf);
  font-weight: bold;
}

@font-face {
  font-family: 'Museo Sans';
  src: url(../fonts/MuseoSans_500.otf);
  font-weight: 500;
}

@font-face {
  font-family: 'Museo';
  src: url(../fonts/Museo-500.otf);
  font-weight: 500;
}

@font-face {
  font-family: 'Museo';
  src: url(../fonts/Museo700-Regular.otf);
  font-weight: bold;
}

/* html, body {
    margin: 0;
    height:100%;
    width:100%;
    padding:0;
} */
*{
  box-sizing: border-box;
}
body{
  font-family: 'Museo Sans';
  margin: 0px;
  font-size: 16px;
  line-height: normal;
  padding: 0;
  background-image: url('../images/bg-free-learning.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  color: #EFF1FE;
}

h1,h2,h3,h4,h5,h6{
  font-family: 'BarlowCondensed';
}

header{
  background: #0A021B;
  padding: 21px 16px;
  position: relative;
}

header,footer{
  text-align: center;
  padding: 16px;
  z-index: 9;
}

header h1{
  color: #EFF1FE;
  margin: 0;
  font-weight: 300;
  font-size: 45px;
  letter-spacing: .2em;
}

header h1 strong{
  font-weight: bold;
}

header a{
  text-decoration: none;
}

footer > img, footer .text-1{
  margin-bottom: 10px;
}

footer .text-1{
  font-size: 16px;
  line-height: 25px;
  color: #EFF1FE;
}

footer .text-2{
  font-size: 13px;
  color: #EFF1FE;
}

.free-learning-main-template{
  padding: 140px 0px 50px 0;
  text-align: center;
  overflow: hidden;
  width: 100%;
}

.free-learning-steps{
  background: #EFF1FE;
  display: inline-block;
  color: #0A021B;
  font-size: 30px;
  line-height: 45px;
  min-width: 247px;
  text-align: center;
  padding: 11px 0;
  border-bottom-right-radius: 50px;
  border-bottom-left-radius: 50px;
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0);
  bottom: -67px;
  font-family: 'BarlowCondensed';
  letter-spacing: .075em;
  font-weight: bold;
}

.free-learning-steps span{
  font-size: 20px;
  vertical-align: top;
}

.container{
  padding: 0 16px;
  margin: 0 auto;
  max-width: 832px;
}

header {
  position: sticky;
  top: 0;
  padding: 23px 16px;
}

footer {
  /* position: absolute;
  bottom: 0; */
  padding: 30px 10px;
  font-family: 'Museo';
}

.btn-step{
  color: #eff1fe;
  background-color: #0A021B;
  max-width: 245px;
  height: 66px;
  margin-right: auto;
  margin-left: auto;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 30px;
  text-decoration: none;
  font-size: 30px;
  font-family: 'BarlowCondensed';
  font-weight: bold;
  border: 1px solid #fff;
  transition: all .3s;
}

.btn-step:hover{
  background-color: #000;
  border-color: #000;
}

.btn-step img{
  margin-left: 15px;
  position: relative;
  top: 1.5px;
}

footer > a > img{
  width: 100%;
  max-width: 275px;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}

footer .text-1 > a{
  color: inherit;
  font-size: inherit;
  font-family: inherit;
  line-height: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
}


@media only screen and (min-width: 1080px) {
  .free-learning-main-template{
    min-height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

@media only screen and (max-width: 1080px) {
  .free-learning-main-template .container{
    padding-left: 0;
    padding-right: 0;
    width: 100%;
    max-width: 100%;
  }

  header h1{
		font-size: 40px;
	}
}


@media only screen and (max-width: 640px) {
  header {
      padding: 15px 16px;
  }
	header h1{
		font-size: 28px;
	}
  .free-learning-steps{
    font-size: 26px;
    min-width: 200px;
    bottom: -56px;
    line-height: 32px;
  }
  .free-learning-steps span {
      vertical-align: baseline;
  }
  #nature-step-1 h2{
    font-size: 27px;
    margin-bottom: 30px;
  }
  .free-learning-main-template{
    padding: 100px 0px 30px 0;
  }
  footer .text-1 {
    font-size: 14px;
  }
  footer .text-2 {
      font-size: 12px;
  }
}
