@charset "UTF-8";
/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */
/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */
/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;700&display=swap");
html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */
::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */
audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */
textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
html {
  font-family: "Open Sans", sans-serif;
  scroll-behavior: smooth;
  line-height: 1.6;
}

body {
  background-color: #E5E5E5;
}

img {
  max-width: 100%;
}

.main_wrap {
  max-width: 90rem;
  margin: 0 auto;
  position: relative;
  background-color: #fff;
}

/* logo */
.logo img {
  max-width: 150px;
  margin: 20px 0 0 3%;
}

/* menu */
.main_header {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100px;
}

.main_menu {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  right: 0;
  top: 90px;
  display: none;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  z-index: 10;
}
.main_menu li a {
  color: inherit;
  text-align: right;
  text-decoration: none;
  text-transform: uppercase;
  padding: 0 10%;
  line-height: 2.75rem;
  display: block;
}
.main_menu li .menu_order_book {
  display: none;
}

.main_menu_toggle {
  position: absolute;
  right: 40px;
  top: 40px;
  width: 40px;
  height: 40px;
  border: solid 1px #333;
}
.main_menu_toggle::before, .main_menu_toggle::after {
  content: "";
  width: 65%;
  height: 4px;
  background: #555;
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  box-shadow: 0 8px 0 0 #555, 0 -8px 0 0 #555;
  transform: translate(-50%, -50%);
}

#main_menu_toggle:checked ~ .main_menu {
  display: block;
}

.about_the_book {
  padding: 100px 10% 10% 10%;
}
.about_the_book .text ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  width: 100%;
}
.about_the_book .text ul li {
  flex-basis: 33.333%;
  font-size: 1.125rem;
}
.about_the_book .text ul li strong {
  font-size: 2rem;
}
.about_the_book .img_wrap {
  max-width: 350px;
  margin: 0 auto;
}
.about_the_book .img_wrap .book_cover_img {
  max-width: 100%;
  filter: drop-shadow(0px 20px 10px rgba(0, 0, 0, 0.2));
}

.book_cover_link {
  color: inherit;
  text-decoration: none;
}

.previous_books {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}
.previous_books li {
  padding: 0.25em;
  max-width: 150px;
}
.previous_books li a {
  display: block;
  color: black;
  text-decoration: none;
}
.previous_books li a img {
  margin-bottom: 0.5rem;
  max-width: 120px;
}

.look_inside {
  background-color: rgba(207, 19, 25, 0.8823529412);
  color: white;
  display: block;
  font-size: 1.3em;
  font-weight: bold;
  display: inline-block;
  padding: 0.25em 0.5em;
  transform: translateY(-1rem);
}
.look_inside img {
  padding-left: 0.5em;
  vertical-align: baseline;
  display: inline-block;
}

.sub_page .look_inside {
  background-color: #ff6913;
}

.book_combo,
.book_combo_2 {
  padding: 0 10% 3em 10%;
}
.book_combo .img_wrap,
.book_combo_2 .img_wrap {
  max-width: 350px;
  margin: 0 auto;
}
.book_combo .img_wrap .book_cover_img,
.book_combo_2 .img_wrap .book_cover_img {
  max-width: 100%;
  filter: drop-shadow(0px 20px 10px rgba(0, 0, 0, 0.2));
  transition: all 0.3S;
}
.book_combo .img_wrap .book_cover_img:hover,
.book_combo_2 .img_wrap .book_cover_img:hover {
  transform: scale(1.05) rotate(-3deg);
}
.book_combo .text_wrap,
.book_combo_2 .text_wrap {
  display: flex;
  flex-direction: column;
}
.book_combo .combo_btn,
.book_combo_2 .combo_btn {
  color: white;
  background-color: #BE0002;
  border-radius: 0.25em;
  outline: 2px solid white;
  transform: rotate(-2deg);
  display: inline-block;
  padding: 0.8em 1em;
  font-weight: bold;
  transition: all 0.3s ease-in-out;
  text-decoration: none;
  align-self: center;
}
.book_combo .combo_btn:hover,
.book_combo_2 .combo_btn:hover {
  transform: scale(1.05) rotate(-3deg);
}

.sub_page .book_combo,
.book_combo_2 {
  background: #2a2929;
  color: white;
  padding-top: 2rem;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  margin-top: 2rem;
}
.sub_page .book_combo .col > img,
.book_combo_2 .col > img {
  padding-top: 2rem;
}

