html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42N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 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

/*-------------------------------------*/
/*-COMMON------------------------------*/
/*-------------------------------------*/

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

:root {
    --color-text: #f1f1f9;
    --color-bg: #131128;
    --color-link: #990000;
    --color-link-hover: #990000;
    --color-text-title: #ee8233;
    --color-menu-text: #FFF;
    --color-menu-border: #53516C;
    --color-menu-hover: #6639e4;
    --color-btn-primary: #6639e4;
    --color-btn-primary-hover: #282454;
    --color-btn-primary-text: #FFF;
    --color-btn: #282454;
    --color-btn-dark: #1b1839;
    --color-btn-darker: #07070d;
    --color-btn-hover: #6639e4;
    --color-btn-text: #FFF;
    --color-hamburger: #b7a6d1;
    --tile-bg: #282454;
    --tile-bg-primary: #6639e4;
    --tile-bg-primary-footer: rgba(156, 151, 211, 0.2);
    --max-width: 1246px;
    --color-footer-bg: #282454;
    --color-footer-link: #e0dff1;
    --color-form-input-placeholder: #e0dff1;
    --color-form-input-bg: #282454;
    --color-form-input-text: #fff;
    --color-form-input-focus-border: #7a73c4;
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--color-text);
    background: var(--color-bg);
    transition: background-color 0.8s;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow: hidden;

}

#snow-canvas {
    position: fixed;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
}

#snow-canvas {
    filter: blur(1px);
}

a {
    color: #777785;
    outline: none;
    display: inline-block;
    position: relative;
    text-decoration: none;
    -webkit-transition: color 0.2s;
    transition: color 0.2s;
}

    a.link::after {
        content: '';
        position: absolute;
        top: 105%;
        width: 100%;
        border-bottom: 2px solid;
        left: 0;
        -webkit-transition: opacity 0.2s, -webkit-transform 0.2s;
        transition: opacity 0.2s, -webkit-transform 0.2s;
    }

    a.link:hover::after {
        opacity: 0;
        -webkit-transform: translate3d(0,3px,0);
        transform: translate3d(0,3px,0);
    }

    a:hover,
    a:focus {
        text-decoration: none;
        color: #3f3f45;
    }

main {
    position: relative;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    overflow-x: hidden;
    width: 100vw;
    height: 100vh;
}

.hidden {
    position: absolute;
    overflow: hidden;
    width: 0;
    height: 0;
    
}


/* Icons */

.icon {
    display: block;
    width: 1.5em;
    height: 1.5em;
    margin: 0 auto;
    fill: currentColor;
}


/* Header */

.header {
    position: relative;
    z-index: 1000;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-flex: none;
    -ms-flex: none;
    flex: none;
    width: 100%;
    padding: 0.5em 1.25em 0.5em 0.75em;
    background: transparent;
}

