/* #ffeeaa #ffffdc #cbbc7a  */

@import url('https://fonts.googleapis.com/css2?family=Odibee+Sans&family=Sigmar+One&family=Yeon+Sung&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Gothic+A1:wght@800&family=Gugi&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Do+Hyeon&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Black+Han+Sans&family=Jua&family=Yeon+Sung&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Do+Hyeon&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Do+Hyeon&family=Nanum+Gothic+Coding&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Jua&display=swap');


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

section{
  padding-top: 1%;
  display: none;
  position: absolute;
  opacity: 0;
}

.banner {
  padding: 2vw 100px;
  position: relative;
  height: 100vh;
  min-height: 1200px;
  background: url(./막걸리.jpg);
  background-size: cover;
  background-position: left;
  background-attachment: fixed;
  display: flex;
  justify-content: space-between;
  font-family: 'Gothic A1', sans-serif;
  z-index: 0.3;
  opacity: 1;
  transition: all 0.5s;
}

.textBx {
  position: relative;
  margin-top: 3vw;
  height: 50vh;
  transition: all 0.5s;
}
.textBx a {
  margin-top: 4em;
  font-family: 'Yeon Sung', cursive;
  animation: animate1 2.3s;
  transition: all 0.5s;
}
@keyframes animate1
{
  0% {
    left: -50em;
  }
  19% {
    margin-right: 0em;
  }
  60% {
    left: 0em;
    margin-right: 1.81em;
  }
  100% {
    margin-right: 0em;
    left: 0;
  }
}

.banner h2 {
  font-size: 3.5em;
  margin-left: 0.2em;
  color: #2b2b2b;
  animation: animate2 1.1s;
  transition: all 0.5s;
}
@keyframes animate2
{
  0% {
    margin-left: -50em;
  }
  100% {
    margin-left: 0.2em;
  }
}

.text {
  color: #414141;
  font-size: 15em; 
  font-family: 'Black Han Sans', sans-serif;
}
.text span:nth-child(1) {
  animation: animate3 1.5s;
}
.text span:nth-child(2) {
  animation: animate3 2.0s;
}
.text span:nth-child(3) {
  animation: animate3 2.5s;
}
@keyframes animate3
{
  0% {
    opacity: 0;
  }
  60%{
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}


/* 소셜아래 설명칸 */

.info {
  overflow: hidden;
  background-color: white;
  padding: 40px 30px 30px 30px;
  border-radius: 10px;
  position: relative;
  left: 0px;
  width: 1100px;
  height: 400px;
  margin-top: 20px;
  transition :transform 1s, box-shadow 0.3s;
  box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.2);
  display: flex;
  z-index: 1;
  animation: animate4 1.4s;
  font-family: 'Yeon Sung', cursive;
}

@keyframes animate4
{
  0% {
    left: -100em;
  }
  100% {
    left: 0em;
  }
}

.info::before, .info::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-top-left-radius: 40%;
  border-top-right-radius: 45%;
  border-bottom-left-radius: 35%;
  border-bottom-right-radius: 40%;
  z-index: -1;
  box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.2);
  
}

.info::before {
  left: 55%;
  bottom: -5%;
  background-color: rgba(69, 105, 144, 0.2);
  animation: waves 6s infinite linear;
}

.info::after {
  left: 60%;
  bottom: -45%;
  background-color: rgb(248, 227, 168);
  animation: waves 7s infinite;
}

