@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap');

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    font-size: 16px;
    /* REM base size */
    word-wrap: normal;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: white;
    font-size: 1.125rem;
}

footer {
    background-color: #300926;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    padding-top: 2rem;
    padding-left: 7.5rem;
    padding-right: 7.5rem;
    padding-bottom: 4rem;
    width: 100%;
    line-height: 2rem;
}

footer :first-child {
    flex-grow: 2;
}

.footer-address img {
    width: 120px; 
    margin-bottom: 10px;
}

footer>nav {
    flex-grow: 10;
}

footer:last-child {
    flex-grow: 1;
}

a {
    text-decoration: none;
    color: inherit;
}

p {
    margin: 0;
    margin-bottom: 1rem;
    hyphens: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    font-weight: normal;
    letter-spacing: 0;
    hyphens: auto;
}

h1 {
    font-size: 3.75rem;
    line-height: 4.375rem;
    font-weight: normal;
    letter-spacing: 0;
}

h2 {
    font-size: 2.5rem;
    line-height: 2.8125rem;
}

h3 {
    color: #968193;
    font-size: 1.125rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

a:hover {
    text-decoration: underline;
}

nav ul,
ul {
    margin: 0;
}

.wrapper {
    margin: 0 auto;
    color: white;
    width: 98%;
    max-width: 109rem;
    padding-left: 3.5rem;
    padding-right: 1.5rem;
    position: relative;
}

.spl-logo-ear {
    position: absolute;
    top: 1.75rem;
    left: -0.05rem;
    width: 3.5rem;
}

#main-navigation {
    background-color: #300926;
    padding-left: 7.5rem;
    padding-top: 3.5rem;
    padding-bottom: 7.5rem;
    padding-right: 1rem;
}

#main-navigation>ul,
.footer-navigation>ul {
    color: #B2B2B2;
    margin: 0;
    margin-left: -0.5rem;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: row;
}

#main-navigation>ul>li,
.footer-navigation>ul>li {
    margin-right: 3.5rem;
    letter-spacing: 0.64px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

#main-navigation>ul>li.lang {
    margin-right: 0;
    margin-left: auto;
}

#main-navigation>ul>li.lang>a {
    margin-right: 1rem;
}

#main-navigation .burger-menu-toggle {
    visibility: hidden;
    display: none;
    fill: #968193;
}

.footer-navigation>ul {
    color: white;
    flex-direction: column;
    line-height: 2rem;
}

#main-navigation>ul>li.active {
    color: white;
}

#main-navigation a:hover {
    text-decoration: none;
    color: white;
}

.wrapper>main,
.wrapper>section {
    padding-left: 6.3rem;
    padding-right: 2.3rem;
}

main {
    background-color: #300926;
    padding-bottom: 6.75rem;
}

main.two-col>h1 {
    padding-right: 3rem;
}

.two-col,
.three-col {
    display: flex;
    flex-wrap: wrap;
}

main.two-col.products>p {
    margin-top: -3rem;
}

.two-col>h1,
.two-col>h2,
.two-col>p,
.two-col>div {
    flex-basis: 50%;
    padding: 0 0.5rem;
    flex-grow: 1;
}

.three-col>.col {
    flex-basis: 33.333%;
    padding: 0 0.5rem;
}

h1>em {
    font-style: normal;
    color: #968193;
}

.two-col>h2,
.three-col h2,
.call-to-action h2 {
    color: #968193;
    font-size: 2rem;
    line-height: 2.5rem;
}

.two-col>h2 {
    padding-right: 6rem;
}

.three-col h2>em,
.call-to-action h2>em {
    font-style: normal;
    color: #2D2D2D;
}

.three-col h2>em::before,
.call-to-action h2>em::after {
    content: "\A";
    white-space: pre;
}

.three-col h4 {
    margin-top: 1rem;
}

main img {
    display: inline-block;
    width: 100%;
}

main.single,
.bottom-section {
    background-color: #E8E8E8;
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
    color: #300926;
    line-height: 1.5625rem;
    min-height: 32rem;
}

