/*

   ===================================================================================

   W e b d e s i g n   u n d   M a r k e t i n g

  
   Hübsch kann jeder. 
   Wir machen Ihre Webseite 
   erfolgreich.


   Webdesign und Marketing aus Münster
   www.Leusing.de

   ===================================================================================

*/


/*
PEC
272F65 dark blue CI
ffed00 yellow würzburger
6A72A6 mid blue
CCD0E6 light blue
BBAF87 light beige
416628 green

content-width       1300px;    neu wg bootstrap, vorher 1400
header photos       1400 x 600
long reveal images  1800 x 600

*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border: 0;
}



*,
*::before,
*::after {
  box-sizing: border-box;
  outline: 0px solid green;
}



:root {
  --font-primary: "Assistant", "Open Sans", Helvetica, sans-serif;
  --font-secondary: serif;

  --base-font-size: 120%;
  --line-height: 1.6;

  --color-ci-01: #272f65; /* #888888;   /* #272f65;   /*  #F5E800;     /* #272f65;  */
  --color-ci-02: #444444;
  --color-ci-03: #416628;

  --color-text: #444;
  --color-heading: #444;

  --color-link: var(--color-ci-02); /* var(--color-ci-01); */
  --color-link-hover: var(--color-ci-03);


  --color-bg: #f7f7f7;    /* #f4f3f1; */
  --color-bg-light: lch(from var(--color-bg) calc(l + 3) c h);
  --color-bg-medium: lch(from var(--color-bg) calc(l - 3) c h);
  --color-bg-dark: lch(from var(--color-bg) calc(l - 6) c h);
  --color-bg-very-dark: lch(from var(--color-bg) calc(l - 24) c h);
  /* --color-bg-dark: hsl(from var(--color-bg) h s calc(l - 3)); */


  --xxcolor-bg-medium: #ebeae9;

  --color-grey: #efeeeb; /* for elements of bg scroll animation */


	--body-color: var(--color-text);
	--body-color-rgb: to-rgb(var(--body-color));
	--body-bg: var(--color-bg);
	--body-bg-rgb: #{to-rgb($body-bg)};

  /*
	--emphasis-color: #{$body-emphasis-color};
	--emphasis-color-rgb: #{to-rgb($body-emphasis-color)};

	--secondary-color: #{$body-secondary-color};
	--secondary-color-rgb: #{to-rgb($body-secondary-color)};
	--secondary-bg: #{$body-secondary-bg};
	--secondary-bg-rgb: #{to-rgb($body-secondary-bg)};

	--tertiary-color: #{$body-tertiary-color};
	--tertiary-color-rgb: #{to-rgb($body-tertiary-color)};
	--tertiary-bg: #{$body-tertiary-bg};
	--tertiary-bg-rgb: #{to-rgb($body-tertiary-bg)};
  */ 


  --color-white: #ffffff;
  --color-border: #efeeeb;
  --color-overlay: #d9d8d6;
  --color-video-control: rgba(255, 255, 255, 0.2);
  --color-video-control-hover: rgba(255, 255, 255, 0.3);
  --color-sound-control: rgba(0, 0, 0, 0.5);
  --color-sound-control-hover: rgba(0, 0, 0, 0.7);

  /* Layout */
  --content-width: 1320px;
  --header-height: 100px;
  --video-control-size: 7rem;
  --video-icon-size: 6rem;

  /* Transitions */
  --transition-default: 0.3s ease-in-out;
  --transition-smooth: 0.6s ease-in-out;

  --spacing-vertical: 1.5rem;
  --border-radius: 4px;
}

@font-face {
  font-family: "Assistant";
  src: url("../fonts/assistant/Assistant-VariableFont_wght.ttf")
    format("truetype-variations");
  font-weight: 200 800;
  font-stretch: 75% 125%;
  font-style: normal;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: var(--base-font-size);
  line-height: var(--line-height);
  color: var(--color-text);
  background-color: var(--color-bg) !important;
  -webkit-text-size-adjust: 100%; 
	-webkit-tap-highlight-color: rgba(0,0,0, 0); 
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  text-wrap: pretty;
  scrollbar-gutter: stable;
}

.content img {
  max-width: 100%;
  height: auto;
}

img.img-made-in {
  height:100%;
}

@media (max-width: 600px) {
  img.img-made-in {
    margin: 0;
    padding-top:4rem;
  }
}

img.img-fluid {
  margin: 4rem 0;
}