@keyframes waves
{
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.info div {
  font-size: 27px;
  word-break: keep-all;
}

.info div span {
  font-size: 38px;
}

.info a {
  text-decoration: none;
  font-size: 27px;
  animation: none;
  color: black;
  margin-right: 50px;
}

.br_no {
  display: none;
}

@media screen and (max-width: 1990px){
  .banner {
    min-height: 1150px;
  }
  .textBx {
    margin-top: 1vw;
    height: 50vh;
  }
  .textBx a {
    height: 90px;
    margin-top: 5em;
  }
  .banner h2 {
    font-size: 2.5em;
  }
  .text {
    font-size: 15em; 
  }

  .info {
    height: 370px;
    margin-top: 15px;
    padding: 2.5% 3%;
  }
}

@media screen and (max-width: 1300px){
  .banner {
    min-height: 1150px;
  }
  .textBx {
    margin-top: 1vw;
    height: 50vh;
    width: 100%;
  }
  .textBx a {
    animation: animate4 1.4s;
    margin-top: 0;
  }
  .banner h2 {
    font-size: 2.2em;
  }
  .text {
    font-size: 13.4em; 
    margin-bottom: 17%;
  }

  .info {
    width: 100%;
    height: auto;
  }
}

@media screen and (max-width: 1175px){
  .banner {
    min-height: 1200px;
  }

  .info {
    padding: 4% 4%;
  }
}

@media screen and (max-width: 837px){
  .banner {
    min-height: 1200px;
  }

  .banner h2 {
    font-size: 1.8em;
  }
  .textBx a {
    height: 80px;
    font-size: 25px;
    padding: 25px 44px;
    justify-content: center;
    align-items: center;
  }
  .text {
    font-size: 11em; 
    margin-bottom: 17%;
  }
  .info a {
    padding-left: 0;
    margin-right: 0px;
  }
}

@media screen and (max-width: 713px){
  .info div {
    font-size: 22px;
    word-break: keep-all;
  }
  .text {
    margin-bottom: 200px;
  }
  .info div span {
    font-size: 33px;
  }
  
  .info a {
    font-size: 21px;
    margin-right: 0px;
    padding-right: 25px;
  }
}

@media screen and (max-width: 647px){
  .banner {
    padding: 2vw 5vw;
  }
  .banner h2 {
    font-size: 5vw;
  }
  .text {
    font-size: 27vw;
  }
}

@media screen and (max-width: 455px){
  .textBx a {
    height: 60px;
    font-size: 22px;
    padding: 15px 6.5vw;
  }
  .info {
    padding: 5%;
  }
  .info a {
    padding: 0;
  }
  .br_no {
    display: block;
  }
}

/* page 설정 -------------------------------------------------------------*/

section {
  padding-top: 0;
}


/* 역사 */
#aboutIt {
  padding-top: 0;
}

#content1 {
  background-image: url(./img/bg2.jpg);
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  height: auto;
}

#section1 {
  padding: 2% 10%;
  background-color: #2b2b2b85;
  color: white;
  
}

.chap {
  margin-bottom: 150px;
  background-color: rgba(248, 227, 168, 0.589);
  border-radius: 15px;
  padding: 3%;
}

.chap p {
  word-break:keep-all;
  font-size: 25px;
  color: black;
  font-family: 'Jua', sans-serif;
}
.chap img {
  display: none;
}

.htitle {
  font-size: 33px;
  font-weight: 600;
  display: block;
}

#chap0 {
  display: block;
  margin-top: 80px;
  margin-bottom: 160px;
  background-color: rgba(248, 227, 168, 0);
}

#chap0 h1 {
  position: absolute;
  left: 50%;
  transform: translate(-50%,-50%);
  font-size: 75px;
}

#chap0 div h1 {
  position: absolute;
  font-size: 100px;
  color: rgba(255, 255, 255, 0.295);
}

#chap1 {
  font-size: 22px;
}

#chap1 p {
  padding-right: 3%;
}

#chap2 {
  font-size: 22px;
}

#chap5 {
  margin-bottom: 100px;
}


@media screen and (max-width: 941px){
  .chap p {
    padding: 5px;
    margin-bottom: 10px;
  }
  
  .chap img {
    display: block;
    width: 100%;
  }
}
@media screen and (max-width: 713px){
  .chap p {
    font-size: 21px;
  }
  
}
@media screen and (max-width: 455px){
  #chap0 {
    display: block;
    margin-top: 70px;
    margin-bottom: 110px;
    background-color: rgba(248, 227, 168, 0);
  }
  .chap p {
    font-size: 19px;
  }

  .htitle {
    font-size: 29px;
  }
  
  #chap0 h1 {
    font-size: 55px;
  }
  
  #chap0 div h1 {
    font-size: 80px;
  }
}


/* 만드는 과정 */
#historys {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-image: url(./img/bg7.jpg);
}

.how {
  width: 100vw;
  height: auto;
  overflow: hidden;
  position: relative;
  background-color: rgba(255, 255, 255, 0.041);
  display: flex;
}

