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/_Fishinghero/images/main_bg.webp)
    url(https://web-files-cdn.masangsoft.com/_Fishinghero/images/subscribe_bg.webp)
    url(https://web-files-cdn.masangsoft.com/_Fishinghero/images/logo_masang.webp); 
}

body.on {
  overflow: hidden;
}


img {
  display: block;
}
a {
  text-decoration: none;
}

.inner {
  width: 100%;
  /* max-width: 1920px; */
  /* min-width: 1140px; */
  margin: 0 auto;
  position: relative;
}

@font-face {
  font-family: 'KartriderBold';
  src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2312-1@1.1/KartriderBold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'KartriderMedium';
  src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2312-1@1.1/KartriderMedium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
}


/* HEADER */
header {
  /* background-color: blueviolet; */
  position: fixed;
  z-index: 50;
  top: 0;
  width: 100%;
}
header .inner {
  height: 110px;
}

header .logo img {
  width: 153px;
  height: 70px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 32px;
  margin: auto;
}

header .logoEtc{
  width: 235px;
  height: 48px;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 32px;
  margin: auto;
  display: flex;
  justify-content: space-between;
}

header ul.logoEtc li a {
  display: block;
  background: url('https://web-files-cdn.masangsoft.com/_Fishinghero/images/logo_etc.png') no-repeat;
  text-indent: -9999px;
}
header ul.logoEtc li.steamGo a {
  width: 170px;
  height: 48px;
}
header ul.logoEtc li.steamGo a:hover {
  background-position-y:-52px;
}
header ul.logoEtc li.youtubeGo a {
  width: 54px;
  height: 48px;
  background-position-x: -181px;
}
header ul.logoEtc li.youtubeGo a:hover {
  background-position-y:-52px;
}


/* VISUAL */
.visual {
  margin-top: 0px;
  background: url('https://web-files-cdn.masangsoft.com/_Fishinghero/images/main_bg.webp') no-repeat top/cover;
  position: relative;
}
.visual .inner {
  height: 100dvh;
  /* min-height: 720px; */
  /* background-color: red; */
}


.visual .mainText-warp {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  width: 720px;
  height: 463px;
  background: url('https://web-files-cdn.masangsoft.com/_Fishinghero/images/img_mainlogo.webp') no-repeat center;
}

.visual .mainText-warp .light1 {
  position: absolute;
  width: 263px;
  height: 259px;
  top: -117px;
  left: 182px;
  background: url('https://web-files-cdn.masangsoft.com/_Fishinghero/images/img_light1.png') no-repeat;
  animation: light1 .7s ease-in-out 0s infinite alternate;
}

.visual .mainText-warp .light2 {
  position: absolute;
  width: 126px;
  height: 125px;
  top: -72px;
  right: 106px;
  background: url('https://web-files-cdn.masangsoft.com/_Fishinghero/images/img_light2.png') no-repeat;
  animation: light1 .9s ease-in-out .5s infinite alternate;
}

.visual .mainText-warp .light3 {
  position: absolute;
  width: 172px;
  height: 131px;
  bottom: 42px;
  left: 157px;
  background: url('https://web-files-cdn.masangsoft.com/_Fishinghero/images/img_light3.png') no-repeat;
  animation: light2 2s ease-in-out 0s infinite alternate;
}
.visual .mainText-warp .light4 {
  position: absolute;
  width: 226px;
  height: 173px;
  bottom: 12px;
  left: 322px;
  background: url('https://web-files-cdn.masangsoft.com/_Fishinghero/images/img_light3.png') no-repeat;
  animation: light2 3s ease-in-out 1.5s infinite alternate;
}

@keyframes light1  {
  from, 15% {transform: scale(0.8);}
  40% { transform: scale(0.95);}
  70% {animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1);
  transform: scale(0.75);}
  to {transform: scale(0.85);}
  }
@keyframes light2  {
  0%, 100% {opacity: 1;}
  50% {opacity: 0.2;}
  }


/* Subscribe */
.visual .subscribe-warp {
  position: fixed;
  width: 257px;
  height: 214px;
  bottom: 120px;
  right: 40px;
  margin: auto;
  cursor: pointer;
  z-index: 50;
}


/* 풋터 위에서 고정될 때 */
#wingBanner.fixed-banner {
  position: absolute; /* 풋터 위에서 고정될 때 absolute로 변경 */
}

/* 풋터 위에서 멈출 때 추가할 CSS */
#wingBanner.footer-top {
  bottom: -45px; /* 풋터 위로 위치 조정 */
}



