.tn-header {
  /* position: -webkit-sticky;
  position: sticky; */
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 9999;
}

.tn-header-main {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 64px;
  background-color: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.tn-header-sub {
  display: flex;
  align-items: center;
  width: 100%;
  height: 40px;
  background-color: #f4f4f4;
}

.tn-logo-box-img {
  position: relative;
  width: 100%;
  height: 3rem;
  /* padding-bottom: 35%; */
}

.tn-header-space {
  width: 3rem;
}

.tn-header-sub-box:hover a {
  color: #ec1c24;
}

.tn-search-button {
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: none;
  background: none;
  font-size: 1.25rem;
  color: #000000;
}
.tn-search-button:hover {
  color: #ec1c24;
}

@media (min-width: 1025px) {
  .tn-header {
    box-shadow: 0px 0px 8px 0px rgba(236, 28, 36, 0.08);
  }

  .tn-header-main-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
  }

  .tn-header-main-box {
    width: 200px;
    text-align: center;
    font-weight: 600;
  }
  html:lang("en") .tn-header-main-box {
    font-size: 0.875rem;
  }

  .tn-header-sub-box {
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.25rem;
  }

  .tn-logo-box {
    width: 290px;
  }
}

@media (max-width: 1024px) {
  .tn-logo-box {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 174px;
  }

  .tn-header-sub {
    height: 56px;
    background-color: #ffffff;
    box-shadow: 0px 0px 8px 0px rgba(236, 28, 36, 0.08);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }

  .tn-ham-box {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
  }

  .tn-ham {
    width: 1.25rem;
    height: 1.25rem;
    position: relative;
    cursor: pointer;
  }

  .tn-header-sub-search {
    position: absolute;
    left: 3.5rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
  }
  .tn-search-button {
    width: 1.25rem;
    height: 1.25rem;
  }

  .tn-menunav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    overflow: hidden;
    overflow-y: auto;
  }

  .tn-menunav.hide {
    visibility: hidden;
    opacity: 0;
    z-index: -1;
  }

  .tn-menunav.show {
    visibility: visible;
    opacity: 1;
    z-index: 9999;
  }

  .tn-menunav-box {
    width: 100%;
    height: 100%;
  }

  .tn-menu-mb-main {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99;
  }

  .tn-menu-mb {
    width: 100%;
    padding-top: 5rem;
    padding-bottom: 2rem;
  }

  .tn-menu-mb-list {
    width: 100%;
  }

  .tn-menu-mb-list-box {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0.5rem;
    border-bottom: 1px solid #e4e4e4;
    font-weight: 700;
  }
  .tn-menu-mb-list-box.sub {
    font-weight: 400;
    margin-left: 1rem;
    padding-left: 0;
    width: calc(100% - 1rem);
    font-size: 0.875rem;
    font-weight: 600;
  }

  .tn-menu-mb-list-icon {
    color: #ec1c24;
    transition: transform 0.2s ease-in-out;
  }

  .tn-menu-mb-list-icon.hide {
    transform: rotate(0deg);
  }

  .tn-menu-mb-list-icon.show {
    transform: rotate(180deg);
  }

  .tn-sub-menu-mb {
    width: 100%;
    overflow: hidden;
    transition: max-height 0.5s linear;
  }

  .tn-sub-menu-mb.hide {
    height: 0;
    max-height: 0;
  }

  .tn-sub-menu-mb.show {
    height: auto;
    max-height: 1000px;
  }

  .tn-sub-menu-mb-list {
    width: 100%;
    padding: 0 1.25rem;
    padding-right: 0;
  }

  .tn-sub-menu-mb-list-box {
    display: block;
    padding: 1rem 0;
    border-bottom: 1px solid #e4e4e4;
    font-size: 0.875rem;
    font-weight: 600;
  }
  .tn-sub-menu-mb-list-box.sub {
    cursor: pointer;
    margin-left: 1rem;
    width: calc(100% - 1rem);
  }
}

@media (max-width: 320px) {
  .tn-logo-box {
    width: 148px;
  }
}
