/*!
Theme Name: Jessie loves Lego
Theme URI: https://jessieloveslego.de
Author: webcoon
Author URI: https://www.webcoon.de
Description: Theme für Jessie loves Lego
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: jessieloveslego
Tags: 

*/

/*--------------------------------------------------------------
# FONT
--------------------------------------------------------------*/

@font-face {
  font-family: "cerapro";
  src: url("/wp-content/themes/jessieloveslego/assets/fonts/cerapro-light-webfont.woff2")
      format("woff2"),
    url("/wp-content/themes/jessieloveslego/assets/fonts/cerapro-light-webfont.woff")
      format("woff");
  font-weight: 300;
}

@font-face {
  font-family: "cerapro";
  src: url("/wp-content/themes/jessieloveslego/assets/fonts/cerapro-regular-webfont.woff2")
      format("woff2"),
    url("/wp-content/themes/jessieloveslego/assets/fonts/cerapro-regular-webfont.woff")
      format("woff");
  font-weight: 400;
}

@font-face {
  font-family: "cerapro";
  src: url("/wp-content/themes/jessieloveslego/assets/fonts/cerapro-medium-webfont.woff2")
      format("woff2"),
    url("/wp-content/themes/jessieloveslego/assets/fonts/cerapro-medium-webfont.woff")
      format("woff");
  font-weight: 500;
}

/*--------------------------------------------------------------
# VARIABLE
--------------------------------------------------------------*/

:root {
  --width: 86%;
  --maxwidth: 1200px;
  --header-height: 120px;
  --grey: #000;
  --blue: #006db7;
  --red: #ff0000;
  --yellow: #f7be00;
  --font-size: 18px;
}

/*--------------------------------------------------------------
# GLOBAL
--------------------------------------------------------------*/

body {
  font-family: "cerapro", sans-serif;
  font-weight: 400;
  line-height: 1.5em;
  font-size: var(--font-size);
  padding: 0;
  margin: 0;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  background: #f7f7f7;
  color: var(--grey);
}

*,
*:after,
*:before {
  box-sizing: border-box;
}

a {
  color: var(--grey);
  text-decoration: none;
}

p a {
  color: var(--grey);
  text-decoration: none;
}

a:hover,
p a:hover {
  text-decoration: underline;
}

p {
  margin: 0 0 15px;
}

p:last-child,
p:only-child {
  margin: 0;
}

input,
textarea {
  box-shadow: unset;
  outline: unset;
  color: var(--grey);
}

strong {
  font-weight: 600;
}

img,
video {
  width: 100%;
  height: auto;
  display: block;
}

::placeholder {
  color: var(--grey);
  opacity: 0.8;
}

:-ms-input-placeholder {
  color: var(--grey);
}

::-ms-input-placeholder {
  color: var(--grey);
}

.overflow-hidden,
.overflow-hidden body {
  overflow: hidden;
}

.wc-headline,
h1 {
  font-size: 44px;
  line-height: 1.1em;
  font-weight: 800;
  margin: 0 0 20px !important;
  text-transform: uppercase;
}

.wc-subline {
  font-family: "cerapro", sans-serif;
  font-size: 24px;
  line-height: 1.3em;
  font-weight: 400;
  margin: 0 0 20px !important;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0;
}

#content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 15px;
}

#content li {
  padding-left: 1.4em;
  text-indent: -1.2em;
  margin-bottom: 2px;
}

#content li::before {
  content: "•";
  color: var(--green);
  margin-right: 0.4em;
  font-weight: 600;
  font-size: 18px;
}

.upc {
  text-transform: uppercase;
}

.strong {
  font-weight: 600;
}

.right {
  text-align: right;
}

.section {
  min-height: 100vh;
  padding-bottom: 0px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section > .row {
  max-width: var(--maxwidth);
  display: flex;
  flex-wrap: wrap;
  margin: 0px auto;
  padding: 100px 0;
  width: var(--width);
  justify-content: space-between;
  position: relative;
}

.row-1 .col {
  width: 100%;
}

.row-2 .col {
  width: calc(50% - 60px);
}

.row-2-1 .col:first-child,
.row-2-2 .col:last-child {
  width: calc(64% - 60px);
}

.row-2-1 .col:last-child,
.row-2-2 .col:first-child {
  width: calc(36% - 60px);
}

.row-3 .col {
  width: calc(33.3% - 60px);
}

.row-4 .col {
  width: calc(25% - 60px);
}

.row > .col > div {
  margin-bottom: 30px;
}

.row > .col > div:last-child {
  margin-bottom: 0px;
}

.remove-padding-bottom {
  padding-bottom: 0 !important;
}

.half-padding-top {
  padding-top: 50px !important;
}

.maxwidth-1000 {
  max-width: 1000px;
  width: calc(100% - 100px);
}

.button {
  position: relative;
  cursor: pointer;
  outline: none;
  padding: 0;
  text-decoration: none !important;
  width: fit-content;
  height: auto;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--grey);
  padding: 10px 25px;
  background: #fff;
  font-size: var(--font-size);
  transition: all 0.3s ease;
}

