:root {
    --main: #8ac589;
    --main: #fbcba5;
    --main: #4cbdce;
    --main: #bc2227;
    --second: #fff;
    --third: #000;
    --logo: #0071b9;
    --discount: #c00;

    --border: 4px;
}

@font-face {
    font-family: "fs";
    src: url("fs-book.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: "fs";
    src: url("fs-bold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: "fr";
    src: url("fr-heavy.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: block;
}

html, body {
    margin: 0;
    padding: 0;
}

html {
    font-size: 1.9vh;
}

.banner {
    font-family: 'fs', serif;
    font-weight: 400;
    width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: none;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    
    font-feature-settings: "kern";
}

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

.banner {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    padding: 4.6em;
}

.wrap {
    grid-area: 1 / 1 / 2 / 2;
    position: relative;
}

.bottom {
    background-color: var(--main);
    border-bottom: 1px solid #ddd;
}

.top {
    background-color: var(--third);
}

.video {
    position: absolute;
    overflow: hidden;
    width: 100%;
    height: 100%;
    background-color: var(--main);
    background-color: #000;
    background-image: url(blur.avif);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
    object-fit: cover;
    object-position: 50% 50%;
}

.tint {
    position: absolute;
    left: 0; top: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: .25;
}

.btn {
    text-transform: uppercase;
    border-radius: 2em;
    color: var(--third);
    background-color: var(--second);
    display: inline-block;
    padding: .4em 1.2em;
    margin-top: 2em;
    font-size: 1.6em;
    position: absolute;
    right: 0;
    bottom: 0;
    font-weight: 600;
    transition: all .2s ease;

    right: 50%;
    transform: translateX(50%);

    color: var(--third);
    background-color: var(--second);

    color: var(--second);
    background-color: var(--third);

    opacity: 0;
    opacity: 1;
}

.show-2 .btn,
.show-3 .btn  {
    opacity: 1;
}

.btn:hover {
    color: var(--second);
    background-color: var(--logo);
}

.footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 7em;
}

.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 2.8em;
    grid-row-gap: 2.8em;
    grid-column-gap: 2em;
    grid-row-gap: 2em;
    width: 100%;
    height: 100%;
    padding: 9em 2em 6em 2em;

    position: absolute;
    top: 0;
    left: 0;
}

.box {
    position: relative;
    cursor: pointer;

    display: flex;

}

.bb-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    
    transition: all .45s ease;
    transform-origin: bottom center;
    transform-origin: 50% 70%;
    
    display: flex;
    flex-direction: column;
    /* align-items: center; */

    background-color: var(--second);
    padding: 1.5em;

    max-height: 25em;
    /* top: 50%;
    transform: translateY(-50%);
    transform-origin: 50% 25%; */

    align-self: center;
}

@media (orientation: landscape) {
    .bb-wrap {
        transition: all .3s ease;
    }
    .b-small-- {
        transform: scale(.85);
    }
    .b-large {
        transform: scale(1.05);
    }
}

@media (orientation: portrait) {
    .b-large-port {
        transform: scale(1.06);
    }

    .box-1 .bb-wrap,
    .box-2 .bb-wrap {
        align-self: end;
    }
    .box-3 .bb-wrap,
    .box-4 .bb-wrap {
        align-self: start;
    }
}

.box-footer {
    z-index: 100;
    white-space: nowrap;
    font-size: 1.4em;
    font-weight: 600;
    line-height: 1;
    position: relative;
    margin-bottom: 1em;

    margin-bottom: 0em;
}

.info-discount {
    display: none;
}

.info-price {
    display: inline-block;
    font-family: "fr", sans-serif;
    font-weight: 700;
    font-size: 2.2em;
    position: relative;
    padding: .2em .3em;

    background-color: var(--logo);
    color: var(--second);
    filter: drop-shadow(.06em .06em 0 var(--second));
    margin-bottom: 1rem;

    font-size: 1.8em;

    /* background-color: var(--main); */
}

.info-price {
    opacity: 0;
    transform: scale(0);
    transition: all .4s ease;
    transition: all .4s cubic-bezier(.4, .1, .4, 1.4);
    transition: all .44s cubic-bezier(.4, .1, .4, 1.5);
}

.show-1 .grid-1 .info-price,
.show-2 .grid-2 .info-price,
.show-3 .grid-2 .info-price {
    transition-delay: .54s;
    opacity: 1;
    transform: scale(1);
}

/* .show-1 .box-1 .info-price, .show-2 .box-1 .info-price {transition-delay:.54s}
.show-1 .box-2 .info-price, .show-2 .box-2 .info-price {transition-delay:.6s}
.show-1 .box-3 .info-price, .show-2 .box-3 .info-price {transition-delay:.66s}
.show-1 .box-4 .info-price, .show-2 .box-4 .info-price {transition-delay:.72s} */

