@charset "utf-8";
/*스타일의 한글이 깨지지 않도록 하기 위해 꼭 첫번째에 적어야 함*/

@font-face {
    font-family: "62570";
    src: url(font/62570.ttf);
}

/* 고정 메뉴바 스타일 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  }
  
  .navbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
  }
  
  .navbar ul li {
    display: inline-block;
    margin: 0 15px;
  }
  
  .navbar ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: color 0.3s;
  }
  
  .navbar ul li a:hover {
    color: #ffcc00;
  }
  
  /* 메뉴바 높이만큼 본문 내려주기 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "62570", sans-serif;
}

#home {
    position: relative;
}

#home a {
    font-size: 17px;
    position: absolute;
    bottom: 50px;
    right: 300px;
    text-decoration: none;
    font-weight: bolder;
    color: #333;
}

#home a span {
    display: block;
    text-align: center;
}

.in_text {
    margin-top: -15px;
}

#home a span img {
    width: 100px;
}

#home a:hover {
    color: #00f;
}

#youtube {
    position: relative;
}

#youtube a {
    font-size: 17px;
    position: absolute;
    bottom: 50px;
    left: 1100px;
    text-decoration: none;
    font-weight: bolder;
    color: #333;
}

#youtube a span {
    display: block;
    text-align: center;
}

.you_text {
    margin-top: -12px;
}

#youtube a span img {
    width: 90px;
}

#youtube a:hover span {
    color: #00f;
}

#wrap {
    width: 1600px;
    margin: 0 auto;
}

#content {
    width: 1094px;
    margin: 0 auto;
}

.text {
    border-left: 5px solid #ffe200;
    padding: 5px 10px;
    margin-bottom: 5px;
}

.text p {
    font-size: 14px;
    color: #666;
    font-family: "62570";
    margin: 0 auto;
}

.text h3 {
    font-size: 25px;
    margin-top: 5px;
    font-family: "62570";
    margin: 0 auto;
}

.storyboard1, .storyboard2, .storyboard3, .artwork {
    width: 900px;
}

footer {
    text-align: center;
    line-height: 50px;
    border-top: 1px solid #ccc;
    width: 1300px;
    margin: 0 auto;
    font-family: "62570";
}

/* 영상 포트폴리오 */
#v_box, #v_box2, #v_box3 {
    width: 900px;
    height: 550px;
    position: relative;
    margin-bottom: 30px;
}

#v_box video, #v_box2 video, #v_box3 video {
    width: 100%;
    height: auto;
    display: block;
}

#v_box > a, #v_box2 > a, #v_box3 > a {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    left: calc(50% - 25px);
    top: calc(50% - 25px);
    display: none;
}

#v_box:hover > a, #v_box2:hover > a, #v_box3:hover > a {
    display: block;
    background: #000 url(media/btn.png) 0 0 no-repeat;
    text-indent: -9999px;
}

.btn, .btn2, .btn3 {
    cursor: pointer;
}

/* 슬라이더 스타일 */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    position: absolute;
    top: 90%; /* 비디오 바로 아래로 위치 설정 */
    left: 0;
    width: 100%;
    height: 10px;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.2);  /* 흐린 검은색 배경을 더욱 부드럽게 */
    border-radius: 5px; /* 슬라이더 경계 둥글게 */
}

input[type="range"]::-webkit-slider-runnable-track {
    background: rgba(255, 255, 255, 0.3); /* 투명하게 약간 흰색 배경 */
    height: 10px;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    background: #00f; /* 파란색으로 슬라이더 버튼 색 */
    border-radius: 50%;
    width: 11px; /* 크기 약간 감소 */
    height: 11px; /* 크기 약간 감소 */
}

input[type="range"]:focus {
    outline: none;
}

/* 시간 컨테이너 - 슬라이더 바로 위로 배치 */
.time-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    bottom: 8%;  /* 슬라이더 바로 위로 배치 */
    width: 100%;
    padding: 0 10px;
    font-size: 16px; /* 글자 크기 약간 증가 */
    color: #fff;
    background-color: rgba(0, 0, 0, 0.4);  /* 흐린 검은색 배경 */
    border-radius: 5px;  /* 둥근 모서리 */
    padding: 5px 10px;
}

.current-time, .total-time {
    font-size: 16px; /* 글자 크기 약간 증가 */
    color: #fff;
}

#artwork {
    width: 100%;
    max-width: 900px;
    margin: 0 auto; /* 이 부분으로 부모 요소가 중앙에 위치하도록 설정 */
    height: 500px;
    position: relative;
    left: -95px;  /* 왼쪽으로 95px 이동시킴 */
}

#artwork img {
    max-width: 100%; /* 이미지의 크기를 부모에 맞게 설정 */
}