.button:hover {
  background: var(--grey);
  color: #fff;
}

/*--------------------------------------------------------------
# SECTIONS & CO
--------------------------------------------------------------*/

#content > .section:first-child {
  padding-top: 50px;
}

#loader {
  background-image: url("/wp-content/uploads/hero-bg.jpg");
  background-size: 5vw;
}

#hero {
  justify-content: unset;
  opacity: 1;
  transform: translateY(200px);
  transition: all 1s cubic-bezier(0.7, 0, 0.3, 1);
}

#hero.animated {
  opacity: 1;
  transform: translateY(0px);
}

#hero .row {
  min-height: calc(100vh - 50px);
  padding-bottom: 0 !important;
}

#hero .row .col:first-child {
  justify-content: center;
  display: flex;
  flex-direction: column;
  padding-bottom: 50px;
}

#hero .row .col:last-child {
  width: calc(50vw - 60px);
  margin-right: calc(-50vw + 50%);
}

.wc-banner {
  background: var(--yellow);
  padding: 10px 20px;
  color: #000;
  font-size: 18px;
  font-weight: 700;
  display: inline-block;
  width: fit-content;
  margin-bottom: 10px !important;
}

#hero .wc-image {
  height: 100%;
}

#hero .wc-image img {
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: bottom left;
}

#register {
  background: var(--yellow);
  color: #000;
}

.row.-top {
  align-items: flex-start !important;
}

.date-infos {
  display: none !important;
  position: relative;
  background: var(--blue);
  color: #fff;
  padding: 50px 50px 80px;
}

.date-info .wc-subline {
  margin-bottom: 5px !important;
}

#register .wc-banner {
  background: var(--blue);
  padding: 20px 30px;
  color: #fff;
}

/*--------------------------------------------------------------
# CONTACTFORM
--------------------------------------------------------------*/

.registerform-fields {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 25px;
}

#datenschutz {
  display: none !important;
}

.input-col {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.checkbox {
  flex-direction: unset;
  align-items: center;
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 10px;
}

.checkbox input {
  width: 16px;
  height: 16px;
}

.radio-buttons {
  display: flex;
  flex-direction: unset;
  gap: 10px;
}

.radio-buttons label {
  padding: 10px 12px;
  background: #f7f7f7;
  color: #000;
  cursor: pointer;
  transition: all 0.3s ease;
}

.radio-buttons label:hover {
  background: var(--blue);
  color: #fff;
}

.radio-buttons input[type="radio"]:checked + label {
  background: var(--blue);
  color: #fff;
}

.radio-buttons input[type="radio"] {
  display: none;
}

.privacy {
  margin-top: 10px;
}

.einwilligung a {
  color: #000;
  text-decoration: underline !important;
}

.input-col p {
  font-size: 14px;
  line-height: 1.2em;
  margin: 0 !important;
}

.input-col.textfeld input {
  font-size: var(--font-size);
  line-height: 1em;
  border: 0;
  background: #fff;
  width: 100%;
  padding: 12px;
}

.submit.button {
  background: #000;
  color: #fff;
  border-color: #000;
}

.submit.button:hover {
  background: #0000;
  color: #000;
}

/*--------------------------------------------------------------
# THANKYOU
--------------------------------------------------------------*/

#thankyou .row .col {
  max-width: 600px;
  text-align: center;
  margin: auto;
}

/*--------------------------------------------------------------
# LOADING SCREEN
--------------------------------------------------------------*/

.load-animated.loadingscreen {
  transform: translateY(-0%) !important;
  border-bottom: 150px solid #fff !important;
}

