
/*
Quantra Style CSS Version 1.2

FONT  DECLARATIONS
*/
@font-face {
    font-family: 'LatoHairline';
    src: url('fonts/Lato-Hairline.ttf') format('truetype');
}

@font-face {
    font-family: 'LatoHeavy';
    src: url('fonts/Lato-Heavy.ttf') format('truetype');
}

@font-face {
    font-family: 'LatoItalic';
    src: url('fonts/Lato-Italic.ttf') format('truetype');
}

@font-face {
    font-family: 'LatoMedium';
    src: url('fonts/Lato-Medium.ttf') format('truetype');
}

@font-face {
    font-family: 'LatoLight';
    src: url('fonts/Lato-Light.ttf') format('truetype');
}

@font-face {
    font-family: 'LatoThin';
    src: url('fonts/Lato-Thin.ttf') format('truetype');
}


/* Base styles */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100%;
    overflow-x: hidden;
}

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

html[lang="de"] [data-lang-content="en"],
html[lang="en"] [data-lang-content="de"] {
    display: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

header {
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

#menu {
    position: fixed;
    z-index: 20;
    background-color: rgb(133, 75, 75);
    color: white;
    padding: 20px;
    min-height: 96px;
    width: 82px;
    transition: width .25s ease, min-height .25s ease;
}

#menu-burger {
    display: grid;
    gap: 8px;
    width: 42px;
    padding: 9px 0;
    border: 0;
    color: inherit;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
}

#menu-burger span:not(.sr-only) {
    display: block;
    height: 2px;
    width: 38px;
    background: #fff;
}

#menu nav {
    display: none;
    padding-top: 16px;
}


#menu.menu-open {
    width: 220px;
    min-height: 280px;
    height: auto;
}

#menu.menu-open nav {
    display: block;
}


#menu.menu-open nav ul li {
    opacity: 1;
    transform: translateY(0);
}
#menu.menu-open nav ul li:nth-child(1) { transition-delay: 0.1s; }
#menu.menu-open nav ul li:nth-child(2) { transition-delay: 0.2s; }
#menu.menu-open nav ul li:nth-child(3) { transition-delay: 0.3s; }
#menu.menu-open nav ul li:nth-child(4) { transition-delay: 0.4s; }

@media (hover: hover) and (pointer: fine) {
    #menu:hover {
        width: 220px;
        min-height: 280px;
        height: auto;
    }

    #menu:hover nav ul li {
        opacity: 1;
        transform: translateY(0);
    }

    #menu:hover nav {
        display: block;
    }

    #menu:hover  nav ul li:nth-child(1) { transition-delay: 0.1s; }
    #menu:hover  nav ul li:nth-child(2) { transition-delay: 0.2s; }
    #menu:hover  nav ul li:nth-child(3) { transition-delay: 0.3s; }
    #menu:hover  nav ul li:nth-child(4) { transition-delay: 0.4s; }
}

#menu-list {
    margin: 0px;
    padding-left: 0px;
    padding-bottom: 10px;
    list-style: none;
}


.menu-item {
    opacity: 0;
    overflow: hidden;
    position: relative;
    color: rgba(255, 255, 255);
    transform: translateY(-20px);
    text-decoration: none;
    list-style: none;
    font-size: 22px;
    font-weight: 300;
    margin: 8px 0;
    padding-left: 5px;
    padding-right: 15px;
    transition: opacity 0.3s ease, transform 0.3s ease;       
}

.menu-item a {
    display: block;
    padding: 5px 0;
    color: #fff;
    text-decoration: none;
}

#logo {
    width: clamp(180px, 28vw, 350px);
    max-width: calc(100vw - 110px);
    height: auto;    
    padding-top: 20px;
    padding-right: 40px;
}

.language-switcher {
    display: flex;
    gap: 6px;
    margin-top: 16px;
    padding: 0 0 4px 5px;
    background: transparent;
}

.language-switcher button {
    min-width: 34px;
    min-height: 30px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    color: #fff;
    background: transparent;
    cursor: pointer;
    font-family: 'LatoLight', sans-serif;
    font-size: 13px;
    letter-spacing: .08em;
}

.language-switcher button.is-active {
    color: rgb(133, 75, 75);
    background: #fff;
    border-color: #fff;
}



main {
    display: flex;
    flex-direction: column;
    margin: 0px;
}

.filler-block-100px {
    height: 100px; /* Set the height */
    width: 100%; /* Fill the entire width */
  }


  .mobile-filler-block-100px {
    height: 100px; /* Set the height */
    width: 100%; /* Fill the entire width */
  }

  .mobile-filler-block-50px {
    height: 50px; /* Set the height */
    width: 100%; /* Fill the entire width */
  }

  .desktop-filler-block-200px {
    height: 200px; /* Set the height */
    width: 100%; /* Fill the entire width */
  }

  .two-columns-section {
    display: flex; /* Use Flexbox to layout child elements */
    margin: 0px 0;
  }

  .desktop-filler-column-section {
    color: #fff;        
    font-family: 'LatoHairline', sans-serif;
    font-size: 21pt;
    text-align: left;
    padding-left: 20px; /* Adjust this value as needed */
    padding-right: 20px; /* Adjust this value as needed */
    background-color: rgba(58, 58, 58);
    width: 50%; /* Fill half the width */
  }

  .text-column-section {
    color: rgba(0, 0, 0);        
    font-family: 'LatoHairline', sans-serif;
    font-size: 21pt;
    text-align: left;
    padding-left: 20px; /* Adjust this value as needed */
    padding-right: 20px; /* Adjust this value as needed */
    background-color: #fff;
    width: 50%; /* Fill half the width */
    line-height: 1.45;
    overflow-wrap: anywhere;
  }


  .text-section {
    background-color: rgba(58, 58, 58);
    font-family: 'LatoHairline', sans-serif;
    font-size: 21pt;
    text-align: left;
    padding-left: 20px; /* Adjust this value as needed */
    padding-right: 20px; /* Adjust this value as needed */
    color: #fff;
    width: 100%; /* Fill half the width */
    line-height: 1.45;
    overflow-wrap: anywhere;
  }


footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    font-family: 'LatoLight', sans-serif;
    font-size: 13px;
    color: #fff;
    background: #000;
    padding: 20px max(32px, calc((100vw - 1480px) / 2));
    margin-top: 16px;
}

footer p {
    margin: 0;
}

footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
}

footer a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/*
    RESPONSIVE  DECLARATIONS
Breakpoint	Class	Dimensions
X-Small	None	< 576px
Small	sm	≥ 576px
Medium	md	≥ 768px
Large	lg	≥ 992px
Extra large	xl	≥ 1200px
Extra extra large	xxl	≥ 1400px

@media (min-width: 768px) {
    main {
        flex-direction: row;
    }
}

use  @media (pointer: fine)  for mouse
use  @media (pointer: coarse)  for touchscreens
here some tests:


@media (pointer: fine) {
    .filler-block-100px:hover {
        background-color: rgb(11, 111, 33);
    }
    .filler-block-100px.active {
        background-color: rgb(111, 33, 111);
    }
  }

  @media (pointer: coarse) {
    .filler-block-100px {
        background-color: rgb(244, 144, 111);
    }
    .filler-block-100px.active {
        background-color: rgb(222, 222, 111);
    }
    .filler-block-100px:hover {
        background-color: rgb(11, 11, 111);
    }
    .filler-block-100px:after {
        background-color: rgb(145, 11, 111);
    }
  }



*/

/*
     SMARTPHONE SETTINGS
*/



@media (max-width: 991px) {
    main {
        flex-direction: column;
    }

    canvas {
        opacity: 0.35;
    }

    header {
        min-height: 72px;
    }

    #menu {
        padding-left: 10px;
        padding-top: 0;
        padding-right: 12px;
        padding-bottom: 0;
        height: 60px;
        min-height: 60px;
        width: auto;
        max-width: calc(100vw - 20px);
        border-bottom-right-radius: 16px;
    }

    #menu.menu-open {
        width: min(230px, calc(100vw - 20px));
        min-height: 0;
        height: auto;
    }
    
    
    #menu-burger {
        display: block;
        font-size: 40px;
        line-height: 1;
        height: 52px;
        width: 48px;
        padding: 0;
        min-width: 44px;
        min-height: 44px;
    }

    #menu-burger::before {
        content: "≡";
    }

    #menu-burger span:not(.sr-only) {
        display: none;
    }
    
    .menu-item {
        font-size: 15px;
        padding-right: 18px;
    }

    .menu-item a {
        min-height: 38px;
        display: flex;
        align-items: center;
    }
    
    #logo {
        width: clamp(160px, 46vw, 220px);
        max-width: calc(100vw - 96px);
        padding-top: 14px;
        padding-right: 10px;
    }

    .language-switcher button {
        min-width: 32px;
        min-height: 30px;
        font-size: 12px;
    }

    .filler-block-100px,
    .mobile-filler-block-100px {
        height: 56px;
    }

    .mobile-filler-block-50px {
        height: 28px;
    }

    .desktop-filler-block-200px {
        display: none;
    }


    .desktop-filler-column-section {
        display: none;
    }

    .two-columns-section {
        flex-direction: column;
    }


    .white-on-black-column-section {
        font-size: 16px;
        width: 100%; /* Fill half the width */
    }


    .text-column-section {
        font-size: 17px;
        line-height: 1.65;
        width: 100%; /* Fill half the width */
        padding: 28px 22px;
    }
    
    .text-section {
        width: auto;
        max-width: 920px;
        margin: 0 auto;
        font-size: 17px;
        line-height: 1.65;
        padding: 28px 22px;
    }

    footer {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 8px;
        padding: 14px 12px;
    }

    footer nav {
        gap: 8px 12px;
        line-height: 1.7;
    }

    footer a {
        display: inline-block;
        padding: 4px 0;
    }

      .black-on-white-column-section {
        font-size: 16px;
        width: 100%; /* Fill half the width */
    }
    
    .black-on-white-column-section:nth-of-type(1) {
        display: none;
    }

}

@media (max-width: 600px) {
    #menu.menu-open {
        width: min(230px, calc(100vw - 20px));
    }

    .text-column-section h2,
    .text-section h2 {
        line-height: 1.18;
    }

    .text-column-section p,
    .text-section p {
        margin-top: 0.85rem;
        margin-bottom: 0.85rem;
    }
}



/*
     DESKTOP SETTINGS
*/
@media (min-width: 992px) {
    main {
        flex-direction: column;
    }

    .mobile-filler-block-100px {
        display: none;
    }

    .mobile-filler-block-50px {
        display: none;
    }

}
