/* style_js.css */

/* General Styles */
body {
  background: #444a6a;
  font-family: 'Noto Sans KR', sans-serif;
}

a {
  color: #303030;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}


#hackerc {
    flex-grow: 1;
    position: relative;
    z-index: 333;
    width: 522px;
    max-width: 522px;
    min-width: 320px;
    padding: 20px 20px 0;
    margin: 0 auto;
    background: rgb(35, 35, 35);
    background: transparent\9;
    background: rgba(255, 255, 255, 0.07);
    border: 1px #333 solid;
    border: 1px rgba(85, 85, 85, 0.3) solid;
    border-bottom: none;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#11FFFFFF, endColorstr=#11FFFFFF);
    zoom: 1;
    -moz-border-radius: 7px 7px 0 0;
    -webkit-border-radius: 7px 7px 0 0;
    border-radius: 7px 7px 0 0;
    -ms-user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}

#main {
    background: #FFF;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 20px);
}


.bs-canvas-overlay {
    opacity: 0;
    z-index: -1;
}

.bs-canvas-overlay.show {
    opacity: 0.85;
    z-index: 1100;
}

@media(max-width:582px) {
    body {
        padding: 0;
    }

    #hackerc {
        overflow: hidden;
        width: 100%;
        padding: 0;
        border: none;
    }
}

@media(max-width:542px) {

    #hackerc,
    #header_bg {
        -moz-border-radius: 0;
        -webkit-border-radius: 0;
        border-radius: 0;
    }
}

        #splash-screen {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: #fff;
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            transition: opacity 0.5s;
        }

        #logo-2 {
            max-width: 10%;
            max-height: 10%;
            width: auto;
            height: auto;
            opacity: 0;
            animation: fadeInAndSpin 0.5s ease-in-out forwards;
        }

        @keyframes fadeInAndSpin {
            0% {
                opacity: 0;
                transform: rotate(0deg);
            }

            100% {
                opacity: 1;
                transform: rotate(360deg);
            }
        }


/* Navigation and Offcanvas Styles */
.offcanvas-end {
  width: 250px;
}

.custom-offcanvas, .offcanvas-end {
  width: 96vw !important;
}

.offcanvas-backdrop, .offcanvas-backdrop.show {
  background-color: rgba(0, 0, 0, 0.8);
}

.custom-bottom-offcanvas {
  height: 50vh;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* Button Styles */
.btn-close {
  filter: invert(1);
}

/* Footer Styles */
.footer-js {
  position: fixed;
  bottom: 0;
  z-index: 100;
  width: 100%;
  max-width: 480px;
  background: #444a6a;
  text-align: center;
  line-height: 200%;
  display: flex;
  justify-content: center;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 0 8px 0;
}

/* Footer Text Styles */
.ft1, .ft2 {
  width: 20%;
  float: left;
  font-size: 0.933em;
  padding: 0;
}

.ft2 {
  color: #ccc;
}

/* Motion Effects */
.motion {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: left;
  padding: 0.5rem;
}

.motion.active, .motion:first-child {
  opacity: 1;
  transform: none;
}

.motion img, .motion h4, .motion p {
  opacity: 0;
  transform: scale(0);
  transition: all 0.5s;
}

.motion.active img, .motion.active h4, .motion.active p {
  opacity: 1;
  transform: scale(1);
}

/* Typewriter and Parallax Effects */
.motion.typewriter h4, .motion.typewriter p {
  animation: typing 2s steps(40, end) forwards;
  overflow: hidden;
  white-space: wrap;
  color: #171717;
  width: 100%;
  padding: 0;
}

.motion.parallax.active h4 {
  color: #fff;
  text-align: left;
}

.motion.parallax.active p, .motion.parallax {
  background-size: 100vw 200vh;
  color: #fff;
  text-align: left;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Custom Styles */
.hit1 {
  float: left;
  width: 50%;
  padding: 8px 4px 6px 2px;
  text-align: left;
}

.hit2 {
  float: left;
  width: 50%;
  padding: 8px 4px 6px 2px;
  text-align: right;
}

.mleft {
  float: left;
  width: 20%;
  text-align: center;
  padding: 8px;
}

.mright {
  float: left;
  width: 80%;
  text-align: left;
  padding: 8px 0 0 0;
  font-size: 1.000em;
  color: #252525;
}

.sticky {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #fff;
  z-index: 1000;
}

.menu-item.active {
  font-weight: bold;
  color: #ff0000;
  text-align: center;
  background-color: #cde6fe;
  border-top: 2px solid gray;
  border-bottom: 2px solid gray;
  margin: 4px;
  padding: 0 6px 0 6px;
}

.timer {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  color: #d88005;
}

/* Slider Styles */
.slider {
  position: relative;
  max-width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
}

.slide {
  min-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 220px;
}

.slide img {
  width: 94%;
  height: 100%;
  border-radius: 15px;
  object-fit: cover;
}

.thumbnails {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.thumbnail {
  width: 56px;
  height: 56px;
  margin: 0 5px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.thumbnail:hover {
  opacity: 1;
}

.thumbnail img {
  width: 90%;
  height: 60%;
  object-fit: cover;
  border-radius: 5px;
}

/* Animation Styles */
@keyframes marquee {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

.notice {
  width: 94%;
  height: 32px;
  overflow: hidden;
  margin-top: 5px;
  background: #f1f1f1;
  border-radius: 12px;
}

.rolling {
  position: relative;
  width: 94%;
  height: auto;
  text-align: left;
  color: black;
  font-size: 0.933em;
}

.rolling li {
  width: 100%;
  height: 32px;
  line-height: 32px;
}

/* Button Styles */
.modern-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #444a6a;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.modern-button:hover {
  background-color: #363d57;
}

.button-text {
  margin-right: 8px;
}

.button-icon svg {
  width: 18px;
  height: 18px;
}

/* Overlay Styles */
.bs-canvas-overlay {
  opacity: 0;
  z-index: -1;
}

.bs-canvas-overlay.show {
  opacity: 0.85;
  z-index: 1100;
}

.bs-canvas-anim {
  transition: all .4s ease-out;
  -webkit-transition: all .4s ease-out;
  -moz-transition: all .4s ease-out;
  -ms-transition: all .4s ease-out;
}

/* Custom Styles for Specific Elements */
#hackerc {
  background: #26303a;
}

.main {
  background: #16202b;
  height: 100%;
  max-width: 480px;
  margin: 0 auto;
}

@media (min-width: 481px) {
  .main {
    width: 480px;
    height: calc(100vh * 480 / 480px);
    max-width: 100%;
    margin: 0 auto;
    padding-left: 7px solid #263549;
    padding-right: 7px solid #263549;
  }
}

/* Modal Styles */
.modal-fullscreen {
  width: 100%;
  height: 100%;
  margin: 0;
}

.modal-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.modal-header {
  flex-shrink: 0;
}

.modal-body {
  flex-grow: 1;
  overflow-y: auto;
}

.embed-responsive {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
}

.embed-responsive::before {
  display: block;
  content: "";
}

.embed-responsive .embed-responsive-item,
.embed-responsive iframe,
.embed-responsive embed,
.embed-responsive object {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  height: 100%;
  width: 100%;
  border: 0;
}

/* Scroll Top Button Styles */
#scrollTopBtn {
  display: none;
  position: fixed;
  bottom: 100px;
  right: 20px;
  background-color: rgba(68, 74, 106, 0.8);