:root {
  --headerImageSize : 800px;
  --headerHeight : 100px;
  --headerTitleSize : 48px;
}

body {
  font-family: "Noto Sans KR";
}

.header {
  font-family: "S-CoreDream-3Light";
}

.headder_shadow { /* 헤더 메뉴가 내려올때 어둡게 해주는 영역 */
  z-index: 50;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  opacity: 0;
  background: rgba(0,0,0,0.5);
  transition: opacity 0.5s ease;
}
.headder_background { /* 헤더에 속하는 이미지가 위치하는 곳입니다. */
  position: relative;
  top: 0;
  left: 0;
  width: 100vw;
  height: var(--headerImageSize);
  overflow: hidden;
}
.headder_image {  /*  헤더의 이미지를 담는 클래스입니다. */
  width: 100vw;
  height: var(--headerImageSize);
  background-size: cover;  /*화면을 여뱍없이 꽉 채움*/
  background-position: center;  /*백그라운드 기준점을 가운데로*/
  transition: transform 2s ease;
  transform: scale(1.3);
}
.headder_image.zoom-out { /* 사진의 줌 아웃을 위한 css입니다. */
  transform: scale(1);
}

.tg-logo-1-removebg-11 {
  background: url('../img/header-footer/header-TGlogo-white.png') 50% / cover no-repeat;
  width: 180px;
  height: 84px;
  margin: 8px 0;
  cursor: pointer;
}
.headderMenu_text {
  position: relative;
  padding-top: 35px;
  overflow-wrap: break-word;
  font-weight: 600;
  font-size: 18px;
  color: #FFFFFF;
  width: 90px;
  cursor: pointer;
  text-align: center;
}
.headder_title {
  margin : calc(calc(var(--headerImageSize) / 2) - calc(var(--headerTitleSize) / 2)) 0 calc(calc(var(--headerImageSize) / 2) - calc(var(--headerTitleSize) / 2)) 0;
  height: var(--headerTitleSize);
}
.headder-menu {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 820px;
  height: 100%;
  padding: 0 35px 0 35px;
  box-sizing: border-box;
}
.headder_menu_lines {
  position: absolute;
  top: 100px;
  left: 45px;
  width: 0;
  height: 2.5px;
  background: green;
  transition: width 0.3s ease, left 0.3s ease;
}
.headderMenu_text:hover .headder_menu_lines {
  left: 0;
  width: 90px;
}
.vector-1 {
  width: 30px;
  height: 30px;
}
.menu-fill-1 {
  display: flex;
  width: 30px;
  height: 30px;
  box-sizing: border-box;
  cursor: pointer;
  margin: 35px 22px 35px 53px;
}
.menu-fill-1 img:hover{
  width: 35px;
  height: 35px;
}

.headderMenu_container {
  width: auto;
  height: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  box-sizing: border-box;
}
.headder_container {
  margin: 0 calc(50% - 580px);
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 1160px;
  height: var(--headerHeight);
  box-sizing: border-box;
}
.headder-line {
  position: absolute;
  top: 100px;
  background: rgba(217, 217, 217, 0.5);
  width: 100vw;
  height: 2.5px;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.headderMenu_Line {
  position: absolute;
  top: 100px;
  width: 90px;
  height: 2.5px;
  background: green;
}
.headder {
  z-index: 100; /*헤더 외에 속성으로 z-index값이 없으면 제일 앞으로 올라옴*/
  box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.25);
  flex-direction: column;
  align-items: center;
  width: 100vw;
  box-sizing: border-box;
  position: fixed;
  top: 0px;
}
.menu-bar-background {
  position: absolute;
  top:0;
  left: 0;
  width: 100vw;
  height: var(--headerHeight);
  background: rgba(0, 0, 0, 0.1);
  transition: background 0.5s ease;
}
.headder:hover .menu-bar-background {
  background: #FFFFFF;
}
.headder:hover .tg-logo-1-removebg-11 {
  background: url('../img/header-footer/header-TGlogo-black.png') 50% / cover
}
.headder:hover .headderMenu_text{
  color: black;
}

