@charset "UTF-8";
/* CSS Document */

img {
    max-width: 100%;
}

.section1 {
width:200px;
height:100px;
background-color:#eee;
}


.top-image {
    width: 100%;
    height: 400px;
    background-image: url(img/leaf-bg1.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top;
    background-position-x: left;
    position: absolute;
    top: 0;
}

.main-section {
    width: 60%;
    height: 50vh;

    position: absolute;
    z-index: 2;
    top: 25vh;
    bottom: 25vh;
    left: 20%;
    right: 20%;


    display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
text-align: center;
}

.main-text1 {
  font-family: 'Josefin Sans';
  width: 100%;
  color: #305eab;
  font-size: 28px;
}

.main-text2 {
  font-family: 'Josefin Sans';
  width: 100%;
  padding-top: 7%;
    font-size: 18px;
    color: #70c04c;
    line-height: 26px;
}

.enzyme-logo {
  height: 150px;
  max-width: 550px


}

.bottom-image {
    width: 100%;
    height: 400px;
    background-image: url(img/leaf-bg2.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position-x: right;
    background-position-y: bottom;
    position: absolute;
    bottom: 0;
}

.intro {
  width: 100%;
  text-align: center;
  font-size: 28px;
  font-family: 'Josefin Sans';
  color: #fff;
  height: 15vh;
  padding-top: 10vh;
}

.intro2 {
  width: 100%;
  text-align: center;
  font-size: 58px;
  font-family: 'Josefin Sans';
  color: #fff;
  padding-top: 0%;
}

@font-face {
    font-family: 'Josefin Sans';
    src: url('fonts/JosefinSans/JosefinSans-Bold.eot');
    src: url('fonts/JosefinSans/JosefinSans-Bold.eot?#iefix') format('embedded-opentype'),
        url('fonts/JosefinSans/JosefinSans-Bold.woff2') format('woff2'),
        url('fonts/JosefinSans/JosefinSans-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Josefin Sans';
    src: url('fonts/JosefinSans/JosefinSans-Light.eot');
    src: url('fonts/JosefinSans/JosefinSans-Light.eot?#iefix') format('embedded-opentype'),
        url('fonts/JosefinSans/JosefinSans-Light.woff2') format('woff2'),
        url('fonts/JosefinSans/JosefinSans-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Josefin Sans';
    src: url('fonts/JosefinSans/JosefinSans-Regular.eot');
    src: url('fonts/JosefinSans/JosefinSans-Regular.eot?#iefix') format('embedded-opentype'),
        url('fonts/JosefinSans/JosefinSans-Regular.woff2') format('woff2'),
        url('fonts/JosefinSans/JosefinSans-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}



@media only screen and (min-width:1200px) {

  .bottom-image {
        width: 100%;
        height: 550px;
  }

  .top-image {
        width: 100%;
        height: 550px;
  }

  .intro {
    font-size: 35px;
  }

  .intro2 {
    font-size: 75px;
  }

  .main-text1 {
      font-family: 'Josefin Sans';
      width: 100%;
      color: #305eab;
      font-size: 35px;
  }

  .main-text2 {
      font-size: 25px;
  }


}

@media screen and ( max-width: 1050px ) and ( max-height: 750px )
{

  .bottom-image {
        width: 100%;
        height: 280px;
  }

  .top-image {
        width: 100%;
        height: 280px;
  }



}





@media screen and (max-width:750px) {

.bottom-image {
      width: 100%;
      height: 250px;
}

.top-image {
      width: 100%;
      height: 250px;
}

.main-text1 {
    font-family: 'Josefin Sans';
    width: 100%;
    color: #305eab;
    font-size: 23px;
}
.enzyme-logo {
    height: 100px;
    max-width: 550px;
}

.intro {
  font-size: 23px;
}

.intro2 {
  font-size: 45px;
}

}

@media screen and ( max-width: 750px ) and ( max-height: 450px )
{

  .bottom-image {
        width: 100%;
        height: 180px;
  }

  .top-image {
        width: 100%;
        height: 180px;
  }


}


@media screen and (max-width:560px) {


}
