/*   ============
 *     CONTENTS
 *   ============
 *
 *   1. HIDED PANEL
 *   2. BODY ELEMENTS
 *   3. MAIN ELEMENTS
 *   4. OTHER SELECTORS
 *   5. MEDIA SCREENS
*/


/*    ______________ */
/* 1. HIDED PANEL */
#contact {
  /* display: none; */
}


/*    _____________ */
/* 2. BODY ELEMENTS */
html,
body {
  width: 100%;
  background: black;
}
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: "Alegreya", "serif";
  line-height: 100%;
}
section {
  overflow: hidden;
  position: relative;
  width: 100%;
}

/* containers */
.container {
  height: 100%;
  min-height: 650px;
  width: 100%;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}
#preview {
  background-image: url("images/background-2.jpg");
}
#getintouch {
  background-image: url("images/background-3.jpg");
}

/* backs */
.back {
  position: relative;
  margin: auto;
}
.text {
  background: rgba(60, 60, 60, 0.5);
}

#recommend-overlay {
  width: 60%;
  min-width: 250px;
}
#order,
#contact {
  padding: 5px;
}
#getintouch .text {
  width: 70%;
}
#getintouch .first {
  background: rgba(73, 73, 73, 0.5);
}
#getintouch .second {
  background: rgba(73, 73, 73, 0.164);
}
#getintouch i {
  margin-right: 10px;
  width: 30px;
}
.first {
  position: relative;
  padding: 10px;
}
.second {
  padding-left: 5px;
}

/* header */
header {
  position: fixed;
  z-index: 50;
}
#fill-space {
  position: static;
  z-index: 10;
}
header, #fill-space {
  width: 100%;
  height: 50px;
  background: black;
}
#navbar {
  position: relative;
}
#menu {
  text-transform: uppercase;
  position: static;
  width: intrinsic;
  width: -moz-max-content;
  width: max-content;
  margin: auto;
  padding: 0;
}
#menu li {
  display: inline-block;
  margin: 0 10 0 10;
  font-size: 18px;
}
#menu .mobile-navs {
  display: none;
}
li img {
  vertical-align: middle;
}
ul {
  margin: 0;
  padding: 0;
  width: max-content;
}

/* side panels */
#intro {
  position: relative;
  width: 100%;
  height: 100%;
}
#intro img {
  object-fit: cover !important;
  object-position: 50% 0;
  width: 100%;
  height: 100%;
}
#recommend {
  background-image: url("images/background-1.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}


/*    _____________ */
/* 3. MAIN ELEMENTS */

/* intro */
#intro-overlay {
  position: absolute;
  width: 35%;
  top: 0;
  right: 0;
  padding: 1% 50px 1% 50px;
  margin: 10px 10px 20px 10px;
  text-align-last: right;
}
#intro-overlay blockquote {
  font-size: 25px
}
blockquote {
  font-size: 20px;
  width: 100%;
  position: relative;
  margin: 30px;
  font-size: 33px;
}
blockquote:before,
blockquote:after {
  font-weight: normal;
  position: absolute;
  font-size: 150px;
  width: 40px;
  height: 40px;
}
blockquote:before {
  content: "“";
  left: -50px;
  top: 25px;
}
blockquote:after {
  content: "”";
  right: -40px;
  bottom: -55px;
}
#intro-text {
  visibility: visible;
  width: 100%;
  opacity: 1;
  transition: 0.8s;
}
#intro-signature {
  font-family: "Great Vibes", cursive;
  font-size: 33px;
  line-height: 100%;
  margin: 2% 0 0 0;
}
#intro-rank {
  margin: 0 0 0 0;
}

/* images */
#logo {
  height: 50px;
}
#slideshow-2 {
  display: none;
}
#recommend-book {
  width: 100%;
  display: block;
  margin: auto;
}

