*{
    box-sizing: border-box;
    font-family: 'Lora', serif;
    font-family: 'Gowun Dodum', sans-serif;
    overflow: none;
}

:root {
    --bg-color: rgba(250, 235, 21, 0.05);
    --header-bg-color: rgb(237, 228, 209);
    --header-selected-color: rgb(201, 181, 167);
    --header-selected-glow: rgb(255, 206, 49);
}

body{
    margin: 0;

/* 1004 */
    position: fixed;
    overflow: hidden;
    touch-action: none;
    
}
a{
    text-decoration: none;
    color: white;
}
button{
    border: none;
    outline: none;
    cursor: pointer;
    max-width: 20vw;
    background-color: rgba(255, 255, 255, 0);
}
ul, li{
    list-style: none;
    padding: 0;
}
img{
    max-height:100%; max-width:100%
}




.cake{
    position: relative;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-color);

}

.title{
    position: fixed;
    top: 0;
    padding: 4vh;
    width: 100%;
    text-align: center;
}
.title__title{
    font-size: 1.3rem;
    padding-bottom: 1vh;
    line-height: 2.3rem;
}
.title__buttons{
    padding: 0 10vw;
    display: flex;
    /* justify-content: space-around; */
    justify-content: center;
}
.title__buttons button{
    padding: 1vw 3vw;
    margin: 2vw 1vw;
    font-size: 0.9rem;
    background-color: white;
    background-color: var(--header-bg-color);
    color: black;
    border-radius: 5rem;
}



.header{
    position: fixed;
    bottom: 0;
    width: 100vw;
    margin: 0;
    z-index: 50;
    /* padding: 0 10px; */
    text-align: center;
}
.header__positions{
    display: flex;
    justify-content: center;
    margin: auto;
}

.header__positions li{
    width: 13vw;
    margin: 0 1vw 0 1vw;
    border-radius: 2vw 2vw 0 0;
    padding: 2vw;
    background-color: var(--header-bg-color);
}
.header__positions img{
    width: 100%;
}
.header__items__footer{
    background-color: var(--header-selected-color);
    max-width: 100vw;
    padding: 3vw;
    /* 이게 있어야 스크롤 됨!!!!!!! */
    overflow-x: hidden;
    
}
.header__items{
    margin: 0;
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    overflow-x: scroll;
    /* overflow-y: hidden; */
    gap: 2vw;

    /* max-height: 15vh; */

    /* background-color: rgb(221, 202, 188);
    padding: 5vw 5vw 15vw 5vw; */
}
.item{
    background-color: white;
    border-radius: 3vw;

    min-height: 16vh;
    min-width: 16vh;
    /* min-height: 15vh;
    min-width: 15vh; */
}
.item img{
    /* i could also make img width here. then dont need container-flex-shinks and basis */
    /* width: 150px; */
    max-height: 100%;
    max-width: 100%;
    
}
.footer{
    padding-top: 3vw;
    font-size: 0.8rem;
}

.field{
    position: fixed;
    /* top: 0; */
    width: 100vw;
    height: 100vh;

    height: calc(var(--vh, 1vh) * 100);

    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);


}


.field-item{

    display: block;
    width: 100%;
    height: 100%;
    /* 위 세 줄을 써 줘야 아래가 먹는거?!?! */
    object-fit: cover;

    position: absolute;

    -webkit-transition: opacity 150ms ease-in-out;
    -moz-transition: opacity 150ms ease-in-out;
    -ms-transition: opacity 150ms ease-in-out;
    -o-transition: opacity 150ms ease-in-out;
    transition: opacity 150ms ease-in-out;

    opacity: 0;


}
.plate{
    opacity: 1;
}

/* 팝업 */
.pop-up__background{
    /* why;;;;;;;;;;;; */
    width: 1000px;
    height: 1000px;
    background-color: rgba(0,0,0,1);
}
.pop-up{
    
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);


    display: flex;
    flex-direction: column;
    
    text-align: center;

    background-color: aquamarine;
    padding: 20px;
}
.pop-up__input{
    display: flex;
    justify-content: space-between;
}


/* 어바웃 팝업 */
.pop-about{
    position: fixed;
    top:0;
    left: 0;
    z-index: 100;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.5);
}
.about__background{
    position: fixed; top: 50%; left: 50%;
    transform: translate(-50%, -50%);

    width: 90vw; height: 70vh;

    /* display: flex; flex-direction: column;     */
    text-align: center;
    background-color: var(--header-bg-color);
    padding: 1rem 2rem 1rem 2rem;

    border-radius: 1rem;
}
.close{
    width: 8vw;
    margin-right: 5vw;
    margin-left: 95%;
    /* color: coral; */
}
.about__title{
    font-size: 1rem;
    /* padding: 1rem; */
    /* padding-bottom: 2rem; */
}
.about__img{
    max-width: 5rem;
    object-fit: cover;
    margin: auto;
}
.about__text{
    font-family: 'Gowun Dodum', sans-serif;
    font-size: 0.9rem;
    text-align: start;
    /* line-height: 1.4rem; */

    padding-bottom: 1rem;
}
.en{
    /* font-family: 'Lora', ital;
    font-weight: 500; */
}
.about__credit{
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 1.2rem;
    font-size: 0.6rem;
}





#selected-position{
    background-color: var(--header-selected-color);
    /* border: 5px sold blue; */
}

#selected-item{
    /* background-color: lightgreen; */
    border: 5px solid var(--header-selected-glow);
}
.hidden{
    visibility: hidden;
}
.disable{
    pointer-events: none;
}



.finish{
    position: fixed;
    top: 5vh;
    left: 50%;
    transform: translate(-50%, 0);
    height: 80vh;
    width: 80vw;

    /* display: flex;
    flex-direction: column;
    justify-content: space-between; */

    visibility: hidden;

}

.finish__wish{
    text-align: center;
    font-size: 1.3rem;
    font-weight: 200;
    color: white;

}


.finish__buttons{
    position: fixed;
    width: 100vw;
    bottom: 0;

    /* padding: 0 10vw; */
    display: flex;
    /* justify-content: space-around; */
    justify-content: space-around
    
    /* color: var(--header-selected-glow); */
}
.finish__buttons button{
    padding: 0;
    margin: 8vw auto;
    font-size: 1rem;
    line-height: 1.2rem;
    background-color: none;
    color: white;
    /* border-radius: 50%; */

    text-shadow: 1px 1px 5px rgba(0,0,0,0.7);
}

.access__pc{
    position: fixed;
    top:0;
    left: 0;
    z-index: 200;
    pointer-events: none;
    width: 100vw;
    height: 100vh;
    background-color: var(--header-bg-color);
}
.pc__background{
    position: fixed; top: 50%; left: 50%;
    transform: translate(-50%, -50%);

    /* maxwidth: 50vw;  */
    /* height: 70vh; */

    /* display: flex; flex-direction: column;     */
    text-align: center;
    background-color: var(--header-bg-color);
    padding: 1rem 2rem 1rem 2rem;

    border-radius: 1rem;
    background-color: white;

    display: flex;
    flex-direction: column;
}
.pc__text{
    color: black;
    padding: 20px 0;
}
.pc__image{
    max-width: 400px;
    margin: auto;
    padding: 40px;
}
.pc__credit{
    font-size: 70%;
    padding: 10px 0;
}