.how button {
  border: none;
  position: relative;
  margin-top: 100px;
  margin-bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 30px;
  font-family: 'Do Hyeon', sans-serif;
  width: 100%;
  height: 100px;
  background-color: rgba(0, 0, 0, 0.247);
  border-radius: 5px;
  color: white;
}

.how ul {
  width: 100%;
  text-align: center;
  list-style: none;
  padding: 0px 30px;
  padding-top: 50px;
  margin-bottom: 80px;
  background-color: rgba(238, 220, 186, 0.473);
  border-radius: 10px;
}

.how ul .by{
  color: white;
  font-size: 25px;
  margin: 3px;
  font-family: 'Jua', sans-serif;
}

.how ul li img {
  height: 50%;
  border-radius: 8px;
  border: 2px ridge black;
  margin-bottom: 70px;
}

.how1 {
  margin: 0 auto;
  margin-right: 150px;
  transition: all 0.5s;
}
.how2 {
  margin: 0 auto;
  margin-left: 150px;
  transition: all 1s;
}

@media screen and (max-width: 1450px){
  .how {
    display: block;
    margin: 0 auto;
  }

  .how1 {
    margin: 0 5% auto;
  }
  .how2 {
    margin: 0 5% auto;
  }

}

@media screen and (max-width: 520px){
  .how ul li img {
    height: 50vw;
  }
}

@media screen and (max-width: 415px){
  .how button{
    font-size: 7.3vw;
  }
}



/* 여러가지 막걸리 */

#howToMake {
  overflow:hidden;
}

.small-header {
  background-color: #998633;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 60px;
}

.deck {
  width: 100vw;
  overflow: hidden;
  display: flex;
  position: relative;
  height: 1100px;
  background-size: cover;
  background-position: center;
  background-image: url(./img/bg4.jpg);
  background-attachment: fixed;
}

.deck > ul {
  font-size:0;
  text-align: center;
  white-space: nowrap;
  overflow-x: scroll;
}

.deck > ul::-webkit-scrollbar {
  width: 30px;
}
.deck > ul::-webkit-scrollbar-thumb {
  background-color: #2f3542;
}
.deck > ul::-webkit-scrollbar-track {
  background-color: grey
}

.deck > ul > li {
  display:inline-block;
  margin-left: 50px;
  margin-right: 50px;
}
.deck > ul > li .card {
  position:relative;
  overflow:hidden;
}

.card {
  display: flex;
  border-radius: 9px;
  width:  500px;
  height: 800px;
  margin-top: 200px;  
  background-color: #fffff000;
  box-shadow: 0 5px 6px rgba(0,0,0,0.3), 0 5px 6px rgba(0,0,0,0.5);
  transition: all 0.3s cubic-bezier(.25,.8,.25,1);
  z-index: 3;
  border: 3px solid #000000a9;
  animation: draw 3s;
}

@keyframes draw {
  0% {
    transform: translateY(100%);
  }
  60% {
    transform: translateY(-10%);
  }
  100% {
    transform: translateY(0%);
  }
}

.card .img {
  position: absolute;
  width: 100%;
  height: 62%;
  background-color: rgba(0, 0, 0, 0.459);
  background-repeat: no-repeat;
  background-position: center;
}

.card .line {
  position: absolute;
  top: 62%;
  width: 100%;
  height: 2%;
  background-color: #998633;
}

.card .exp {
  position: absolute;
  top: 64%;
  width: 100%;
  height: 36%;
  font-size: 30px;
  padding-left: 5%;
  text-align: left;
  background-color: #fffff0;
}

.card .exp p {
  margin-top: 20px;
}

.card .exp p .exp_1 {
  font-family: 'Do Hyeon', sans-serif;
}
.card .exp p .exp_2 {
  font-family: 'Nanum Gothic Coding', monospace;
  font-size: 18px;
  font-weight: 900;
}

.card .exp p .exp_2 span {
  font-size: 16px;
  font-weight: 500;
}



