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

/* COMMON */
body {
    color:#333;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    font-family: "Roboto", sans-serif;
    font-style: normal;
    min-width: 766px;
    background-color: #000;
    }

  body::after{
    position:absolute; 
    width:0; 
    height:0; 
    overflow:hidden; 
    z-index:-1;
    content:url() url(https://web-files-cdn.masangsoft.com/_Asda/images/steam/main_bg.webp)
    url(https://web-files-cdn.masangsoft.com/_Asda/images/steam/img_board.png)
    url(https://web-files-cdn.masangsoft.com/_Asda/images/steam/popup_newsLetter_bg.webp); 
}

  body.on {
    overflow: hidden;
  }

  img {
    display: block;
  }
  a {
    text-decoration: none;
  }
  
  .inner {
    width: 100%;
    /* min-width: 1140px; */
    margin: 0 auto;
    position: relative;
    display: grid;
  }
  
  @font-face {
    font-family: 'KCC-eunyoung';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_one@1.0/KCC-eunyoung-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
  }
  
  /* HEADER */
  header {
    position: fixed;
    z-index: 50;
    top: 0;
    width: 100%;
  }
  header .inner {
    height: 144px;
  }
  header .logo {
    width: 189px;
    height: 64px;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 50px;
    margin: auto;
  }
  
  /* 사이드배너 */
  div.side-banner {
    position: fixed;
    z-index: 15;
    display: block;
    width: 160px;
    top: 50%;
    left: 100px;
    margin-top: -100px;
  }
  div.quick_box {
    position: fixed;
    display: block;
  }
  
  a.main_quick {
    display: block;
  }
  
  div.quick_box01 {
    z-index: 10;
    width: 155px;
    height: 190px;
    overflow: hidden;
    position: relative;
    animation: upDownCat 1s infinite alternate;
  }
  
  div.side-banner .btn_close {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 900;
    width: 26px;
    height: 26px;
    cursor: pointer;
    background: url('https://web-files-cdn.masangsoft.com/_Asda/images/steam/btn_close2.png') no-repeat;
  }

  div.quick_box .main_quick .cat {
    position: absolute;
    left: 0;
    z-index: 5;
  }

  div.quick_box .main_quick .tail {
    position: absolute;
    right: 5px;
    top: 98px;
    z-index: 4;
    animation: shakeTail .5s ease-in-out infinite alternate;
  }
  
  @keyframes shakeTail  {
    0% {
      transform: translate(0, 0) rotate(0deg);
    }
   100% {
    transform: translate(0, 6%) rotate(10deg);
    }
  }

  @keyframes upDownCat  {
    0% {
      top: 0px;
  	  animation-timing-function: ease-in;
  	}
    5% {
      top: 0px;
  	  animation-timing-function: ease-in;
  	}
  	50% {
      top: 30px;
      animation-timing-function: ease-out;
  	}
  	55% {
      top: 30px;
  	  animation-timing-function: ease-in;
    }
  	65% {
      top: 20px;
  	  animation-timing-function: ease-out;
    }
  	95% {
  	  top: 0px;
  	  animation-timing-function: ease-in;
  	}
  	100% {
      top: 0px;
  	  animation-timing-function: ease-in;
  	}
  }
  
  /* VISUAL */
  .visual {
    margin-top: 0px;
    background: url(https://web-files-cdn.masangsoft.com/_Asda/images/steam/main_bg.webp) no-repeat top/cover;
    position: relative;
  }
  .visual .inner {
    height: 100dvh;
    /* min-height: 720px; */
  }
  .visual .inner .mailbox-warp {
    position: absolute;
    width: 276px;
    height: 524px;
    bottom: 5%;
    left: 50%;
    margin-left: 25% ;
    transition: bottom 0.8s ease;

  }
  .visual .mailbox {
    width: 276px;
    height: 524px;
    background: url(https://web-files-cdn.masangsoft.com/_Asda/images/steam/img_board.png) no-repeat ;
    position: absolute;
    top: 0;
    right: 0;
  }
  
  .visual .mailImg-btn{
    display: block;
    width: 134px;
    height: 110px;
    background: url(https://web-files-cdn.masangsoft.com/_Asda/images/steam/img_newsletterMemo.png) no-repeat;
    position: absolute;
    top: 93px;
    right: 67px;
    transform-origin: top center;
    cursor: pointer;
    animation: shake .7s ease-in-out infinite alternate;
  }
  
  @keyframes shake  {
    0% {
      transform: rotate(0deg);
    }
   100% {
      transform: rotate(10deg);
    }
  }
  .visual .mailText-btn {
    display: block;
    width: 152px;
    height: 56px;
    position: absolute;
    top: 237px;
    right: 47px;
    z-index: 50;
    margin: auto ;
    text-indent: -9999px;
    cursor: pointer;
  }
  
  .visual .text-wrap {
    width: auto;
    position: absolute;
    bottom: 100px;
    text-align: center;
    color: #fffef1;
    font-size: 30px;
    font-family: 'KCC-eunyoung';
    line-height: 1.25;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
    white-space: pre-line;
    justify-self: center;
    /*overflow: hidden;  타이핑 중일 때 텍스트를 숨김 */
  }
  
  .text-wrap span {
    opacity: 0;
    transform: translateY(10px); /* 처음에는 아래쪽으로 이동 */
    transition: opacity 1s ease, transform 1s ease;
  }
  
  .text-wrap span.show {
    opacity: 1;
    transform: translateY(0); /* 원래 위치로 슬라이드 */
  }
  
  @keyframes fadeIn {
    to {
      opacity: 1;
    }
  }



  /* 스크롤 팝업 */
  .scroll-popup {
    position: fixed;
    bottom: 20px;
    display: flex;
    left: 50%;
    margin-left:-559px;
    background: url(https://web-files-cdn.masangsoft.com/_Asda/images/steam/banner_bg.png) no-repeat;
    width: 1118px;
    height: 177px;
    opacity: 0; 
    transition: all 0.2s ease-in-out;
    z-index: 50;
    display: none;
  }
  .scroll-popup.show {
    display: block; 
    opacity: 1;
  }
  .scroll-popup .inner {
    width: 1118px;
    padding: 0;
    margin: 0;
  }
  .scroll-popup .newsletter-banner-tit {
    position: absolute;
    color: #321402;
    font-size: 27px;
    font-weight: 700;
    top: 56px;
    left: 240px;
  }
  .scroll-popup .newsletter-banner-text {
    position: absolute;
    color: #5e2808;
    font-size: 17px;
    font-weight: 700;
    top: 91px;
    left: 240px;
    width: 560px;
  }
  .scroll-popup .newsletter-banner-btn {
    position: absolute;
    display: block;
    width: 189px;
    height: 50px;
    padding: 0 5px;
    border: 2px solid #562c12;
    background: rgba(0, 0, 0, 0);
    color: #321402;
    font-size: 22px;
    font-weight: 700;
    line-height: 50px;
    text-align: center;
    box-sizing: border-box;
    top: 63px;
    right: 123px;
    cursor: pointer;
  }
  .scroll-popup .newsletter-banner-btn:hover {
    background-color: rgba(50, 20, 2, 1);
    color: #fff;
  }
  .scroll-popup .newsletter-banner-close {
    position: absolute;
    top: 36px;
    right: 66px;
    width: 22px;
    height: 22px;
    background: url(https://web-files-cdn.masangsoft.com/_Asda/images/steam/icon_bannerClose.png) no-repeat center;
    text-indent: -9999px;
    cursor: pointer;
    padding: 5px;
  }
  
  /* MODAL-newsletter */
  .modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height:100%;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.6);
    z-index: 100;
  }
  .modal.on {
    display: block;
  }
  .modal .newsletter-popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding:20px;
    background: url(https://web-files-cdn.masangsoft.com/_Asda/images/steam/popup_newsLetter_bg.webp) no-repeat center;
    width: 831px;
    height: 756px;
    display: flex;
    justify-content: center;
    animation: fade-in-out .3s ease-in-out;
  }
  .modal .inner {
  }
  .modal .newsletter-text {
    position: absolute;
    width: 508px; /*530px*/
    text-align: center;
    color: #321402;
    font-size: 31px;
    font-weight: 700;
    font-family: 'KCC-eunyoung';
    line-height: 1.1;
    top: 287px;
    margin-left: -7px;
  }
  .modal .close-btn {
    position: absolute;
    top: 27px;
    right: 17px;
    background: url(https://web-files-cdn.masangsoft.com/_Asda/images/steam/btn_close.png) no-repeat center;
    width: 47px;
    height: 47px;
    text-indent: -9999px;
    cursor: pointer;
  }

  #emailAddress {
    position: absolute;
    width: 530px;
    height: 70px;
    padding: 30px;
    font-size: 20px;
    border: 1px solid #2c1d2a;
    background: rgba(0, 0, 0, 0);
    border-radius: 10px;
    box-sizing: border-box;
    top: 456px;
    left: 165px;
    outline: none;
  }

  input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px rgba(0,0,0,0) inset ; -webkit-text-fill-color: #000;
  }
  input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, input:-webkit-autofill:active {
    transition: background-color 5000s ease-in-out 0s;
  }

  .modal .inner .agreement {
    position: absolute;
    top: 536px;
    width: 510px;
    letter-spacing: -0.3px;
    display: inline-block;
    font-size: 15px;
    left: 178px;
  }

  .modal .agreement input[id="chkbox"]{
    display:none;
  }
  .modal .agreement input[id="chkbox"] + label em {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 8px;
    background: url(https://web-files-cdn.masangsoft.com/_Asda/images/steam/btn_checkBox.png) 0 0 no-repeat;
    vertical-align: middle;
    z-index: 2;
  }
  .modal .agreement input[id="chkbox"]:checked + label em {
    background-position: -20px 0 ;;
  }
  .modal #btnSubmit {
    width: 204px;
    height: 64px;
    text-indent: -9999px;
    background-color: rgba(0, 0, 0, 0);
    position: absolute;
    top: 594px;
    left: 327px;
    border: none;
    cursor: pointer;
  }
  .modal .agreement span.text {
    padding-top: 2px;
  }

  /* AlerPopup */
  #successModal {
    z-index: 1100;
  }

  .modal .popup .inner {
    display: flex; 
    flex-direction: column;
    justify-content: center; 
    align-items: center; 
    width: 100%;
    height: 100%;
  }
  .modal .popup {
    display: none;
    position: fixed;
    background-color: #fffcf2;
    width: 538px;
    height: 255px;
    padding: 20px;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
  }

  .modal .popup #popupMessage, #alertPopupSuccess  {
    padding: 20px;
    font-size: 21px;
    color: #2b1001;
    letter-spacing: -0.5px;
   
  }
  .modal .popup #popupCloseBtn, #popupCloseBtn1 {
    min-width: 176px;
    height: 54px;
    background-color: #301502;
    color: #fffcf2;
    border: none;
    font-size: 21px;
    cursor: pointer;
    padding: 10px;
  }

  #alertPopup, #alertPopupSuccess {
    display: none;
  }

  #alertPopup.show, #alertPopupSuccess.show {
    display: block;
  }

  /* FOOTER */
  footer {
  }
  footer .fnb {
    /* max-width: 1920px; */
    width: 100%;
    height: 350px;
    margin: 0 auto;
    background-color: rgb(0, 0, 0);
    position: relative;
  }
  footer .fnb ul.sns {
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    margin: auto;
    width: 120px;
    height: 52px;
    display: flex;
    justify-content: space-between;
  }
  footer ul.sns li {
  
  }
  footer ul.sns li a {
    display: block;
    background: url(https://web-files-cdn.masangsoft.com/_Asda/images/steam/icon_link.png) no-repeat;
    text-indent: -9999px;
  }
  footer ul.sns li.steamGo a {
    width: 52px;
    height: 52px;
  }
  footer ul.sns li.steamGo a:hover {
    background-position-y:-52px;
  }
  footer ul.sns li.discodeGo a {
    width: 52px;
    height: 52px;
    background-position-x: -52px;
  }
  footer ul.sns li.discodeGo a:hover {
    background-position-y:-52px;
  }
  footer .fnb ul.menu {
   position: absolute;
   top: 115px;
   width: 100%;
   display: flex;
   align-items: center;
   justify-content: center;
  }
  footer ul.menu li {
    position: relative;
    font-size: 14px;
  }
  footer ul.menu li::before {
    content: "";
    width: 1px;
    height: 12px;
    background-color: #4d4d4d;
    position: absolute;
    top:0;
    bottom: 0;
    margin: auto;
  }
  footer ul.menu li:first-child::before {
    display: none;
  }
  footer ul.menu li a {
    padding: 10px 26px;
    display: block;
    color: #666666;
  }
  footer ul.menu li a:hover {
    color:#bfbfbf
  }
  footer .familySite {
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    top: 170px;
    position: relative;
    min-width: 212px;
    font-size: 14px;
    color: #666666;
  }
  
  footer .familySite .dropdown-btn {
    display: block;
    width: 212px;
    height: 40px;
    line-height: 40px;;
    padding: 0 20px;
    text-align: left;
    border: none;
    border-bottom : 1px solid #666666;
    background-color: rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    box-sizing: border-box;
  }
  footer .familySite .dropdown-btn .arrowDown{
    width: 17px;
    height: 16px;
    display: inline-block;
  }

  footer .familySite .dropdown-btn .arrowDown img {
    width: 100%; 
    height: auto;
    /* transition: transform 0.3s ease; */
}

  footer .familySite .dropdown-btn .arrowDown .rotate {
    transform: rotate(180deg);
  }

  footer .familySite .dropdown-menu {
    position: absolute;
    width: 212px;
    top: 39px;
    padding: 5px 0;
    background-color: rgb(0, 0, 0);
    opacity: 0.2;
    transform: scale(0);
    border: 1px solid #333;
    z-index: 5;
    box-sizing: border-box;
  }

  footer .familySite .dropdown-menu.open{
    opacity: 1;
    transform: scale(1);
  }
  footer .familySite .dropdown-menu .item {
    padding: 5px 16px;
    cursor: pointer;
  }
  
  footer .familySite .dropdown-menu .item a {
    width: 100%;
    height: 100%;
    display: block;
    color: #666666;
  }
  footer .familySite .dropdown-menu .item a:hover {
    color: #ffffff;
  }
  footer ul.copy-area {
    position: absolute;
    top: 252px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 33px;
  }
  
  footer ul.copy-area .logo {
    display: block;
    width: 100px;
    height: 33px;
    background: url(https://web-files-cdn.masangsoft.com/_Asda/images/steam/logo_masang.webp) no-repeat;
    background-size: contain;
    text-indent: -9999px;
    opacity: 0.5;
    padding-left: 40px;
  }
  footer ul.copy-area .copyright {
    color: #666666;
    font-size: 14px;
  }



