:root {
    /*Font scalings*/
    --text-2xl: calc(28px + 60 * ((100vw - 320px) / 1920));
    --text-xl: calc(20px + 40 * ((100vw - 320px) / 1920));

    /*Theme color setting*/
    --theme-color: #719751;

    /*Wave height spacing mobile*/
    --wave-spacing: -60px;
}

@media(min-width: 768px) {
    :root {
        /*Wave height spacing desktop*/
        --wave-spacing: -115px;
    }
}

* {
    box-sizing: border-box;
}

@media(max-width: 768px) {
    .container {
        width: 100%;
    }
}

/*Class for elements that supposed to have fade in animation*/
.delay {
    transition: none;
    opacity: 0;
    transform: translateY(-30px);
}

@media screen and (min-width: 768px) {

    h1,
    h2,
    h3,
    p,
    span {
        hyphens: none;
    }
}

.document-header-waves {
    display: none;
}

section {
    border-bottom: 1px solid white;
    text-align: top;
    position: relative;
}

.footer-separator {
    display: none;
}

.brandbook-container {
    position: relative;
}

.brandbook-text__container {
    max-width: 1262px;
    width: 100%;
    margin: 0 auto;
}

.brandbook-background {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

.brandbook-background__wave {
    position: absolute;
    top: 1px;
    transform: translateY(-100%);
    left: 0;
    width: 100vw;

}

.brandbook-background__wave--white path {
    fill: #FFFFFF
}

.brandbook-background__wave--green path {
    fill: var(--theme-color);
}

.brandbook-background__image {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brandbook-text {
    background-color: var(--theme-color);
    color: white;
    position: relative;
    z-index: 10;
    padding: 0;
}

.brandbook-image__container {
    flex: 2 1 200px;
    text-align: right;
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
    align-items: flex-end;
}


.brandbook-text__logo {
    width: 100%;
    height: 72px;
    max-width: 200px;
    object-fit: contain;
}

.brandbook-text h1 {
    font-size: 30px;
    text-align: center;
}

@media screen and (min-width: 768px) {

    .brandbook-text h1 {
        font-size: 40px;
        text-align: center;
    }

    .brandbook-text {
        flex-wrap: nowrap;
    }

    .brandbook-image__container {
        margin-top: 0;
    }

    .brandbook-text__logo {
        max-width: 400px;
        min-width: 300px;
    }
}

.wave:after {
    -webkit-mask-size: auto 100%;
    -webkit-mask-image: url("../../../europarc-master/assets/img/waver-mask-bottom.svg");
    height: 60px;
    width: 100%;
    content: "";
    background: var(--theme-color);
    display: block;
    transform: scale(1, -1);
    position: relative;
    z-index: 10;
}

.wave--reverse:after {
    transform: scale(1, 1);
}

.wave--white:after {
    background: #FFFFFF;
}

.wave--animated:after {
    animation-name: slideWaves;
    animation-duration: 360s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@media (min-width: 768px) {
    .wave:after {
        height: 115px;
    }
}

/*Section 1*/
#section-1 {
    overflow: hidden;
}

.eyebrow {
    display: block;
    text-align: center;
    margin-bottom: 2rem;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 14px;
}

#section-1 .brandbook-background img {
    top: auto;
    left: auto;
    transform: none;
}

#section-1 .brandbook-background {
    position: relative;
    left: auto;
    top: auto;
    min-height: 100vh;
    margin-top: var(--wave-spacing);
}

#section-1 h1 {
    margin: 0 0 39px 0;
    color: #FFFFFF;
}

#section-1 p {
    font-size: 22px;
    text-align: center;
}

#section-1 .brandbook-text {
    bottom: auto;
    top: 0;
    display: block;
    padding-bottom: 30px;
    padding-top: 30px;
}

#section-1 .brandbook-text__wave {
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateY(100%)translateX(-50%);
    height: 169px;
}

