:root {
    --html-fontsize: 20px; /* 20px at fullHD. Affects EVERYTHING, do not change unnecessarily. */
    --html-color: white;

    --body-fontsize: 1rem;
    --body-lineheight: 1.5;
    --body-color: white;
    --body-background-color: #000;

    --paragraph-fontsize: 1rem;
    --small-fontsize: 80%;

    --heading1-fontsize: 5.5rem;
    --heading1-fontweight: 700;
    --heading1-lineheight: 0.8;

    --heading2-fontsize: 4.5rem;
    --heading2-fontweight: 700;
    --heading2-lineheight: 0.8;

    --heading3-fontsize: 3.5rem;
    --heading3-fontweight: 700;
    --heading3-lineheight: 0.8;

    --heading4-fontsize: 2.5rem;
    --heading4-fontweight: 700;
    --heading4-lineheight: 0.8;

    --heading5-fontsize: 1.75rem;
    --heading5-fontweight: 700;
    --heading5-lineheight: 0.8;

    --color-orange: #fe8300;

    --link-color: var(--color-orange);

    --btn-fontsize: 1.9rem;
    --btn-fontweight: 700;
    --btn-texttransform: uppercase;

    --wrapper-width: 95%;
    --wrapper-maxwidth: 60rem;
    --text-wrapper-padding-x: 0rem;
}

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #000000;
    --bs-btn-border-color: #000000;
    --bs-btn-hover-color: #000;
    --bs-btn-hover-bg: #fff;
    --bs-btn-hover-border-color: #fff;
    --bs-btn-active-color: var(--color-orange);
    --bs-btn-active-bg: #fff;
    --bs-btn-active-border-color: #fff;
    --bs-btn-disabled-bg: #9a9a9a;
    --bs-btn-disabled-border-color: #9a9a9a;
    --bs-btn-border-radius: 2rem;
}

.btn-secondary {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--color-orange);
    --bs-btn-border-color: var(--color-orange);
    --bs-btn-hover-color: #000;
    --bs-btn-hover-bg: #fff;
    --bs-btn-hover-border-color: #fff;
    --bs-btn-active-color: var(--color-orange);
    --bs-btn-active-bg: #fff;
    --bs-btn-active-border-color: #fff;
    --bs-btn-disabled-bg: #9a9a9a;
    --bs-btn-disabled-border-color: #9a9a9a;
    --bs-btn-border-radius: 2rem;
}

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    font-size: var(--html-fontsize); /* html font size affects everything! */
    scroll-behavior: auto !important; /* jQuery scroll script has conflict with scroll-behavior: smooth in _reboot.scss. Override it with css. */
    color: var(--html-color);
}

body {
    background-color: var(--body-background-color);
    color: var(--body-color);
    font-size: var(--body-fontsize);
    font-family: "Outfit", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    line-height: var(--body-lineheight);
    width: 100%;
}

html,
body {
    margin: 0;
}

h1, h2, h3, h4, h5 {
    font-style: normal;
    margin-bottom: 0;
    text-transform: uppercase;
}

h1 {
    font-size: var(--heading1-fontsize); 
    line-height: var(--heading1-lineheight); 
    font-weight: var(--heading1-fontweight); 
}

h2 {
    font-size: var(--heading2-fontsize); 
    line-height: var(--heading2-lineheight);
    font-weight: var(--heading2-fontweight);
}

h3 {
    font-size: var(--heading3-fontsize); 
    line-height: var(--heading3-lineheight);  
    font-weight: var(--heading3-fontweight);
}

h4 {
    font-size: var(--heading4-fontsize); 
    line-height: var(--heading4-lineheight);
    font-weight: var(--heading4-fontweight);
}

h5 {
    font-size: var(--heading5-fontsize); 
    line-height: var(--heading5-lineheight);
    font-weight: var(--heading5-fontweight);
}

p, li, a, table, label {
    font-size: var(--paragraph-fontsize);
}

p {
    font-weight: 400;
    line-height: inherit;
}

b, strong {
    font-weight: 700;
}

a { 
    color: var(--link-color); 
    text-decoration: none; 
}

a:hover { 
    text-decoration: underline; 
}

a.raquo:after {
    content: "\00BB";
    display: inline-block;
    vertical-align: baseline;
    margin-left: 0.4em;
}

.btn {
    font-size: var(--btn-fontsize);
    font-weight: var(--btn-fontweight);
    text-transform: var(--btn-texttransform);
    padding-left: 2rem;
    padding-right: 2rem;

    -webkit-transition: opacity 0.5s ease;
        -ms-transition: opacity 0.5s ease;
            transition: opacity 0.5s ease;
}

.btn.bubblegumpop {
    line-height: 1;
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
}

.btn.hidden {
    pointer-events: none !important;
    user-select: none !important;
    opacity: 0;
}

a.btn:hover {
    text-decoration: none;
}

svg.icon {
    display: block;
    width: 2.5rem;
    height: 2.5rem;
}

[data-action] {
    cursor: pointer;
}