/* buttons */
.button:hover,
#backtotop:hover {
  background: rgb(2, 22, 61) !important;
}
.button:active,
#backtotop:active {
  background: rgb(2, 20, 55) !important;
}
.button {
  display: block;
  margin:25px auto 0 auto;
  width: 100%;
  -webkit-appearance: none;

  height: 50px;
  font-size: 20px;
  background: rgb(3, 32, 58);
  border: none;
  outline: none;
  color: rgb(255, 207, 47);
  text-align: center;
  text-transform: uppercase;
  font-family: "Neuton", "serif";
  cursor: pointer;
}
.button-order {
  margin-left: 20px;
  margin-right: 20px;
  display: inline-block;
  width: 300px;
}
#recommend-buttons {
  text-align: center;
  width: 100%;
  min-width: max-content;
}

/* flipbook */
#thebook {
  position: relative;
}
#book-container {
  width: 100%;
  height: max-content;
  margin: auto;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
#book-pages {
  width: 50%;
  margin: auto;
}
.pages {
  display: none;
  margin: 0;
  width: 100%;
}
#page-1 {
  display: inline;
}

/* slider */
.slider {
  position: static;
  display: flex;
  background: rgba(3, 6, 10, 0.3);
  width: 100%;
  height: 50px;
  position: absolute;
  text-align: center;
  left: 0;
  bottom: 0;
}
#slider-intro {
  visibility: hidden;
}
#slider-book {
  width: max-content;
  background: none;
  height: max-content;
  margin: 20px auto auto auto;
}
.slider span {
  cursor: pointer;
}
.dot {
  transition: 2s;
  display: inline-block;
  margin: auto 3px auto 3px;
  line-height: 100%;
  border-radius: 50%;
  height: 10px;
  width: 10px;
  background: wheat;
  text-align: center;
  background: rgba(255, 255, 255, 0.5);
}
.dots,
.buttons {
  height: max-content;
  margin: auto;
  display: flex;
  text-align: center;
  line-height: 1;
}
.dots :nth-child(2) {
  background: rgba(20, 20, 20, 0.85);
}
.arrow {
  transition: 0.2s;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.6);
  margin: auto 20px auto 20px;
}
.arrow:hover {
  color: rgba(240, 240, 240, 0.55);
}

/* forms */
form {
  display: block;
  margin: auto;
}
form input,
form p {
  display: inline-block;
}
#message {
  width: 100%;
}
.submit-form {
  width: 100%;
  margin: 10px auto 10px auto;
  text-transform: uppercase;
  font-size: 25px;
}
.submit-form label,
input {
  display: block;
}
.submit-form label {
  line-height:100%;
  margin-bottom: 5px;
}
.submit-form input, .submit-form textarea {
  width: 100%;
  margin-bottom: 10px;
  height: 35px;
  font-family: Arial, serif;
  font-size: 20px;
  padding: 0 5px 0 5px;
}
.submit-form textarea {
  padding: 10px 5px 10px 5px;
  resize: none;
}
#o-message {
  height: 80px;
}
#c-message {
  height: 100px;
  margin-bottom:0;
}
.submit-form .inline div {
  width: 100%;
}
input[type="checkbox"],
input[type="radio"] {
  margin-left: 0;
  margin-right: 0;
}

