/*====================================================== 
FONTS
=======================================================*/

@font-face {
  font-family: century-schoolbook;
  src: url(../fonts/century-schoolbook-bt.eot);
  src: url(../fonts/century-schoolbook-bt.eot?#iefix) format("embedded-opentype"), url(../fonts/century-schoolbook-bt.woff2) format("woff2"), url(../fonts/century-schoolbook-bt.woff) format("woff"), url(../fonts/century-schoolbook-bt.ttf) format("truetype")
}


/*====================================================== 
FONT STYLES
=======================================================*/

h1{
  margin: 30px 0px 20px;
  font-size: 30px;
}

h2{
  font-size: 26px;
}

h3{
  font-size: 17px;
}

a, a:hover, a:focus{
  color: #000;
  text-decoration: none;
}

p{
  font-size: 14px;
  width: 100%;
  max-width: 85%;
  margin: 0 auto;
  text-align: justify;
  padding: 10px 0;
}


/*====================================================== 
LAYOUT
=======================================================*/

body{
  background-color: #f8cd2b;
  font-family: century-schoolbook;
  font-style: italic;
}

.container{
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.firstPage.row  {
  width: 100%;
  height: 100vh;
  text-align: center;
	background-position:top center;
  cursor: pointer;
  margin: 0;
}

.mainContent {
  top: 50%;
  transform: translateY(-50%);
  height: 400px;
}

.row.stillLife  {
  width: 100%;
  height: auto;
  text-align: center;
	background-position:top center;
  margin: 0;
}

.stillLife .mainContent {
  top: auto;
  transform: none;
  height: auto;
}

/* Hide / show classes -------------------------------- */
.firstPage.showContent{
  display: block;
}

.firstPage.hideContent{
  display: none;
}

.stillLife.showContent{
  visibility: visible;
}

.stillLife.hideContent{
  visibility: hidden;
  height: 0px !important;
}


/*====================================================== 
PAGE ONE
=======================================================*/

.bird{
  position: absolute;
  bottom: 0;
  right: 0;
  margin: 0px 17% 0px 0px;
  width: 160px;
}

.firstPage h2 span{
  white-space: nowrap;
}


/*====================================================== 
PAGE TWO
=======================================================*/

.secondPage p:nth-child(4){
  padding-bottom: 50px;
}

.secondPage h2{
  margin-top: 0px;
}

ul{
  padding: 0 0 0 10px;
}

li{
  list-style-type: decimal;
}

.bookList{
  text-align: left;
}

.book{
  box-shadow: -5px 10px #edc025;
}


/* cta ----------------------------------------- */
.ctaButtons{
  text-align: left;
  padding-left: 6%;
  width: 50%;
}

.cta{
  padding: 10px 20px 30px 20px;
  text-align: center;
  border: 2px solid #000000;
  box-shadow: -5px 10px #edc025;
  width: auto;
  min-width: 182px;
  height: 40px;
  display: inline-block;
  margin: 50px 0px 0px 0px;
}

/*
.ctaButtons div{
  padding: 0px;
  margin: 0px;
}
*/

/*
.ctaButtons:nth-child(1){
  margin: 50px 30px 0px 0px;
}
*/

.cta a{
  color: #000000;
  text-decoration: none;
  white-space: nowrap;
}

.stillLife .bird{
  position: relative;
  margin: 0px 120px 50px 0px;
  float: right
}




/* ==================================================================== 
MEDIA QUERIES
=======================================================================*/


/* DESKTOP
************************/

/* MAX-WIDTH 900px
-------------------------------------------------- */

@media (max-width: 900px) {	
  
  /* Still Life */
  .ctaButtons{
    padding-left: 3%;
  }
  
}


/* MAX-WIDTH 870px
-------------------------------------------------- */

@media (max-width: 870px) {
  
  /* First Page  */
  .bird, .stillLife .bird{
    margin: 0px 13% 0px 0px;
  }
  
  /* Still Life */
  
  .cta {
    min-width: 170px;
  }
  
}


/* TABLET
************************/


/* MAX-WIDTH 768px
-------------------------------------------------- */

@media (max-width: 768px) {
  
  /* Still Life */
  .ctaButtons{
    padding-left: 0%;
  }
  
  .bookImage{
    width: 45%
  }
  
  .book{
    width: 100%;
  }
  
  .bookList{
    width: 55%;
  }
  
  .cta {
    min-width: 160px;
  }
  
  
}


/* MAX-WIDTH 690px
-------------------------------------------------- */

@media (max-width: 690px) {
  
  /* First page */
  .firstPage.showContent > div > h2 > br{
    display: none;
  }
  
  /* Still Life */
  
  .ctaButtons {
    width: 80%;
    margin: 0 auto;
    float: none;
  }
  
  .bookImage{
    width: 100%;
  }
  
  .book{
    width: auto;
  }
  
  .bookList{
    width: 100%;
  }
  
  .secondPage h2 {
    text-align: center;
    margin-top: 40px;
  }
  
  h3{
    text-align: center;
  }
  
  ul{
    width: 100%;
    margin: 0 auto;
    max-width: 384px;
  }
  
  .cta {
    min-width: 182px;
  }
  
/*
  .ctaButtons > div > div:nth-child(1) > div{
    display: none;
  }
*/
  
}


/* MOBILE
************************/


/* MAX-WIDTH 640px
-------------------------------------------------- */

@media (max-width: 640px) {
	
  /* First page  */
  .bird, .stillLife .bird{
    margin: 0px 8% 0px 0px;
  }
  
}



/* MAX-WIDTH 520px
-------------------------------------------------- */

@media (max-width: 520px) {
    
  /* Still Life */
  
  .ctaButtons {
    width: 85%;
  }
  
  .cta {
    margin: 25px 0px 0px 0px;
  }
  
  .ctaButtons > div > div:nth-child(1), .ctaButtons > div > div:nth-child(2){
    width: 100%;
  }
  
}
	

/* MAX-WIDTH 475px
-------------------------------------------------- */

@media (max-width: 475px) {
	
  /* First page */
  .firstPage.showContent > div > h2 > br{
    display: block;
  }
  
  /* Still Life */
  .book{
    width: 75%;
  }
  
}
  



/* MAX-WIDTH 400px
-------------------------------------------------- */

@media (max-width: 400px) {
	
   /* Still Life */
  
  p {
    max-width: 95%;
  }
  
  .ctaButtons {
    width: 100%;
  }

}
  