.header__main {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

.header__title {
    font-size: 1.5em;
    font-weight: 700;
    margin: 0;
    line-height: 0.8;
    padding: 0 0 0.1em 0;
}

img.header-logo {
    width: 50px;
}

.header__tagline {
    font-family: 'Avenir Next', Avenir, 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, sans-serif;
    padding: 0 0.5em 0 5vw;
    margin: 0 auto 0 0;
}


@media (max-width: 768px) {
    .header__title {
        font-size: 1em;
    }

    img.header-logo {
        width: 50px;
    }

    .header .button {
        display: none;
    }
}

/* Top Navigation Style */

.links {
    position: relative;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
}

    .links::after {
        content: '';
        position: absolute;
        top: 15%;
        left: 50%;
        width: 2px;
        height: 70%;
        opacity: 0.7;
        background: rgba(0, 0, 0, 0.25);
        -webkit-transform: rotate3d(0, 0, 1, 22.5deg);
        transform: rotate3d(0, 0, 1, 22.5deg);
    }


/* Calendar */

.calendar-wrap {
    position: relative;
}

.js .calendar-wrap {
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.calendar {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    overflow: hidden;
    /* we always want 7 boxes in a row */
    padding: 3em calc((100vw - (7 * (7vw + 1vw)))/2);
}

.js .calendar {
    position: absolute;
    -webkit-perspective: 1000px;
    perspective: 1000px;
    padding: 0 calc((100vw - (7 * (7vw + 1vw)))/2) 5em;
}

.no-js .calendar {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-align-content: center;
    -ms-flex-line-pack: center;
    align-content: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}


/* Cubes container */

.cubes {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-align-content: center;
    -ms-flex-line-pack: center;
    align-content: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    height: 100%;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}


/* Single cube */

.cube {
    position: relative;
    display: block;
    -webkit-flex: none;
    -ms-flex: none;
    flex: none;
    width: 7vw;
    height: 7vw;
    margin: 0.5vw;
}

.js .cube {
    -webkit-flex: auto;
    -ms-flex: auto;
    flex: auto;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}


    /* push to the right weekday (we have to push 3 boxes) */

    .js .cube:first-child {
        margin-left: calc(((7vw + 1vw) * 3) + 0.5vw);
    }

    .js .cube:not(.cube--inactive) {
        cursor: pointer;
    }


/* cube sides and rotations */

.cube__side {
    position: absolute;
    top: 0;
    left: 0;
    width: inherit;
    height: inherit;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.cube__side--front {
    position: relative;
    -webkit-transform: translateZ(3.5vw);
    transform: translateZ(3.5vw);
}

.cube__side--back {
    -webkit-transform: rotateY(180deg) translateZ(3.5vw);
    transform: rotateY(180deg) translateZ(3.5vw);
}

.cube__side--right {
    -webkit-transform: rotateY(90deg) translateZ(3.5vw);
    transform: rotateY(90deg) translateZ(3.5vw);
}

.cube__side--left {
    -webkit-transform: rotateY(-90deg) translateZ(3.5vw);
    transform: rotateY(-90deg) translateZ(3.5vw);
}

.cube__side--top {
    -webkit-transform: rotateX(90deg) translateZ(3.5vw);
    transform: rotateX(90deg) translateZ(3.5vw);
}

.cube__side--bottom {
    -webkit-transform: rotateX(-90deg) translateZ(3.5vw);
    transform: rotateX(-90deg) translateZ(3.5vw);
}


/* Cube counters and numbers */


/* Without JS we want an auto counter */

.no-js .calendar {
    counter-reset: boxes-counter;
}

.no-js .cube {
    counter-increment: boxes-counter;
}

    .no-js .cube::after {
        content: counter(boxes-counter);
    }

    .cube__number,
    .no-js .cube::after {
        position: absolute;
        right: 0;
        bottom: 0;
    }


/* canvas for snow */

.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    transition: background-color 0.8s;
}


/* title that appears on hover */

.title {
    font-size: 3.25vw;
    font-weight: 700;
    position: absolute;
    right: 3vw;
    bottom: 3vw;
    margin: 0;
    white-space: nowrap;
    opacity: 0;
}


    /* number before title */

    .title::before {
        content: attr(data-number);
        display: inline-block;
        margin-right: 0.5em;
        color: white;
    }


/* letter span for animations */

[class*='letter'] {
    position: relative;
    display: inline-block;
    white-space: pre;
}

    [class*='letter']:blank {
        padding-right: 10em;
    }


/* content wrap */

.content {
    position: relative;
}

.js .content {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.js .content:has(.content__block--current) {
    
}


/* individual content block */

.content__block {
    padding: 10vh 5vw;
}

.js .content__block {
    padding: 20vh 5vw;
    position: absolute;
    z-index: 100;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 85%;
    height: 100%;
    padding: 3em 0 6em 7vw;    
}

.content__title {
    font-size: 7vw;
    line-height: 0.85;
    margin: 0;
}

.content__description {
    font-size: 2.25vw;
    margin: 1em 0;
    padding: 2em 0 0 5vw;
    position: relative;
}

.content__meta {
    font-family: 'Avenir Next', Avenir, 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0 0 0 2vw;
}

    .content__meta::before {
        content: '\2014';
    }

.content__number {
    position: absolute;
    pointer-events: none;
}

.btn-back {
    font-size: 2em;
    line-height: 2;
    position: absolute;
    z-index: 100;
    right: 0;
    bottom: 0;
    width: 2em;
    margin: 0;
    margin: 1em;
    padding: 0;
    pointer-events: auto;
    color: currentColor;
    border: 0;
    border: 2px solid;
    background: none;
    border-radius: 20px;
}

    .btn-back:focus {
        outline: none;
    }

.no-js .content__number,
.no-js .btn-back {
    display: none;
}

.js .content__block,
.js .content__description,
.js .content__meta,
.js .content__number,
.js .btn-back {
    opacity: 0;
}

.js .content__block--current {
    pointer-events: revert;
    opacity: 1;
}

@media screen and (max-width: 50.75em) {
    .calendar {
        padding: 3em calc((100vw - (7 * (14vw + 1vw)))/2);
    }

    .js .calendar {
        padding: 0 calc((100vw - (7 * (12vw + 1vw)))/2) 5em;
    }

    .cube {
        width: 12vw;
        height: 12vw;
    }
    /* push to the right weekday if in big view (we have to push 3 boxes) */
    .js .cube:first-child {
        margin-left: calc(((12vw + 1vw) * 3) + 0.5vw);
    }

    .cube__side--front {
        -webkit-transform: translateZ(6vw);
        transform: translateZ(6vw);
    }

    .cube__side--back {
        -webkit-transform: rotateY(180deg) translateZ(6vw);
        transform: rotateY(180deg) translateZ(6vw);
    }

    .cube__side--right {
        -webkit-transform: rotateY(90deg) translateZ(6vw);
        transform: rotateY(90deg) translateZ(6vw);
    }

    .cube__side--left {
        -webkit-transform: rotateY(-90deg) translateZ(6vw);
        transform: rotateY(-90deg) translateZ(6vw);
    }

    .cube__side--top {
        -webkit-transform: rotateX(90deg) translateZ(6vw);
        transform: rotateX(90deg) translateZ(6vw);
    }

    .cube__side--bottom {
        -webkit-transform: rotateX(-90deg) translateZ(6vw);
        transform: rotateX(-90deg) translateZ(6vw);
    }

    .title {
        font-size: 5vw;
    }

    .content__description {
        font-size: 1.15em;
        padding: 0 0 0 0.5em;
    }

    .js .content__block {
        padding: 2em;
        width: 100%;
    }

    .btn-back {
        font-size: 1.25em;
        bottom: auto;
        top: 0;
        margin: 0.5em;
    }
}

@media screen and (max-width: 26em) {
    .codrops-header {
        font-size: 0.75em;
    }

    .codrops-header__tagline {
        display: none;
    }

    .codrops-header__title {
        font-size: 1.5em;
    }

    .codrops-demos {
        width: 100%;
        margin: 0;
        padding: 0.5em 1em;
    }
}

/*----------------------------
	BUTTONS
----------------------------*/
ul.button-group {
    list-style: none;
    margin: 0;
}

    ul.button-group.is-flex {
        flex-direction: column;
    }

    ul.button-group li {
        display: inline-block;
        margin-right: 1rem;
    }

        ul.button-group li:last-child {
            margin-right: 0;
        }

        ul.button-group li > a {
            display: flex;
            align-items: center;
            font-weight: bold;
        }

.primary ul.button-group li > a {
    color: var(--color-text);
}

ul.button-group li > a i {
    margin-right: 10px;
}

.button {
    padding: 18px 22px;
    font-size: 14px;
    line-height: 1.143em;
    font-weight: 500;
    border-radius: 80px;
    border: none;
    background: var(--color-btn);
    color: var(--color-btn-text);
    transition: transform 350ms ease, background-color 350ms ease, -webkit-transform 350ms ease;
    text-align: center;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

    .button.is-large {
        padding: 27px 32px;
        border-radius: 80px;
        font-size: 16px;
        height: 70px;
    }

@media(max-width: 768px) {
    .button.is-large {
        padding: 17px 22px;
        border-radius: 80px;
        font-size: 16px;
        height: 70px;
    }

    .button {
        padding: 9px 11px;

    }
}

.button.is-primary.is-large {
    font-weight: 700;
}

.button:hover {
    transform: scale3d(0.95, 0.95, 1.01);
    background: var(--color-btn-hover);
    color: var(--color-btn-text);
}

.button.is-primary {
    background: var(--color-btn-primary);
    color: var(--color-btn-primary-text);
}

    .button.is-primary:hover {
        background: var(--color-btn-primary-hover);
        color: var(--color-btn-primary-text);
    }

.primary .button.is-primary {
    background: var(--color-btn-primary-text);
    color: var(--color-btn-primary);
}

    .primary .button.is-primary:hover {
        background: var(--color-btn);
        color: var(--color-btn-primary-text);
    }

.button.image-button {
    background: none !important;
}

.button.small {
    padding: 10px;
}

.cube__side,
.no-js .cube {
    border: 0.75vw solid var(--color-btn-dark);
    outline: 1px solid var(--color-btn-dark);
    background: var(--color-btn) url(../img/gift-icon.png) no-repeat center center;
    background-size: cover;
}

    .cube:not(.cube--inactive):nth-child(2n) .cube__side,
    .no-js .cube:not(.cube--inactive):nth-child(2n) {
        background-image: url(../img/gift-icon.png);
    }

    .cube:not(.cube--inactive):nth-child(3n) .cube__side,
    .no-js .cube:not(.cube--inactive):nth-child(3n) {
        background-image: url(../img/gift-icon.png);
    }

.cube--inactive .cube__side,
.no-js .cube--inactive {
    background: var(--color-btn);
}


/* With JS we insert a number span into the cube */

.cube__number,
.no-js .cube::after {
    font-family: 'Avenir Next', Avenir, 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, sans-serif;
    font-weight: 700;
    line-height: 2.5;
    width: 2em;
    height: 2em;
    padding: 0 0 0 0.25em;
    text-align: center;
    letter-spacing: -0.05em;
    color: #fff;
    border-radius: 100% 0 0 0;
    background: var(--color-btn-hover);
    font-size: 1em;
}

.cube:nth-child(2n):not(.cube--inactive) .cube__number,
.no-js .cube:nth-child(2n):not(.cube--inactive)::after {
    background: var(--color-btn-hover);
}

.cube:nth-child(3n):not(.cube--inactive) .cube__number,
.no-js .cube:nth-child(3n):not(.cube--inactive)::after {
    background: var(--color-btn-hover);
}

.cube--inactive .cube__number,
.no-js .cube--inactive::after {
    background: var(--color-btn-hover);
}

.js .content__block {
    text-align: right;
}

.content__number {
    font-family: 'Avenir Next', Avenir, 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, sans-serif;
    font-size: 40vw;
    font-weight: bold;
    line-height: 0.5;
    right: 0;
    bottom: 30vh;
    text-indent: -0.175em;
    letter-spacing: -0.175em;
    color: var(--color-hamburger);
    z-index: 9999;
}
.anim {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100vw;
    height: 100vh;
    z-index: -1;
}


.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
}

.modal {
    position: fixed;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--color-hamburger);
    padding: 20px 15px;
    border-radius: 12px;
    width: 100%;
    max-width: 380px;
    z-index: 99999999;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
    color: var(--color-bg);
}

.modal-content h3 {
    margin-top: 0;
}

.modal-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.submit-btn {
    cursor: pointer;
}

.cancel-btn {
    background: transparent;
    color: var(--color-bg);
    border: none;
    cursor: pointer;
}

.modal-input {
    width: 100%;
    padding: 8px;
    margin-top: 8px;
    margin-bottom: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
}