@media screen and (min-width: 768px) {
    #section-1 .brandbook-text {
        padding-bottom: 80px;
        padding-top: 60px;
    }

}

/*Section 2*/

#section-2 {
    overflow: visible;
    height: auto;
    margin-top: var(--wave-spacing);
}

#section-2 h2 {
    margin-top: 200px;
    font-size: 24px;
    font-weight: bold;
    text-align: left;
    max-width: 32ch;
    text-align: left;
    margin-bottom: 86px
}

#section-2 .brandbook-text {
    background-color: #FFF;
    color: #000000;
    padding-top: 0;
    text-align: right;
    overflow: visible;
    width: 100%;
}

#section-2 .brandbook-bubble {
    color: #FFFFFF;
    position: relative;
    background-color: var(--theme-color);
    border-radius: 30px;
    padding: 3rem 7rem 75px 4rem;
    text-align: left;
    transform: translateY(-50%)translateX(0);
    background-size: cover;
    -webkit-clip-path: url(#my-clip-path);
    clip-path: url(#my-clip-path);
    max-width: 630px;
    position: absolute;
    z-index: 100;
    right: 0;
    top: 0;
}

.brandbook-bubble svg {
    position: absolute;
    width: 0;
    height: 0;
}

.brandbook-bubble__container {
    position: relative;
    margin: 0 auto;
}

#section-2 .brandbook-bubble__inner {
    position: relative;
}

.brandbook-bubble__background {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    min-width: 680px;
}

#section-2 .brandbook-bubble h2 {
    font-size: 24px;
    margin: 0 0 0 0;
    padding: 0;
    padding-bottom: 20px;
    position: relative;
    font-weight: bold;
}

#section-2 .brandbook-bubble p {
    font-size: 18px;
    position: relative;
    font-weight: 300;
}

.brandbook-list {
    list-style: none;
    padding: 0;
    background-color: transparent;
}

.brandbook-list li {
    margin: 0 0 2rem 0;
    background-color: transparent;
    text-align: left;
    padding-left: 100px;
}

.brandbook-list li div {
    position: absolute;
    right: calc(100% + 2rem);
}

.brandbook-list li h3 {
    margin: 0;
    font-size: calc(20px + 20 * ((100vw - 320px) / 1920));
    font-weight: 900;
    position: relative;
}

.brandbook-list li span {
    opacity: 0.6;
    font-size: 20px;
}

#section-2 .brandbook-background__wave {
    position: absolute;
}

.brandbook-background__wave--top {
    transform: translateY(-100%)scaleY(-1);
    top: 2px;
    z-index: 9;
}

.brandbook-background__wave--bottom {
    transform: translateY(100%);
    bottom: 2px;
    top: auto;
    z-index: 9;
}

@media screen and (min-width: 500px) {
    #section-2 .brandbook-bubble {
        transform: translateY(-50%)translateX(2vw);
        padding: 5rem 6rem 150px 6rem;
    }
}

@media screen and (min-width: 768px) {
    #section-2 .brandbook-bubble h2 {
        font-size: 30px;
    }

    #section-2 .brandbook-bubble {
        transform: translateY(-50%)translateX(2vw);
        padding: 5rem 9rem 150px 9rem;
    }

    #section-2 .brandbook-bubble p {
        font-size: 20px;
    }

    #section-2 h2 {
        font-size: 40px;
        margin-top: 0;
    }

    #section-2 .brandbook-text {
        width: 50%;
    }
}


/*Section 3*/
#section-3 {
    margin-top: var(--wave-spacing);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 100vh;
    margin-bottom: var(--wave-spacing);
    overflow: hidden;
}

#section-3 .swiper {
    position: absolute;
    margin-block: auto;
    width: 100vw;
    height: 100%;
}

#section-3 .swiper-pagination {
    bottom: 50px;
}

#section-3 .swiper-pagination-bullet {
    background-color: transparent;
    border: 4px solid #FFFFFF;
    opacity: 1;
    width: 20px;
    height: 20px;
    margin: 0 10px;
}