/* order, contact elements*/
/* order */
#item,
#final-prices,
#terms {
  background: rgba(73, 73, 73, 0.8);
  position: relative;
}
.text-right-e p {
  text-align: right;
  text-align-last: right;
  margin-right: 0 !important;
}
#item {
  max-height: max-content;
}
#cart .container-line {
  min-height: max-content;
  padding: 8px 5px 8px 6px;
}
#book-title p,
#final-prices p {
  line-height: 101%;
}
#shipping-methods p {
  line-height: 105%;
}
#shipping-methods,
#tax,
#policy {
  background: rgba(73, 73, 73, 0.5);
}
#shipping-form .prices {
  margin-left: 5px !important;
}
#shipping-form #second-radio .prices {
  margin-left: 20px !important;
}
#policy div {
  margin: auto;
}
.noteback {
  padding: 5px;
  display: flex;
  opacity: 0;
  visibility: hidden;
  height: 35px;
  font-size: 20px;
  text-align: center;
  transition: 1.5s;
  margin-top: 5px;
}
.noteback p {
  margin: auto;
}
#quantity-changer i:hover {
  color: rgb(175, 144, 7);
  cursor: pointer;
}
#book-image {
  position: relative;
  display: block;
  margin: 0 auto auto auto;
  width: 100%;
}
#book-image img {
  margin: auto;
  display: block;
  max-width: 100%;
  max-height: 100px;
}
.book-preview {
  display: inline-block;
}
#cart {
  width: 100%;
}
#final-prices div {
  margin: 0;
}
#cart p,
#cart i {
  margin: auto;
  width: auto;
}
#book-infos {
  margin-left: 5px;
}

#book-description p {
  margin: 0 !important;
  font-size: 15px !important;
}
#cart p {
  font-size: 20px;
}

/* contact */
#profile img {
  width: 80%;
}
#profile p,
#profile h3,
#profile a {
  font-size: 20px;
  margin: 10px;
  display: block;
}
#profile i {
  margin-right: 20px;
}
#profile a:link,
#profile a:active,
#profile a:visited {
  color: rgb(243, 243, 243);
}
#profile a:hover {
  color: rgb(236, 205, 25);
}
#profile {
  transition: 1s;
  height: max-content;
  width: 70%;
  margin: auto;
  padding: 10px;
  text-align: center;
  color: rgb(243, 243, 243);
}
#profile div {
  padding: 2%;
  margin: 2% auto 2% auto;
  background: rgba(63, 63, 63, 0.7);
}
#note-required {
  font-size: 15px;
  line-height: 100%;
  margin: 0;
}

/* terms and policy */
.show-termsconds,
.close-termsconds,
#terms span {
  cursor: pointer;
}
#tax p,
#terms p {
  margin-left: 3px;
}
#termsconds {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 80;
}
#termsconds-panel {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  padding: 5px;
  width: 50%;
  height: 50%;
  display: flex;
flex-direction: column;
  background: rgba(3, 32, 58, 0.9);
}
#termsconds-header {
  height: max-content;
  padding: 10px 2px 10px 2px;
  font-family: Alegreya, serif;
  text-transform: uppercase;
  text-align: center;
}
#termsconds-header h1 {
  text-align: center;
  margin: auto;
}
#termsconds-header i {
  margin: 0;
  float: right;
  width: auto;
}
#termsconds textarea {
  color: rgb(218, 218, 218);
  text-align: justify;
  padding: 8px;
  font-size: 20px;
  width: 100%;
  margin: 0;
  background: rgba(2, 12, 22, 0.3);
  flex:1;
  font-family: Alegreya, serif;

  cursor: default;
  resize: none;
  border: 0 none;
  outline: none;
  overflow-x: hidden;
}

/* footer */
footer {
  min-height: 30px;
  height: max-content;
  width:100%;
  position: static;
  display: flex;
  background: rgb(3, 3, 3);
  left: 0;
  bottom: 0;
  color: rgb(94, 94, 94);
  padding-top: 12px;
  padding-bottom: 12px;
}
footer div {
  margin: auto;
  width: max-content;
}

/* secondary elements*/
#backtotop {
  transition: 0.8s;
  opacity: 0;
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: 80;
  margin: 20px;
  width: 50px;
  height: 50px;
  background: rgb(2, 38, 69);
  cursor: pointer;
}
#backtotop i {
  color: rgb(236, 205, 25);
  width: auto;
  margin: auto;
}


/*    _______________ */
/* 4. OTHER SELECTORS */

