@font-face {
    font-family: 'Reko';
    src: url('/public/fonts/RecipekoreaFont.otf') format('woff');
    font-weight: normal;
    font-style: normal;
}

:root {
    --vh: 100%;
}

input:focus {outline: none;}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
	width: calc(100vw - (100vw - 100%));
    image-rendering: -webkit-optimize-contrast;
    -webkit-tap-highlight-color: transparent;
	font-family: 'Noto Sans KR';
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
	font-family: 'Reko';
}

body, html {
    -webkit-font-smoothing: antialiased;
}

html {
	overflow-x: hidden;
    scroll-behavior: smooth;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
	width: 100vw;
    height: 100vh;
	overflow-x: hidden;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
            -webkit-user-select:none;
            -moz-user-select:none;
            -ms-user-select:none;
            user-select:none
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

.main-wrapper {
	width: 100%;
	height: 100%;
	background-image: url('/public/images/background-bg.png');
	background-size: cover;
	display: flex;
    justify-content: center;
}

.main {
	max-width: 375px;
	height: 100%;
	display: flex;
	align-items: center;
	flex-direction: column;
}

.main .logo {
	width: 168.25px;
	height: 21.38px;
	margin-top: 28px;
}

.main .pass-div {
	width: 100%;
	height: auto;
	padding: 0 38px;
	margin-top: 65.62px;
	display: flex;
	flex-direction: column;
}

.main .pass-div .title {
	font-size: 16px;
}

.main .pass-div .title {
	font-size: 16px;
	margin-left: 2px;
}

.main .pass-div .input-box {
	display: flex;
	padding: 8px 9px;
	align-items: center;
	gap: 8px;
	align-self: stretch;
	border-radius: 8px;
	border: 1px solid #E1E6EF;
	background: #FFF;
	margin-top: 8px;
}

.main .pass-div .input-box.error {
	border: 1px solid #f90000;
}

.main .pass-div .input-box .password {
	width: 100%;
    height: 40px;
    padding: 0;
    margin: 0;
    background-color: transparent;
    border: 0;
	font-size: 30px;
}

.main .pass-div .input-box .password::placeholder {
	font-size: 16px;
	position: relative;
    top: -5px;
}

.main-button-div {
	width: 100%;
	height: 100px;
	padding: 0 22px;
	display: flex;
	justify-content: center;
	align-items: center;
	position: fixed;
	bottom: 0px;
	flex-direction: column;
	background: rgb(255 255 255 / 80%);
}
.main-button-div.close {
	background: rgb(0 0 0 / 80%);
}
.main-button {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	max-width: 332px;
	height: 52px;
	background-image: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22331%22%20height%3D%2252%22%20viewBox%3D%220%200%20331%2052%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M0%2015.724C0%208.10067%206.07038%201.88084%2013.6925%201.74209C43.5022%201.19944%20115.638%20-0.00982954%20166%206.10352e-05C215.917%200.00986421%20287.606%201.20648%20317.308%201.74385C324.931%201.88176%20331%208.10198%20331%2015.7262V36.2738C331%2043.898%20324.931%2050.1183%20317.308%2050.2562C287.606%2050.7936%20215.917%2051.9902%20166%2052C115.638%2052.0099%2043.5022%2050.8006%2013.6925%2050.2579C6.07037%2050.1192%200%2043.8994%200%2036.276V15.724Z%22%20fill%3D%22%235F33E1%22%2F%3E%3C%2Fsvg%3E');
	background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
	color: #fff;
	padding-top: 3px;
	cursor: pointer;
    transition: transform 0.1s ease;
    user-select: none;
}

.main-button-blur {
	height: 7px;
	width: 100%;
	max-width: 332px;
	border-radius: 310px;
	background: #5F33E1;
	filter: blur(15px);
	margin-top: -2px;
	z-index: -1;
}

.main-button.active {
    transform: translateY(4px);
}

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

.second .lists {
	margin-top: 50px;
	padding: 0 22px;
}

.second .lists .list {
	background-color: #fff;
	width: 100%;
	height: 63px;
	border-radius: 15px;
	box-shadow: 0px 4px 32px 0px rgba(0, 0, 0, 0.04);
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.second .lists .list .img-div {
	width: 100px;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.second .lists .list .img-div .gift1 {
	width: 68.75px;
	height: auto;
}

.second .lists .list .img-div .gift2 {
	width: 54.23px;
	height: auto;
}

.second .lists .list .img-div .gift3 {
	width: 28.9px;
	height: auto;
}

.second .lists .list .img-div .gift4 {
	width: 31.52px;
	height: auto;
}

.second .lists .list .img-div .gift5 {
	width: 98px;
	height: auto;
}

.second .lists .list .img-div .gift6 {
	width: 70.4px;
	height: auto;
}

.second .lists .list .gift_name {
	font-size: 12px;
	color: #047C78;
	width: auto;
	height: auto;
	margin-top: 4px;
}

.second .lists .list .gift_cnt {
	width: fit-content;
    display: flex;
	margin-right: 16px;
}

.second .lists .list .gift_cnt p {
	margin-top: 4px;
	font-size: 10px;
}

.second .lists .list .gift_cnt .gift_cnt1 {
	color: #F2582C;
}

.second .lists .list .gift_cnt .gift_cnt3 {
	color: #047C78;
	font-weight: 100;
}

.bottom-margin {
	height: 100px;
}

.reader-div {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 9999;
	background-color: #000;
}

.bottom-div {
	width: 100%;
	height: auto;
	position: fixed;
	bottom: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.bottom-div .title {
	font-size: 48px;
	text-align: center;
	margin-bottom: 36px;
}

.bottom-div .content {
	font-size: 18px;
	text-align: left;
	margin-bottom: 56px;
	color: #047C78;
	line-height: 28px;
	font-weight: 100;
	margin-left: 60px;
}

.bottom-div .back-button-div {
	width: 100%;
	height: 56px;
	padding: 0 24px;
	margin-bottom: 50px;
}

.bottom-div .back-button {
	width: 100%;
	height: 100%;
	background-color: #000;
	border-radius: 8px;
	color: #F5FA80;
	font-size: 16px;
	display: flex;
	justify-content: center;
	align-items: center;
}

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

.test-main-pre {
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: #000;
	flex-direction: column;
}

.test-main-pre .title {
	color: #fff;
	font-size: 40px;
	text-align: center;
}

.test-main {
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: #000;
	flex-direction: column;
}

.test-main .title {
	color: #fff;
	font-size: 40px;
	text-align: center;
}

.test-main .dice {
	width: 100%;
	height: auto;
	display: flex;
	justify-content: center;
	align-items: center;
}

.test-main .progress-bar {
	width: min(100svw - 20px, 250px);
	border-radius: 100vh;
	background: #777;
	overflow: hidden;
	cursor: pointer;
	height: 5px;
}
.test-main .progress-bar .progress {
	  width: 100%;
	  height: 100%;
	  transform: scaleX(0);
	  border-radius: inherit;
	  transform-origin: left center;
	  background: linear-gradient(90deg, #d9a800, #df5000);
	  transition: transform 300ms cubic-bezier(0.5, 0, 0.25, 1);
	}
  

	@keyframes shake {
		0%, 100% { transform: translateX(0); }
		10% { transform: translateX(-10px); }
		20% { transform: translateX(10px); }
		30% { transform: translateX(-10px); }
		40% { transform: translateX(10px); }
		50% { transform: translateX(-10px); }
		60% { transform: translateX(10px); }
		70% { transform: translateX(-10px); }
		80% { transform: translateX(10px); }
		90% { transform: translateX(-10px); }
	}
	
	/* 흔들기 애니메이션 클래스 */
	.shake {
		animation: shake 0.5s ease-in-out; /* 0.5초 동안 흔들기 효과 적용 */
	}