@font-face {
    font-family: 'Nanum Pen Script';
    src: url('../assets/NanumPenScript-Regular.ttf');
}

body {
    background-image: url('../assets/desktop/desktop_bg2.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100%;
    width: 100%;
    font-family: 'Nanum Pen Script', cursive;
}

p.credits a, p.credits a:visited {
    color: #fff;
}

a#speaker {
    position: absolute;
    top: 20px;
    right: 20px;
    display:none;
}

a#speaker img {
    width: 30px;
}

i.down {
    border: solid #fff;
    border-width: 0 1px 1px 0;
    display: inline-block;
    padding: 3px;
    margin-left: 2px;
    transform: rotate(225deg);
    -webkit-transform: rotate(225deg);
}

i.down.reverse {
    margin-bottom: 4px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}
.loader{position:relative;}
.loader h1.title {
    font-size: 80px;
    line-height: 0.8;
    text-transform: capitalize;
}

.loader .bar {
    margin: auto;
    width: 100%;
    max-width: 230px;
    background-color: #fff;
    border-radius: 15px;
    height: 25px;
    overflow: hidden;
}

.loader .bar .inner {
    width: 0;
    border-radius: 15px;
    height: 25px;
    background-color: #ffa16c;
    max-width: 300px;
}

.loader p.under {
    margin-top: 10px;
    text-align: center;
    color: #fff;
    font-size: 30px;
}

h1.title,h2.title {
    color: #fff;
    font-size: 40px;
    font-weight: lighter;
    text-align: center;
    margin-bottom: 20px;
    position:relative;
}

.main_title {
    margin: auto;
    margin-bottom: 30px;
    max-width: 260px;
    text-align: center;
}

.main_title img {
    width: 100%;
}

.main_title img.fortunetitle {
    margin-bottom: 15px;
}

.main_title img.cookietitle {
    width: 90%;
}
.cookies_container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.cookies_container .single_cookie img {
    width: 100%;
}

section.choose_cookie {
    margin-bottom: 95px;
    height: inherit;
}

section.choose_cookie .cookies_container .single_cookie {
    margin-right: 50px;
    max-width: 150px;
    position: relative;
    z-index: 0;
}

section.choose_cookie .cookies_container .single_cookie .shadow {
    position: absolute;
    top: inherit;
    bottom: -15px;
    left: 0;
    box-shadow: none !important;
    width: 100%;
    text-align: center;
    z-index: -1;
}

section.choose_cookie .cookies_container .single_cookie:last-child {
    margin-right: 0;
}

section.choose_cookie .cookies_container .single_cookie .cookie {
    text-align: center;
    margin-bottom: 15px;
}

section.choose_cookie .cookies_container .single_cookie .cookie img {
    width: 85%;
}

section.choose_cookie .single_cookie .onhover, .buttons .button .onhover  {
    display: none;
}

section.tap_cookie.second .cookies_container, section.tap_cookie.third .cookies_container {
    max-width: 600px;
}

section.tap_cookie.second .cookies_container .single_cookie, section.tap_cookie.third .cookies_container .single_cookie {
    max-width: initial;
}

section.tap_cookie.second .cookies_container .single_cookie {
    cursor: pointer;
}

section.tap_cookie.third .fortune_list {
    position: absolute;
    transform: rotate(1deg);
}

section.tap_cookie.third p.fortune_text {
    color: #9b1f22;
    line-height: 1.2;
    text-align: center;
    margin-bottom: 0;
}

section.tap_cookie.third .after {
    display: none;
}
body .content {
    display:none;
    height: 334px;
}
.content-overlay{position:fixed;top:0;left:0;;width:100%;height:100%;background:url('../assets/desktop/desktop_bg.jpg');}
#start{
  opacity:0;text-align:center;
}
#start.show{
  opacity:1;
  transition:opacity 2s;
  margin-bottom: 95px;
  z-index: 1;
  position: relative;
}
#start .shadow {
    display: none;
}
#start.show .shadow {
    z-index: -1;
    top: auto;
    bottom: -20px;
    display: block;
}
#start img{width:200px;margin:0 auto;}
#start img.onhover{
  display:none;
}
.share-submenu {
    display:none;
    position: absolute;
    width: 100%;
}

