
/* main layout style */

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background-color: #0561AD;
  margin: 0;
  padding: 0;
  font-family: 'Bree Serif', serif;
  overflow-x: hidden;
}

.loading-screen {
  position: fixed;
  width: 100%;
  height: 100vh;
  background: #2e0f70;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -9998;
  visibility: hidden;
  transition: all ease 1.2s;
  opacity: 0;
  text-align: center;
  padding-top: 25%;
}
  .loading .loading-screen {
    z-index: 9998;
    visibility: visible;
    opacity: 1;
    transition: all ease 200ms;
  }

  .loading-screen img {
    width: 250px;
  }

.loading-screen-text {
  margin-top: 20px;
  display: block;
  font-size: 1.8em;
  font-family: 'Bree Serif', serif;
  font-weight: bold;
  color: #ffcc00;
}

h1, h2, h3, h4, h5, h6  {
  font-family: 'Bree Serif', serif;
}

h1 {
  font-size: 5em;
}
h2 {
  font-size: 3.5em;
}
h3 {
  font-size: 2.2em;
}

p {
  font-family: 'Bree Serif', serif;
  line-height: 150%;
}

.rellax {
  width: 100%;
  position: absolute;
}

.rellax img {
  width: 100%;
}

@media only screen and (max-width: 600px) {
  .flying-objects {
    display: none;
  }
}


header {
  margin: 0;
  padding: 20px 20px 10px 20px;
  background: url("../images/sky2.jpg") no-repeat center bottom/cover;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
}

#content {
  max-width: 1000px;
  padding-bottom: 50px;
  margin: auto;
}


.title {
  max-width: 300px;
  height: auto;
  padding-top: 10px;
  padding-bottom: 30px;
  margin: auto;
}

.title img {
  width: 100%;
  transition:all 0.3s ease-in-out;
}

.title img:hover {
  -webkit-filter: brightness(120%);
  filter: brightness(120%);
  transform: scale(0.95);
  transition:all 0.1s ease-in;
}

.movie {
  max-width: 1100px;
  margin: auto;
  box-shadow: 0 5px 27px 0 rgba(0,0,0,0.64);
  border-radius: 5px;
}

.claim {
  padding-top: 20px;
  margin: auto;
  max-width: 600px;
  height: auto;
}

.claim img {
  width: 100%;
}

.claim img:hover {
  -webkit-filter: brightness(120%);
  filter: brightness(120%);
}

button.buy,
button.allegro {
  font-family: 'Bree Serif', serif;
  color: #FFFFFF;
  font-size: 1.7em;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  margin: 10px;
  border: none;
  cursor: pointer;
  text-align: center;
  padding: 10px 30px;
  background-color: #d71d27;
  border-radius: 5px;
  box-shadow: 0 4px 12px -5px rgba(0,0,0,0.88);
  transition:all 0.3s ease;
  -webkit-appearance: none;
  -moz-appearance: none;
}

button.buy:hover,
button.buy:focus,
button.allegro:hover,
button.allegro:focus {
  background-color: #fe1919;
  transform: scale(1.1);
}

button.allegro:active,
button.buy:active {
    transform: scale(0.9);
}


button.allegro {
  background-color: #f98424;
}

button.allegro:hover {
  background-color: #ffa621;
}

@media only screen and (max-width: 480px) {
  button.allegro {
    font-size: 1em;
  }
}

/*buy the book*/

badge {
  position: absolute;
  z-index: 3;
  margin-left: 80px;
  margin-top: 150px;
  transition:all 0.5s ease-out;
}

badge:hover {
  transition:all 0.3s ease-in;
  transform: rotate(-360deg);
}

@media only screen and (max-width: 360px) {
  badge {
    margin-left: 60px;
    margin-top: 50px;
  }
}

.book1 {
  max-width: 1200px;
  margin: auto;
  text-align: center;
  z-index: 3;
}

.book1 img {
  -ms-transform: rotate(20deg); /* IE 9 */
  -webkit-transform: rotate(20deg); /* Safari */
  transform: rotate(-10deg);
  width: 100%;
  max-width: 500px;
}

.book1 p {
  font-family: 'Bree Serif', serif;
  color: #f0faff;
  font-size: 1.4em;
  font-weight: bold;
}

/*wszechkarton section*/

.wszechkarton {
  padding: 20px;
  background: url("../images/bg1purple.jpg") no-repeat center top/cover;
  text-align: center;
}

.samolot {
  vertical-align: middle;
  display: inline-block;
}

.wszechkarton_info {
  vertical-align: middle;
  max-width: 640px;
  display: inline-block;
  padding-bottom: 30px;
}