#section-3 .swiper-slide {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    cursor: grab;
}

#section-3 .slider-container {
    max-width: 1267px;
    width: 100%;
    margin: 0 auto;
}

#section-3 .swiper-slide h2 {
    position: relative;
    color: #FFFFFF;
    font-size: 40px;
    font-weight: 900;
}

#section-3 .swiper-slide span {
    font-size: 20px;
    display: block;
    margin-bottom: 3rem;
}


@media screen and (min-width: 768px) {
    #section-3 .swiper-slide h2 {
        font-size: 80px;
    }

    #section-3 .swiper-pagination {
        bottom: 25%;
    }

    #section-3 .swiper-slide span {
        font-size: 35px;
        display: block;
        margin-bottom: 3rem;
    }

}

#section-3 .swiper-pagination-bullet-active {
    background-color: #FFFFFF;
}

#section-3 .brandbook-background {
    background-position: center top;
}

#section-3 .brandbook-text,
.brandbook--blob .brandbook-text {
    background-color: transparent;
    color: black;
    max-width: 1200px;
    flex-direction: column;
    padding-bottom: 200px;
    transform: translateX(-50%);
    left: 50%;
}

#section-3 .brandbook-text {
    padding-bottom: 139px;
}



/*Section 4*/

#section-4 {
    overflow: visible;
}

/*Section 8*/

#section-8 .brandbook-text {
    bottom: auto;
    top: 0;
    color: #FFFFFF;
}

#section-8 .brandbook-text h2 {
    text-align: left;
    margin: 0 0 24px 0;
    font-size: 30px;
    text-align: center;
    max-width: 1217px;
    margin: 0 auto;
}

#section-8 .brandbook-text {
    padding-top: 20vh;
    padding-bottom: 20vh;
}

/*Brandbook split layout*/
.brandbook--split {
    background-color: var(--theme-color);
    position: relative;
    padding-bottom: 100px;
    padding-top: 100px;
    margin-bottom: var(--wave-spacing);
}

.brandbook--split:nth-of-type(2n + 1) {
    background-color: #FFFFFF;
}

.brandbook--split:nth-of-type(2n + 1) .brandbook-text {
    color: #000000;
}

.brandbook--split:nth-of-type(2n + 1) .brandbook-background {
    text-align: left;
}

.brandbook--split:nth-of-type(2n + 1) .brandbook-background img {
    border-color: #000000;
}

.brandbook--split:nth-of-type(2n + 1) .brandbook-container__inner {
    flex-direction: row;
}

.brandbook--split .brandbook-container__inner {
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap;
}

.brandbook--split .brandbook-background {
    position: relative;
    flex: 2 1 407px;
    height: 40%;
    text-align: right;
}

.brandbook--split .brandbook-background img.brandbook-background__image {
    width: 100%;
    height: 558px;
    border: 4px solid transparent;
    border-radius: 10px;
    position: relative;
    top: auto;
    left: auto;
    transform: none;
}

.brandbook--split .brandbook-text__header img {
    height: 65px;
    width: 50%;
}

.brandbook--split .brandbook-text {
    position: relative;
    justify-content: flex-start;
    display: flex;
    flex-direction: column;
    padding: 0;
    flex: 1 2 670px;
    height: 60%;
    flex-wrap: nowrap;
    background-color: transparent;
    hyphens: none;
}

.brandbook--split .brandbook-text h2 {
    font-size: 24px;
    font-weight: 500;
    text-align: left;
    line-height: 1.3em;
}

.brandbook--split .brandbook-text__header {
    display: flex;
    justify-content: flex-end;
    padding: 0 0 20px 20px;
    gap: 20px;
    margin-top: 14px;
}