img.worldmap {
  padding-top:4rem;
}

@media (max-width: 1024px) {
  img.worldmap {
    padding-top:0;
  }
}

.container, .container-fluid {margin-bottom:8rem;}

.container-fluid.grey {background-color: var(--color-bg-medium);}




section {
  margin-bottom: 8rem;
}

section.content {
  margin-bottom: 8rem;
}

.spacer {
  min-height: 8rem;
}

@media (max-width: 1400px) {
  section {
    margin-bottom: 2rem;
  }
  section.content {
    margin-bottom: 2rem;
  }

  .spacer {
    min-height: 4rem;
  }
}

main {
  margin: 8rem auto;
  margin-top: 240px;
}

.content {
  /* max-width: var(--content-width); 
    padding: 0 20px;
    */
  width: min(var(--content-width), 100% - 20px);
  xmargin: 8rem auto;
  xmargin-top: 320px;
}

.content-width {
  /* max-width: var(--content-width);
    padding-inline: 20px; */
  width: min(var(--content-width), 100% - 20px);
  margin-inline: auto;
}

.content-first {
  margin: 320px auto 8rem auto;
}


.text-content {
    padding-right:4em;
}

@media (max-width: 768px) { 
 x.text-content {
    padding-right:0;
  }  
  .content-first {
    margin: 240px auto 4rem auto;
  } 
}


.m-tb-4rem {margin: 4rem 0;}


/* Header & Navigation */

.logo {
  padding: 0 0 12px 0;
}
.logo img {
  height:90px; margin-top:1.5rem;
}
@media (max-width: 600px) {
  .logo img {
    height: 80px;
  }
}


#nav-header {
  position: fixed;
  top: 0;
  width: 100%;
  padding-bottom: 1rem;
  /* height: var(--header-height); */
  background: var(--color-bg);
  /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
  z-index: 1000;
  transition: transform var(--transition-smooth),
    background-color var(--transition-smooth);
}

#nav-header .container {margin-bottom: 0;}

.header-bg-white {
  background: var(--color-bg-light) !important;
}


#nav-header.nav-hidden {
  transform: translateY(-100%);
}




#menu1,
#menu2 {
  display: flex;
  align-items: center;
}

#menu1 {
  align-items: center;
  justify-content: flex-end;
  padding: 0;
  padding-top: 0.25rem;
}

@media (max-width: 1024px) {
  #menu1 {
    padding-top: 1.25rem;
  }
}

#menu1 ul {
  padding-bottom: 4px;
}

#menu2 {
  justify-content: flex-end;
  padding: 0;
}

.main-nav {
  font-size: 1rem;
  font-weight: 300;
  padding-top: 2.5rem; 
  padding-bottom: 8px;
}

.contact-nav {
  font-size: 0.82rem;
  font-weight: 300;
  margin-left: 20px;
  margin: 0;
}

.contact-nav li {
  margin-top: 0.5rem;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  align-self: flex-end;
  text-transform: uppercase;
  margin: 0;
}

.nav-links li {
  margin-left: 1em;
}

.nav-links a {
  text-decoration: none;
  color: var(--color-text);
  padding: 1em 0.7em;
  transition: all var(--transition-default);
}

.nav-links a:hover {
  text-decoration: none;
  color: var(--color-text);
  background: var(--color-bg-dark);
}






/* Hamburger Menu */
.hamburger {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px 10px 10px 10px;
  z-index: 1002;
  position: relative;
  margin-left: 2rem;
}

.hamburger span {
  display: block;
  width: 1.25rem;
  height: 2px;
  background-color: var(--color-text);
  margin: 5px 0;
  transition: all var(--transition-default);
}

/* Hamburger Animation */
.hamburger.active span {
  background-color: var(--color-text);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Close Button */
.close-overlay {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  z-index: 1002;
}

.close-overlay span {
  display: block;
  width: 30px;
  height: 2px;
  background-color: var(--color-text);
  position: absolute;
  top: 50%;
  left: 50%;
}

.close-overlay span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.close-overlay span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* Navigation Overlay */

.overlay-width {
  width: var(--content-width);
  max-width: var(--content-width);
  margin-inline: auto;
  padding-inline: 20px;
  position: relative;
}

@media (max-width: 1400px) {
  .overlay-width {
    width: 100%; /* full width when screen is smaller than 1400p*/
  }
}

.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-bg-dark);
  z-index: 1000;
  opacity: 0.1;
  visibility: hidden;
  transition: all var(--transition-default);
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.overlay-content {
  max-width: 1400px;
  margin-inline: auto;
  text-align: center;
  margin-top: 5rem;
}

