body,
html {
    background: #7E9898;
    font-family: SFProText-Medium;
    font-size: 18px;
    color: #444444;
    letter-spacing: -0.84px;
    margin: 0;
    padding: 0;
    overflow-x: hidden!important;
    overflow-y: hidden!important;
}

@keyframes turnWhite {
    0%,
    90% {
        background: #7E9898;
    }
    100% {
        background: #FFFFFF;
    }
}

@keyframes turnBack {
    0%,
    70% {
        background: #FFFFFF;
    }
    100% {
        background: #7E9898;
    }
}

body.white {
    background: #FFFFFF;
    animation: turnWhite 1s;
}

body.white.back {
    background: #7E9898;
    animation: turnBack .6s;
}

@font-face {
    font-family: Lucca-Regular;
    src: url(Lucca-Regular.otf);
}

@font-face {
    font-family: SFProText-Medium;
    src: url(SF-Pro-Display-Medium.otf);
    font-weight: Medium;
}

@font-face {
    font-family: SFProText-Semibold;
    src: url(SF-Pro-Display-Semibold.otf);
}

@keyframes land {
    0%,
    25% {
        transform: translateY(-50%) scale(0.9);
        opacity: 0;
    }
    100% {
        transform: translateY(-50%) scale(1);
        opacity: 1;
    }
}

.page.one {
    position: relative;
    width: 700px;
    margin: auto;
    padding: 20px 0;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
    animation: land 1s;
}

@keyframes woosh {
    0%,
    95% {
        transform: translateY(-50%);
    }
    100% {
        transform: translateY(-1000%);
    }
}

.page.one.gone {
    transform: translateY(-1000%);
    animation: woosh 1.2s;
}

@media only screen and (max-width: 700px) {
    .page.one {
        width: calc(100% - 40px);
        margin: auto;
    }
}

a.top {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: url(logo.png);
    background-size: 117px 25px;
    width: 117px;
    height: 25px;
    margin: 5px 0;
    display: inline-block;
    z-index: 100;
    pointer-events: none;
}

a.top.clickable {
    pointer-events: auto;
}

a.logo.white {
    background: url(white.png);
    background-size: 117px 25px;
    width: 117px;
    height: 25px;
    margin: 5px 0;
    display: inline-block;
}

a.logo.white.end {
    margin-bottom: 40px;
}

.title-one {
    font-family: SFProText-Semibold;
    font-size: 30px;
    color: rgba(0, 0, 0, 0.50);
    letter-spacing: -1px;
    text-align: center;
    line-height: 30px;
    padding: 40px 0;
    max-width: 435px;
    margin: auto;
}

@keyframes start {
    0% {
        border-radius: 5px;
        width: 140px;
        font-size: 20px;
        box-shadow: 1px 4px 20px 0 rgba(0, 0, 0, 0.20);
        text-shadow: 0 0 20px rgba(0, 0, 0, 0.40);
        transform: scale(1);
    }
    25% {
        font-size: 0px;
        text-shadow: 0 0 0;
        border-radius: 40px;
        width: 40px;
        transform: scale(1);
    }
    75%,
    100% {
        border-radius: 40px;
        width: 40px;
        transform: scale(40);
        box-shadow: 0 0 0 0;
    }
}

.start {
    background: #FFFFFF;
    box-shadow: 1px 4px 20px 0 rgba(0, 0, 0, 0.20);
    border-radius: 5px;
    width: 140px;
    height: 40px;
    line-height: 40px;
    font-family: Lucca-Regular;
    font-size: 20px;
    color: #7E9898;
    letter-spacing: 0.87px;
    text-align: center;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.40);
    display: inline-block;
    transform: scale(1);
    cursor: pointer;
}

.activated {
    border-radius: 40px;
    width: 40px;
    font-size: 0px;
    text-shadow: 0 0 0;
    transform: scale(40);
    box-shadow: 0 0 0 0;
    animation: start 1s ease-in-out;
    cursor: default;
}