main.single h1,
main.single h2,
main.single h3 {
    margin-bottom: 0.5em;
}

main.single h2,
main.single h3 {
    margin-top: 1em;
}

main.single p {
    margin-bottom: 1em;
}

.bottom-section h2 {
    color: #968193;
    margin-bottom: 2rem;
}

.bottom-section-product-family h2.product-title {
    margin-bottom: 0;
    flex-basis: 100%;
}

.bottom-section-product-family .product-logo {
    position: absolute;
    width: 7rem;
    height: 7rem;
    left: 0.9rem;
    margin-top: 0.45rem;
}

.bottom-section-product-family .product-image img {
    flex-basis: 50%;
    margin: 0 auto;
    display: block;
    padding: 3rem;
    width: 100%;
    max-width: 32rem;
}

.bottom-section-product-family .products {
    padding: 0 0.5rem;
    margin-top: -0.5rem;
}

.bottom-section-product-family .product {
    margin: 2rem 0;
}

.bottom-section-product-family .product-cols {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 4rem;
}

.bottom-section-product-family .product-cols .product {
    flex-basis: auto;
    flex-grow: 2;
}

.bottom-section-product-family .product-cols .product-50 {
    flex-basis: 50%;
}

.bottom-section-product-family .product-cols .product-25 {
    flex-basis: 25%;
}

.bottom-section-product-family .product-cols .product-col img {
    margin-top: 1rem;
}

.bottom-section ul {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.bottom-section ul>li::before {
    content: "–";
    padding-right: 0.6rem;
}

.wrapper>.bottom-section-comparison {
    background-color: #F4F4F4;
    flex-direction: column;
    padding-left: 0;
}

.bottom-section-comparison .comparison-title {
    text-align: center;
    color: black;
}

.comparison-items {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    margin-top: 4rem;
    margin-bottom: 4rem;
}

.comparison-items>.comparison-item {
    flex-basis: 100%;
    padding-right: 10rem;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}

.comparison-items>.comparison-item>.item-logo {
    margin-top: 0.4rem;
    margin-left: -2.2rem;
    margin-right: 3rem;
}

.comparison-items>.comparison-item .item-title {
    color: black;
    margin-bottom: 0;
}

.two-col>.partner-list {
    flex-basis: 100%;
    margin-top: 4rem;
    display: flex;
    overflow: hidden;
    flex-wrap: nowrap;
    gap: 3.125rem;
}

.partner-list img {
    width: 11.25rem;
}

.wrapper>section.call-to-action {
    font-size: 1.25em;
    text-align: center;
    padding-left: 8rem;
    padding-right: 8rem;
}

.call-to-action p {
    margin-bottom: 1rem;
}

.youtube-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 640/360;
    align-self: center;
}

.youtube-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

pre {
    background-color: lightgray;
    padding: 1rem;
}

#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    min-height: 16rem;
    color: white;
    background-color: rgba(31,31,31,.92);
    padding: 2rem 4rem;
}

#cookie-banner h2,
#cookie-banner .content,
#cookie-banner .buttons {
    width: 98%;
    max-width: 109rem;
    margin: 0 auto;
}

#cookie-banner h2 {
    margin-bottom: 1rem;
}

#cookie-banner h2 img {
    width: 1em;
    height: 1em;
    position: relative;
    top: 0.15em;
}

button {
    padding: 1rem 2rem;
    border: 1px solid white;
    background: transparent;
    color: white;
    font-size: inherit;
}

.hidden {
    display: none;
    visibility: hidden;
}