.wszechkarton_info img {
  max-width: 500px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.wszechkarton_info span {
  padding-bottom: 20px;
  max-width: 650px;
  color: white;
  font-size: 2em;
  display: inline-block;
}

.wszechkarton_info a {
  display: inline-block;
}


@media only screen and (max-width: 680px) {
  .samolot {
    background: url("../images/samolot.png") no-repeat center top/cover;
    width: 476px;
    height: 410px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    float: none;
  }
  .wszechkarton_info {
    text-align: center;
    display: inline-block;
  }
}

/*mountains section*/

.info-section {
  font-family: 'Bree Serif', serif;
  font-size: 1em;
  color: #ffffff;
  background: url("../images/sky.jpg") no-repeat center top/cover;
  min-height: 600px;
  height: auto;
  text-align: center;
}

.info-section img {
  max-width: 700px;
  width: auto;
}

.info-section p {
  margin-bottom: 20px;
  font-family: 'Bree Serif', serif;
  color: #c0dbe7;
  font-size: 1.1em;
}

.mountain {
  margin: auto;
  width: 100%;
  max-width: 1000px;
  height: 520px;
  background: url("../images/mount0.png") no-repeat center top/cover;
}

@media only screen and (max-width: 600px) {
  .mountain {
    height: 320px;
  }
}

.description {
  padding-top: 40px;
  padding-left: 20px;
  padding-right: 20px;
  text-align: center;
  display: block;
  max-width: 700px;
  margin: auto;
}

.description::after {
  content: "";
  clear: both;
  display: table;
}

.author {
  max-width: 600px;
  margin: auto;
  margin-top: 55px;
}

.author::after {
  content: "";
  clear: both;
  display: table;
}

.avatar {
  margin-right: 30px;
  margin-left: 20px;
  float: left;
  width: 160px;
  position: relative;
  z-index: 2;
}

.avatar img {
  cursor: pointer;
  transition:all 0.1s ease-out;
}

.avatar img:hover {
  transition:all 0.1s ease-in;
  transform: scale(1.3);
}

.author-info {
  display: none;
  margin: 10px;
  margin-top: 0px;
  max-width: 666px;
  font-family: 'Bree Serif', serif;
  font-size: 0.9em;
  color: #28669f;
  text-align: left;
  padding: 20px;
  border-radius: 5px;
  background-color: #ffffff;
  box-shadow: 0 5px 27px 0 rgba(37, 0, 97, 0.44);
  position: absolute;
}

.author-info a {
  text-decoration: none;
}

.author-info a:hover {
  text-decoration: underline;
}

@media only screen and (max-width: 480px) {
  .author-info {
    position: relative;
  }
}

.author-info2 {
  font-family: 'Bree Serif', serif;
  font-weight: bold;
  font-size: 2.2em;
  color: #ffffff;
  text-align: left;
  padding: 20px;
  line-height: 1em;
}

.author-info2:hover {
  cursor: pointer;
  color: #ffd600;
  text-decoration: underline;
  transition:all 0.1s ease-in;
  transform: scale(1.1);
}

@media only screen and (max-width: 550px) {
  .avatar {
    margin: auto;
  float: none;
}
.author-info2 {
  text-align: center;
}
}


.ruszamy {
  width: auto;
  position: absolute;
  left: 46%;
  z-index: 3;
  transition:all 0.5s ease-out;
}

.ruszamy:hover {
  transition:all 0.1s ease-in;
  transform: scale(1.1);
}

/*opened book*/

.book3 {
background: url("../images/bg1.jpg") no-repeat center top/cover;
text-align: center;
padding-top: 50px;
padding-bottom: 70px;
}

.book3 img {
  max-width: 900px;
  margin: auto;
  width: 100%;
}


article {
  padding: 0 0;
  margin: 0;
  height: 100%
}

section:nth-of-type(1) article:nth-of-type(1) h1 {
  padding-top: 2em
}

.testimonials {
  background: url("../images/bg1blue.jpg") no-repeat center top/cover;
  background-color: rgb(205, 221, 228);
  padding-bottom: 50px;
}

.quotes-table {
  display: flex;
  flex-flow: row wrap;
  text-align: center;
  max-width: 900px;
  margin: auto;
  padding-top: 0px;
  box-sizing: border-box;
  z-index: 3;
}

.quote {
  border-radius: 10px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  box-shadow: 0 5px 27px 0 rgba(0, 10, 97, 0.44);
  background: url("../images/quotebg.jpg") no-repeat center center/cover;
  width: 45%;
  padding-top: 20px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  margin-left: 10px;
  margin-right: 10px;
  font-family: 'Bree Serif', serif;
  font-size: 0.9em;
  color: #2e80ad;
  text-align: center;
  float: left;
  transition:all 0.3s ease-out;
  position: relative;
  z-index: 4;
  font-size: 1.2em;
}

.quote:hover {
  transform: scale(1.1);
  transition:all 0.2s ease-in;
  z-index: 6;
}

.quote:hover img {
  transition:all 0.2s ease-in;
}


.quote p {
  margin-left: 10px;
  margin-right: 10px;
  padding-left: 15px;
  padding-right: 15px;
  padding-top: 0px;
  margin-top: 5px;
}

.quote a {
  text-decoration: none;
  color: #7c2fe9;
  transition:all 0.3s ease-out;
}

.quote a:hover {
  color: #ffb000;
  transition:all 0.1s ease-in;
}

.testimonials::after {
  content: "";
  clear: both;
  display: table;
}

@media only screen and (max-width: 700px) {
  .testimonials {padding: 20px;}
  .quote {width: 94%;}
}



footer {
  font-family: 'Bree Serif', serif;
  font-size: 0.8em;
  color: #6b360a;
  width: 100%;
  height: auto;
  padding-top: 10px;
  padding-bottom: 30px;
  background: url("../images/kartonbg1.jpg") no-repeat center top/cover;
}

.foot {
  max-width: 1200px;
  margin: auto;
  padding-top: 20px;
  padding-left: 30px;
  padding-right: 30px;
}

.foot::after {
  content: "";
  clear: both;
  display: table;
}

footer span {
  display: block;
  padding-bottom: 10px;
  margin-top: 15px;
}

.rights {
  width: 49%;
  float: left;
}

.rights a {
  text-decoration: none;
  color: #500098;
  margin-right: 10px;
}

.rights a:hover {
  text-decoration: underline;
  color: #6300bd;
}

.social {
  width: auto;
  float: right;
  margin-top: 20px;
}

.social img {
  width: 90%;
}

.social a:hover {
  -webkit-filter: brightness(120%);
  filter: brightness(120%);
  transition:all 0.1s ease-in;
}

@media only screen and (max-width: 720px) {
  .rights {text-align: center; width: 100%; margin: auto;}
  .social {width: 60%; margin-right: 20%;}
}