.nobr { white-space: nowrap; }
.show-mob { display: none; }
.fullscreen {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}

main, video, img { display: block; }
small { font-size: var(--small-fontsize); }
svg { pointer-events: none; }

main {
    z-index: 2;
    position: relative;
    width: 100%;
    overflow: hidden;
}

section {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.wrapper {
    position: relative;
    width: var(--wrapper-width);
    max-width: var(--wrapper-maxwidth);
    box-sizing: border-box;
    margin: 0 auto;
}

.bg {
    background-position-y: 0;
    background-position-x: 50%;
    background-size: cover;
    background-repeat: no-repeat;
}

.parallax-bg {
    width: 100%;
}

.bg-orange { background-color: var(--color-orange); }
.color-orange { color: var(--color-orange); }
.color-pink { color: #ed4698; }

.bubblegumpop {
    font-family: "bubblegum-pop-vanilla", sans-serif;
    font-weight: 400;
    font-style: normal;
}


/*
    VIDEO CONTAINER
*/
.video-container {
    position: relative;
    width: 100%;
}

.video-container video {
    display: block;
    width: 100%;
    height: auto;
}

.video-container .loader {
    opacity: 1;
    position: absolute;
    pointer-events: none;
    z-index: 2;
    width: 100%;
    height: 100%;
    top: 0;
    background-image: url('../images/2025/loader.svg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 4rem;
    background-color: rgba(0, 0, 0, 0.8);
    
    -webkit-transition:     opacity 0.3s ease;
    -ms-transition:         opacity 0.3s ease;
    transition:             opacity 0.3s ease;
}

.video-container.loaded .loader { pointer-events: none; opacity: 0; }

.video-container .poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: cover;

    -webkit-transition:     opacity 0s ease;
    -ms-transition:         opacity 0s ease;
    transition:             opacity 0s ease;
}

.video-container.started .poster { pointer-events: none; opacity: 0; }

.video-container .control {
    z-index: 3;
    opacity: 1;
    position: absolute;
    width: 4rem; height: 4rem;
    cursor: pointer;

    -webkit-transition: opacity 0.3s ease;
    -ms-transition:     opacity 0.3s ease;
    transition:         opacity 0.3s ease;
}

.video-container .control.play {
    pointer-events: none;
    top: 50%; left: 50%;
    margin: 0 auto;

    -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
}

.video-container:not(.loaded) .control.play,
.video-container.playing .control.play {
    opacity: 0;
}

.video-container .control.state-soundoff,
.video-container .control.state-soundon {
    opacity: 0; pointer-events: none;
    top: 0em; right: 0em;
    width: 5em; height: 5em;
    padding: 1.5em;
}

.video-container[data-muted="1"].playing .control.state-soundoff,
.video-container[data-muted="0"].playing .control.state-soundon { opacity: 1; pointer-events: auto; }

.video-container .control svg {
    pointer-events: none;
    width: 100%;
    height: 100%;
    fill: white;
}

.video-container .control.play svg {
    -webkit-transform:  scale(1);
    -ms-transform:      scale(1);
    transform:          scale(1);

    -webkit-transition: transform 0.3s ease;
    -ms-transition:     transform 0.3s ease;
    transition:         transform 0.3s ease;
}

.video-container:not(.loaded) .control.play svg,
.video-container.playing .control.play svg {
    -webkit-transform:  scale(2);
    -ms-transform:      scale(2);
    transform:          scale(2);
}


/*
    SECTIONS
*/
.section {
    position: relative;
    width: 100%;
    background: #000;
    box-sizing: border-box;
    overflow: hidden;
}

.section.full-height {
    height: 100vh;
}

.section .section-content {
    position: relative;
    width: 100%; height: 100%;
}

.section .bg {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    background-size: cover;
    background-position: center;
}

.section .bg-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.section video,
.section .bg-video-container video {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section video.bg-video {
    position: absolute;
    top: 50%; left: 50%;

    -webkit-transform: translate3d(-50%, -50%, 0);
            transform: translate3d(-50%, -50%, 0);
}

.section .text-wrapper {
    position: relative;
    box-sizing: border-box;
    padding-left: var(--text-wrapper-padding-x);
    padding-right: var(--text-wrapper-padding-x);
}

.section .text-wrapper .section-title {
    position: relative;
    margin-bottom: 2rem;
}

.section .text-wrapper .section-title small {
    font-size: 55.5%;
    line-height: 0.9;
}

.section .text-wrapper .section-title small .smaller { 
    font-size: 50%;
    line-height: 1.3;
}


/*
    REVEALS
*/
.reveal-on-scroll .reveal-text,
.reveal-on-scroll .reveal-image,
.reveal-on-scroll.reveal-text,
.reveal-on-scroll.reveal-image {
  opacity: 0;

    -webkit-transition: transform 2s ease, opacity 1s ease;
        -ms-transition: transform 2s ease, opacity 1s ease;
            transition: transform 2s ease, opacity 1s ease;
    
    -webkit-transition-delay: 0.1s;
        -ms-transition-delay: 0.1s;
            transition-delay: 0.1s;
}

.reveal-on-scroll .reveal-text,
.reveal-on-scroll.reveal-text {
-webkit-transform: translateY(5rem);
    -ms-transform: translateY(5rem);
        transform: translateY(5rem);
}

.reveal-on-scroll.reveal .reveal-text,
.reveal-on-scroll.reveal-text.reveal {
    opacity: 1;

    -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
            transform: translateY(0);
}

.reveal-on-scroll.reveal .reveal-image,
.reveal-on-scroll.reveal-image .reveal { opacity: 1; }


/*
    MODALS
*/

.modal {
    --bs-modal-bg: #1b1b1b;
    --bs-modal-width: 40rem;
    --bs-modal-padding: 1.5rem;
    --bs-modal-header-padding-x: 1.5rem;
    --bs-modal-header-padding-y: 1rem;
    --bs-modal-header-padding: 1rem 1.5rem;
}

.modal .btn-close {
    opacity: 1;
    position: absolute;
    top: 1rem;
    right: 0.7rem;
    font-size: 1.5rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 2l12 12M14 2L2 14' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E");
}

.modal .btn-close:focus {
    box-shadow: none;
}

.modal-header {
    border-bottom: 0;
}

.modal-title.bubblegumpop {
    line-height: 0.9;
}

.modal-content {
    padding-bottom: 1.5rem;
}

.modal-dialog-scrollable .modal-body {
    overflow-y: scroll;
}

.modal-dialog-scrollable .modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-dialog-scrollable .modal-body::-webkit-scrollbar-track {
    background: #000;
}

.modal-dialog-scrollable .modal-body::-webkit-scrollbar-thumb,
.modal-dialog-scrollable .modal-body::-webkit-scrollbar-thumb:hover,
.modal-dialog-scrollable .modal-body::-webkit-scrollbar-thumb:active {
    background: #fff;
    border-radius: 4px;
}

.modal .ohjeet-texts {
    margin-bottom: 4rem;
}

.modal .ohjeet-texts h5 {
    margin-bottom: 0.5rem;
    margin-top: 1.5rem;
}

.modal .saannot-texts {

}

.modal .saannot-texts h5 {
    text-transform: none;
    margin-bottom: 2rem;
    line-height: 1;
}

.modal .saannot-texts .saannot-subtitle {
    margin-top: 1.7rem;
    font-size: 1.1rem;
}








/*
    ANIMATIONS
*/
@-webkit-keyframes btnClick {
    0% {
    -webkit-transform: scale(1);
        -ms-transform: scale(1);
            transform: scale(1);
    }
    50% {
    -webkit-transform: scale(0.6);
        -ms-transform: scale(0.6);
            transform: scale(0.6);
    }
    100% {
    -webkit-transform: scale(1);
        -ms-transform: scale(1);
            transform: scale(1);
    }
}

@keyframes btnClick {
    0% {
    -webkit-transform: scale(1);
        -ms-transform: scale(1);
            transform: scale(1);
    }
    50% {
    -webkit-transform: scale(0.6);
        -ms-transform: scale(0.6);
            transform: scale(0.6);
    }
    100% {
    -webkit-transform: scale(1);
        -ms-transform: scale(1);
            transform: scale(1);
    }
}



@media all and (min-width: 1921px) {

    :root {
        --html-fontsize: 1.041667vw;
    }

}

@media all and (max-width: 1300px) {

    :root {
        --html-fontsize: 18px;
    }

}

@media all and (max-width: 1100px) {

    :root {
        --html-fontsize: 16px;
    }

}



@media all and (max-width: 1000px) {

    :root {
        --html-fontsize: 18px;
        --wrapper-width: 90%;
        --wrapper-maxwidth: none;
    }

}

@media all and (max-width: 900px) {


}

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


}

@media all and (max-width: 600px) {

    .hide-mob { display: none; }
    .show-mob { display: block; }

    :root {
        /*--html-fontsize: clamp(14px, 4.6vw, 18px);*/
        --html-fontsize: 4.6vw;
        --text-wrapper-padding-x: 1.2rem;
    }

    .text-wrapper.no-mobile-padding-x {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .text-wrapper.text-center:not(.no-mobile-padding-x) .section-title {
        width: calc(100% + (var(--text-wrapper-padding-x) * 2));
        left: calc(var(--text-wrapper-padding-x) * -1);
    }

    .modal {
        --bs-modal-padding: 1rem;
        --bs-modal-header-padding-x: 1rem;
        --bs-modal-header-padding-y: 1rem;
        --bs-modal-header-padding: 1rem 1rem;
    }

    .modal .ohjeet-texts p, 
    .modal .ohjeet-texts li, 
    .modal .ohjeet-texts a,
    .modal .saannot-texts p, 
    .modal .saannot-texts li, 
    .modal .saannot-texts a {
        font-size: 0.9rem;
    }

}

@media all and (max-width: 400px) {


}