.dedicated {
  position: relative;
}
.dedicated:before {
  content: "Dedikált példányok\a a készlet erejéig!";
  padding: 1em;
  border-radius: 0.5em;
  border: 3px solid rgba(255, 255, 255, 0.8431372549);
  box-shadow: 2px 2px 10px 3px rgba(0, 0, 0, 0.25);
  transform: rotate(-8deg);
  position: absolute;
  left: 0;
  top: 20%;
  font-size: 0.8em;
  white-space: pre;
  background-color: rgba(190, 0, 3, 0.8549019608);
  color: white;
  display: block;
  text-align: center;
  z-index: 2;
}

.about_author {
  display: flex;
  flex-direction: column;
  padding: 0 15% 3rem 15%;
  margin-top: 0rem;
}
.about_author .col {
  width: 50%;
  width: 100%;
}
.about_author .text {
  padding-left: 3rem;
  padding-left: 0;
}
.about_author .text h3 {
  font-size: 2rem;
  font-weight: normal;
  color: #CF1318;
  padding: 2em 0 0.5em 0;
  padding: 0 0 0.5em 0;
  border-bottom: 1px solid #bbb;
}
.about_author h2 {
  font-size: 1.125rem;
  font-weight: normal;
  text-transform: uppercase;
  background-color: #242424;
  display: inline-block;
  color: #fff;
  padding: 0.5em 1em 0.5em 1em;
  transform: translateX(-20%);
  z-index: 1;
  margin: 0;
  position: relative;
}
.about_author h2::before {
  content: "";
  width: 4em;
  height: 100%;
  position: absolute;
  left: 99%;
  top: 0;
  background-image: url(../img/title_triangle.svg);
  background-repeat: no-repeat;
  background-position: 100% top;
  background-size: auto 100%;
}
.about_author h2::after {
  content: "01";
  position: absolute;
  font-size: 1.1em;
  font-weight: bold;
  left: 0;
  top: 100%;
  line-height: 1;
  padding: 0.5em 0;
  width: 20%;
  text-align: center;
  background: #242424;
}

.sub_page .about_author .text h3 {
  color: #ff6813;
}
.sub_page .about_author h2 {
  transform: translateX(0);
}
.sub_page .about_author h2:after {
  display: none;
}

.order {
  background-image: url(../img/order_bg.jpg);
  background-size: contain;
  background-size: cover;
  background-position: bottom center;
  background-color: #BE0002;
  background-repeat: no-repeat;
  -webkit-clip-path: url(../img/order_mask.svg);
          clip-path: url(../img/order_mask.svg);
  -webkit-clip-path: path("M0 0L1453.5 71.5L1562.5 362L0 320.807V0Z");
          clip-path: path("M0 0L1453.5 71.5L1562.5 362L0 320.807V0Z");
  -webkit-clip-path: polygon(0 0, 0 95%, 100% 100%, 100% 20%);
          clip-path: polygon(0 0, 0 95%, 100% 100%, 100% 20%);
  padding: 4rem 10%;
  color: #fff;
  margin: 2rem 0;
}

.sub_page .order {
  background-image: url(../img/order_bg_orange.jpg);
}

.order_inner_wrap {
  display: flex;
  flex-direction: column;
}
.order_inner_wrap .col {
  margin: 0.5em;
}
.order_inner_wrap .col p {
  line-height: 1.6;
  padding: 1rem;
  background-color: rgba(183, 14, 44, 0.9);
}
.order_inner_wrap .col a {
  color: inherit;
}
.order_inner_wrap .col .order_btn {
  border: none;
  background-size: cover;
  background-position: bottom right;
  box-sizing: border-box;
  max-width: 100%;
  background-repeat: no-repeat;
  text-transform: uppercase;
  font-size: 1.625rem;
  color: #CF1318;
  background-color: transparent;
  padding: 0.5em 5em 0.5em 1em;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.3s;
  display: inline-block;
}
.order_inner_wrap .col .order_btn:hover {
  transform: scale(1.05);
}

.sub_page .order_inner_wrap .col .order_btn {
  color: #ff6813;
}
.sub_page .order_inner_wrap .col p {
  background-color: rgba(255, 105, 19, 0.9);
}