@media screen and (max-width: 767px) {

    html {
        font-size: 12px;
    }

    h1 {
        font-size: 2.5rem;
        line-height: 3rem;
    }

    body {
        font-size: 1.5rem;
        line-height: 2rem;
    }

    .wrapper {
        padding-right: 0;
        padding-left: 2rem;
        width: 98%;
        margin: 0 auto;
    }

    .spl-logo-ear {
        width: 2rem;
        top: 5.5rem;
    }

    #main-navigation {
        position: fixed;
        background: none;
        left: 0;
        right: 0;
        top: 0;
        width: 100%;
        text-align: right;
        z-index: 100;
    }

    #main-navigation>ul {
        position: absolute;
        left: 0rem;
        top: 0;
        right: 0;
        flex-direction: column;
        background-color: inherit;
        overflow: hidden;
        background-color: #300926;
        padding-top: 5rem;
        padding-left: 5rem;
        text-align: left;

        transition: all 0.2s ease-in-out;
        transform-origin: top;
    }

    #main-navigation .burger-menu-toggle {
        position: absolute;
        right: 2rem;
        top: 1rem;
        z-index: 20;
    }

    #main-navigation>ul>li {
        font-size: 2rem;
        line-height: 3rem;
    }

    #main-navigation>ul>li.page:last-child {
        padding-bottom: 2rem;
    }

    #main-navigation>ul>li.lang {
        margin-left: 0;
        margin-top: 2rem;
        margin-bottom: 3rem;
    }

    #main-navigation.closed>ul {
        transform: scaleY(0);
    }

    #main-navigation.open>ul {
        transform: scaleY(1);
    }

    #main-navigation.closed #burger-show {
        visibility: visible;
        display: inline-block;
    }

    #main-navigation.open #burger-dismiss {
        visibility: visible;
        display: inline-block;
    }

    .wrapper>main,
    .wrapper>section {
        padding-left: 3rem;
        padding-right: 2.5rem;
    }

    main h1 {
        margin-bottom: 3rem;
    }

    .two-col {
        flex-direction: column;
        flex-wrap: unset;
        padding-top: 4rem;
    }

    .two-col>h1,
    .two-col>h2,
    .two-col>p,
    .two-col>div,
    .three-col .col {
        flex-basis: 100%;
        padding: 0;
    }

    .three-col .col {
        margin-bottom: 2rem;
    }

    main.single, 
    .bottom-section {
        line-height: 2rem;
    }

    .bottom-section-product-family .products {
        padding: 0;
    }

    .bottom-section-product-family .two-col .product-image {
        order: -1;
    }

    .bottom-section-product-family .two-col .product-image img {
        padding-left: 1rem;
        padding-right: 1rem;
        padding-bottom: 1rem;
        padding-top: 0.5rem;
    }

    .bottom-section-product-family .product-logo {
        width: 3.41rem;
        height: 3.41rem;
        left: 0.75rem;
    }

    .bottom-section-product-family .product-cols {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .bottom-section-product-family .product-cols .product-col,
    .bottom-section-product-family .product-cols .product-col:first-child,
    .bottom-section-product-family .product-cols .product-50,
    .bottom-section-product-family .product-cols .product-25 {
        flex-basis: 100%;
        margin-top: 1rem;
    }

    .bottom-section ul {
        margin-top: 0;
    }

    .comparison-items {
        flex-direction: column;
        margin-top: 2rem;
    }

    .comparison-items>.comparison-item {
        flex-basis: 100%;
        flex-direction: column;
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .comparison-items>.comparison-item>.item-logo {
        height: 4.31rem;
        margin-left: -1rem;
        margin-bottom: -4.7rem;
    }

    .comparison-items>.comparison-item>.item-content {
        padding-left: 3.5rem;
    }

    .wrapper>section.call-to-action {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    footer {
        flex-direction: column;
        padding-left: 2.5rem;
        padding-right: 2.5rem;
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    footer>.footer-navigation>ul {
        margin-left: 0;
    }

    footer>.footer-navigation>ul>li {
        font-size: 1.5rem;
    }

    .footer-address img {
        width: 100px; 
        margin-bottom: 4px;
    }

    footer>* {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    html {
        font-size: 12px;
    }
}

@media screen and (min-width: 992px) and (max-width: 1400px) {
    html {
        font-size: 14px;
    }
}