/* displays */
.inline {
  display: inline-block;
  vertical-align: top;
}
.relative {
  position: relative;
}
.flex {
  position: relative;
  display: flex;
}
.flex-row {
  flex-direction: row;
}
.flex-column {
  flex-direction: column;
}
.flex-0-5 {
  flex: 0.5;
}
.flex-1 {
  flex: 1;
}
.flex-1-25 {
  flex: 1.25;
}
.flex-2 {
  flex: 2;
}
.flex-2-5 {
  flex: 2.5;
}
.flex-3 {
  flex: 3;
}
.flex-4 {
  flex: 4;
}
.flex-5 {
  flex: 5;
}

/* text */
.text-left {
  text-align: left;
}
.text-right-e p {
  text-align: right;
}
.font-cool {
  font-family: "Amatic SC", cursive;
  text-align: justify;
  line-height: 150%;
}
.text-bright-red {
  color: rgb(253, 49, 49) !important;
}
.text-dark-yellow {
  color: rgb(206, 170, 12);
}
.text-gold {
  color: rgb(236, 205, 25);
}
.text-bright-yellow {
  font-weight: bold;
  color: rgb(238, 219, 113);
}
.text-bright-yellow:hover {
  color: rgb(236, 205, 25);
}
.text-white {
  color: white;
}
.underline {
  text-decoration: underline;
}

/* link */
a {
  text-decoration: none;
  cursor: pointer;
}
#menu a:link,
#menu a:active,
#menu a:visited {
  color: white;
}
#menu a:hover {
  color: grey;
}


/*    _____________ */
/* 5. MEDIA SCREENS */

@media only screen and (max-width: 1024px) {
  #getintouch i {
    margin-right: 10px;
    width: auto;
  }
  #final-price,
  #final-price-label {
    flex: 4;
  }
  .second {
    padding-left: 0;
  }
  #termsconds-panel {
    width: 95%;
    height: 95vh;
  }
}
@media only screen and (max-width: 800px) {
  #menu .web-navs {
    display: none;
  }
  #menu .mobile-navs {
    display: inline-block;
  }
  #menu li i {
    width: auto;
  }
  #intro-quote {
    line-height: 1;
    font-size: 25px;
  }
  blockquote:before,
  blockquote:after {
    font-size: 130px;
  }
  #profile {
    width: 100%;
    padding: 0;
  }
  #backtotop {
    display: none;
  }
  blockquote,
  #intro-signature,
  #intro-rank {
    display: none;
  }
  #final-prices .empty {
    flex: 4;
  }
  #final-price-label {
    min-width: max-content;
    flex: 2;
  }
}
@media only screen and (max-width: 600px) {
  .twoindiv {
    display: block;
  }
  #intro-quote {
    font-size: 18px;
  }
  blockquote:before,
  blockquote:after {
    font-size: 110px;
  }
  footer div {
    text-align: center;
  }
  footer span {
    display: block;
  }
  #termsconds-header h1 {
    font-size: 19px;
  }
  #termsconds i {
    font-size: 16px;
  }
  #termsconds textarea {
    font-size: 17px;
  }
  .text-gold label {
    font-size: 16px !important;
  }
  #item p:not(#book-price),
  #shipping-methods p,
  #tax p,
  #terms p,
  #policy p {
    font-size: 12px !important;
  }
  #book-price {
    font-size: 13px !important;
  }
  #final-prices p {
    font-size: 17px !important;
  }
  #book-description p {
    font-size: 9px !important;
  }
  #profile p {
    font-size: 18px;
  }
  #turnhere {
    width: 40px;
    height: 40px;
  }
  #turnhere p {
    display: none;
  }
}
@media only screen and (max-width: 500px) {
}
@media only screen and (max-width: 400px) {
  #final-prices .empty {
    flex: 2.5;
  }
  #termsconds-header h1 {
    font-size: 12px;
  }
  #termsconds i {
    font-size: 12px;
  }
  #termsconds textarea {
    font-size: 13px;
  }
}
