@import url('https://fonts.googleapis.com/css2?family=Fredoka&family=Gabarito:wght@400..900&display=swap');


html {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, #bebebe 0%, #ffffff 90%);
    overscroll-behavior: none;
    /* touch-action: none; */
}

body {
    width: 100%;
    height: 100%;
    -webkit-tap-highlight-color: transparent;
    font-family: "Gabarito", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    color: #251a23;
    margin: 0;
    padding: 0;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

::-webkit-scrollbar {
    width: 0px; 
    height: 0px;
}

::-webkit-scrollbar-thumb {
    background: rgb(0 0 0 / 40%);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(100, 100, 100, 0.7);
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05); 
    border-radius: 10px;
}


.main_flex {
    display: none;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.main_wrap {
    height: 100%;
    width: 100%;
    position: relative;
    max-width: 500px;
    max-height: 900px;
    overflow: hidden;
    background: #ffffff;
    /* padding-bottom: 70px; */
    padding-top: 65px;
    box-sizing: border-box;
    border-radius: 22px;
    overflow: hidden;
}


.terms_wrap {
    width: 100%;
    height: 100%;
    display: flex;
    position: absolute;
    top:0;
    left: 0;
    z-index: 1000;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: #fff;
}

.terms_cont {
    width: 320px;
    height: 480px;
    border-radius: 20px;
    border: 1px solid #ececec;
    padding: 10px;
    overflow-y: scroll;
    margin-bottom: 20px;
}

.terms_agree {
    display: inline-block;
    padding: 7px 35px;
    border-radius: 10px;
    background: #000000;
    cursor: pointer;
    color: #fff;
}

.terms_agree_disabled {
    opacity: 0.3;
}

.main_logo {
    display: inline-block;
    position: absolute;
    top: 17px;
    left: 14px;
    z-index: 102;
}

.main_menu {
    display: flex;
    position: fixed;
    background: #fff;
    bottom: 0px;
    width: 100%;
    max-width: 500px;
    transform: translateX(-50%) translateZ(0);
    left: 50%;
    height: 70px;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 0px 70px -1px rgb(181 181 181 / 35%);
    -webkit-box-shadow: 0px 0px 70px -1px rgb(181 181 181 / 35%);
    -moz-box-shadow: 0px 0px 70px -1px rgb(181 181 181 / 35%);
    border-radius: 20px;
    overflow: hidden;
    z-index: 1;
}

.main_menu_item {
    position: relative;
    display: flex;
    width: 25%;
    height: 100%;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-direction: column;
}

.main_menu_item_click {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    cursor: pointer;
}

.main_menu_r {
    width: 1px;
    height: 65%;
    background: url(assets/r.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.1;
}

.page_wrap {
    width: 100%;
    height: 100%;
    background: #fff;
}

.page {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.page_scroll {
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    text-align: center;
}

.icon_create {
    width: 30px;
    height: 30px;
    background: url(create.png);
    background-size: contain;
    margin-bottom: 5px;
}

.balance_wrap {
    display: flex;
    position: absolute;
    background: #fff;
    top: 0;
    left: 0;
    width: 100%;
    height: 65px;
    justify-content: flex-end;
    align-items: center;
    box-shadow: 0px 0px 70px -1px rgb(181 181 181 / 35%);
    -webkit-box-shadow: 0px 0px 70px -1px rgb(181 181 181 / 35%);
    -moz-box-shadow: 0px 0px 70px -1px rgb(181 181 181 / 35%);
    border-radius: 20px;
    z-index: 101;
}

.star_balance_icon {
    display: inline-block;
    width: 23px;
    height: 23px;
    background: url(assets/star.png);
    background-size: contain;
    margin-left: 2px;
    margin-bottom: 2px;
}

.star_balance {
    display: inline-block;
    font-weight: 500;
    color: #000000;
    margin-left: 5px;
}

.star_balance_topup {
    display: inline-block;
    padding: 7px 28px;
    background: #000000;
    color: #fff;
    cursor: pointer;
    margin-right: 10px;
    margin-left: 10px;
    border-radius: 15px;
}

.g_input {
    border: 1px solid #000000;
    padding: 10px 10px;
    border-radius: 12px;
    vertical-align: middle;
}

.g_input_send {
    border: 1px solid #acacac;
    padding: 10px 10px;
    border-radius: 12px;
    vertical-align: middle;
}


.cc_info {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 12px;
    background: rgb(0 0 0 / 4%);
    color: #646464;
    margin-top: 16px;
    width: 320px;
    text-align: center;
}

.ce_info {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 4px;
    background: #da95e4;
    color: #fff;
    margin-top: 6px;
    cursor: pointer;
    margin-bottom: 14px;
}

.c_line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: url(assets/c_line.jpg);
    background-size: cover;
    background-position: center;
}

.notify_wrap {
    position: absolute;
    left: 0;
    z-index: 200;
    width: 100%;
    text-align: center;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.notify {
    margin: 10px;
    padding: 10px;
    background: rgb(107 71 255 / 80%);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    color: #ffffff;
}

.scale {
    animation: scale 0.1s ease 0s 1 normal none;
}

@keyframes scale {
    0% {
      transform: scale(0.8);
    }
  
    100% {
      transform: scale(1);
    }
}


.ani_op {
    animation: ani_op 0.5s ease 0s 1 normal none;
}

@keyframes ani_op {
    0% {
      opacity: 0.1;
    }
  
    100% {
      opacity: 1;
    }
}

.market_cont {
    display: flex;
    width: 100%;
    /* border: 1px solid #ececec; */
    padding: 0px 30px 30px 30px;
    border-radius: 25px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
    box-sizing: border-box;
    margin-bottom: 70px;
}

.market_item {
    display: flex;
    padding: 10px 0px;
    border: 1px solid #ececec;
    border-radius: 15px;
    flex-direction: column;
    align-items: center;
    width: 45%;
    min-width: 130px;
}

.snaps_cnt  {
    font-weight: 500;
}

.market_item_price {
    color: #1de4cf;
    font-weight: 500;
}

.market_item_price_cont {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.topup_logo {
    display: inline-block;
    width: 85px;
    height: 85px;
    background: url(assets/star.png);
    background-size: contain;
    margin-bottom: 20px;
}

.market_item_price_icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url(assets/star.png);
    background-size: contain;
    margin-left: 2px;
    vertical-align: bottom;
    margin-bottom: 1px;
}

.market_item_buy_btn {
    display: inline-block;
    padding: 7px 35px;
    border-radius: 10px;
    background: #000000;
    margin-top: 10px;
    cursor: pointer;
    color: #fff;
}

.market_item_buy_btn_disabled {
    opacity: 0.3;
}

.c_photo_wrap {
    position: relative;
    width: 380px;
    height: 514px;
    background: url(assets/photo.png);
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
    margin-bottom: 80px;
}

.c_photo_flip {
    position: absolute;
    bottom: 28px;
    left: 49px;
    width: 51px;
    height: 56px;
    background: url(assets/photo_flip.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}

.c_photo_lens {
    display: none;
    position: absolute;
    bottom: 23px;
    left: 47px;
    width: 57px;
    height: 60px;
    background: url(assets/photo_lens.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}

.c_photo_switch_btn {
    position: absolute;
    bottom: 11px;
    left: 161px;
    width: 64px;
    height: 51px;
    cursor: pointer;
}

.c_photo_switch_btn_click {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    cursor: pointer;
}

.c_photo_switch {
    position: absolute;
    bottom: 15px;
    left: 10px;
    width: 23px;
    height: 23px;
    background: url(assets/photo_switch.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.c_photo_snap {
    position: absolute;
    bottom: 30px;
    left: 265px;
    width: 65px;
    height: 65px;
    cursor: pointer;
}

.c_photo_display {
    position: absolute;
    display: flex;
    bottom: 59px;
    left: 144px;
    width: 98px;
    height: 29px;
    color: #47c8ba;
    font-size: 9pt;
    align-items: center;
    justify-content: center;
}

.c_photo_preview {
    position: absolute;
    bottom: 114px;
    left: 53px;
    width: 273px;
    height: 353px;
    background: url(assets/cam_off.jpg);
    background-size: contain;
    border-radius: 20px;
    overflow: hidden;
}

.mirrored_photo {
  transform: scaleX(-1);
}

.c_photo_video {
    width: 546px;
    height: 706px;
    object-fit: cover;
    transform: scale(0.5);
    transform-origin: top left;
}


.page_popup_wrap {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    /* -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px); */
    z-index: 100;
    background: #ffffff;
}

.page_popup_cont {
    display: flex;
    /* background: #fff; */
    border-radius: 42px;
    padding: 10px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    /* box-shadow: 0px 0px 183px -47px rgb(0 0 0);
    -webkit-box-shadow: 0px 0px 183px -47px rgb(0 0 0);
    -moz-box-shadow: 0px 0px 183px -47px rgb(0 0 0); */
}

.c_photo_canvas_wrap {
    width: 300px;
    height: 400px;
    border-radius: 25px;
    overflow: hidden;
    margin: 30px 30px 0px 30px;
}

.c_photo_canvas {
    width: 300px;
    height: 400px;
}

.c_photo_btns_wrap {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
}

.c_photo_btn {
    display: inline-block;
    padding: 10px 17px;
    background: #000;
    color: #fff;
    cursor: pointer;
    border-radius: 10px;
    margin-top: 15px;
}

.c_photo_btn_m {
    display: inline-block;
    padding: 10px 10px;
    background: #000;
    color: #fff;
    cursor: pointer;
    border-radius: 10px;
    margin-top: 15px;
}

.c_photo_save {
    background: #1de4cf;
}

.c_photo_save_disabled {
    opacity: 0.3;
}

.c_photo_cancel_disabled {
    opacity: 0.3;
}

.gal_wrap {
    display: flex;
    width: 100%;
    justify-content: center;
    margin-bottom: 70px;
}

.gal_cont {
    display: flex;
    width: 360px;
    padding: 10px;
    border-radius: 25px;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    box-sizing: border-box;
    flex-shrink: 0;
    gap: 4px;
}

.snap_item_wrap {
    width: 110px;
    height: 156px;
    cursor: pointer;
    box-shadow: 0px 10px 43px -17px rgb(0 0 0);
    -webkit-box-shadow: 0px 10px 43px -17px rgb(0 0 0);
    -moz-box-shadow: 0px 10px 43px -17px rgb(0 0 0);
    border-radius: 10px;
}

.snap_item_selected {
    box-shadow: inset 0 0 0 5px #6b47ff;
}

.gal_popup_page {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
}

.gal_popup_preview {
    width: 300px;
    height: 423px;
    /* box-shadow: 0px 10px 43px -10px rgb(0 0 0 / 60%);
    -webkit-box-shadow: 0px 10px 43px -10px rgb(0 0 0 / 60%);
    -moz-box-shadow: 0px 10px 43px -10px rgb(0 0 0 / 60%); */
    border-radius: 36px;
    background: #fff;
    overflow: hidden;
}


.gal_popup_con {
    background: #ffffff;
    color: #000;
    width: 114px;
    height: 474px;
    opacity: 0;
}

.gal_popup_con_disabled {
    opacity: 0.3;
    cursor: default;
}

.gal_popup_author {
    display: inline-block;
    margin-top: 20px;
    margin-bottom: -5px;
    color: #fff;
    background: #000000;
    padding: 2px 7px;
    border-radius: 8px;
    padding-bottom: 5px;
}

.gal_popup_author_text {
    font-weight: 500;
    color: #f67be9;
}


.draw_body {
    margin: 0;
    font-family: sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #f0f0f0;
}
.draw_canvas {
    position: absolute;
    top:0;
    left: 0;
    width: 350px;
    height: 494px;
    touch-action: none;
    z-index: 5;
}
.draw_toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px;
    justify-content: center;
}
.draw_color {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #333;
    cursor: pointer;
}
.draw_button {
    padding: 10px 20px;
    font-size: 14px;
    cursor: pointer;
}


.gal_popup_draw_preview {
    width: 350px;
    height: 494px;
    border-radius: 36px;
    background: #fff;
}

.draw_controls_btn {
    width: 35px;
    height: 35px;
    cursor: pointer;
    border-radius: 10px;
    border: 1px solid #ececec;
}

.draw_controls_undo {
    background: url(assets/undo.jpg);
    background-size: contain;
}

.draw_controls_clear {
    background: url(assets/clear.jpg);
    background-size: contain;
}

.draw_controls_wrap {
    display: flex;
    margin-top: 10px;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
}

.draw_controls_pick_selected {
    border: 3px solid #51ed88;
}

.gal_popup_draw_save {
    background: #1de4cf;
}

.gal_popup_draw_save_disabled {
    opacity: 0.3;
}

.gal_popup_draw_close_disabled {
    opacity: 0.3;
}

.gal_popup_draw {
    background: #f67be9;
}

.gal_popup_arrows_wrap{
    display: flex;
    width: 505px;
    position: absolute;
    z-index: 2;
    bottom: 0px;
    left: -78px;
    justify-content: space-between;
    opacity: 0;
}

.ns_cont {
    display: flex;
    opacity: 0.4;
    height: 500px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.draw_info_finger {
    position: absolute;
    background: url(assets/finger.png);
    width: 100px;
    height: 110px;
    background-size: contain;
    bottom: -22px;
    left: 220px;
    animation:
        fadeOut 2s forwards,
        moveCircle 2s infinite linear;
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}


@keyframes moveCircle {
  0%   { transform: translate(0, 0); }
  10%  { transform: translate(10px, -5px); }
  20%  { transform: translate(20px, 0); }
  30%  { transform: translate(10px, 5px); }
  40%  { transform: translate(0, 10px); }
  50%  { transform: translate(-10px, 5px); }
  60%  { transform: translate(-20px, 0); }
  70%  { transform: translate(-10px, -5px); }
  80%  { transform: translate(0, -10px); }
  90%  { transform: translate(10px, -5px); }
  100% { transform: translate(0, 0); }
}

.topup_btn {
    display: inline-block;
    padding: 8px 17px;
    background: #000;
    color: #fff;
    cursor: pointer;
    border-radius: 10px;
    margin-top: 15px;
    vertical-align: bottom;
}

.topup_btn_disabled {
    opacity: 0.3;
}


a,
a:visited,
a:hover,
a:active,
a:focus {
    color: #175a8f;
    text-decoration: none;
}

.tasks_cont {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    margin-bottom: 70px;
}

.task_item_wrap {
    display: flex;
    width: 320px;
    padding: 20px;
    border: 1px solid #ececec;
    border-radius: 25px;
    justify-content: center;
    flex-direction: column;
    margin-bottom: 15px;
    box-shadow: 0px 10px 43px -17px rgb(0 0 0 / 18%);
    -webkit-box-shadow: 0px 10px 43px -17px rgb(0 0 0 / 18%);
    -moz-box-shadow: 0px 10px 43px -17px rgb(0 0 0 / 18%);
}

.task_item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.task_check {
    display: inline-block;
    padding: 7px 35px;
    border-radius: 10px;
    background: #000000;
    cursor: pointer;
    color: #fff;
}

.task_check_disabled {
    opacity: 0.3;
}

.task_reward_cont {
    margin-top: 10px;
    color: #545454;
    text-align: center;
    padding: 7px;
    border: 1px solid #ececec;
    border-radius: 15px;
}

.nft_mint_wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 100px;
}

.nft_pre_wrap {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    border-radius: 15px;
    overflow: hidden;
    margin-top: 20px;
    border: 2px solid rgb(229 229 229);
}

.nft_pre_img {
    position: absolute;
    width: 110px;
    height: 156px;
    top:22px;
    left: 45px;
}

.nft_pre_pick_wrap {
    display: flex;
    gap: 3px;
    margin-top: 15px;
}

.nft_pre_pick_item {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid rgb(255 255 255 / 30%);
    cursor: pointer;
}

.nft_pre_pick_item_selected {
    border: 2px solid #51ed88;
}

.mint_nft {
    display: inline-block;
    padding: 11px 25px;
    border-radius: 10px;
    background: #000000;
    margin-top: 20px;
    cursor: pointer;
    color: #fff;
}

.mint_nft_disabled {
    opacity: 0.3;
}

.nft_pre_coast {
    margin-top: 10px;
}

.star_nft_icon {
    display: inline-block;
    width: 21px;
    height: 21px;
    background: url(assets/star.png);
    background-size: contain;
    margin-left: -2px;
    vertical-align: bottom;
}

.gal_popup_mint {
    background: #6947fd;
}

.gal_popup_send {
    background: #1de4cf;
}

/* .gal_popup_close {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 45px;
    height: 45px;
    background: url(assets/close.png);
    background-size: contain;
    cursor: pointer;
} */

.gal_popup_send_btn {
    background: #1de4cf;
}

.gal_popup_send_btn_disabled {
    opacity: 0.3;
}

.c_photo_send_wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px 45px;
    background: #fff;
    border-radius: 30px;
    border: 1px solid #ececec;
}

.c_photo_send_preview {
    width: 150px;
    height: 212px;
    margin-bottom: 10px;
}

.my_uid_wrap {
    display: flex;
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 9pt;
    align-items: center;
    border: 1px solid #afafaf;
    border-radius: 10px;
    padding: 0px 1px 0px 6px;
    opacity: 0.4;
    cursor: pointer;
    background: #fff;
}

.my_uid_icon {
    display: inline-block;
    width: 25px;
    height: 25px;
    vertical-align: bottom;
    background: url(assets/icon_copy.png);
    background-size: contain;
    cursor: pointer;
}

.my_uid {
    margin-left: 5px;
}


.card-container {
    width: 300px;
    height: 423px;
    perspective: 1000px;
    user-select: none;
    -webkit-user-select: none;
}

.card_show {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
    overflow: hidden;
    border-radius: 36px;
}


.bl {
    position: absolute;
    width: 3000px;
    height: 423px;
    background: url(assets/bl.jpg);
    background-size: contain;
    mix-blend-mode:overlay;
    opacity: 0.2;
    z-index: 5;
    top: 0;
    left: 0;      
}

.bl_2 {
    position: absolute;
    width: 423px;
    height: 423px;
    background: url(assets/bl_2.jpg);
    background-size: contain;
    mix-blend-mode:soft-light;
    opacity: 0.07;
    z-index: 5;
    top: 0;
    left: 0;
}