.order_btn {
  background-image: url(../img/button_bg.svg);
  border: none;
  background-size: cover;
  background-position: bottom right;
  box-sizing: border-box;
  max-width: 100%;
  background-repeat: no-repeat;
  text-transform: uppercase;
  font-size: 1.625rem;
  color: #CF1318;
  background-color: transparent;
  padding: 0.5em 5em 0.5em 1em;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.3s;
  display: inline-block;
}
.order_btn:hover {
  transform: scale(1.05);
}

.sub_page .about_the_book .order_btn,
.sub_page .book_combo .order_btn {
  background-image: url(../img/button_bg_orange.svg);
  color: white;
}

.sub_page .order_btn {
  margin: 2rem 0;
}

.main_footer {
  background-color: #000;
  background-image: url(../img/footer_car.png), url(../img/footer_top.svg);
  background-repeat: no-repeat, no-repeat;
  background-position: right top, center top;
  background-size: 50%, contain;
  padding: 350px 10% 2rem 10%;
  color: #fff;
}

.fb_logo {
  display: block;
  width: 40px;
  height: 40px;
  background-image: url(../img/facebook_logo.svg);
  background-repeat: no-repeat;
  background-size: 100%;
}

.social_list {
  margin: 0;
  padding: 1rem 0;
  list-style: none;
}

.footer_menu {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.8rem;
}
.footer_menu li {
  padding: 0.5em 1em 0.5em 0;
}
.footer_menu a {
  color: inherit;
  text-decoration: none;
}

.mobile_order_book_btn {
  background-color: #BE0002;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 1.25rem;
  color: white;
  border-radius: 0.25em;
  outline: 2px solid white;
  transform: rotate(-5deg);
  display: inline-block;
  padding: 0.25em 0.5em;
  font-weight: bold;
  transition: all 0.3s ease-in-out;
}
.mobile_order_book_btn:hover {
  transform: rotate(0) scale(1.15);
}

.impressum a {
  text-decoration: none;
  color: inherit;
}
.impressum dd, .impressum dt {
  padding: 0;
  margin: 0;
}
.impressum dt {
  font-weight: bold;
}
.impressum dd {
  padding-bottom: 0.5em;
}

.animated_number_list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  width: 80%;
}
.animated_number_list li {
  text-align: center;
  flex-basis: 33.333%;
  font-size: 1.375rem;
}
.animated_number_list li strong {
  font-size: 2.1875rem;
}