.page.two {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 1000%);
    width: 700px;
    text-align: center;
    opacity: 0;
    z-index: 2;
}

@keyframes two {
    0%,
    1% {
        transform: translate(-50%, 1000%);
        opacity: 0;
    }
    50% {
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

.page.two.pick {
    transform: translate(-50%, -50%);
    animation: two 1.2s;
    opacity: 1;
}

.page.two.byebye {
    transform: translate(-200%, -50%) scale(0.9);
    opacity: 0;
    transition: .4s ease-out;
}

.title-step {
    font-family: SFProText-Semibold;
    font-size: 30px;
    color: #000000;
    letter-spacing: -1px;
    text-align: center;
    margin: 10px 0;
}

label.pack {
    position: relative;
    display: inline-block;
    width: 300px;
    height: 180px;
    margin: 15px;
    border-radius: 5px;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 1px 4px 20px rgba(0, 0, 0, 0.2);
    transition: .2s ease-in-out;
    cursor: pointer;
}

label.pack .name {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 270px;
    height: 40px;
    padding: 0 15px;
    font-family: Lucca-Regular;
    font-size: 20px;
    color: #FFFFFF;
    letter-spacing: 0.87px;
    line-height: 40px;
    text-align: left;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.40);
}

label.pack.portrait {
    background: url(portrait.jpg);
    background-size: cover;
    background-position: center center;
}

label.pack.portrait .name {
    background: #D1C3B2;
}

label.pack.senior {
    background: url(senior.jpg);
    background-size: cover;
    background-position: center center;
}

label.pack.senior .name {
    background: #C79492;
}

label.pack.cupcake {
    background: url(cupcake.jpg);
    background-size: cover;
    background-position: center center;
}

label.pack.cupcake .name {
    background: #B2C3D1;
}

label.pack.golden {
    background: url(golden.jpg);
    background-size: cover;
    background-position: center center;
}

label.pack.golden .name {
    background: #C2B8AC;
}

input[name="pack"] {
    display: none;
    visibility: hidden;
}

label.pack.after {
    opacity: .4;
    transition: .2s ease-in-out;
}

input:checked+label.pack {
    box-shadow: 1px 4px 20px rgba(0, 0, 0, 0.3);
    opacity: 1!important;
    transition: .2s ease-in-out;
}

@media only screen and (max-height: 600px) {
    label.pack {
        height: 140px;
    }
}

@media only screen and (max-width: 700px) {
    .page.two {
        width: calc(100% - 40px);
    }
    label.pack {
        margin: 10px;
        width: 250px;
        height: 40px;
    }
    label.pack:first-of-type {
        margin-top: 40px;
    }
    .next-pack {
        margin-top: 20px;
    }
    label.pack .name {
        text-align: center;
        width: 250px;
        padding: 0;
    }
}

.next-pack {
    background: #D5D5D5;
    box-shadow: 1px 4px 20px 0 rgba(0, 0, 0, 0.20);
    border-radius: 5px;
    width: 140px;
    height: 40px;
    line-height: 40px;
    font-family: Lucca-Regular;
    font-size: 20px;
    color: #FFFFFF;
    letter-spacing: 0.87px;
    text-align: center;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.40);
    display: inline-block;
    cursor: pointer;
    pointer-events: none;
    transition-duration: .2s;
    margin-top: 20px;
}

.next-pack.clickable {
    background: #7E9898;
    pointer-events: auto;
    transition-duration: .2s;
}

.page.three {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(500%, -50%) scale(0);
    width: 555px;
    text-align: left;
    z-index: 5;
    opacity: 0;
    transition: .4s ease-in-out;
}