.show-1 .box-1 .info-price, .show-2 .box-1 .info-price {transition-delay:.5s}
.show-1 .box-2 .info-price, .show-2 .box-2 .info-price {transition-delay:.56s}
.show-1 .box-3 .info-price, .show-2 .box-3 .info-price {transition-delay:.62s}
.show-1 .box-4 .info-price, .show-2 .box-4 .info-price {transition-delay:.68s}

.dec {
    font-size: 56%;
    position: relative;
    top: -.56em;
}

.info-price::after {
    content: "";
    position: absolute;
    bottom: calc(-.3em + 1px);
    right: .5em;
    width: 0; 
    height: 0; 
    border-left: .2em solid transparent;
    border-right: .2em solid transparent;
    border-top: .3em solid var(--logo);

    /* border-top-color: var(--main); */
}

.info-before {
    font-weight: 600;
    font-size: 70%;
    line-height: 1.15;
}

.info-name {
    font-weight: 400;
    font-size: 80%;
    line-height: 1.2;
    font-size: 50%;
    margin-top: .5em;
}

.box-bg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: 50% 50%;

    transition: all .33s ease;

    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);

    position: relative;
}
    
.box-1 { grid-area: 1 / 1 / 2 / 2; }
.box-2 { grid-area: 1 / 2 / 2 / 3; }
.box-3 { grid-area: 1 / 3 / 2 / 4; }
.box-4 { grid-area: 1 / 4 / 2 / 5; }

.badge-wrap {
    position: relative;
    font-size: 75%;
    top: -2em;
}

.badge {
    font-size: 1.4em;
    padding: 3.4em 0;
    line-height: 1.2;
    font-weight: 600;
    text-align: center;
    background-color: rgba(255,255,255,.7);
    width: 9em;
    height: 9em;
    border-radius: 10em;
    position: absolute;
    right: 0;
    top: -.2em;
    fill: var(--second);

    fill: var(--third);
    opacity: 1;
}

.badge-left {
    left: 0;
}

.badge-2 {
    padding: 2.8em 0;
}

.badge-3 {
    font-size: 1.6em;
    padding: 2.8em 0;
    width: 8em;
    height: 8em;
}

.badge-4 {
    font-size: 1.6em;
    padding: 2.4em 0;
    width: 8em;
    height: 8em;
}

.animate .badge {
    transition: all .3s ease;
}

/* .show-2 .badge,
.show-3 .badge {
    fill: var(--third);
    opacity: 0;
} */

.logo-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 7em;
}

.logo {
    width: 23em;
    height: auto;
    position: absolute;
    left: 50%;
    transform: translate(-50%,0%);
    fill: var(--second);
    filter: drop-shadow(.1em .1em 0 rgba(0,0,0,.4));
}

.logo-top {
    top: 0;
    fill: var(--third);
    filter: none;
    /* opacity: 0;
    transform: translate(-50%,-2.6em); */
}

.logo-bottom {
    bottom: 0;
}

.animate .logo {
    transition: all .35s ease;
}

.show-2 .logo-bottom,
.show-3 .logo-bottom {
    opacity: 0;
    transform: translate(-50%,2.6em);
}

.show-2 .logo-top {
    opacity: 1;
    transform: translate(-50%,0em);
}

.bold {
    font-weight: 600;
}

.footer-- {
    transform: translateY(2em);
    opacity: 0;
}

.animate .footer {
    transition: all .5s ease;
    transition-delay: 0s;
}

.show-2 .footer,
.show-3 .footer {
    opacity: 1;
    transform: translateY(0em);
    transition-delay: .35s;
}

.exit-wrap {
    position: absolute;
    /* left: 0; top: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%; */
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
}

/********/

.box {
    transform-origin: center;
    transform: translateY(35%) scale(.75);
    opacity: 0
}

.grid-2 .box {
    transform: translateY(-35%) scale(.75);
}

.animate .box {
    transition: all .6s ease;
}

.show-1 .grid-1 .box {
    transform: translateY(0%);
    opacity: 1
}

.show-1 .grid-1 .box-1 {transition-delay: .1s}
.show-1 .grid-1 .box-3 {transition-delay: .15s}
.show-1 .grid-1 .box-4 {transition-delay: .2s}

.show-2 .grid-2 .box,
.show-3 .grid-2 .box {
    transform: translateY(0%);
    opacity: 1
}

/* .show-2 .grid-2 .box-1 {transition-delay: .1s}
.show-2 .grid-2 .box-3 {transition-delay: .15s}
.show-2 .grid-2 .box-4 {transition-delay: .2s} */