#st-1 .st-btn{display:inline-block!important;}
.buttons {
    justify-content: center;
    margin: auto;
    visibility: hidden;
    display: none;
}

.buttons>div {
    max-width: 150px;
    cursor: pointer;
}

.buttons>div:first-of-type {
    margin-right: 20px;
}

.buttons img {
    width: 100%;
}

section.tap_cookie.second .cookies_container, section.tap_cookie.third .cookies_container {
    position: relative;
    height: 250px;
    z-index: 0;
}

section.tap_cookie.third .fortune_list p.fortune_text {
    display: none;
}

.shadow {
    position: absolute;
    top: 60px;
    left: 0;
    box-shadow: none !important;
    width: 100%;
    text-align: center;
    z-index: -1;
}

.shadow img {
    width: 80%;
}

section.tap_cookie.third .fortune_list {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 41%;
    height: 80px;
    top: 9%;
    left: 28.5%;
}

section.tap_cookie.third .fortune_list p.fortune_text {
    font-size: 28px;
}

.buttons .button {
    position: relative;
    z-index: 1;
}

.buttons .button .shadow {
    top: auto;
    bottom: -17px;
    left: 0;
}

.buttons .button .shadow img {
    width: 100%;
}

.share-submenu #st-1.st-animated {
    display: flex;
    justify-content: space-around;
}

#st-1 .st-btn {
    background-color: transparent !important;
    padding: 0 !important;
}


#st-1 .st-btn > img {
    height: 35px !important;
    width: 35px !important;
    padding: 5px !important;
    border-radius: 20px !important;
}

#st-1 .st-btn[data-network='facebook'] img {
    background-color: #4267B2 !important;
    border-radius: 20px !important;
}

#st-1 .st-btn[data-network='telegram'] img {
    padding: 0 !important;
}

#st-1 .st-btn[data-network='whatsapp'] img {
    padding: 5px !important;
    background-color: #25d366 !important;
    border-radius: 20px !important;
}

#st-1 .st-btn[data-network='whatsapp'] {
    display: none !important;
}

.share-submenu {
    display: none;
}

.share-submenu.show {
    display: flex;
    justify-content: center;
}

.share-submenu img.whatsapp-icon {
    display: inline-block;
    height: 35px;
    width: 35px;
    position: relative;
    top: 12px;
    vertical-align: top;
}

.button.share, .button.play_again {
    height: 40px;
}

#st-1 .st-btn {
    opacity: 1 !important;
    top: initial !important;
}

/** footer **/

footer {
    width: 100%;
    text-align: center;
    position: fixed;
    bottom:-39px;
    color: #fff;
    left: 0;
    font-size: 16px;transition: bottom 0.5s;
    z-index: 10;
}

footer.active {
    background-color: transparent;bottom:0;transition: bottom 0.5s;
}
footer p.credits, footer .disclaimer p {
    margin-bottom: 0;
    display: inline-block;
}
footer p.hidden {

    line-height: 1rem;
    padding-bottom: 8px;
}

/** footer end **/

/*** RESPONSIVE ***/

@media screen and (max-width: 991px) {
    section.choose_cookie .cookies_container .single_cookie {
        margin-right: 30px;
    }

    footer {
        bottom: -55px;
    }
}