#img1  {
  background-size:370px;
  background-image: url(./img/other1.png) ;
}
#img2  {
  background-size:400px;
  background-image: url(./img/other2.png) ;
}
#img3  {
  background-size:400px;
  background-image: url(./img/other3.png) ;
}
#img4  {
  background-size:370px;
  background-image: url(./img/other4.png) ;
}
#img5  {
  background-size:400px;
  background-image: url(./img/other5.png) ;
}
#img6  {
  background-size:350px;
  background-image: url(./img/other6.png) ;
}
#img7  {
  background-size:350px;
  background-image: url(./img/other7.png) ;
}
#img8  {
  background-size:380px;
  background-image: url(./img/other8.png) ;
}

@media screen and (max-width: 1990px){
  .deck {
    height: 1000px;
  }
  .card {

    height: 800px;
    margin-top: 130px;  

  }
}

@media screen and (max-width: 1175px){
  .deck {
    height: 900px;
  }
  .card {
    width: 410px;
    height: 700px;

  }
  .card .img {
    width: 100%;
    height: 55%;
  }
  
  .card .line {
    top: 55%;
    width: 100%;
    height: 2%;
  }
  
  .card .exp {
    top: 57%;
    width: 100%;
    height: 43%;
  }

  #img1  {
    background-size:280px;
    background-image: url(./img/other1.png) ;
  }
  #img2  {
    background-size:280px;
    background-image: url(./img/other2.png) ;
  }
  #img3  {
    background-size:280px;
    background-image: url(./img/other3.png) ;
  }
  #img4  {
    background-size:280px;
    background-image: url(./img/other4.png) ;
  }
  #img5  {
    background-size:280px;
    background-image: url(./img/other5.png) ;
  }
  #img6  {
    background-size:280px;
    background-image: url(./img/other6.png) ;
  }
  #img7  {
    background-size:280px;
    background-image: url(./img/other7.png) ;
  }
  #img8  {
    background-size:280px;
    background-image: url(./img/other8.png) ;
  }

}

@media screen and (max-width: 455px){
  .deck {
    height: 900px;
  }
  .card {
    width: 90vw;
    height: 670px;

  }
  .card .img {
    width: 100%;
    height: 55%;
  }
  
  .card .line {
    top: 55%;
    width: 100%;
    height: 2%;
  }
  
  .card .exp {
    top: 57%;
    width: 100%;
    height: 43%;
  }
}

/* 다른 술 */


.wrapper {
  padding: 0;
  width: 100vw;
  word-spacing: 4px;
  letter-spacing: 1px;
  display: none;
  background-image: url(./img/bg6.jpg);
  background-position: center;
  background-attachment: fixed;
  background-size: cover;
}


.groups {
  position: relative;
  
  width: 100%;
  height: auto;
  background-color: rgba(250, 250, 250, 0.158);
  
}

.groups video {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: 70vw;
  margin-bottom: 100px;
}

#group {
  width: 100%;
  padding: 30px;
  color: rgb(255, 255, 255);
  font-size: 45px;
  text-align: center;
  font-family: 'Yeon Sung', cursive;
}








/* page 버튼 -------------------------------------------------------------*/
.btn {
  position: relative;
  display: inline-block;
  color: rgb(0, 0, 0);
  margin-top: 20px;
  padding: 28px 56px;
  margin-left: -2px;
  font-size: 30px;
  text-decoration: none;
  font-weight: 500;
  overflow: hidden;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.4s linear;
  border-radius: 50px;
  box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.2);
  background: #fff;
  z-index: 1;
  
}
.btn:hover {
  font-weight: 900;
}

.btn::before, .btn::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-top-left-radius: 40%;
  border-top-right-radius: 45%;
  border-bottom-left-radius: 35%;
  border-bottom-right-radius: 40%;
  z-index: -1;
  box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.btn::before {
  left: 25%;
  bottom: -500%;
  background-color: rgba(154, 201, 207, 0.2);
  animation: waves 6s infinite linear;
}


.btn::after {
  left: 10%;
  bottom: -560%;
  background-color: rgb(248, 227, 168);
  animation: waves 7s infinite;
}

@keyframes waves
{
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}



/* 오른쪽 소셜아이콘 -----------------------------------------------------*/

