/*** font ***/
@import url('https://fonts.googleapis.com/css2?family=Montserrat&family=Noto+Sans+KR&family=Orbitron:wght@700&display=swap');



* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family:'Noto Sans CJK KR', sans-serif;
  font-size: 1em;
  display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            margin: 0;
  
}

#myVideo {
  position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100%; 
  min-height: 100%;
}

.content {
  position: fixed;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  color: #f1f1f1;
  width: 100%;
  padding: 20px;
}

@media (max-width: 1024px) {
  .content {
    font-size: 12px; /* 텍스트 크기 */
    margin-top: 300px; /* 상단 여백 300px */
}


  .contact .text strong{
    font-size: 12px;
    font-weight: 400;
  }

  .container {
    
    top: 150px; /* 화면 상단에서 300px 아래 */
    margin: 10px 30px 50px 30px;
    padding: 10px;
    width: 100%;  /* 부모 요소를 기준으로 전체 너비 */
    max-width: 400px;  /* 최대 너비 제한 */
    color: #ffffff;
    position: absolute;
    z-index: 2;
    text-decoration: none; /* 밑줄 제거 */
}


  .contact .card .icon{
    font-size: 1.2rem;
    margin: 0.5rem;
  }
  

  /*** contact ***/
.contact .card{
  border: 1px solid #ffffff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  background-color: rgb(0, 0, 0, 0.5);
}

.contact .text strong{
  font-size: 14px;
  font-weight: 600;
}
.contact form{
  border: 1px solid #ffffff;
  border-radius: 8px;
  padding: 10px;
  position: relative;
}
.contact form label{
  display: block;
}
.contact form input,
.contact form textarea{
  width: 100%;
  border: 1px solid #888;
  border-radius: 8px;
  padding: 7px;
}
.contact form textarea{
  height: 220px;
  resize: none;
}
.contact form input:focus,
.contact form textarea:focus{
  box-shadow: 0 0 10px rgb(31, 85, 185);
  outline: none;
}
.contact form button{
  width: 100%;
  padding: 10px;
  background-color: rgb(255, 0, 0);
  border-radius:85px;
  border: none;   
  color: #fff; 
}

.content {
  display: none;
}

#header {
  text-align: center;
  background: rgba(0, 0, 0, 0.2);
  color: rgba(0, 0, 0, 0); /* 글자 색상을 변경합니다. */
  padding: 10px;
  font-size: 16px;
  display: flex; /* 로고와 텍스트를 가로로 나란히 배치하기 위해 flex를 사용합니다. */
  font-size: 16px;
  position: fixed; /* 고정 위치 요소로 설정합니다. */
  top: 0; /* 화면 상단에 배치합니다. */
  left: 0; /* 화면 좌측에 배치합니다. */
  right: 0;
  z-index: 3; /* 다른 요소 위에 표시합니다. */
  backdrop-filter: blur(6px); /* 배경 흐림 효과 */
  -webkit-backdrop-filter: blur(6px); /* Safari 호환성 */
}

}

#myBtn {
  width: 200px;
  font-size: 18px;
  padding: 10px;
  border: none;
  background: #000;
  color: #fff;
  cursor: pointer;
}

#myBtn:hover {
  background: #ddd;
  color: black;
}

#header {
  text-align: center;
  background: rgba(0, 0, 0, 0);
  color: rgba(0, 0, 0, 0); /* 글자 색상을 변경합니다. */
  padding: 10px;
  font-size: 16px;
  display: flex; /* 로고와 텍스트를 가로로 나란히 배치하기 위해 flex를 사용합니다. */
  font-size: 16px;
  position: fixed; /* 고정 위치 요소로 설정합니다. */
  top: 0; /* 화면 상단에 배치합니다. */
  left: 0; /* 화면 좌측에 배치합니다. */
  right: 0;
  z-index: 3; /* 다른 요소 위에 표시합니다. */

}

#header img {
  margin-left: 20px;
  width: clamp(150px, 20vw, 250px); /* 최소 120px, 최대 250px */
  margin-right: 15px; /* 로고와 텍스트 사이의 간격을 설정합니다. */
  z-index: 3; /* 다른 요소 위에 표시합니다. */
}


.menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menu img {
  width: 10px; /* 로고 이미지의 너비 조정 */
  margin-right: 0px; /* 로고와 텍스트 사이의 간격을 설정합니다. */
}

.navbar {
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0);
}

.navbar a {
  float: left;
  font-size: 16px;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

.sidebar {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 3;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.9);
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
 }

.sidebar a {
  padding: 30px 8px 8px 30px;
  text-decoration: none;
  font-size: 1.2em;
  color: #818181;
  display: block;
  transition: 0.3s;
  line-height: 130%;
  z-index: 3;
}

.sidebar a:hover {
  color: #f1f1f1;
  z-index: 3;
}

.sidebar .closebtn {
  position: absolute;
  top: 45px;
  right: 20px;
  font-size: 40px;
  margin-left: 40px;
}

.openbtn {
  font-size: 20px;
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0);
  color: white;
  padding: 10px 15px;
  border: none;
}

.openbtn:hover {
  background-color: #000000;
  color: yellow;
}

#main {
  transition: margin-left .5s;
  padding: 16px;
  z-index: 3; /* 다른 요소 위에 표시합니다. */
}

img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  z-index: 4;

}

.container {
  margin: auto;
  width:800px;
  color:#ffffff;
  position: absolute;
  z-index: 2;
  text-decoration: none; /* 밑줄 제거 */
}

span.blink{
  animation: blink 0.5s ease-in-out infinite;
}

/*** contact ***/
.contact .card{
  border: 1px solid #ffffff;
  border-radius: 3px;
  display: flex;
  align-items: center;
  background-color: rgb(0, 0, 0, 0.5);
}
.contact .card .icon{
  font-size: 3rem;
  margin: 1.0rem;
}
.contact .text strong{
  font-size: 14px;
  font-weight: 600;
}
.contact form{
  border: 1px solid #ffffff;
  border-radius: 3px;
  padding: 10px;
  position: relative;
}
.contact form label{
  display: block;
}
.contact form input,
.contact form textarea{
  width: 100%;
  border: 1px solid #888;
  border-radius: 5px;
  padding: 7px;
}
.contact form textarea{
  height: 220px;
  resize: none;
}
.contact form input:focus,
.contact form textarea:focus{
  box-shadow: 0 0 10px rgb(31, 85, 185);
  outline: none;
}
.contact form button{
  width: 100%;
  padding: 10px;
  background-color: rgb(255, 0, 0);
  border-radius: 5px;
  border: none;   
  color: #fff; 
}


/*** 메일 보내기 확인 후 팝업 ***/
.contact .right .thankyou_message{
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  background-color: #ffa200;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  padding: 20px;
  text-align: center;
  text-decoration: none; /* 밑줄 제거 */
}
.thankyou_message p.close{
  padding: 5px 10px;
  background-color: rgb(255, 0, 0);
  color: #ffffff; 
}


/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
