/* 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;
  text-decoration: none;
  color: inherit;
}
video::-webkit-media-controls {
  display: none; /* 웹킷 기반 브라우저에서 미디어 컨트롤 숨기기 */
}

video::-moz-media-controls {
  display: none; /* 모질라 기반 브라우저에서 미디어 컨트롤 숨기기 */
}

video::-ms-media-controls {
  display: none; /* IE와 Edge에서 미디어 컨트롤 숨기기 */
}
/* 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;
}

@font-face {
  font-family: 'Azeret'; /* 사용할 이름 */
  src: url('./fonts/Azeret.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}
/* 시작 */
/* all */

body {
  background-color: #000000;
  font-family: 'Azeret', 'Pretendard', -apple-system, BlinkMacSystemFont,
    'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue',
    Arial, Helvetica, sans-serif;
}

h1,
h2,
h3,
p {
  color: #000000;
}

h1 {
  font-size: 44px;
  font-weight: 400;
  line-height: 110%;
  letter-spacing: -2px;
}

h2 {
  font-size: 24px;
  font-weight: 400;
  line-height: 140%;
  letter-spacing: -0.2px;
}

h3 {
  font-size: 16px;
  font-weight: 400;
  line-height: 140%;
  letter-spacing: -0.1px;
}
p {
  font-size: 14px;
  font-weight: 400;
  line-height: 140%;
  letter-spacing: -0.1px;
}
/* header */

/* 기본 스타일 (PC 버전) */
.main {
  margin: 20px 20px 20px 20px;
}

.logo img {
  width: 100%; /* 로고 이미지의 가로 사이즈를 100%로 설정 */
  height: auto; /* 비율에 맞게 세로 길이는 자동으로 조정 */
}

.main-txt-01 {
  padding-top: 40px;
}

/* 모바일용 스타일 */
@media (max-width: 768px) {
  .main {
    margin: 10px 10px 10px 10px; /* 좌우 마진 10px */
  }
  h1 {
    font-size: 32px;
  }
}

.footer {
  position: fixed;
  left: 20px;
  bottom: 10px;
}

body {
  margin: 0;
  padding: 0;
  height: 100vh;
  overflow: hidden; /* 배경이 움직여도 스크롤이 생기지 않도록 */
}

.animated-bg {
  z-index: -1;
  position: fixed; /* 배경을 고정 */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, #00b30c, #00aaff, #ff9cd7, #ffbb00);
  background-size: 400% 400%;
  animation: bgColorChange 10s ease infinite;
  background-position: 0% 50%;
}

/* 배경 색상 변경 애니메이션 */
@keyframes bgColorChange {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.main {
  position: relative;
  z-index: 1; /* 텍스트가 배경 위로 오도록 */
  margin: 20px; /* 좌우 마진 */
  padding-top: 10px;
  overflow-y: auto; /* 텍스트 스크롤 가능하도록 */
  height: calc(100vh - 60px); /* 헤더 높이를 제외한 나머지 영역 */
}