@media screen and (max-width: 768px) {
    body .content {
        margin-top: -50px;
        height: 420px;
    }

    section.choose_cookie {
        margin-bottom: 0;
    }
    section.choose_cookie .cookies_container {
        max-width: 500px;
    }
    section.choose_cookie .cookies_container .single_cookie {
        text-align: center;
        width: calc(65%/2);
        margin-right: 0;
        margin-bottom: 20px;
        max-width: initial;
    }
    section.choose_cookie .cookies_container .single_cookie:nth-child(odd) {
        margin-right: 50px;
    }
    section.tap_cookie h1.title {
        height: 96px;
        max-width: 350px;
        margin: auto;
    }
    section.tap_cookie.second .cookies_container, section.tap_cookie.third .cookies_container {
        height: 35vh;
        margin-top: 20px;
    }
    section.tap_cookie.third .fortune_list {
        top: 10%;
        height: 50px;
    }
    section.tap_cookie.third .fortune_list p.fortune_text {
        font-size: 22px;
    }

}

@media screen and (max-width: 767px) {
    section.tap_cookie.third .fortune_list {
        top: 8%;
        height: 50px;
    }

    footer {
        bottom: -71px;
    }

    footer.active {
        background-color: #9B1F22;
    }
}

@media screen and (max-width: 575px) {
    section.choose_cookie .cookies_container {
        margin-top: 20px;
    }
    section.tap_cookie.third .fortune_list {
        height: 50px;
        top: 9%;
    }
    section.tap_cookie.third .fortune_list p.fortune_text {
        font-size: 4.4vw;
    }

    footer {
        bottom: -55px;
    }

    footer .container {
        padding: 0;
    }
    footer p.hidden {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media screen and (max-width: 552px) {
    footer {
        bottom: -70px;
    }
}

@media screen and (max-width: 470px) {
    section.tap_cookie.third .fortune_list {
        top: 6%;
    }
}

@media screen and (max-width: 420px) {
    section.tap_cookie.second .cookies_container, section.tap_cookie.third .cookies_container {
        height: 35vh;
    }
}

@media screen and (max-width: 417px) {
    footer {
        bottom: -86px;
    }
}

@media screen and (max-width: 414px) {
    section.tap_cookie.third .fortune_list {
        top: 4%;
    }
}

@media screen and (max-width: 400px) {
    .button.share, .button.play_again {
        height: initial;
    }

    section.choose_cookie .cookies_container .single_cookie {
        width: calc(80%/2);
    }
    section.choose_cookie .cookies_container .single_cookie:nth-child(odd) {
        margin-right: 20px;
    }
    section.tap_cookie.second, section.tap_cookie.third {
        overflow: hidden;
    }
    section.tap_cookie.second .cookies_container, section.tap_cookie.third .cookies_container {
        position: relative;
        height: 65vw;
    }
    section.tap_cookie.second .cookies_container .single_cookie, section.tap_cookie.third .cookies_container .single_cookie {
        position: absolute;
        width: 150%;
        max-width: initial;
    }
    section.tap_cookie.third .fortune_list {
        left: 19%;
        width: 60%;
        top: 12%;
    }
    section.tap_cookie.third .fortune_list p.fortune_text {
        font-size: 6.5vw;
    }
    .buttons {
        flex-direction: column;
        align-items: center;
    }
    .buttons>div:first-of-type {
        margin-right: 0;
    }

    .buttons .button.share img {
        margin-top: 15px;
    }

    .share-submenu .st-btn img {
        margin-top: 0 !important;
    }
}

@media screen and (max-width: 348px) {
    footer {
        bottom: -102px;
    }
}

@media screen and (min-width: 769px) {
    #start:hover img.default{
        display:none;
      }
      #start:hover img.onhover{
        display:block;
        cursor:pointer;
      }

    section.choose_cookie .single_cookie:hover {
        cursor: pointer;
    }

    section.choose_cookie .single_cookie:hover .default, .buttons .button.share.show .default {
        display: none;
    }

    section.choose_cookie .single_cookie:hover .onhover, .buttons .button.share.show .onhover {
        display: block;
    }


    footer .disclaimer:hover{cursor:pointer;}

}