@media screen and (min-width: 768px) {
    .brandbook--split {
        padding-bottom: 150px;
    }

    .brandbook--split .brandbook-text h2 {
        font-size: 40px;
    }

    .brandbook--split .brandbook-text__header img {
        width: auto;
    }

    #section-8 .brandbook-text h2 {
        font-size: 40px;
    }
}

@media screen and (min-width: 1200px) {
    .brandbook--split {
        padding-bottom: 200px;
    }

    .brandbook--split:nth-of-type(2n + 1) .brandbook-background {
        margin-right: 80px;
        margin-left: 0;
    }

    .brandbook--split .brandbook-container__inner {
        flex-wrap: nowrap;
    }

    .brandbook--split .brandbook-background {
        height: 100%;
        position: relative;
    }

    .brandbook--split img.brandbook-background__image {
        left: 50%;
        top: 50%;
        width: 407px;
    }

    .brandbook--split .brandbook-text h2 {
        max-width: 100%;
    }

    .brandbook--split .brandbook-text__header {
        padding-bottom: 3rem;
    }

    .brandbook--split .brandbook-text {
        height: 100%;
        max-width: 670px;
    }

    .brandbook--split .brandbook-background {
        margin-bottom: 40px;
        margin-left: 80px;
    }

    .button-container {
        margin-top: 2rem;
    }
}

@media screen and (min-width: 1920px) {
    .brandbook--split .brandbook-text h2 {
        font-size: 40px;
    }
}

.button-container {
    margin-top: 3rem;
}

.brandbook-button {
    background-color: #FFFFFF;
    color: #000000;
    padding: 10px 20px;
    border-radius: 30px;
    display: inline-block;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 15px;
}

.brandbook-button--border {
    border: 2px solid #000000;
    background-color: #FFFFFF;
    color: #000000;
    padding: 10px 20px;
    border-radius: 30px;
    display: inline-block;
    text-transform: uppercase;
    font-weight: 700;
}

.brandbook-button {
    margin-right: 15px;
}

/*Layout Aspect*/
.brandbook--aspect.brandbook-container {
    padding: 62px 0 89px 0;
    height: 100vh;
}

.brandbook--aspect .brandbook-content {
    position: relative;
    height: 100%;
}

.brandbook--aspect .brandbook-background {
    background-color: #FFFFFF;
}

.brandbook--aspect .brandbook-content img {
    max-width: 125px;
}

.brandbook--aspect .brandbook-content span:nth-of-type(1) {
    top: 0;
    left: 25px;
    position: absolute;
    font-size: var(--text-xl);
    font-weight: 800;
    color: #000000;
    text-align: left;
}

.brandbook--aspect .brandbook-content span:nth-of-type(2) {
    bottom: 40px;
    right: 25px;
    position: absolute;
    font-size: var(--text-xl);
    font-weight: 800;
    color: #000000;
    text-align: left;
}

.falldown-container {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%)translateY(-50%);
    display: flex;
    justify-content: center;
    max-width: 768px;
    width: 100%;

}

.falldown-item {
    transform: translateY(-30vh);
    position: static;
    opacity: 0;
    transition: none;
    width: calc(25% - 30px);
    flex: calc(25% - 30px);
    aspect-ratio: 1/1;
    margin: 0 15px;
}



/*Brandbook Map*/
.brandbook--map {
    display: flex;
    flex: 50%;
    align-items: center;
    flex-wrap: wrap;
    padding-bottom: 70px;
    padding-top: 150px;
    flex-direction: column-reverse;
    justify-content: space-between;
    gap: 50px;
}

.brandbook--map__background {
    width: 100%;
    max-width: 645px;
    position: relative;
}

.brandbook--map__animate {
    width: 100%;
    max-width: 645px;
    position: relative;
}

.brandbook--map__animate--img {
    position: absolute;
    left: 2.18%;
    bottom: 0;
    width: 86.4%;
}