.show-2 .grid-2 .box-2 {transition-delay: .1s}
.show-2 .grid-2 .box-1 {transition-delay: .15s}
.show-2 .grid-2 .box-3 {transition-delay: .2s}
.show-2 .grid-2 .box-4 {transition-delay: .15s}

.grid,
.grid::before,
.footer--,
.logo--,
.badge-- {
    pointer-events: none;
}

.show-1 .grid-1 {
    pointer-events: auto;
}

.show-2 .grid-2,
.show-3 .grid-2,
.show-2 .footer,
.show-3 .footer {
    pointer-events: auto;
}

@media (orientation: landscape) { .br-p { display: none; }}
@media (orientation: portrait) { .br-l { display: none; }}

@media (orientation: portrait) {
    html {
        font-size: 2vw;
    }
    .banner {
        padding: 5em 3em 7em 3em;
    }
    .logo-bottom {
        bottom: 1.5em;
    }
    .badge-wrap {
        display: none;
    }
    .badge {
        font-size: 1.8em;
    }
    .grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        padding: 12em 0em 9em 0em;
    }
    .box-1 { grid-area: 1 / 1 / 2 / 2; }
    .box-2 { grid-area: 1 / 2 / 2 / 3; }
    .box-3 { grid-area: 2 / 1 / 3 / 2; }
    .box-4 { grid-area: 2 / 2 / 3 / 3; }
    .box {
        font-size: 1.2em;
    }
    .box-footer-- {
        margin-bottom: .25em;
    }
    .info-name {
        font-size: 60%;
    }
    .btn {
        bottom: 0em;
        white-space: nowrap;
        font-size: 1.8em;
    }
}

@media (orientation: portrait) and (min-aspect-ratio: 5/8) {
    html, body {
        font-size: 1.3vw;
        font-size: 1.6vw;
    }
    /* .wrap {
        background-color: rgba(255, 0, 0, 0.466);
    } */
}

@media (orientation: portrait) and (min-aspect-ratio: 5/6) {
    html, body {
        font-size: 1.3vw;
        font-size: 1vw;
    }
    /* .wrap {
        background-color: rgba(30, 0, 255, 0.466);
    } */
}

@media (min-aspect-ratio: 1/1) and (max-aspect-ratio: 10/7) {
    html, body {
        font-size: 1.4vw;
        font-size: 1.3vw;
    }
    .grid {
        padding: 13em 0em 10em 0em;
    }
    /* .wrap {
        background-color: rgba(255, 0, 0, 0.466);
    } */
}

.imp-img {
    position: absolute;
    bottom: 0;
    right: 0;
    opacity: 0;
}

.pe-top,
.pe-bottom {
    position: absolute;
    font-size: .22em;
    font-size: .25em;
    padding: .3em;
    font-weight: 400;
}

.pe-top {
    left: 0;
    top: 0;
}

.pe-bottom {
    bottom: 0;
    right: 0;
}

/**/

.logo-top {
    filter: drop-shadow(.1em .1em 0 rgba(0,0,0,.25));
    filter: drop-shadow(.1em .1em 0 rgba(0,0,0,.4));
    fill: var(--second);
}

.btn {
    background-color: var(--logo);
    color: var(--second);
}

.btn:hover {
    background-color: #961b1f;
    background-color: #0061a0;
}

@media (orientation: portrait) {
    .logo-top {
        top: 1em;
    }
}

.deco {
    position: absolute;
    width: 25em;
    height: auto;
}

.deco-1 {
    top: -2.5em;
    left: -2em;
}

.deco-2 {
    bottom: -.3em;
    right: -3.5em;
}

@media (orientation: portrait) {
    .deco {
        width: 24em;
    }
    .deco-1 {
        top: -4em;
        left: -3em;
    }
    .deco-2 {
        right: -4em;
    }
    .snow {
        transform: scale(1.2);
    }
}

/* .item-1 .info-price {
    background-color: var(--discount);
}

.item-1 .info-price::after {
    border-top-color: var(--discount);
} */

.info-discount {
    display: block;
    position: absolute;
    top: -1.2em;
    left: 0;
    font-size: 54%;
}

.info-discount::after {
    content: "";
    position: absolute;
    width: 100%;
    height: .09em;
    background-color: var(--third);
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.info-discount {
    opacity: 0;
    transition: all .4s ease;
    transform: translateY(50%);
}

.show-1 .grid-1 .info-discount,
.show-2 .grid-2 .info-discount,
.show-3 .grid-2 .info-discount {
    transition-delay: .86s;
    opacity: 1;
    transform: translateY(0%);
}