.visual .subscribe-btn {
  width: 257px;
  height: 214px;
  background: url('https://web-files-cdn.masangsoft.com/_Fishinghero/images/img_subscribe.png') no-repeat ;
  position: absolute;
  bottom: 0;
  right: 0;
}

.visual .subscribe-tag {
  display: block;
  width: 151px;
  height: 86px;
  background: url('https://web-files-cdn.masangsoft.com/_Fishinghero/images/img_subscribe_tag.png') no-repeat;
  position: absolute;
  top: -55px;
  right: 47px;
  transform-origin: top center;
  animation: motion .7s ease-in-out 0s infinite alternate;
}

@keyframes motion  {
  0% {
  margin-top: 0px;
  }
 100% {
  margin-top: 13px;
  }
}



/* 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/_Fishinghero/images/subscribe_bg.webp') no-repeat center;
  width: 1018px;
  height: 716px;
  display: flex;
  justify-content: center;
}

@keyframes fade-in-out {
  from {
    opacity: 0;
    transform: scale(0.5);
  } to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal .inner {
}
.modal .newsletter-popup .inner2 {
  position: absolute;
  width: 713px;
  height: 437px;
  top: 219px;
  right: 20px;
}
.modal h3 {
  position: absolute;
  width: 100%; 
  text-align: center;
  color: #002b5c;
  font-size: 60px;
  /* font-weight: 400; */
  font-family: 'KartriderBold';
  line-height: 0.7;
  top: 70px;
  text-shadow: -2px 0 rgb(255, 255, 255), 0 2px rgb(255, 255, 255), 2px 0 rgb(255, 255, 255), 0 -2px rgb(255, 255, 255), 2px 2px 5px rgba(0, 0, 0, .3);
}
.modal h3 span {
  font-size: 28px;
  color: #ff9c00;
  text-align: center;
  font-family: 'KartriderMedium';
  text-shadow: 0px 0px rgba(0, 0, 0, 0)
}

.modal .newsletter-text {
  position: absolute;
  width: 560px;
  text-align: center;
  color: #626262;
  font-size: 20px;
  line-height: 1.1;
  top: 195px;
  left: 0;
  right: 0;
  margin: auto;
}
.modal .close-btn {
  position: absolute;
  top: -70px;
  right: 107px;
  background: url('https://web-files-cdn.masangsoft.com/_Fishinghero/images/btn_close.png') no-repeat center;
  width: 45px;
  height: 45px;
  text-indent: -9999px;
  cursor: pointer;
}

#emailAddress {
  position: absolute;
  width: 414px;
  height: 57px;
  padding: 20px;
  font-size: 18px;
  border: 1px solid #002b5c;
  background: rgb(255, 255, 255);
  box-sizing: border-box;
  top: 280px;
  outline: none;
  left: 50%;
  margin-left: -281px;
}

.modal #btnSubmit {
  width: 146px;
  height: 57px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  background-color: #002b5c;
  position: absolute;
  top: 280px;
  left: 327px;
  border: none;
  cursor: pointer;
  left: 50%;
  margin-left: 132px;
}

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: 348px;
  width: 510px;
  display: inline-block;
  font-size: 15px;
  left: 50%;
  margin-left: -281px;
}

.modal .agreement input[id="chkbox"]{
  display:none;
}
.modal .agreement input[id="chkbox"] + label em {
  display: inline-block;
  width: 22px;
  height: 23px;
  margin-right: 8px;
  margin-bottom: 6px;
  background: url('https://web-files-cdn.masangsoft.com/_Fishinghero/images/btn_checkBox.png') 0 0 no-repeat;
  vertical-align: middle;
  z-index: 2;
}
.modal .agreement input[id="chkbox"]:checked + label em {
  background-position: -23px 0 ;;
}

.modal .agreement span.text {
  font-size: 14px;
  vertical-align: middle;
  color: #657083;
}

/* 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: #ffffff;
  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: #1f1f1f;
  letter-spacing: -0.5px;
}
.modal .popup #popupCloseBtn, #popupCloseBtn1 {
  min-width: 176px;
  height: 54px;
  background-color: #002b5c;
  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/_Fishinghero/images/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.youtubeGo a {
  width: 52px;
  height: 52px;
  background-position-x: -104px;
}
footer ul.sns li.youtubeGo 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/_Fishinghero/images/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;
}
/* 가로모드 스타일 */
.mainText-warp.landscape {
  scale: 0.6;
}

.subscribe-btn.landscape {
  bottom: 0px;
}

.visual.landscape {
  background-position-x: 0px;
}

.subscribe-warp.landscape {
  scale: 0.6;
  top: 400px;
}

.newsletterPopup.landscape {
  scale: 0.5;
  top: 10%;
  left: 25%;
}