@media screen and (min-width: 768px) {
    .brandbook--map {
        flex-wrap: nowrap;
        flex-direction: row-reverse;
        padding-bottom: 150px;
        padding-top: 200px;
    }

    .brandbook--map__animate {
        width: 50%;
        max-width: 645px;
        position: relative;
    }
}

@media screen and (min-width: 1200px) {
    .brandbook--map {
        padding-top: 0;
    }
}


.brandbook--map__animate--img {
    transition: 2s cubic-bezier(.19, 1, .22, 1);
    clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
}


.brandbook--map .brandbook-text {
    background-color: transparent;
    color: #000000;
    padding: 0;
    align-self: end;
    overflow: visible;
    margin-top: 3rem;
}

.brandbook--map .brandbook-text h2 {
    font-size: 24px;
    max-width: 521px;
    hyphens: none;
}

@media screen and (min-width: 768px) {
    .brandbook--map .brandbook-text h2 {
        font-size: 40px;
    }
}

/*animation*/
html body .delay[data-visible="true"],
.delay[data-animated="true"] {
    opacity: 1;
    transform: translateY(0);
    transition-property: transform, opacity;
    transition-duration: 1s;
}

.falldown-container[data-visible="true"] .falldown-item,
.falldown-container[data-animated="true"] .falldown-item {
    transition-property: transform, opacity;
    transition-duration: 1s;
    opacity: 1;
    transform: translateY(0);
}

.animation-trigger[data-visible="true"]+.brandbook--map__animate img {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

.countup {
    opacity: 0;
    transition: 0.3s ease-in-out;
    font-size: 200px;
    font-weight: bold;
    color: var(--theme-color);
    position: absolute;
    left: 9%;
    line-height: 120px;
    bottom: 33%;
}

.countup::after {
    content: '%';
    font-size: 80px;
}

.delay-1 {
    transition-delay: 0.05s;

}

.delay-2 {
    transition-delay: 0.1s;

}

.delay-3 {
    transition-delay: 0.15s;

}

.delay-4 {
    transition-delay: 0.2s;

}

.delay-5 {
    transition-delay: 0.25s;

}

.delay-1-big {
    transition-delay: 0.3s;

}

.delay-2-big {
    transition-delay: 0.6s;

}

.delay-3-big {
    transition-delay: 0.9s;

}

.delay-4-big {
    transition-delay: 1.2s;

}

.delay-5-big {
    transition-delay: 1.5s;

}

.compass {
    transform-origin: 0% 0%;
}

.compass:hover {
    animation: moveit 900ms ease forwards;
    will-change: transform;
}

@keyframes moveit {
    0% {
        transform: rotate(0)translateX(-50%)translateY(-50%)
    }

    20% {
        transform: rotate(20deg)translateX(-50%)translateY(-50%)
    }

    40% {
        transform: rotate(-30deg)translateX(-50%)translateY(-50%)
    }

    60% {
        transform: rotate(5deg)translateX(-50%)translateY(-50%)
    }

    80% {
        transform: rotate(-5deg)translateX(-50%)translateY(-50%)
    }

    100% {
        transform: rotate(0deg)translateX(-50%)translateY(-50%)
    }
}

@keyframes mapanimation {
    0% {
        offset: 0;
    }

    20% {
        transform: rotate(20deg)translateX(-50%)translateY(-50%)
    }

    40% {
        transform: rotate(-30deg)translateX(-50%)translateY(-50%)
    }

    60% {
        transform: rotate(5deg)translateX(-50%)translateY(-50%)
    }

    80% {
        transform: rotate(-5deg)translateX(-50%)translateY(-50%)
    }

    100% {
        transform: rotate(0deg)translateX(-50%)translateY(-50%)
    }
}

@keyframes slideWaves {
    0% {
        -webkit-mask-position: 100%;
    }

    100% {
        -webkit-mask-position: 0%;
    }
}

/*Utility*/
.height-full {
    margin-top: var(--wave-spacing);
    margin-bottom: var(--wave-spacing);
}

.svg {
    position: absolute;
}