.overlay-content ul {
  list-style: none;
  padding-left: 0;
}

.overlay-content ul li {
  margin: 3rem 0;
}

.overlay-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-transform: uppercase;
  font-size: 1.5rem;
  font-weight: 300;
}

.overlay-links li {
  margin: 0.5em;
}

.overlay-links a {
  text-decoration: none;
  color: var(--color-text);
  padding: 0.5em 0.7em;
  transition: all var(--transition-default);
}
.overlay-links a:hover {
  text-decoration: none;
  background: var(--color-bg);
}

@media (max-width: 1400px) {
  .overlay-links {
    font-size: 1rem;
  }
  .overlay-content ul li {
    margin: 1rem 0;
  }
}

/* Content Section with Full Width Image */
.content-section {
  padding: 80px 0;
}

.full-width-image {
  width: 100%;
  height: auto;
  /* border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);  */
}



.figure-caption {font-size: 90%; margin-bottom:0; padding-bottom:0;}






/* COLUMNS ============= */

.col-container {
  width: var(--content-width);
  margin: 0 auto 0;
  display: flex;
  flex-wrap: wrap;
}

.col-25 {
  width: 25%;
}

.col-33 {
  width: 33%;
}

.col-40 {
  width: 40%;
}

.col-50 {
  width: 50%;
}

.col-60 {
  width: 60%;
}

.col-67 {
  width: 67%;
}

.col-75 {
  width: 75%;
}

.col-container .col {
  padding: 20px;
}

@media (max-width: 1024px) {
  .col-container {
    width: 100%; /* full width when screen is smaller than 1400p*/
  }
  .col {
    width: 100% !important;
  }
}

.center {
  margin-inline: auto;
}

/* Full Width Section */
.full-width-bg {
  background-color: var(--color-background);
  padding: 4rem 0;
}

.full-width-image img {
  width: 100%;
  height: auto;
  display: block;
}

.colored-section {
  background-color: var(--color-text);
  color: var(--color-white);
}

.columns-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.columns-4 img {
  width: 100%;
  height: auto;
}

.hero {
  margin-top: var(--header-height);
  /* background-color: var(--color-background);  */
  text-align: center;
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--color-white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* 
header.container-xl, header.container {
  padding: 0 20px;
}
*/

.cta-logo {
 margin:8rem 0 0 8rem;
 width:200px;
}

@media (max-width: 600px) {
  .cta-logo {
     margin:1rem auto;
  }
}



/* Footer */

footer {
  width: 100%;
  overflow: hidden;
  padding-top: 8rem;
}

@media (max-width: 600px) {
  footer {
     padding-top: 2rem;
  }
}

.footer-top {
  background-color:var(--color-ci-01);   /* #152e56;  */
  color: white;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-top .footer-content {
  max-width: var(--content-width);
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center; /* Center content horizontally */
  margin: 8rem auto;
}

.footer-top svg {
  width: 100px;
  height: 100px;
  margin-right: 4rem;
}

.footer-top .icon-phone {
  width: 100px;
  height: 100px;
  margin-right: 4rem;
}


.footer-top h2 {
  font-size: 2rem;
  margin: 5px 0 0 0;
  color: white;
}

.footer-top .tel {
  font-size: 3rem;
  color: white;
  margin: 0;
}

.footer-top a {
  font-size: 3rem;
  color: white;
}

.footer-top a:hover {
  font-size: 3rem;
  color: white;
}

.footer-bottom {
  background-color: white;
  color: #777;
  padding: 20px 40px;
}

.footer-bottom .f-content {
  max-width: var(--content-width);
  margin: 0 auto;
  text-align: left;
}

.footer-social {
    margin: 20px 3rem 0 0;
  }

.footer-social .social-icon {
margin-left: 1.5rem;
}


@media (max-width: 1024px) {
  .footer-social {
      margin: 20px 0;
    }
  .footer-social .social-icon {
  margin-left: 0;
  margin-right: 1.5rem;
  }
}





.footer-nav {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: flex;
  flex-wrap: wrap;
  text-transform: uppercase;
}

.footer-nav li {
  margin: 0 2rem 0 0;
  font-size: 0.9rem;
}

.footer-nav li a {
  padding-right: 1rem;
}

.footer-copyright {
  font-size: 0.8rem;
}

.footer-logo-shape {
  position: absolute;
  left: -100px;
  bottom: -100px;
  width: 600px;
  height: 600px;
  pointer-events: none;
  z-index: 1;
}

.footer-logo-shape svg {
  width: 100%;
  height: 100%;
}

@media (max-width: 600px) {
  .footer-top h2 {
    font-size: 1.5em;
  }

  .footer-top p {
    font-size: 1.2em;
  }

  .footer-copyright {
    font-size: 0.72rem;
  }

  .footer-nav li {
    margin: 5px;
    font-size: 0.72rem;
  }


  .footer-bottom .content {
    text-align: center;
  }

  .footer-top .content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-top svg {
    margin-bottom: 20px;
    margin-right: 0;
  }
}




/* Hero Video */
.hero-video {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 40%; /* old value: 56.25%;  */
  overflow: hidden;
  margin-bottom: 60px;
  background-image: url("../videos/video-fallback-1920x850px.webp");
  background-size: cover;
  background-position: center;
  aspect-ratio: 1920/850;
}

.hero-video video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-control {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: var(--video-control-size);
  height: var(--video-control-size);
  /* background: var(--color-video-control);
    border: 2px solid var(--color-white);  
    border-radius: 50%;  */
  background-color: transparent;
  border: none;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  z-index: 2;
  transition: all var(--transition-smooth);
}

.video-control.visible {
  opacity: 1;
  visibility: visible;
}

.video-control:hover {
  background: var(--color-video-control-hover);
  transform: translate(-50%, -50%) scale(1.1);
}

.video-control::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--video-icon-size);
  height: var(--video-icon-size);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  transform: translate(-50%, -50%);
}