.sub_page .book_combo .text h3,
.sub_page .about_the_book .text h3,
.book_combo_2 .text h3 {
  font-weight: bolder;
  border-bottom: none;
  font-size: 2.3rem;
  line-height: 1.2;
  margin-bottom: 0;
  padding-bottom: 0;
}
/* 720 */
@media (min-width: 45rem) {
  .main_menu_toggle {
    display: none;
  }
  .main_menu {
    right: initial;
    left: 41%;
    top: 40px;
    background: #242424;
    color: #fff;
    display: block;
    width: auto;
    text-align: left;
  }
  .main_menu li {
    display: inline;
  }
  .main_menu li a {
    margin: 0.25rem;
    color: inherit;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1.25rem;
    margin: 0 0.5rem;
    display: initial;
    padding: 0;
  }
  .main_menu li .mobile_menu_order_book {
    display: none;
  }
  .main_menu li .menu_order_book {
    background-color: #BE0002;
    border-radius: 0.25em;
    outline: 2px solid white;
    transform: rotate(-5deg);
    display: inline-block;
    padding: 0 0.25em;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
  }
  .main_menu li .menu_order_book:hover {
    transform: rotate(0) scale(1.15);
  }
  .about_the_book {
    padding-top: 120px;
    background-image: url(../img/hero_bg_gradient.svg);
    background-repeat: no-repeat;
    background-position: left top;
    background-size: 100% 100%;
  }
  .about_the_book .inner_wrap {
    display: flex;
  }
  .about_the_book .text {
    color: #fff;
    background-image: url(../img/f1_wireframe_car_5.png);
    background-repeat: no-repeat;
    background-position: right 100%;
    background-size: 70%;
    flex-basis: 60%;
    padding: 0 10% 30% 10%;
  }
  .about_the_book .text ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    width: 80%;
  }
  .about_the_book .text ul li {
    flex-basis: 33.333%;
    font-size: 1.375rem;
    text-shadow: 1px 1px 0px #000;
  }
  .about_the_book .text ul li strong {
    font-size: 2.1875rem;
  }
  .about_the_book .img_wrap {
    flex-basis: 40%;
  }
  .about_the_book .img_wrap .book_cover_img {
    max-width: 100%;
    transform: translateX(20%);
    margin-top: 20%;
    transition: all 0.3s ease-in-out;
  }
  .about_the_book .img_wrap .book_cover_img:hover {
    transform: scale(1.15) translateX(15%) rotate(-3deg);
  }
  .sub_page .about_the_book .text {
    background-image: url(../img/f1_wireframe_car_4.png);
  }
  .mobile_order_book_btn {
    display: none;
  }
  .sub_page .book_combo .text h3,
  .sub_page .about_the_book .text h3 {
    color: #ff6813;
  }
  .sub_page .book_combo .text h3 strong,
  .sub_page .about_the_book .text h3 strong {
    color: white;
  }
  .book_combo_2 .text h3 {
    color: #B70E2C;
  }
  .book_combo_2 .text h3 strong {
    color: white;
  }
}
/* 800 */
@media (min-width: 800px) {
  .main_menu li a {
    margin: 0 1rem;
  }
  .about_author {
    flex-direction: row;
  }
  .about_author .col {
    width: 50%;
  }
  .about_author .text {
    padding-left: 3rem;
  }
  .about_author .text h3 {
    font-size: 1.375rem;
    font-weight: normal;
    color: #CF1318;
    padding: 2em 0 0.5em 0;
    padding: 0 0 0.5em 0;
    border-bottom: 1px solid #bbb;
  }
  .about_author h2 {
    font-size: 1.5rem;
  }
  #book_combo_2 {
    margin-bottom: 10rem;
  }
  .book_combo,
  .book_combo_2 {
    padding: 0 15% 4rem 15%;
    display: flex;
  }
  .book_combo .text,
  .book_combo_2 .text {
    margin-right: 1rem;
  }
  .book_combo .text h3,
  .book_combo_2 .text h3 {
    font-size: 1.375rem;
    font-weight: normal;
    color: #CF1318;
    padding: 2em 0 0.5em 0;
    padding: 0 0 0.5em 0;
    border-bottom: 1px solid #bbb;
  }
  .book_combo .col,
  .book_combo_2 .col {
    width: 50%;
  }
  .book_combo .img_wrap,
  .book_combo_2 .img_wrap {
    order: 1;
  }
  .book_combo_2 .text h3 {
    font-size: 2.75rem;
    font-weight: bolder;
  }
  .order_inner_wrap {
    flex-direction: row;
  }
  .order_inner_wrap .col {
    width: 50%;
  }
  .sub_page .book_combo,
  .book_combo_2 {
    padding-top: 10rem;
    padding-bottom: 10rem;
    margin-top: -15rem;
    color: white;
    background-color: transparent;
    background-image: url(../img/presentation_bg_gradient.svg);
    background-repeat: no-repeat;
    background-position: left top;
    background-size: 100% 100%;
  }
}
.previous_books_2023 {
  display: flex;
  flex-direction: column;
  padding: 0 15% 3rem 15%;
  margin-top: 0rem;
}
.previous_books_2023 .img_wrap {
  flex-basis: 40%;
}

/*992*/
@media (min-width: 62rem) {
  .logo img {
    margin: 20px 0 0 2%;
    max-width: 200px;
  }
}
/*640*/
/* ==========================================================================
   Helper classes
   ========================================================================== */
/*
 * Hide visually and from screen readers
 */
.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */
.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .sr-only class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */
.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */
.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */
.clearfix::before,
.clearfix::after {
  content: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */
@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}
@media print, (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 1.25dppx), (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}
/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */
@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }
  a,
  a:visited {
    text-decoration: underline;
  }
  a[href]::after {
    content: " (" attr(href) ")";
  }
  abbr[title]::after {
    content: " (" attr(title) ")";
  }
  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }
  pre {
    white-space: pre-wrap !important;
  }
  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }
  /*
   * Printing Tables:
   * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
   */
  thead {
    display: table-header-group;
  }
  tr,
  img {
    page-break-inside: avoid;
  }
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
  h2,
  h3 {
    page-break-after: avoid;
  }
}/*# sourceMappingURL=main.css.map */