.loadingscreen {
  transform: translateY(-100%);
  background: var(--yellow);
  border-bottom: 0px solid #fff;
  width: 100vw;
  height: calc(100vh + 150px);
  padding-bottom: calc(100vh - var(--app-height));
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9998;
  transition: transform 0.8s cubic-bezier(0.7, 0, 0.3, 1),
    border 0.8s cubic-bezier(0.7, 0, 0.3, 1) 0.1s;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  line-height: 1.2em;
  font-family: "cerapro", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

.loadingscreen .single-word {
  margin-right: 0;
  display: inline-block;
  height: 1em;
}

.loadingscreen .word {
  height: 1em;
  display: inline-block;
  opacity: 0;
  transition-delay: 0s !important;
}

.loadingscreen .word.start-animation {
  opacity: 1;
}

.loadingscreen .single-word span {
  height: 1em;
  transform: translate(0px, -100%) rotateX(-30deg);
  display: inline-block;
  position: relative;
  transition: all 0.8s ease;
}

.loadingscreen .text-bottom .single-word span {
  transform: translate(0px, 110%) rotateX(-30deg);
}

.loadingscreen .word.start-animation .single-word span {
  transform: translate(0);
}

.loadingscreen .text-box {
  position: relative;
  overflow: hidden;
  height: 1em;
  width: 160px;
}

.loadingscreen .text-bottom .word {
  position: absolute;
  white-space: nowrap;
  height: 1em;
  transform: translateY(100%);
  transition: transform 1s ease;
}

.loadingscreen .text-bottom .word.start-animation {
  transform: translateY(0%);
}

.loadingscreen .text-bottom .word.end-animation {
  transform: translateY(-110%);
}

.loadingscreen .text-bottom .word.end-animation:last-child {
  transform: translateY(0%);
}

/*--------------------------------------------------------------
# ERROR
--------------------------------------------------------------*/

#content > #error {
  min-height: calc(100vh - var(--header-height));
  padding: 60px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.error-content {
  max-width: 600px;
  margin: auto;
}

.error-404 {
  font-size: 50px;
  line-height: 1.2em;

  font-weight: 700;
}

.error-text {
  font-size: 30px;
  line-height: 1.2em;
  font-weight: 600;
  margin: 15px 0 20px;
}

/*--------------------------------------------------------------
# HEADER
--------------------------------------------------------------*/

#header {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 999;
  height: var(--header-height);
  padding: 15px 0;
  transition: all 0.4s ease;
}

.header-inner {
  width: var(--width);
  max-width: var(--maxwidth);
  height: calc(var(--header-height) - 30px);
  display: flex;
  gap: 40px;
  justify-content: space-between;
  margin: auto;
  align-items: center;
}

.header-inner .logo img {
  height: 90px;
  width: auto;
}

.header-inner .logo._smyths img {
  height: 60px;
}

/*--------------------------------------------------------------
# FOOTER
--------------------------------------------------------------*/

#footer {
  width: 100vw;
  padding: 30px 0;
  background: #fff;
  font-size: 14px;
  line-height: 1.2em;
  margin: auto 0 0;
}

#footer > .row {
  display: flex;
  gap: 40px;
  margin: 0px auto;
  width: var(--width);
  max-width: var(--maxwidth);
  justify-content: space-between;
  position: relative;
}

#footer .links {
  white-space: nowrap;
}

/*--------------------------------------------------------------
# RESPONSIVE
--------------------------------------------------------------*/

/*
@media all and (min-width: 980px) and (max-width: 1428px) {

}
*/

@media (min-width: 981px) {
  .mobil-show {
    display: none !important;
  }
}

@media all and (max-width: 980px) {
  :root {
    --header-height: 80px;
    --font-size: 16px;
  }

  body.no-scroll {
    overflow: hidden;
  }

  .no-scroll #header {
    position: fixed;
    top: 0px;
  }

  #header {
    padding: 10px 0;
  }

  .header-inner {
    height: calc(var(--header-height) - 20px);
  }

  .header-inner .logo img {
    height: 60px;
  }

  .header-inner .logo._smyths img {
    height: 40px;
  }

  #footer > .row {
    gap: 0px;
    flex-direction: column;
    text-align: center;
  }

  .col {
    width: 100% !important;
    margin-bottom: 30px;
  }

  .row .col:last-child {
    margin-bottom: 0px;
  }

  .order {
    display: flex;
    flex-direction: column;
  }

  .order-1 {
    order: 1;
    margin-bottom: 30px !important;
  }

  .order-2 {
    order: 2;
    margin-bottom: 0px !important;
  }

  .wc-headline,
  h1 {
    font-size: 30px;
    line-height: 1.1em;
  }

  .wc-subline {
    font-size: 20px;
  }

  .wc-banner {
    font-size: 12px;
    letter-spacing: -0.3px;
    padding: 10px 12px;
    line-height: 1.2em;
  }

  #hero .row .col:last-child {
    margin: 0 !important;
  }

  #hero .row .col:first-child {
    padding-bottom: 20px;
  }

  #register .half-padding-top {
    padding-top: 30px !important;
  }

  .date-infos {
    margin: 80px auto 40px !important;
  }
}