.video-paused .video-control::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M6 19h4V5H6v14zm8-14v14h4V5h-4z'/%3E%3C/svg%3E");
}

/* Sound Toggle Button */
.sound-toggle {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--color-white);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: opacity var(--transition-default);
  z-index: 2;
}

.sound-toggle:hover {
  opacity: 1;
}

.sound-toggle .sound-icon {
  font-size: 20px;
}

.sound-control {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--color-sound-control);
  color: var(--color-white);
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  transition: background-color var(--transition-default);
  z-index: 2;
}

.sound-control:hover {
  background: var(--color-sound-control-hover);
}

.play-button {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: var(--video-control-size);
  height: var(--video-control-size);
  background: var(--color-sound-control);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
}

.play-button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 55%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 15px 0 15px 25px;
  border-color: transparent transparent transparent var(--color-white);
}

/* Animation Images Scroll reveal */

.overflow-image-left,
.overflow-image-right {
  position: relative;
  overflow: hidden;
  margin-top: 8rem;
  margin-bottom: 3rem;
}

.overflow-image-left img {
  width: 1800px;
  height: 600px;
  object-fit: cover;
  position: relative;
  left: 0;
}

.overflow-image-right img {
  width: 1800px;
  height: 600px;
  object-fit: cover;
  position: relative;
  left: -400px;
  margin-left: auto;
}

/* Animation Classes */
.animate-reveal {
  opacity: 0.1;
  clip-path: inset(100px);
  transition: clip-path 0.8s ease-out, opacity 0.8s ease-out;
}

.animate-reveal.visible {
  opacity: 1;
  clip-path: inset(0);
}

.animate-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .animate-reveal {
    opacity: 1;
    clip-path: inset(0);
  }
}

/* SVG Scroll Animation */
.svg-scroll {
  position: relative;
  will-change: transform;
  z-index: -1;
  overflow: hidden;
}

.svg-bg {
  position: absolute;
  pointer-events: none;
  will-change: transform;
  z-index: -1;
}

.svg-bg svg {
  width: 100px;
  height: 100px;
  z-index: -1;
}