.images_menuText {
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  display: inline-block;
  overflow-wrap: break-word;
  font-family: 'Noto Sans KR';
  font-weight: 700;
  font-size: var(--headerTitleSize);
  line-height: var(--headerTitleSize);
  height: calc(100% - 90px);
  color: #FFFFFF;
}
.menu_blocks {
  display: flex;
  width: fit-content;
}
.menu_blocks a{
  text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
  overflow-wrap: break-word;
  font-family: 'Noto Sans KR';
  font-weight: 500;
  font-size: 24px;
  color: #FFFFFF;
  padding: 10px 25px 0 25px;
  text-align: center;
  min-width: 150px;
  max-width: fit-content;
  height: 90px;
  white-space: nowrap;
  box-sizing: border-box;
  transition: margin 0.3s, border-radius 0.3s, background 0.3s,
  height 0.3s;
  text-decoration: none;
}
.menu-block-1 {
  border-radius: 5px 5px 0 0;
  background: rgba(255, 255, 255, 0.5);
}
.menu-block-2 {
  margin-top: 30px;
  background: rgba(255, 255, 255, 0.3);
}

.voidLine {
  margin-top: 30px;
  width: 100%;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.3);
}

.menubarLine {
  background: rgba(255, 255, 255, 0.3);
  margin-top: 30px;
  width: calc(50% - 580px);
  height: 60px;
  overflow: hidden;
}

.menubar {
  display: flex;
  flex-direction: row;
  width: 100vw;
  height: 90px;
  box-sizing: border-box;
}
.menubar-out {
  width: 1160px;
  display: flex;
  margin: auto;
}
.images-banner {
  background: 50% / cover no-repeat;
  position: absolute;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  top: 0;
  left: 0;
  width: 100vw;
  height: var(--headerImageSize);
  box-sizing: border-box;
  object-fit: cover; /* 비율을 유지하면서 잘림 */
}

.headder-menu-bar {
  width: 100vw;
  background: #FFFFFF;
  position: relative;
  top: 100px; /* headder 높이 */
  flex-direction: row;
  justify-content: space-between;
  box-sizing: border-box;
  transition: height 0.5s ease, opacity 0.5s ease;
  opacity: 0;
  height: 0;
  overflow: hidden;
}
.headder-menu-bar.open_menu_bar {
  opacity: 1;
  height: 200px;
}
.hover_headder {
  display: flex;
  flex-direction: row;
  box-sizing: border-box;
  padding: 20px 35px 0 35px;
  font-family: "SpoqaHanSansNeo-Regular";
  font-size: 14px;
  justify-content: space-between;
  width: 820px;
}
.menu_text_block {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: 90px;
}
.menu_text {
  margin: 0 auto;
  margin-bottom: 24px;
  display: inline-block;
  text-align: center;
  align-self: flex-start;
  overflow-wrap: break-word;
  font-weight: 400;
  color: #000000;
  white-space : nowrap; /*줄바꿈 안되게*/
  width: 90px;
  height: 21px;
  cursor: pointer;
  transition: color 0.2s ease;
}
.hover_headder_back {
  margin: 0 calc(50% - 580px);
  width: 1160px;
  /* height: 0px; */
}
.hover_headder_menus {
  display: flex;
  width: fit-content;
  margin-left: 235px;
}

.menu-block-1:hover{
  margin: 0;
  height: 90px;
  border-radius: 5px 5px 0 0;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}
