/* 
Theme Name: Soccer Champions
Theme URI: https://soccerchampions.nl
Description: A child theme of Hello Elementor, customized for Soccer Champions website.
Author: Pineapple
Author URI: https://wearepineapple.nl
Template: hello-elementor
Version: 1.0.0
Text Domain: soccer-champions
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

:root {
  --size-unit: 16;
  --size-container-ideal: 1920;
  --size-container-min: 992px;
  --size-container-max: 2160px;
  --size-container: clamp(
    var(--size-container-min),
    100vw,
    var(--size-container-max)
  );
  --size-font: calc(
    var(--size-container) / (var(--size-container-ideal) / var(--size-unit))
  );

  --container-padding: 5em;
  --section-padding: 10em;
}

@media screen and (max-width: 991px) {
  :root {
    --size-container-ideal: 1384;
    --size-container-min: 768px;
    --size-container-max: 991px;
  }
}

@media screen and (max-width: 767px) {
  :root {
    --size-container-ideal: 377;
    --size-container-min: 480px;
    --size-container-max: 767px;
  }
}

@media screen and (max-width: 479px) {
  :root {
    --size-container-ideal: 377;
    --size-container-min: 320px;
    --size-container-max: 479px;
  }
}

@media screen and (max-width: 767px) {
  :root {
    --banner-height: 2.5em;
    --section-padding: 8em;
    --container-left-padding: 0em;
    --container-right-padding: 0em;
  }
}

@media screen and (max-width: 991px) {
  :root {
    --container-padding: 1.5em;
    --side-padding: var(--container-padding);
  }
}

body {
  font-size: var(--size-font);
}

/*

SIDENAV STYLES

*/

.sidenav-wrapper {
  background: #1c1f3e;
  display: none;
}
/* The pseudo-element acting as the torn border */
.sidenav-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  /* Position it exactly on the right edge of the main sidebar */
  left: 100%;
  /* The width at which you cropped your strip image */
  width: 40px;
  /* Your cropped image strip */
  background-image: url("https://soccerchampions:8890/wp-content/themes/soccer-champions/assets/images/sidebar-border.png");
  /* Repeat it vertically down the screen */
  background-repeat: repeat-y;
  /* Ensure it doesn't scale awkwardly */
  background-size: 100% auto;
}

.nav-menu .menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu .menu-item a {
  color: #ffffff;
  font-family: "Futura Std Extra Bold Condensed Oblique", Sans-serif;
  font-size: 3em;
  line-height: 1em;
  text-transform: uppercase;
  display: inline-block;
  padding: 8px 0;
  border-bottom: 2px dashed #ffffff;
}

.nav-menu .menu-item:last-of-type a {
  border-bottom: none;
}

.nav-extra {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: auto;
  margin-bottom: 0;
}

a.sidenav-btn-primary {
  display: inline-block;
  background: #51b0e3;
  color: #ffffff;
  font-family: "Futura Std Extra Bold Condensed Oblique", Sans-serif;
  font-size: 3em;
  line-height: 1;
  text-transform: uppercase;
  padding: 12px 24px;
  margin-top: 32px;
  text-decoration: none;
  transform: rotateZ(-4deg);
  transform-origin: left bottom;
}

a.sidenav-btn-secondary {
  display: inline-block;
  background: #ffffff;
  color: #1c1f3e;
  font-family: "Futura Std Extra Bold Condensed Oblique", Sans-serif;
  font-size: 3em;
  line-height: 1;
  text-transform: uppercase;
  padding: 12px 24px;
  margin-top: 32px;
  text-decoration: none;
  transform: rotateZ(4deg);
  transform-origin: left bottom;
}

.mobile-logo {
  display: block;
  padding: 16px 24px;
}

.mobile-logo img {
  width: 7.5em;
  height: auto;
}

.mobile-nav-toggle {
  position: absolute;
  top: 0;
  right: 0;
  padding-top: 64px;
  padding-right: 24px;
  transition: padding 0.735s cubic-bezier(0.62, 0.05, 0.01, 0.99);
}

.toggle-btn {
  pointer-events: auto;
  cursor: pointer;
  flex: 0 auto;
  padding-left: 2em;
  padding-right: 2em;
  font-weight: 400;
  line-height: 1.5em;
  text-decoration: none;
  display: inline-block;
  transform: rotate(-1deg);

  margin-top: -0.1em;
  margin-right: -0.1em;
  padding-left: 1.1em;
  padding-right: 1.25em;

  background: #1c1f3e;
  color: #ffffff;
  font-size: 1.5em;
  text-transform: uppercase;
  font-family: "Futura Std Extra Bold Condensed Oblique", Sans-serif;
}

.mobile-nav-wrapper {
  z-index: 300;
  pointer-events: none;
  position: fixed;
  inset: 0;
  overflow: hidden;
}

.mobile-nav {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(-100%);
  /* transform: translateY(0%); */
}

.nav-bg {
  background: #1c1f3e;
  pointer-events: none;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.nav-content {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  padding: 2em;
  pointer-events: auto;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
}

.mobile-nav .menu-item a {
  display: block;
  font-size: 2em;
  padding: 16px 0;
}

.mobile-nav .nav-extra {
  align-items: center;
}
.mobile-nav .nav-extra a {
  font-size: 2em;
}

@media (min-width: 991px) {
  .page-wrapper {
    padding-left: 27.5em;
  }

  .sidenav-wrapper {
    width: 27.5em;
  }

  .mobile-header {
    display: none;
  }

  .sidenav-wrapper {
    position: fixed;
    display: block;
    height: 100vh;
    padding: 0;
    top: 0;
    left: 0;
    z-index: 999;
  }

  .nav-wrapper {
    padding: 24px 40px;
    height: 100%;
  }

  .nav-wrapper nav {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }

  .admin-bar .nav-wrapper {
    padding: 40px 40px 80px 40px;
  }

  .nav-wrapper .custom-logo {
    width: 160px;
    height: auto;
  }
}

@media (min-width: 1025px) {
}

/* 

MAIN CONTENT STYLES

*/

#hero-text span {
  padding: 10px 12px;
  background: #51b0e3;
}

#section-heading span {
  padding: 10px 12px;
  background: #51b0e3;
  display: inline-block;
  transform: rotateZ(-3deg) translateX(8px);
  transform-origin: left bottom;
}

.aanbod-blok .aanbod-titel {
  transform-origin: left bottom;
  transition: transform 0.3s ease;
  background: transparent;
}
.aanbod-blok:hover .aanbod-titel {
  background: #51b0e3;
  transform: rotateZ(4deg) translateY(8px);
}

.scroller-track {
  animation: scroll-vertical 6s linear infinite;
}

/* Hover to pause (optional, good for UX) */
.scroller-window:hover .scroller-track {
  animation-play-state: paused;
}

/* The Animation Logic */
@keyframes scroll-vertical {
  0% {
    transform: translateY(0);
  }
  100% {
    /* Move up by 50% of the track's height.
       Since we doubled the content, this resets 
       perfectly to the start position. */
    transform: translateY(-50%);
  }
}