/* Grid gallery */
.grid-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}
.gallery-item {
    position: relative;
    overflow: hidden;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.small {
    aspect-ratio: 1/1;
}
.big {
    grid-column: span 2;
    aspect-ratio: 1/1;
}
/* Responsive adjustments */
@media (max-width: 992px) {
    .grid-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    .big {
        grid-column: span 2;
    }
}
@media (max-width: 768px) {
    .grid-gallery {
        grid-template-columns: 1fr;
    }
    .big {
        grid-column: span 1;
    }
}





/* Swipper Slider */
.shift_slider {
  margin-top:5rem;
}

@media (max-width: 768px) {
  .shift_slider {
    margin-top:1rem;
  }
}

.parent_slider {
  width: 2600px;        /* calc number of slides, width and gap  */
  height: 700px;
  overflow: hidden;
}

.swiper-slide {
  /* 
  xdisplay: flex;
  xjustify-content: center;
  xalign-items: center;
  */ 
  display: inline-block;
  transition: transform 0.3s ease-in-out;
  align-content: end;
}

/* scale frame */
.parent_slider:active .swiper-slide {
  transform: scale(0.94);
}

/* scale image */
.parent_slider:active .image-wrapper img {
  transform: scale(1.05);
}

x.swiper-slide .img {
  clip-path: inset(0);
}
x.swiper-slide .img:active {
  clip-path: inset(10%);
}

.image-wrapper {
  overflow: hidden;
  margin: 0 auto;
}

.image-wrapper img,
.image-wrapper2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
}


.item-l {
  width: 700px;
  height: 450px;
}

.item-xl {
  width: 800px;
  height: 500px;
}

.item-p {
  width: 500px;
  height: 700px;
}


.image-wrapper .text {
  font-size: 10rem;
  color: #ffffff77;
  font-weight: 900;
  position: relative;
  bottom: 200px;
  left: 10px;
  transition: transform 0.3s ease-in-out;
}

.swiper-scrollbar.swiper-scrollbar-horizontal {
  background-color: #00000007;
  height:2px;
}
.swiper-scrollbar-drag {
  background-color: #00000020;
  height:2px;
}

.swiper-button-next, .swiper-button-prev {
  display:none !important;
}




/* Typography */

.pre-heading {
  text-transform: uppercase;
  font-size: 0.9em;
  letter-spacing: 0.1em;
  font-weight: 300;
  display: block;
  margin-top: 5rem;
  margin-bottom: 0.5em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
  color: var(--color-heading);
  line-height: 1.1;
  font-weight: 400;
  margin-top: 0;
  margin-bottom: 0.5em;
}

h1 {
  font-size: 4.5rem;
}

h2 {
  font-size: 3rem;
}

h3 {
  font-size: 2.5rem;
  text-transform: uppercase;
}

h4 {
  font-size: 1.5rem;
  text-transform: uppercase;
}

h5 {
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
}

h6 {
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
}

p {
  font-size: 1.2rem;
  margin-bottom: var(--spacing-vertical);
}

::-moz-selection {
  color: var(--color-text);
  background: var(--color-bg-dark);
}
::selection {
  color: var(--color-text);
  background: var(--color-bg-dark);
}

b,
strong {
  color: var(--color-text);
  font-weight: 700;
}

a {
  color: var(--color-link);
  text-decoration: none;
  transition: all 0.3s ease; /* Smooth transition for hover effects */
}

a:hover {
  color: var(--color-link-hover);
  text-decoration: underline;
  /* cursor: zoom-in; */
}

/* Link hover effects */
a.hover-underline:hover {
  text-decoration: underline;
}

a.hover-opacity {
  opacity: 1;
  font-weight: 800;
  text-decoration: none;
}

a.hover-opacity:hover {
  opacity: 0.7;
}

a.hover-color-change {
  color: var(--color-ci-02);
  font-weight: 800;
  text-decoration: none;
}

a.hover-color-change:hover {
  color: var(--color-ci-01);
  font-weight: 800;
  text-decoration: none;
}

a.hover-background {
  background-color: var(--color-bg-medium);
  padding: 0.1em 0.3em;
  text-decoration: none;
}

a.hover-background:hover {
  background-color: var(--color-bg-dark);
  padding: 0.1em 0.3em;
  text-decoration: none;
}

.btn-primary {color:var(--color-text); background-color: var(--color-bg-dark); border: 0; border-radius:0;}
.btn-primary:hover {color:var(--color-white); background-color: var(--color-bg-very-dark); border: 0; text-decoration: none;}

ul,
ol {
  margin-bottom: var(--spacing-vertical);
  padding-left: 2rem;
}

ul {
  list-style-type: disc;
}

ol {
  list-style-type: decimal;
}

li {
  margin-bottom: 0.5em;
}

blockquote {
  border-left: 4px solid var(--color-ci-02);
  padding-left: 1rem;
  margin: var(--spacing-vertical) 0;
  font-style: italic;
  color: var(--color-text);
}

hr {
  border: none;
  border-top: 1px solid var(--color-bg-dark);
  margin: calc(4 * var(--spacing-vertical)) 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--spacing-vertical);
}

x.table {background-color: var(--color-bg) !important;}

