@import url('https://use.typekit.net/qxy8pal.css');

@font-face {
    font-family: Wasabi;
    src: url(https://cdn.promo-now.com/site-files/6968d731482dad0a019daa3d/Wasabi-Bold.woff2);
}

:root {
    --wasabi-green: #003f23;
    --wasabi-red: #a20f3b;
    --wasabi-lime: #CCD400;
}

body,
html {
    margin: 0;
    padding: 0;
    font-family: Wasabi;
    background: #fffcf4;
    color: var(--wasabi-red);
    font-size: 24px;
}

* {
    box-sizing: border-box;
}

p {
    margin: 10px auto;
}

.text-green {
    color: var(--wasabi-green);
}

.text-red {
    color: var(--wasabi-red);
}

.text-lime {
    color: var(--wasabi-lime);
}

.container {
    padding-inline: 24px;
}

.frame {
    --margin: 10px;
    position: relative;
    margin-inline: auto;
    margin-block: var(--margin);
    max-width: 1100px;
    background: url(https://cdn.promo-now.com/site-files/6968d731482dad0a019daa3d/frame-tl.png) no-repeat top left, url(https://cdn.promo-now.com/site-files/6968d731482dad0a019daa3d/frame-tr.png) no-repeat top right, url(https://cdn.promo-now.com/site-files/6968d731482dad0a019daa3d/frame-bl.png) no-repeat bottom left, url(https://cdn.promo-now.com/site-files/6968d731482dad0a019daa3d/frame-br.png) no-repeat bottom right, url(https://cdn.promo-now.com/site-files/6968d731482dad0a019daa3d/frame-cl.png) no-repeat left, url(https://cdn.promo-now.com/site-files/6968d731482dad0a019daa3d/frame-cr.png) no-repeat right, url(https://cdn.promo-now.com/site-files/6968d731482dad0a019daa3d/frame-ct.png) no-repeat top, url(https://cdn.promo-now.com/site-files/6968d731482dad0a019daa3d/frame-cb.png) no-repeat bottom;
    width: calc(100% - calc(var(--margin) * 2));
    background-size: min(38%, 270px) min(120px, 17vw), min(38%, 270px) min(120px, 17vw), min(38%, 270px) min(120px, 17vw), min(38%, 270px) min(120px, 17vw), min(9px, 1.2vw) calc(100% - min(198px, 27vw)), min(9px, 1.2vw) calc(100% - min(217px, 30vw)), calc(100% - min(30%, 213px)) min(8px, 1vw), calc(100% - min(31%, 220px)) min(9px, 1.3vw);
    padding-bottom: min(17%, 110px);
}

.frame>.container {
    transition: height 0.3s ease;
}

.frame .logo {
    position: relative;
    width: 100%;
    pointer-events: none;
    top: -10px;
    height: min(33vw, 188px);
    background: url(https://cdn.promo-now.com/site-files/6968d731482dad0a019daa3d/logo.png) no-repeat center;
    background-size: contain;
}

.frame .lockup {
    position: relative;
    width: 78%;
    max-width: 300px;
    margin: 0 auto;
    margin-top: max(-18%, -75px);
}

.frame .lockup i {
    display: block;
    padding-bottom: 90%;
    background: url(https://cdn.promo-now.com/site-files/6968d731482dad0a019daa3d/envelope-lockup.png) no-repeat center;
    background-size: contain;
}

h1 {
    font-family: citrus-gothic, sans-serif;
    color: var(--wasabi-green);
    font-size: min(56px, 14vw);
    line-height: 0.9;
    margin: 10px auto;
    font-weight: 400;
}

h2 {
    font-family: citrus-gothic, sans-serif;
    color: var(--wasabi-green);
    font-size: min(46px, 12vw);
    line-height: 0.9;
    margin: 10px auto;
    font-weight: 400;
}

.text-center {
    text-align: center;
}

.form-section {
    min-height: 100px;
    background: var(--wasabi-green);
}

.packshot {
    position: relative;
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
}

.packshot i {
    display: block;
    padding-bottom: 106%;
    background: url(https://cdn.promo-now.com/site-files/6968d731482dad0a019daa3d/packshot.png) no-repeat center;
    background-size: contain;
}

.pb::before {
    content: '';
    display: block;
    padding-top: 1px;
    margin-bottom: 20px;
}

.pa::after {
    content: '';
    display: block;
    padding-bottom: 1px;
    margin-top: 20px;
}

footer {
    font-family: 'citrus-gothic';
    color: var(--wasabi-green);
}

.socials {
    position: relative;
}

.socials a {
    display: inline-block;
    width: 30px;
    height: 30px;
    background-color: red;
    margin-inline: 10px;
}

.socials a.fb {
    background: url(https://cdn.promo-now.com/site-files/6968d731482dad0a019daa3d/fb.svg) no-repeat center;
    background-size: contain;
}

.socials a.ig {
    background: url(https://cdn.promo-now.com/site-files/6968d731482dad0a019daa3d/ig.svg) no-repeat center;
    background-size: contain;
}

.socials a.x {
    background: url(https://cdn.promo-now.com/site-files/6968d731482dad0a019daa3d/x.svg) no-repeat center;
    background-size: contain;
}

/* ENVELOPE ANIM */

.envelope-container {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    position: relative;
}

.envelope-base {
    padding-bottom: 82%;
    background-size: contain;
    position: relative;
    transition: transform 0.3s ease-in-out;
    transform: scale(1);
    cursor: pointer;
    filter: drop-shadow(-8px 8px 5px #7d1712);
    z-index: 5;
}

.envelope-base .hole {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background: url(https://cdn.promo-now.com/site-files/6968d731482dad0a019daa3d/envelope-hole.png) no-repeat top center;
    background-size: contain;
    transform-origin: top center;
}

.envelope-base>.front {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background: url(https://cdn.promo-now.com/site-files/6968d731482dad0a019daa3d/envelope-base.png) no-repeat top center;
    background-size: contain;
    transform-origin: top center;
}

.peel {
    width: 18%;
    height: 18%;
    position: absolute;
    top: 42%;
    left: 42%;
    background: url(https://cdn.promo-now.com/site-files/6968d731482dad0a019daa3d/peel.png) no-repeat top center;
    background-size: contain;
    transform-origin: top center;
}

.envelope-base>.text {
    position: absolute;
    width: 51%;
    height: 25%;
    left: 24%;
    text-align: center;
    color: white;
    line-height: 0.9;
    font-size: 55px;
    pointer-events: none;
    user-select: none;
}

.envelope-base>.text.tap-me {
    top: 62%;
}

.envelope-base>.text.better-luck {
    top: 54%;
    opacity: 0;
}

.envelope-base>.text.prize {
    top: 56%;
    font-size: 110px;
    opacity: 0;
}

@media screen and (max-width: 600px) {
    .envelope-base>.text {
        font-size: 8vw;
    }

    .envelope-base>.text.prize {
        font-size: 18vw;
    }
}

.flap-closed {
    width: 100%;
    height: 30%;
    position: absolute;
    top: 21%;
    left: 0;
    background: url(https://cdn.promo-now.com/site-files/6968d731482dad0a019daa3d/flap-closed.png) no-repeat top center;
    background-size: contain;
    transform-origin: top center;
    transition: all 0.25s linear;
}

.flap-open {
    width: 100%;
    height: 23.8%;
    position: absolute;
    top: 1px;
    left: 0;
    background: url(https://cdn.promo-now.com/site-files/6968d731482dad0a019daa3d/flap-open.png) no-repeat center;
    background-size: contain;
    transform-origin: bottom center;
    transform: rotateX(90deg);
    transition: all 0.25s linear;
    transition-delay: 0.25s;
}

.pounds {
    position: absolute;
    width: 94%;
    left: 3%;
    bottom: 0;
    height: 77%;
}

.pounds .item {
    width: 18%;
    height: 40%;
    background: url(https://cdn.promo-now.com/site-files/6968d731482dad0a019daa3d/pound.png) no-repeat center;
    background-size: contain;
    position: absolute;
    top: 30%;
    left: 0%;
    transition: all 0.7s ease-out, opacity 1s 0.5s ease-out;
}

.envelope-base .pounds .item:nth-child(1) {
    left: 32%;
}

.envelope-base .pounds .item:nth-child(2) {
    left: 46%;
}

.envelope-base .pounds .item:nth-child(3) {
    left: 18%;
}

.envelope-base .pounds .item:nth-child(4) {
    left: 62%;
}

.envelope-base .pounds .item:nth-child(5) {
    left: 12%;
}

.envelope-base .pounds .item:nth-child(6) {
    left: 75%;
}

.envelope-base.reveal,
.envelope-base.animating {
    cursor: initial;
}

.envelope-base.reveal .pounds .item:nth-child(1) {
    /* transform: rotate(25deg); */
    top: -30%;
}

.envelope-base.reveal .pounds .item:nth-child(2) {
    /* transform: rotate(-15deg); */
    top: -20%;
}

.envelope-base.reveal .pounds .item:nth-child(3) {
    /* transform: rotate(35deg); */
    top: -13%;
}

.envelope-base.reveal .pounds .item:nth-child(4) {
    /* transform: rotate(-15deg); */
    top: 5%;
}

.envelope-base.reveal .pounds .item:nth-child(5) {
    /* transform: rotate(-15deg); */
    top: -30%;
}

.envelope-base.reveal .pounds .item:nth-child(6) {
    /* transform: rotate(-15deg); */
    top: -24%;
}

.sticker {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    z-index: 5;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    transition: 0.2s 0.2s;
    transform: translate3d(10px, 20px, 0) scale(1.5) rotate(-45deg);
    opacity: 1;
}

.sticker .back,
.sticker .front {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    transition: 0.35s;
}

.sticker .back:before,
.sticker .front:before {
    content: ' ';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    transition: 0.35s;
}

.sticker .front {
    height: 0;
}

.sticker .front .content {
    position: absolute;
    bottom: 0;
    left: 0;
    display: block;
    width: 130px;
    height: 130px;
    transform: rotate(45deg);
    background: #e15399;
    color: #fff;
    line-height: 130px;
    font-size: 0.8em;
    text-transform: uppercase;
    text-align: center;
    border-radius: 50%;
}

.sticker .back {
    top: 130px;
    overflow: hidden;
}

.sticker .back:before {
    background-color: #f7e5c0;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.4);
    top: 0;
}

.wrapper {
    width: 300px;
    height: 400px;
    background: #eee;
    box-shadow: 0 0 10px -5px #000;
    border-radius: 5px;
    margin: auto;
    position: relative;
}

.wrapper:hover .sticker {
    transform: translate3d(0, 0, 0) scale(1) rotate(-45deg);
    transition-delay: 0s;
    opacity: 1;
}

.wrapper:hover .sticker .front {
    height: 130px;
}

.wrapper:hover .sticker .back {
    top: 0;
}

.wrapper:hover .sticker .back:before {
    top: -130px;
}

.success-msg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    overflow: hidden;
    transition: height 0.4s ease-in;
}

.success-msg .inner {
    max-width: 1200px;
    margin: 20px auto;
    text-align: center;
}

.alignC {
    text-align: center;
}

.open-envelope h2 {
    margin: 0;
}

.cta {
    margin: 40px auto;
}

.cta a {
    text-decoration: none;
    color: white;
    background: var(--wasabi-green);
    text-transform: uppercase;
    font-family: 'citrus-gothic', sans-serif;
    background: var(--wasabi-green);
    padding: 10px 20px;
    border-radius: 500px;
    font-size: 1.2em;
}

.prizes-copy {
    color: var(--wasabi-green);
    font-size: 18px;
}

.flex.prizes {
    display: flex;
    flex-direction: column-reverse;
}

.prizes-copy .cta.desktop {
    display: none;
}

.prizes .cta.mobile {
    display: initial;
}

.prizes .lockup {
    margin-top: unset;
}

@media screen and (min-width: 900px) {
    body {
        font-size: 28px;
    }

    .text-xl {
        font-size: 100px;
    }

    h2 {
        font-size: 80px;
    }

    .flex,
    .flex.prizes {
        display: flex;
        flex-direction: row-reverse;
        justify-content: center;
        align-items: center;
    }

    .flex>div {
        width: 50%;
        text-align: left;
    }

    .frame .lockup {
        max-width: 400px;
    }

    .packshot {
        max-width: 820px;
        margin-top: 40px;
    }

    .packshot i {
        padding-bottom: 46%;
        background: url(https://cdn.promo-now.com/site-files/6968d731482dad0a019daa3d/packshot-desktop.png) no-repeat center;
        background-size: contain;
    }

    .feeling-lucky {
        padding-left: 10%;
        font-size: 1.4em;
    }

    .prizes-copy {
        padding-left: 10%;
        font-size: 22px;
        width: 55% !important;
    }

    .prizes-copy .cta.desktop {
        display: block;
    }

    .prizes .cta.mobile {
        display: none;
    }
}

.enter-here {
    margin-bottom: -20px;
    font-size: 30px;
    font-family: 'citrus-gothic', sans-serif;
}

.value-pulse {
    display: inline-block;
}

.value-pulse.anim {
    animation: pulse 0.35s linear;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

.controls {
    top: 1rem !important;
    width: fit-content !important;
    height: fit-content !important;
    cursor: pointer;

}

.controls p {
    margin: 0 auto !important;
}

.navButton b {
    height: 24px !important;
}

.navButton b i {
    height: 4px !important;
}

.navButton {
    display: none !important;
}

.navButton.open {
    display: block !important;
}

.nav-button {
    position: absolute;
    cursor: pointer;
    width: min(11%, 80px);
    height: min(80px, 12vw);
    top: 0;
    right: 0;
    background: url(https://cdn.promo-now.com/site-files/6968d731482dad0a019daa3d/nav-button.svg) no-repeat center;
    background-size: 40% 50%;
}

nav {
    position: fixed !important;
}

@media screen and (max-width: 600px) {
    .navButton b {
        width: 27px !important;
    }
}

.batchcode-image {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.batchcode-image i {
    display: block;
    padding-bottom: 74%;
    background: url(https://cdn.promo-now.com/site-files/6968d731482dad0a019daa3d/batch-code-example.jpg) no-repeat center;
    background-size: contain;
}