@font-face {
    font-family: "GreyGoose";
    src: url("../fonts/grey-goose/gg-regular.woff2");
}

@font-face {
    font-family: "GreyGoose";
    src: url("../fonts/grey-goose/gg_bold.woff2");
    font-weight: bold;
}

@font-face {
    font-family: "GreyGooseNatural";
    src: url("../fonts/grey-goose-natural/gg_bk.woff2");
}

html {
    overflow: hidden;
}

body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
    scale: 1;
    color: #fff;
    font-family: "GreyGoose";
    text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.30);
    font-size: .7rem;
    font-style: normal;
    line-height: normal;
    letter-spacing: 0.4px;
}

.overlay {
    background: rgba(0, 0, 0, 0.15);
    position: absolute;
    z-index: 1;
    width: 100vw;
    height: 100vh;
}

#separate .middle-section {
    position: relative;
    display: grid;
    justify-items: center;
    height: 100%;
    align-content: center;
    grid-gap: 2rem;
    font-family: "GreyGooseNatural";
    font-size: 2.75rem;
    text-shadow: 0px 2px 3px rgba(0, 0, 0, 0.40);
    line-height: 3.875rem;
    letter-spacing: 0.1875rem;
    text-align: center;
    text-transform: uppercase;
    padding: 5%;
}

.middle-section .copy{
    align-self: start;
}

.centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000;
}

p {
    margin-block-start: 0 !important;
}

.container {
    background: #fff;
    background-image: url("../img/Laid Paper Texture 1.png");
}

.main {
    position: relative;
    display: grid;
    grid-template-rows: 2fr 1fr;
    width: 90vw;
    height: 100vh;
    overflow: hidden;
    text-align: center;
    justify-content: center;
    padding: 0 5vw;
    z-index: 9;
    align-items: center;
}

#mobile-version {
    height: 100vh;
}

.back {
    height: 100vh;
    width: 100vw;
    position: absolute;
    object-fit: cover;
}
.share {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 100;
}

img {
    vertical-align: initial !important;
}

.prop {
    position: absolute;
    transition: transform 0.5s ease;
    z-index: 9;
}

.bottle2 {
    bottom: 20%;
    left: 0;
}
.ice1 {
    top: 0;
    left: 5%;
}
.ice2 {
    bottom: 30%;
    right: -20px;
}
.logo, .copy, .terms {
    transition: transform 0.5s ease;
}

.bottom-section, .copy h3 {
    text-transform: uppercase;
}

.button {
    background: #fff;
    width: max-content;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    color: #000046;
    font-size: 1.125rem;
    font-weight: 700;
    font-style: normal;
    line-height: normal;
    letter-spacing: 0.9px;
    margin: 10px auto;
    transition: .2s;
}

.button:active{
    transform: scale(.8);
}

.button_back, .copy, .terms {
    display: none;
}

.button_secondary, .button_back {
    width: 10rem;
    padding: 0.6rem;
    font-size: 1rem;
    letter-spacing: 0.05rem;
}

#mobile-version-tutorial .main>img {
    margin: 0 auto;
    margin-bottom: 16px;
}

.copy {
    text-overflow: ellipsis;
    text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.30);
    line-height: 134.5%;
    letter-spacing: 1.2px;
}

.copy h3 {
    font-family: "GreyGooseNatural";
    font-size: 1.2rem;
    font-style: normal;
    font-weight: 400;
}

.copy p {
    font-family: "GreyGoose";
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: initial;
}

.terms {
    overflow: scroll;
    height: 70vh;
    text-align: left;
    padding: 0 2rem;
    font-family: "GreyGoose";
    font-size: 0.75rem;
    margin-top: 1rem;
}

.button_terms {
    color: inherit;
}

.terms h3 {
    font-weight: 700;
}

.terms p {
    font-weight: 400;
}

.img-container {
    position: relative;
    transform: translateX(-50%);
    left: 50%;
    align-items: center !important;
}

.cts span {
    text-decoration: underline;
}

.slide-left {
    animation: slide-left .9s ease-in-out forwards;
}
.slide-right {
    animation: slide-left .9s ease-in-out forwards;
}

/* Animations */
@keyframes slide-down {
    0% {
        opacity: 100%;
        transform: translateY(3%);
    }

    80% {
        opacity: 100%;
        transform: translateY(5%);
    }

    80% {
        opacity: 0%;
        transform: translateY(100%);
    }

    100% {
        opacity: 0%;
        transform: translateY(100%);
    }
}

@keyframes slide-up {
    0% {
        opacity: 0%;
        transform: translateY(100%);
    }

    80% {
        opacity: 0%;
        transform: translateY(100%);
    }

    80% {
        opacity: 100%;
        transform: translateY(5%);
    }

    100% {
        opacity: 100%;
        transform: translateY(3%);
    }
}
@keyframes slide-right {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(100%);
    }
}

@keyframes slide-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* iphone se  */
@media only screen 
  and (min-device-width: 300px) 
  and (max-device-width: 375px) {
    .main {
        padding: 5% 5% 0% 5%;
    }

    .logo {

    }

    .ice1 {
        top: -30px;
        left: 0;
    }
    .ice2 {
        bottom: 20%;
        right: -10%;
    }
    .bottle2 {
        display: none !important;
    }
}

/* iphone 12 pro max  */
@media only screen 
  and (min-device-width: 376px) 
  and (max-device-width: 440px) { 
    .main {
        grid-template-rows: 1.9fr 1.2fr 0.2fr;
    }

    .bottle2 {
        bottom: 30%;
        left: 11px;
    }
}


@media only screen and (min-width: 725px) {
    #desktop-version {
        display: block;
        width: 100vw;
        height: 100vh;
        text-transform: uppercase;
    }

    #desktop-version .middle-section {
        position: relative;
        display: grid;
        justify-items: center;
        height: 100%;
        align-content: center;
        grid-gap: 1rem;
        z-index: 9;
    }

    #desktop-version .back {
        height: 100vh;
        width: 100vw;
        position: absolute;
        object-fit: cover;
    }

    #desktop-version .logo {
        width: 15%;
    }

    #desktop-version .scan {
        width: 40.6875rem;
        text-shadow: 0px 2px 3px rgba(0, 0, 0, 0.40);
        font-size: 1.5625rem;
        font-style: normal;
        font-weight: 800;
        line-height: normal;
        letter-spacing: 0.07813rem;
        text-align: center;
    }

    #desktop-version .discover {
        font-family: "GreyGooseNatural";
        font-size: 3.75rem;
        text-shadow: 0px 2px 3px rgba(0, 0, 0, 0.40);
        line-height: 3.875rem;
        letter-spacing: 0.1875rem;
        width: 33.13444rem;
        text-align: center;
    }
    
    #desktop-version .bottle1 {
        top: 0;
        right: 0;
        height: 90%;
    }
    /* #desktop-version .stir {
        top: 20%;
        right: 15%;
    } */
    #desktop-version .bottle2 {
        bottom: 0%;
        left: 0;
        height: 60%;
    }
    #desktop-version .ice1 {
        top: 0;
        left: 5%;
    }
    #desktop-version .ice2 {
        bottom: 0;
        right: 10%;
    }
    #desktop-version .bottom-copy {
        bottom: 1%;
        position: absolute;
        width: 100%;
        text-align: center;
        z-index: 9;
    }
}