.page.three.hello {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

@keyframes third {
    0%,
    50% {
        transform: translate(-50%, -50%) scale(1)!important;
        opacity: 1!important;
    }
    90% {
        transform: translate(-50%, -50%) scale(0.9)!important;
        opacity: 0!important;
    }
    99% {
        transform: translate(-50%, -50%) scale(0.9)!important;
    }
    100% {
        transform: translate(-50%, -50%) scale(0)!important;
    }
}

.page.three.hello.finish {
    animation: third 1.4s;
    transform: translate(-50%, -50%) scale(0)!important;
    opacity: 0!important;
}

.form {
    margin-bottom: 30px;
    margin-right: 50px;
    display: inline-block;
    text-align: left;
    line-height: 22px;
    transition: .4s ease-in-out;
}

.form.only {
    display: block;
}

.form.right {
    margin-right: 0px;
}

input.gray {
    display: block;
    margin: 0;
    padding: 0 10px;
    width: 250px;
    height: 40px;
    background: #EEEEEE;
    box-shadow: 1px 4px 10px 0 rgba(0, 0, 0, 0.05);
    border-radius: 5px;
    border: 0px solid;
    outline-color: transparent;
    outline-style: none;
    outline: 0!important;
    font-family: SFProText-Medium;
    font-size: 16px;
    color: #7E9898;
    letter-spacing: -0.84px;
    line-height: 40px;
    transition: .4s ease-in-out;
}

.form.full input.gray {
    width: 553px;
}

@media only screen and (max-width: 600px) {
    .page.three {
        width: 250px;
    }
    .form {
        margin-bottom: 15px;
        margin-right: 0px!important;
        width: 250px;
    }
    input.gray {
        width: 250px!important;
    }
}

@media only screen and (max-height: 600px) {
    .form {
        margin-bottom: 10px;
    }
    input.gray {
        height: 30px;
        line-height: 30px;
    }
}

.center {
    text-align: center;
}

opt {
    opacity: .5;
}

.send {
    background: #7E9898;
    pointer-events: auto;
    box-shadow: 1px 4px 20px 0 rgba(0, 0, 0, 0.20);
    border-radius: 5px;
    width: 140px;
    height: 40px;
    line-height: 40px;
    margin-top: 20px;
    font-family: Lucca-Regular;
    font-size: 20px;
    color: #FFFFFF;
    letter-spacing: 0.87px;
    text-align: center;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.40);
    display: inline-block;
    cursor: pointer;
    transition: .2s ease-in-out;
    border: 0px solid;
    outline-color: transparent;
    outline-style: none;
    outline: 0!important;
}

.send:disabled {
    background: #D5D5D5;
    pointer-events: none;
    transition-duration: .2s;
}

.circle {
    position: fixed;
    background: #FFFFFF;
    top: 50%;
    left: 50%;
    border-radius: 100%;
    transform: translate(-50%, -50%) scale(0);
    width: 100px;
    height: 100px;
    z-index: 4;
    transition: .2s ease-in-out;
}

@keyframes bowow {
    0%,
    10% {
        transform: translate(-50%, -50%) scale(0);
    }
    25% {
        transform: translate(-50%, -50%) scale(20);
    }
    100% {
        transform: translate(-50%, -50%) scale(0);
    }
}

.circle.boom {
    animation: bowow .6s ease-in-out;
    transform: translate(-50%, -50%) scale(0);
}

.page.four {
    position: fixed;
    width: 435px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-family: SFProText-Semibold;
    font-size: 30px;
    color: rgba(0, 0, 0, 0.50);
    letter-spacing: -1px;
    text-align: center;
    line-height: 30px;
    margin: auto;
}

@keyframes bangg {
    0%,
    50% {
        transform: translate(-50%, -50%) scale(0);
    }
    51%,
    100% {
        transform: translate(-50%, -50%) scale(1);
    }
}

.page.four.ready {
    animation: bangg .6s;
    transform: translate(-50%, -50%) scale(1);
}

@media only screen and (max-width: 450px) {
    .page.four {
        width: calc(100% - 40px);
    }
}
