@font-face {
  font-family: firaLight;
  src: url(../fonts/FiraSans-Regular.otf);
}

@media (min-width: 480px) and (orientation: landscape){
  #lotus {
    height: 250px;
    width: 250px;
    background-image: url("../img/lotus.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;

    position: fixed;
    top: 35px;
    right: 15px;
  }
  h1 {
    font-size:2rem;
  }
  #chap1, #chap2 {
    font-size: 1.2rem;
    }

  #sutraText {
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.1rem;
  }

  #sutraExp {
    text-align: left;
    font-size: 1.1rem;
    line-height: 1.1rem;
  }
  #infoTxt {
    font-size: 1rem;
    line-height: 1.1rem;
  }
  #inf {font-size: 1.2rem;}
  .back,.next {font-size: 1.2rem;}
}

@media (min-width: 320px) and (orientation: portrait){
  #lotus {
    height: 250px;
    width: 250px;
    background-image: url("../img/lotus.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;

    position: fixed;
    top: 180px;
    left: 40px;
  }
  h1 {
    font-size:2rem;
  }
  #chap1, #chap2 {
    font-size: 1.2rem;
    }
  #sutraText {
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.1rem;
  }

  #sutraExp {
    text-align: left;
    font-size: 1.1rem;
    line-height: 1.1rem;
  }
  #infoTxt {
    font-size: 1rem;
    line-height: 1.1rem;
  }
  #inf {font-size: 1.2rem;}
  .back,.next {font-size: 1.2rem;}
}

@media (min-width: 960px) and (orientation: landscape){
  #lotus {
    height: 400px;
    width: 400px;
    background-image: url("../img/lotus2x.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    position: fixed;
    top: 70px;
    right: 200px;
  }
  h1 {
    font-size:2.5rem;
  }
  #chap1, #chap2 {
    font-size: 2rem;
    }
  #sutraText {
    text-align: center;
    font-size: 1.5rem;
    line-height: 1.5rem;
  }

  #sutraExp {
    text-align: left;
    font-size: 1.5rem;
    line-height: 1.5rem;
  }
  #infoTxt {
    font-size: 1.4rem;
    line-height: 1.4rem;
  }
  #inf {font-size: 1.4rem;}
  .back,.next {font-size: 1.4rem;}
}

@media (min-width: 540px) and (orientation: portrait){
  #lotus {
    height: 400px;
    width: 400px;
    background-image: url("../img/lotus2x.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    position: fixed;
    top: 280px;
    left: 70px;
  }
  h1 {
    font-size:2.5rem;
  }
  #chap1, #chap2 {
    font-size: 2rem;
    }
  #sutraText {
    text-align: center;
    font-size: 1.5rem;
    line-height: 1.5rem;
  }

  #sutraExp {
    text-align: left;
    font-size: 1.5rem;
    line-height: 1.5rem;
  }
  #infoTxt {
    font-size: 1.4rem;
    line-height: 1.4rem;
  }
  #inf {font-size: 1.4rem;}
  .back,.next {font-size: 1.4rem;}
}
@media (min-width: 1200px) and (orientation: landscape) {
  #lotus {
    height: 700px;
    width: 700px;
    background-image: url("../img/lotus3x.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    position: fixed;
    top: 50px;
    right: 70px;
  }
  h1 {
    font-size:3rem;
  }
  #chap1, #chap2 {
    font-size: 2.5rem;
    }
  #sutraText {
    text-align: center;
    font-size: 2rem;
    line-height: 2rem;
  }

  #sutraExp {
    text-align: left;
    font-size: 2rem;
    line-height: 2rem;
  }
  #infoTxt {
    font-size: 2rem;
    line-height: 2rem;
  }
  #inf {font-size: 2rem;}
  .back,.next {font-size: 2rem;}
}

@media (min-width: 800px) and (orientation: portrait){
  #lotus {
    height: 700px;
    width: 700px;
    background-image: url("../img/lotus2x.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    position: fixed;
    top: 400px;
    left: 50px;
  }
  h1 {
    font-size: 3rem;
  }
  #chap1, #chap2 {
    font-size: 2.5rem;
    }
  #sutraText {
    text-align: center;
    font-size: 2rem;
    line-height: 2rem;
  }

  #sutraExp {
    text-align: left;
    font-size: 2rem;
    line-height: 2rem;
  }
  #infoTxt {
    font-size: 2rem;
    line-height: 2rem;
  }
  #inf {font-size: 2rem;}
  .back,.next {font-size: 2rem;}
}

html {
min-height: 100%;
}

.hidden {
  display: none;
}

body {
  background: -moz-linear-gradient(#002147, #000000); /* For Firefox 3.6 to 15 */
  background: linear-gradient(#002147, #000000);
  font-family: firaLight;
  color: white;
}

#openOption {
  float: left;
  padding-left: .32rem;
}


#info {
  position: fixed;
  bottom: 2rem;
  left: .7rem;
}

#inf {
  font-style: italic;
  color: white;
  background-color: transparent;
  border: none;
}

.back {
  position: fixed;
  bottom: 2rem;
  font-style: italic;
  color: white;
  background-color: transparent;
  border: none;
  text-decoration: none;
}

.next {
  position: fixed;
  bottom: 2rem;
  margin-left: 5rem;
  font-style: italic;
  color: white;
  background-color: transparent;
  border: none;
  text-decoration: none;
}

#chap1, #chap2 {
  color: white;
  background-color: transparent;
  border: none;
  text-decoration: none;
}

a {
  color: white;
}

#sutraDisplay {
  padding: 0 15px 0 15px;
}
