@import "reset.css";
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/variable/pretendardvariable.css');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700&display=swap');
@import url(//fonts.googleapis.com/earlyaccess/jejumyeongjo.css);


@font-face {
    font-family: 'Pretendard-Regular';
    src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face {
	font-family: 'Pretendard Variable';
	font-weight: 45 920;
	font-style: normal;
	font-display: swap;
	src: url('../../../packages/pretendard/dist/web/variable/woff2/PretendardVariable.woff2') format('woff2-variations');
}

@font-face {
  font-family: 'LotteMartDream';
  font-style: normal;
  font-weight: 400;
  src: url('//cdn.jsdelivr.net/korean-webfonts/1/corps/lottemart/LotteMartDream/LotteMartDreamMedium.woff2') format('woff2'), url('//cdn.jsdelivr.net/korean-webfonts/1/corps/lottemart/LotteMartDream/LotteMartDreamMedium.woff') format('woff');
}
@font-face {
  font-family: 'LotteMartDream';
  font-style: normal;
  font-weight: 700;
  src: url('//cdn.jsdelivr.net/korean-webfonts/1/corps/lottemart/LotteMartDream/LotteMartDreamBold.woff2') format('woff2'), url('//cdn.jsdelivr.net/korean-webfonts/1/corps/lottemart/LotteMartDream/LotteMartDreamBold.woff') format('woff');
}
@font-face {
  font-family: 'LotteMartDream';
  font-style: normal;
  font-weight: 300;
  src: url('//cdn.jsdelivr.net/korean-webfonts/1/corps/lottemart/LotteMartDream/LotteMartDreamLight.woff2') format('woff2'), url('//cdn.jsdelivr.net/korean-webfonts/1/corps/lottemart/LotteMartDream/LotteMartDreamLight.woff') format('woff');
}

.lottemartdream * {
 font-family: 'LotteMartDream', sans-serif;
}


* {
  /* 드래그나 더블클릭 시에 텍스트가 선택이 되지 않도록 설정 */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

body::-webkit-scrollbar {
  display: none;
}

body{
  background: #ffffff;
    margin: 0px;
    width: 100vw;
    font-family: 'Pretendard Variable';
    overflow-x: hidden;
    -ms-overflow-style: none; /* 인터넷 익스플로러 */
    scrollbar-width: none; /* 파이어폭스 */
    margin: 0;
    color: #3e3a39;
}

canvas {
  width: 100%;
  height: 30%;
  position: absolute;
  top: 34vw;
}

/*메뉴 파트*/
.header {
  z-index: 500;
  font-size: 0.8333vw;
  width:100vw;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  align-content: center;
  flex-wrap: wrap;
  color: #3e3a39;
  text-align:center;
  position:fixed;
  background-color: #ffffff88;
  top:0;
  left:0;
  height:4.5vw;
  -webkit-transition-duration:0.4s;
  -webkit-transition-timing-function:ease;
  transition-duration:0.4s;
  transition-timing-function:ease;
}


.header:after {
  display:block;
  width:100%;
  content:"";
}

.down {
  background-color:#ffffff88;
  -webkit-transition-duration:0.4s;
  -webkit-transition-timing-function:ease;
  transition-duration:0.4s;
  transition-timing-function:ease;
}

.logo {
  text-decoration: none;
  margin-left: 8.3333vw;
}

.logo img{
  width: 1.5vw;
}

.navbar ul {
  list-style: none;
  display: flex;
  font-weight: 500;
}
 
.navbar a {
  text-transform: uppercase;
  text-decoration: none;
  color: #3e3a39;
  padding: 0.5vw 1vw 0.5vw 1vw;
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

.sns{
  list-style: none;
  display: flex;
  margin-right: 8.3333vw;
}
.sns img{
  width: 1.7vw;
}
.sns a{
  padding-right: 0.5vw;
  padding-left: 0.5vw;
}

.navbar ul li a:hover {
  color: #eb7631;
}

.navbar li:nth-child(3) a{
  color: #eb7631;
}

/*스크롤 액션*/

.scroll-action{
text-align: center;
margin-top: 4vw;
}
.scroll-action p{
z-index: 100;
position: relative;
}
.scroll-action a span {
position: absolute;
top: 42.1vw;
left: 50%;
width: 1vw;
height: 1vw;
margin-left: -0.5vw;
border-left: 1px solid #cac0be;
border-bottom: 1px solid #cac0be;
-webkit-transform: rotate(-45deg);
transform: rotate(-45deg);
-webkit-animation: sdb 2s infinite;
animation: sdb 2s infinite;
opacity: 0;
z-index: 100;
}
.scroll-action a span:nth-of-type(1) {
-webkit-animation-delay: 0s;
animation-delay: 0s;
}
.scroll-action a span:nth-of-type(2) {
top: 42.8vw;
-webkit-animation-delay: .15s;
animation-delay: .15s;
}
.scroll-action a span:nth-of-type(3) {
top: 43.5vw;
-webkit-animation-delay: .3s;
animation-delay: .3s;
}
@-webkit-keyframes sdb {
0% {
  opacity: 0;
}
50% {
  opacity: 1;
}
100% {
  opacity: 0;
}
}
@keyframes sdb {
0% {
  opacity: 0;
}
50% {
  opacity: 1;
}
100% {
  opacity: 0;
}
}

.search{
float: left; 
color: #3e3a39; 
text-align: center; 
padding-top: 0.4vw; 
padding-bottom: 0.3vw; 
border: 1px solid #3e3a39; 
border-radius: 30vw; 
vertical-align: middle; 
padding-left: 1vw; 
padding-right: 1vw; 
height: 1.2vw; 
margin-top: 0.5vw; 
margin-right: 1vw; 
width: 6vw;
cursor: pointer;
}
.search p{
margin-top: 0.2vw;
margin-left: 0.5vw;
}
.search img{
width: 0.8vw; 
margin-right: 0.3vw;
float: left;
}

/*태그 팝업창*/

.tag h2 span{
font-size: 1.0417vw; /*20*/
font-family: 'Pretendard Variable';
}
.tag img{
width: 2vw;
display: block;
margin-left: auto;
margin-bottom: 1.8vw;
cursor: pointer;
}



.tag-box{
background-color: #faf5ee;
padding-left: 1.5vw;
padding-right: 1.5vw;
padding-top: 1.8vw;
padding-bottom: 1.8vw;
margin-bottom: 2vw;
}
.tag-box h2{
font-size: 1.7708vw; /*34*/
font-weight: 600;
font-family: 'Inter', sans-serif;
margin-bottom: 1vw;
color: #eb7631;
text-align: left;
}
.tag-list{
display: flex;
flex-wrap: wrap;
}
.tag-list li{
background-color: #faf5ee;
padding-left: 0.8vw;
padding-right: 0.8vw;
padding-top: 0.3vw;
padding-bottom: 0.3vw;
border-radius: 30vw;
margin-right: 0.6vw;
margin-bottom: 0.8vw;
box-shadow: 1px 2px 3px 2px #eedeca;
font-size: 0.9375vw;/*18*/
font-weight: 600;
cursor: pointer;
}
/*scroll bar*/
.tag::-webkit-scrollbar {
width: 3vw;  /* 스크롤바의 너비 */
}
.tag::-webkit-scrollbar-thumb {
height: 30%; /* 스크롤바의 길이 */
background: #e75400; /* 스크롤바의 색상 */
border-radius: 30vw;
background-clip: padding-box;
border: 1.3vw solid transparent;
}
.tag::-webkit-scrollbar-track {
background: #f3c9a8;  /*스크롤바 뒷 배경 색상*/
margin-top: 5vw;
margin-bottom: 2vw;
margin-left: -1vw;
border-radius: 30vw;
background-clip: padding-box;
border: 1.3vw solid transparent;

}
/**/

.top-btn{
  position: fixed;
  z-index: 500;
  right: 4vw;
  bottom:3vw;
  cursor: pointer;
}
.top-btn img{
  width: 2.8vw;
 }
 
.section1{
    margin-top: 0vw;
}
 
  .sec1-video{
    height: 47vw;/*900px 언저리*/
    width: 100vw;
    margin: auto;
    /*border-radius:0px 0px 90% 90% / 0px 0px 50% 50%; */
    background-image: url("../img/recipe-banner.png");
    background-position: center;
    background-size: cover;
  }


/**/


.section2{
    padding-top: 1vw;
    position: relative;
  /*  height: 36.5vw;*/
    padding-bottom:  1vw;
    text-align: center;
}
.section2 h2{
  font-size: 3.1250vw; /*60*/
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 3vw;

  margin-top: 1.5vw;
}
.section2 h3{
  font-family: 'Inter', sans-serif;
  font-size: 2.0833vw; /*40*/
  font-weight: 600;
  color: #eb7631;
}
.section2 p{

  font-size: 1.0417vw; /*20*/
  margin-top: 1.5vw;
  font-weight: 500;
  line-height: 1.3vw;
}
.btn-group{
  display: flex;
  justify-content: center;
  margin: auto;
  margin-top: 2vw;
  width: 40vw;
  flex-wrap: wrap;
}
/**/
.btn-normal{
  font-size: 1.0938vw; /*21px*/
  width: 6.8vw;
  border-radius: 90px;
  color: #eb7631;
  color: #ffffff;
  padding-top: 0.5vw;
  padding-bottom: 0.5vw;
  font-weight: 400;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  margin-right: 1vw;
  margin-left: 1vw;
  margin-top: 1vw;
  opacity: 0.5;
}
.btn-normal:nth-child(1){
  opacity: 1;
}
.btn-normal:hover{
  opacity: 1;
  transition: all 0.2s ease-in-out;
}

/**/
.pdf-link{
 margin-top: 1.5vw;
text-align:center;
color: #eb7631;
font-weight: 600;
width: fit-content;
margin: auto;
text-decoration: underline;
cursor: pointer;

}
.pdf-link p{
  font-size: 1.0417vw;/*20*/
}

.pdf-link p{
  line-height: normal;
 }

 .pdf-link strong{
  font-weight: 800;
 }
/**/

.slide-btn{
  position: absolute;
  display: flex;
  justify-content: space-between;
  width: 90vw;
  padding-left: 5vw;
  padding-right: 5vw;
  margin-top: 10vw;
}
.slide-btn img{
  width: 2vw;
  cursor: pointer;
}



/**/
.slider{
  display: flex;
  width: 80vw;
  overflow: scroll;
  overflow-y: hidden;
  margin: auto;
  margin-top: 4vw;
}
.slider::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera*/
}
.slide{
  margin-left: 1.8vw;
  cursor: pointer;
}
.slide:nth-child(1){
  margin-left: 0vw;
}
.slide h3{
  margin-top: 1.5vw;
  font-size: 1.0417vw;/*20*/
  color: #3e3a39;
  font-weight: 500;
}
.slide p{
  margin-top: 0.5vw;
  font-size: 1.0417vw;/*20*/
  font-weight: 400;
}
.slide img{
 width: 16vw;
 border-radius: 90%;
}
.act1 img{
  opacity: 1;
  transition: all 0.2s ease-in-out;
}
.aact2 img, .aact3 img, .aact4 img, .aact5 img, .aact6 img, .aact7 img{
  opacity: 0.5;
  transition: all 0.2s ease-in-out;
}


/*scroll bar*/
.slider::-webkit-scrollbar {
  height: 6vw;  /* 스크롤바의 너비 */
}
.slider::-webkit-scrollbar-thumb {
  height: 80%; /* 스크롤바의 길이 */
  background: #ff831e; /* 스크롤바의 색상 */
  border-radius: 30vw;
  background-clip: padding-box;
	border: 2.8vw solid transparent;
}
.slider::-webkit-scrollbar-track {
  background: #f3c9a8;  /*스크롤바 뒷 배경 색상*/

  border-radius: 30vw;
  background-clip: padding-box;
	border: 2.8vw solid transparent;
  
}
/**/


.wave{
  position: relative;
z-index: 100;
}
.wave img{
  width: 101vw;
  margin-left: -1vw;
  height: 8vw;
}
.wave2{
  margin-top: -7vw;
}
.wave2 img{
  width: 100vw;
}

.wave-top{
  position: absolute;
z-index: 100;
margin-top: -0.5vw;
}
.wave-top img{
  width: 101vw;
  margin-left: -1vw;
  height: 8vw;
  transform: scaleY(-1);
}
/**/

.section2-5{
  margin-top: -5vw;
  height: 10vw;
  width: 100vw;
  background: linear-gradient( to bottom, #ffffff, #fcf7f0 );
}

/*section3*/
.section3{
  padding-left: 8vw;
  padding-right: 7vw;
 /* float: left;*/
}
.section3 img{
  width: 20vw;
  margin-bottom: 1vw;
  height: 20vw;
    object-fit: cover;
}
.recipe-list{
  flex-wrap: wrap;
  position: relative;
  display: none;
  margin-top: 4.5vw;
  margin-bottom:6vw;
}
.coffe{
 display: flex;
}


.recipe-list .cover{
  position: absolute;
  margin-top: -21.1vw;
  text-align: center;
  font-family: 'Crimson Text', serif;
  width: 20vw;
  height: 20vw;
  background: linear-gradient( to bottom, rgba(255, 255, 255, 0), #231815 );
  opacity: 0;
  transition: all 0.3s ease-in-out;
  color: #ffffff;
}
.recipe-list .cover p{
  font-size: 1.0417vw; /*20*/
  margin-top: 1.2vw;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}
.recipe-list .cover h3{
  font-size: 1.5625vw; /*30px*/
  margin-top: 12vw;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}
.recipe-list .item{
  width: calc(100% / 4);
  cursor: pointer;
}
.recipe-list .item:hover .cover {
  opacity: 1;
  transition: all 0.3s ease-in-out;
}
    


/*모바일*/
.sec1-video-m{
  width: 100vw;
  height: 100vh;

  display: none;
  overflow: hidden;
}
.sec1-video-m img{
  width: 100%;
  height: 100%;
  object-fit: cover;

}

.slider-m{
  display: none;
  overflow: scroll;
  overflow-y: hidden;
  margin: auto;
  margin-top: 48px;
  width: 100vw;
  
}
.slider-m::-webkit-scrollbar {
  display: none;
}
.act2-m img, .act3-m img, .act4-m img, .act5-m img, .act6-m img, .act7-m img{
  opacity: 0.5;
}

/**/

/**/

@media (max-width: 540px){
  
  .sec1-video{
    display: none;
  }
  .wave2 img{
    margin-top: 0;
    z-index: 500;
  }
  .wave2{

    display: none;
  }
  
  .top-btn{
    display: none;
  }
  .sec1-video-m{
    display: block;
  }

  /**/
  .section2{
    padding-top: 50px;
    height:auto;
    padding-bottom:0;
  }
  .section2 h3{
    font-size: 20px;
  }
  .section2 h2{
    font-size: 26px;
    line-height: 30px;
    margin-top: 24px;
    letter-spacing: -0.045em;
    font-weight: 600;
  }
  .section2 p{
    line-height: 16px;
    font-size: 12px;
    margin-top: 16px;
    padding-left: 56px;
    padding-right: 56px;
    word-break: keep-all;
  }
  .section2 p br{
    display: none;
  }

  .btn-normal{
    font-size: 12px;
    width: auto;
    padding: 4px 12px;
    margin-right: 30px;
  }
  .btn-zero{
    font-size: 12px;
    width: auto;
    padding: 4px 14px;
  }

  .btn-group{
    margin-top: 24px;
  }

  /**/
  .slider{
   display: none;
  }
  .slider-m{
    display: flex;
  }
  .slider-m h3{
    font-size: 14px;
    margin-top: 8px;
  }
  .slide p{
    display: none;
  }

  .slide-btn{
    display: none;
  }
  .slide{
    width: 35vw;
    margin-left: 12px;
  }
  .slide img{
    width: 35vw;
    border-radius: 10px;
  }
  .slide:nth-child(1){
    margin-left: 16px;
  }
  .slide:nth-child(7){
    margin-right: 16px;
  }

  /**/
  .section4-h2{
    font-size: 18px;
    margin-top: 24px;
  }
  /**/
  .section3{
  padding-left: 16px;
  padding-right: 16px;
  }
  .recipe-list{
    margin-top: 50px;
    margin-bottom:80px;
  }
  .recipe-list .item{
    width: calc(100% / 2);
    text-align: center;
    margin-bottom: 28px;
  }
  .recipe-list a{
    color: #3e3a39;
    text-decoration: none;
  }
  .recipe-list .cover{
    position: relative;
    margin-top: 0;
    text-align: center;
    font-family: 'inter', serif;
    width: auto;
    height: auto;
    background: none;
    opacity: 1;
    color: #3e3a39;
  }
  .recipe-list .cover p{
    font-size: 12px;
    margin-top: 0;
    width: 38vw;
    margin: auto;
  }
  .recipe-list .cover h3{
    font-size: 14px;
    margin-top: 6px;
  }
  .section3 img{
    width: 42vw;
    height: 42vw;
    margin-bottom: 12px;
    border-radius: 8px;
  }
  .section2-5{
    margin-top: 0;
    height: 50px
  }



}