.social {
  position: fixed;
  top: 19em;
  right: 3%;
  transform: translateY(-50%);
  z-index: 1000;
  animation: animate5 2s ;
}
@keyframes animate5
{
  0% {
    right: -10%;
  }
  100% {
    right: 3%;
  }
}


.social.active {
  top: 31.5em;
}

.social a {
  display: none;
  justify-content: center;
  align-items: center;
  width: 100px;
  height: 100px;
  padding: 0;
  margin: 0;
  line-height: 0;
  background-color: #ffeeaa;
  border: 1px solid #cbcbcb;
  border-radius: 50%;
  box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}


.social i{
  color:#2b2b2b;
  font-size: 40px;
}

.social a:hover {
  box-shadow: 2px 4px 12px rgba(0, 0, 0, 0.2);
  transition: all ease 0.5s;
}

.social a:hover i {
  color: #FFFFFF;
  transition: all ease 0.5s;
}



#set {
  display: flex;
  animation: animate6 3s infinite;
}
#set:hover{
  background: black;
  
}
@keyframes animate6
{
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}



#home:hover {
  background: #ec4705;
}
#google:hover {
  background: #00d9ff;
}
#youtube:hover {
  background: #ff0808;
}
#insta:hover {
  background: #f04695;
}
#up{
  display: flex;
}
#up:hover {
  background: #0000009c;
}
#home.active,
#google.active,
#youtube.active,
#insta.active {
  display: flex;
}

.social div {
  position: absolute;
  z-index: -3;
  justify-content: center;
  align-items: center;
  right: 0;
  width: 100px;
  height: 100px;
  background-color: #ffffff;
  border-radius: 50px;
  box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.2);
  color: black;
  text-align: center;
  transition: width 0.5s;
  overflow: hidden;
  font-family: 'Yeon Sung', cursive;
}

.social span {
  align-items: center;
  position: absolute;
  top: 50%;
  left: 20%;
  font-size: 33px;
}

#home:hover div {
  width: 250px;
}
#google:hover div {
  width: 220px;
}
#youtube:hover div {
  width: 240px;
}
#insta:hover div {
  width: 320px;
}
#up:hover div {
  width: 220px;
}

@media screen and (max-width: 1990px){
  .social {
    top: 14em;
  }
  
  .social.active {
    top: 26.5em;
  }
}

@media screen and (max-width: 1300px){
  .social {
    top: 9em;
  }
  
  .social.active {
    top: 21.78em;
  }
  .social a {
    width: 90px;
    height: 90px;
  }
  .social div {
    width: 90px;
    height: 90px;
    border-radius: 45px;
  }

  
  .social span {
    font-size: 23px;
  }

  #home:hover div {
    width: 180px;
  }
  #google:hover div {
    width: 150px;
  }
  #youtube:hover div {
    width: 170px;
  }
  #insta:hover div {
    width: 220px;
  }
  #up:hover div {
    width: 150px;
  }
}

@media screen and (max-width: 455px){
  .social {
    top: 7em;
  }
  
  .social.active {
    top: 15.75em;
  }
  .social a {

    width: 70px;
    height: 70px;

  }
  .social div {
    width: 70px;
    height: 70px;
    border-radius: 35px;
  }
  .social i{
 
    font-size: 30px;
  }
}


/* footer -------------------------------------------------------------*/

#footer{
  position: relative;
  background-color: #fffff0;
  height: 200px;
  width: 100vw;
  bottom: 0;
  color: #2b2b2b ;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Do Hyeon', sans-serif;
  display: flex;
}

.footer-menu {
  display: flex;
  list-style: none;
  font-size: 22px;
  justify-content: center;
  align-items: center;
  padding: 10px 20px;
}
.footer-content {
  justify-content: center;
  align-items: center;
}

.footer-menu li {
  cursor: pointer;
  margin: 30PX 30PX;
}

.footer-menu #center {
  font-size: 40px;
}


@media screen and (max-width: 1150px){
  #footer{
    height: 320px;
  
  }
  .footer-menu {
    display:inline;
    text-align: center;
  }
  .footer-menu li {
    cursor: pointer;
    margin: 10PX 30PX;
    font-size: 18px;
  }
  .footer-menu #center {
    margin: 20PX 30PX;
    font-size: 30px;
  }
}