.table-striped td {
  background-color: var(--color-bg) !important;
}

/* Style for odd rows */
.table-striped > tbody > tr:nth-of-type(odd) {
  background-color: var(--color-bg) !important;
}

/* Style for even rows  */
.table-striped > tbody > tr:nth-of-type(even) {
  background-color: var(--color-bg-dark) !important;
}

.table-striped tr {border: 0 !important;}
.table-striped td {border: 0 !important;}
.table-striped td {border-right: 4px solid var(--color-bg) !important;}

th,
td {
  padding: 1rem !important;
  text-align: left;
  border-bottom: 1px solid var(--color-bg-dark);
}

th {
  background-color: var(--color-bg-medium);
  font-weight: 600;
}



code {
  font-family: monospace;
  background-color: var(--color-bg-medium);
  padding: 2px 5px;
  border-radius: var(--border-radius);
  vertical-align: bottom;
}

pre {
  background-color: var(--color-bg-medium);
  padding: 1rem;
  overflow-x: auto;
  border-radius: var(--border-radius);
  margin-bottom: var(--spacing-vertical);
}

/* Specific cases where elements follow others */
h1 + p,
h2 + p,
h3 + p,
h4 + p,
h5 + p,
h6 + p {
  margin-top: 2rem;
}

ul + p,
ol + p,
blockquote + p,
table + p,
pre + p {
  margin-top: 1rem;
}

/* 
  .content > *:not(:first-child):is(h1, h2, h3, h4, h5, h6):not(:has(+ span.pre-heading)) {
    margin-top: 5rem;
  }
  */


.bignumbercol {
  padding: 3rem 5rem;
  background-color: var(--color-ci-01);;
}

.bignumbercol p {font-size: 125%; color: var(--color-white);}

span.bignumber {
  font-size: 10rem;
  font-weight: 700;
  color: var(--color-white);   /* var(--color-ci-01); */
}


/* Large Tablet Breakpoint */
@media (max-width: 1400px) {
  .bignumbercol p {font-size: 100%; color: var(--color-white);}

  span.bignumber {
    font-size: 4rem;
    font-weight: 700;
    color: var(--color-white);   /* var(--color-ci-01); */
  }
}




/* Large Tablet Breakpoint */
@media (max-width: 1400px) {
  .content {
    max-width: 1200px;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.75rem;
  }

  .overflow-image-left img,
  .overflow-image-right img {
    width: 1200px;
    height: 500px;
  }

  .overflow-image-right img {
    left: -300px;
  }

  section {
    padding: 60px 0;
  }

  x.footer-content {
    gap: 30px;
  }

  .hamburger {
    display: block;
  }

  #menu1 .nav-links,
  #menu2 .nav-links {
    display: none;
  }

  .split-container {
    flex-direction: column;
  }

  .split-left,
  .split-right {
    flex: 0 0 100%;
  }

  .split-left {
    margin-bottom: 20px;
  }

  .columns-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Small Tablet Breakpoint */
@media (max-width: 1024px) {
  .content {
    padding: 0 15px;
  }

  .pre-heading {
    margin-top: 1rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  blockquote {
    padding: 1rem 1.5rem;
  }

  section {
    padding: 0;
  }

  x.footer-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .overflow-image-left img,
  .overflow-image-right img {
    width: 100%;
    min-width: 100%;
    max-width: none;
    height: 400px;
    position: static;
    margin: 0;
  }

  table {
    display: block;
    overflow-x: auto;
  }

  .hero {
    margin-top: 120px;
  }

  .split-50-50,
  .split-70-30 {
    flex-direction: column;
  }

  .split-70-30 .wide,
  .split-70-30 .narrow {
    flex: 0 0 100%;
  }

  .hero-video video {
    display: none;
  }

  .play-button {
    display: block;
  }

  .hero-video.video-playing .play-button {
    display: none;
  }

  .hero-video.video-playing video {
    display: block;
  }

  .video-control {
    display: none !important;
  }
}

/* Mobile Breakpoint */
@media (max-width: 480px) {
  .hero {
    margin-top: 100px;
  }

  section {
    padding: 0;
  }

  .content {
    padding: 0 10px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  p {
    font-size: 1rem;
  }

  blockquote {
    margin: 1.5rem 0;
    padding: 1rem;
  }

  .overflow-image-left img,
  .overflow-image-right img {
    height: 300px;
  }

  .columns-4 {
    grid-template-columns: 1fr;
  }
}



