/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* custom reset css */
* {
  font-size: 16px;
  font-family: "Noto Sans KR", sans-serif;
}

a {
  text-decoration: none;
  color: var(--gray-700);
}
.blind {
  display: none !important;
}
#sidemenu {
  min-width: 240px;
}
#sidemenu-ul li {
  cursor: pointer;
}

:root {
  --point-color1: cornflowerblue;
  --point-color1-light: rgb(234, 245, 255);

  --gray-400: #888;
  --gray-500: #666;
  --gray-700: #111;
  --headerimg-height: 500px;
  --headerimg-width: 1900px;
  --thumbnailimg-width: 160px;
  --thumbnailimg-height: 90px;
}
body {
  font-family: "Noto Sans KR", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}
header {
  display: flex;
  width: 80%;
  margin: 20px auto;
  justify-content: center;
  align-items: center;
  gap: 10%;
}
#gnb {
  width: 80%;
  margin-right: 120px;
}
#gnb .gnb-list {
  display: flex;
}
#gnb .gnb-list li {
  background-color: var(--point-color1-light);
  width: 100%;
  text-align: center;
  transition: 0.5s linear;
  min-width: 120px;
  position: relative;
  line-height: 200%;
  font-size: 20px;
  cursor: pointer;
}
#gnb .gnb-list li:hover {
  background-color: var(--point-color1);
}

#gnb .gnb-list .depth2 {
  width: 193px;
  position: absolute;
  left: 0;
  top: 40px;
  background: rgba(0, 0, 0, 0.6);
  /* padding: 0 30px; */
  opacity: 0;
  /* 마우스에 반응하지않게함 */
  visibility: hidden;
  transition: all 0.3s;
  z-index: 9999;
}
#gnb .gnb-list > li:hover .depth2 {
  opacity: 1;
  visibility: visible;
}

/* 기본 스타일 */
.dropdown {
  position: relative;
  width: 40px; /* 버튼 크기 */
  font-family: Arial, sans-serif;
}

.dropdown-button {
  width: 40px;
  height: 40px;
  padding: 0;
  background-color: #4caf50;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 50%; /* 원형으로 만들기 */
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dropdown-button:focus {
  outline: none;
}

.dropdown-content {
  position: absolute;
  width: 100%;
  background-color: white;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
  display: none;
  border-radius: 4px;
}

.dropdown-content a {
  padding: 12px 16px;
  text-decoration: none;
  display: flex;
  align-items: center; /* 가운데 정렬 */
  justify-content: center; /* 가운데 정렬 */
  color: black;
  font-size: 16px;
  border-bottom: 1px solid #ddd;
}

.dropdown-content a:hover {
  background-color: #f1f1f1;
}

.dropdown-content a img {
  width: 20px;
  height: 20px;
  margin-right: 0; /* 텍스트 없으므로 여백 제거 */
  vertical-align: middle;
}
#login {
  width: 20%;
  padding: 20px;
  border: 1px solid black;
  border-radius: 10px;
  background-color: rgb(255, 211, 170);
  text-align: center;
  line-height: 150%;
  min-width: 240px;
}
#login input[type="text"],
#login input[type="password"] {
  width: 60%;
}
#login button {
  font-size: 12px;
}
#login .btn-login {
  margin-top: 5px;
  color: var(--gray-700);
}
#forgot-password > a {
  line-height: 110%;
  text-decoration: underline;
  font-size: 13px;
  color: blue;
}
#wrap {
  position: relative;
}
#wrap .index-img {
  width: 100%;
  height: var(--headerimg-height);
  background: url(../images/header.png) no-repeat 50% 0%;
  position: absolute;
}
#sidemenu {
  padding-top: calc(var(--headerimg-height) + 100px);
  padding-left: 20px;
  padding-right: 20px;
  width: 20%;
  display: block;
}
#sidemenu li {
  font-size: 24px;
  line-height: 150%;
  background-color: #f9f9f9;
}
#sidemenu li:nth-child(2n) {
  background-color: #efefef;
}
#container {
  min-width: 1220px;
  display: flex;
}
#container .content-wrap {
  width: 100%;
  margin: 0 auto;
  padding-top: calc(var(--headerimg-height) + 50px);
}