.menu-block-2:hover{
  margin: 0;
  height: 90px;
  border-radius: 5px 5px 0 0;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

body {
  /*둘다 스크롤바를 지우는 기능*/
  -ms-overflow-style: none; /*인터넷 익스플로어*/
  scrollbar-width: none;  /*파이어폭스*/
}

/* 크롬, 사파리, 오페라, 엣지에서 스크롤바 설정 */
::-webkit-scrollbar {
  display: none;
}

.menu-bar-1 {
  width: 100vw;
  height: 0;
  overflow: hidden;
  position: absolute;
  background-color: white;
  z-index: 999;
}

.menu-container {
  display: flex;
  margin-top: 3%;
  justify-content: center;
}

.menu-bar-1 .header-big-logo {
  width: 20vw;
  height: 18vh;
  cursor: pointer;
  margin-left: 10%;
  margin-top: 3%;
}
.header-big-logo img {
  width: 100%;
  height: 100%
}

.vertical-line {
  background-color: rgb(209, 209, 209);
  width: 1px; height: 40vh;
  margin-top: 3%;
}

.menu-bar-1 .item {
  text-align: center;
  width: 18%;
  height: 46vh;
  display: block;
}
.menu-bar-1 .item .title {
  cursor: pointer;
  display: block;
  font-size: 55px;
  font-weight: bold;
  margin-bottom: 35%;
}
.menu-bar-1 .item .sub {
  cursor: pointer;
  color: grey;
  font-size: 20px;
  display: block;
  margin-bottom: 15%;
}

.menu-bar-1 .item .title:hover {
  font-size: 58px; /*55px*/
  color: green;
}
.menu-bar-1 .item .sub:hover {
  font-size: 25px; /*25px*/
  color: green;
}

.menu_text:hover {
  color: green;
}

.fullImage {
  transform: scale(1.3);
  transition: transform 2s ease;
}
.fullImage.zoom-out {
  transform: scale(1);
}

.closeButton {
  display: flex;
  background-color: #2D7700;
  width: 60px;
  height: 60px;
  border-radius: 10%;
  margin: 4% auto;
  cursor: pointer;
}
.closeImg {
  width: 60px;
  filter: invert(100%) sepia(6%) saturate(26%) hue-rotate(201deg) brightness(105%) contrast(106%);
}

@media screen and (max-width: 1440px) {
  .menu-bar-1 .item .title {
    font-size: 40px;
  }
  .menu-bar-1 .item .sub {
    font-size: 18px;
  }
  .closeButton {
    width: 40px;
    height: 40px;
  }
  .closeImg {
    width: 40px;
  }
  .menu-bar-1 .item .title:hover {
    font-size: 45px;
  }
}

@media screen and (max-width: 1024px) {
  .menu-bar-1 .header-big-logo {
    width: 40vw;
    height: 20vw;
  }
  .vertical-line:first-child, .vertical-line:last-child {
    display: none;
  }
  .menu-bar-1 .item {
    width: 19%;
  }
  .closeButton {
    width: 50px;
    height: 50px;
  }
  .closeImg {
    width: 50px;
  }
}
.menu-bar-1 {
  transition: transform 1s ease;
}
/* 가로가 세로보다 길때 */
@media screen and (max-width: 780px) and (orientation: landscape) {
  .menu-bar-1 .header-big-logo {
    width: 15vw;
    height: 7vw;
  }
  .menu-bar-1 .item .title {
    font-size: 20px;
  }
  .menu-bar-1 .item .title:hover {
    font-size: 25px;
  }
  .menu-bar-1 .item .sub {
    font-size: 16px;
  }
}
/* 세로가 가로보다 길때 */
@media screen and (max-width: 780px) and (orientation: portrait) {
  .menu-container {
    display: block;
    margin: 0;
  }
  .vertical-line {
    width: 100vw;
    height: 1px;
  }
  .menu-bar-1 {
    width: 100vw;
    height: 100vh;
    transform: translateX(100%);
    background-color: white;
  }
  .menu-bar-1 .item {
    width: 100%;
    height: auto;
    margin: auto;
  }
  .menu-bar-1 .item .title {
    margin: 0;
    font-size: 35px;
  }
  .menu-bar-1 .item .sub {
    margin: auto;
    font-size: 20px;
  }
  .menu-bar-1 .header-big-logo {
    width: 25vw;
    height: 12vh;
  }
  .sub-container {
    display: flex;
    justify-content: center;
  }
  .closeButton {
    width: 25px;
    height: 25px;
    margin: 10% auto;
  }
  .closeImg {
    width: 25px;
  }
  .vertical-line {
    margin: 3% auto;
  }
  .menu-bar-1 .item .title:hover {
    font-size: 40px;
  }
}

@media screen and (max-width: 480px) and (orientation: portrait) {
  .menu-bar-1 .item {
    width: 100%;
  }
  .menu-bar-1 .item .title {
    font-size: 40px;
  }
  .menu-bar-1 .item .sub {
    font-size: 14px;
  }
}