body {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    user-select: none;
}

a {
    cursor: pointer;
}

.m_follow {
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: rgba(170, 170, 170, 0.50);
    transform: translate(-50%, -50%);
    pointer-events: none;
    visibility: hidden;
    z-index: 99999;
}

header > button {
    cursor: pointer;
    user-select: none;
}

a:hover, input:hover, button:hover {
    cursor: pointer;
}

.layout {
    display: grid;
    grid-template-rows: 100px 1fr 80px;
    grid-template-columns: 1fr;
    width: 100%;
    height: 100%;
    max-width: 720px;
    min-height: 100vh;
    padding: 0 20px;
    margin: 0 auto;
    position: absolute;
    overflow: auto;
    /* 스크롤바 제거 */
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

.layout::-webkit-scrollbar,
.main::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera*/
}

.header {
    width: 100%;
    height: 58px;
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    align-items: center;
    visibility: hidden;
}

.backBtn {
    width: 50px;
    border: none;
    background-color: inherit;
}

.topMenuTitle {
    font-family: 'Spoqa Han Sans Neo';
    font-weight: 500;
    font-size: 16px;
    text-align: center;
    color: #1f1f1f;
}

.shopping_cart {
    width: 50px;
}

.main {
    width: 100%;
    height: 100%;
    overflow: auto;
    margin-bottom: 50px;
    align-items: center;
    /* 스크롤바 제거 */
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

/* footer 영역 */
.footer {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    visibility: hidden;
    z-index: 99;
}

.bottom_menu {
    /* width: 100%; */
    height: 60px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.05);
    border-radius: 100px;
    background-color: #fff;

    /* fixed로 변경 */
    position: fixed;
    width: 83%;
    max-width: 720px;
    bottom: 20px;
}

.b_mark_wrap {
    width: 68px;
    height: 68px;
    background: #fff;
    border-radius: 50%;
    margin-bottom: 8px;
}

.b_mark_area {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle_btn {
    display: flex;
    background-color: transparent;
    border: none;
    padding: 0;
}

.toggle_wrap {
    display: flex;
    visibility: hidden;
    width: 100%;
    height: 100%;
    background: rgba(2, 2, 2, 0.5);
    z-index: 998;
    position: fixed;
    top: 0;
    left: 0;
    opacity: 1;
    transition: all 150ms;
}

.hidden_toggle {
    max-height: 100vh;
    width: 100%;
    height: 200px;
    display: flex;
    visibility: hidden;
    background: #ffffff;
    border-radius: 20px 20px 0px 0px;
    flex-direction: column;
    justify-content: space-evenly;
    position: fixed;
    left: auto;
    top: 100vh;
    gap: 30px;
    z-index: 999;
    transition: all 600ms;
}

.scroll_bar_wrap {
    width: 100%;
    height: 20px;
}

.scroll_bar {
    width: 20%;
    border-radius: 5px;
    border: none;
    height: 1px;
    padding: 3px;
    background: #d9d9d9;
    cursor: row-resize;
}

.toggle_text {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    font-family: 'Spoqa Han Sans Neo', serif;
    gap: 20px;
    font-weight: 400;
    font-size: 15px;
    color: #000000;
    padding: 15px 15%;
    overflow: hidden;
}

.layout-con {
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    /* max-width:720px; */
    position: absolute;
    display: flex;
    justify-content: center;
    background-color: #fff;
    overflow: auto;
}

.new-page {
    animation-name: page-change-new;
    animation-duration: 600ms;
    z-index: 99999;
}

@keyframes page-change-new {
    0% {
        transform: translateX(100vw);
    }
    100% {
        transform: translateX(0);
        position: relative !important;
    }
}

.prev-page {
    z-index: 88888;
    animation-name: page-change-prev;
    animation-duration: 600ms;
}

@keyframes page-change-prev {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(100vw);
        position: relative !important;
    }
}

.alert-con {
    position: absolute;
    width: 100vw;
    height: 100vh;
    display: none;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999999;
}

.alert {
    width: 280px;
    height: 205px;
    border: 1px solid #000;
    border-radius: 12px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    animation-name: alertPop;
    animation-duration: 500ms;
}

.content-con > * {
    font-family: 'Spoqa Han Sans Neo';
    font-weight: 700;
    font-size: 16px;
    text-align: center;
}

.alert_title {
    padding-top: 48px;
}

.alert_content {
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    width: 100%;
}

.alert_ok {
    font-family: 'Spoqa Han Sans Neo';
    font-weight: 400;
    font-size: 16px;
    text-align: center;
    color: #484C77;
    cursor: pointer;
    width: 100%;
    border-top: 1px solid #f5f5f5;
    padding: 20px;
}

@keyframes alertPop {
    0% {
        opacity: 0;
        top: 100%;
    }

    100% {
        opacity: 1;
        top: 50%;
    }
}


.skyimg {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* .skyimg.cloudydark{
    margin:30px auto;
} */