 @charset "utf-8";
 *{
	 margin:0px;
	 padding:0px;
 }
 
 a
 {
	 color:inherit;
	 text-decoration:none;
 }
  
  


    /* ---------------------- 상단 메뉴 ---------------------- */
    header {
      background: linear-gradient(to bottom, #111, #222);
      padding: 20px 0px;
      text-align: center;
      position: relative;
      z-index: 40;
      box-shadow: 0 4px 10px rgba(0,0,0,0.6);
	  font-size:2rem;
	  display: flex;
    justify-content: space-evenly;
    align-items: center;
    }
	


    nav ul {
      list-style: none;
      margin: 0;
      padding: 0;
      display: flex;
      justify-content: center;
      gap: 50px;
    }
	

    nav>div>ul>li {
	  width:300px;
	  text-align:center;
    }
	
	.view_all_course > li
	{
		text-align:center;
	}

    nav ul li a {
      text-decoration: none;
      color: #fff;
      font-size: 18px;
      padding: 8px 15px;
      transition: background 0.3s;
	  display:inline-block;
    }

    nav ul li a:hover {
      background: rgba(255,255,255,0.1);
      border-radius: 6px;
    }

   .view_all_course 
   {
	   width:100%;
		display: none;
		position: absolute;
		top: 95px;
		left: 0;
		background: rgba(20,20,20,0.85);
		list-style: none;
		padding: 10px 0px;
		border-radius: 6px;
		box-shadow: 0 4px 8px rgba(0,0,0,0.6);
		z-index:55;
    }

.view_all_course > li > a > div> span
{
	display:block;
}

    nav ul li ul li {
      margin: 5px 0;
    }

    nav ul li ul li a {
      color: #ddd;
      font-size: 16px;
      padding: 6px 12px;
      display: block;
    }

    nav ul li ul li a:hover {
      background: rgba(255,255,255,0.15);
    }

/* 1 */	
#main_area
{
	position:relative;
}	

    /* ---------------------- 로비 메인 영역 ---------------------- */
    .lobby {
      position: relative;
      display: flex;
      justify-content: center;
      align-items: flex-start;
      flex-direction: row; /* 문 좌우로 배치 */
      gap: 40px;
      background-color: #212326;
      overflow: hidden;
	  height:900px;
    }

    /* 벽돌 */
    .brick {
		position: absolute;
        width: 60px;
        height: 45px;
        background: linear-gradient(10deg, rgb(37 37 37) 50%, #212326 100%);
        border: 1px solid #2d2d2d;
        box-sizing: border-box;
    }

    /* 안개 효과 */
    .lobby::before,
    .lobby::after {
      content: "";
      position: absolute;
      top: -50%;
      left: -50%;
      width: 200%;
      height: 200%;
      background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
      animation: smokeMove 60s linear infinite;
      opacity: 0.4;
      pointer-events: none;
    }

    .lobby::after {
      animation-duration: 90s;
      opacity: 0.25;
    }

    @keyframes smokeMove {
      0% { transform: translate(0,0) scale(1); }
      50% { transform: translate(20%, -10%) scale(1.2); }
      100% { transform: translate(0,0) scale(1); }
    }
	
	.open_the_door
	{
	display:flex;
	flex-direction:column;
	align-items:center;
	gap:20px;
	height:100%;
	justify-content: flex-end;
	}

    /* 안내판 */
    .signboard {
      display: flex;
      justify-content: space-between;
      align-items: center;
      background-color: #000000;
        color: #ffffff;
      width: 450px;
      max-width: 650px;
      padding: 10px 20px;
      border-top: 6px solid #b1a096;
      font-size: 16px;
      z-index: 15;
      box-sizing: border-box;
    }

    .signboard .station {
      display: flex;
      align-items: center;
      font-weight: bold;
    }

    .signboard .station.center {
      justify-content: center;
      flex: 1;
    }

    .signboard .station.right {
      justify-content: flex-end;
	  color:#b1a096;
    }

    /* 디지털 시계 느낌 */
    @font-face {
      font-family: 'Digital-7';
      src: url('https://cdn.jsdelivr.net/gh/denyo/Digital-7@1.2/Digital-7.ttf') format('truetype');
    }

    #clock {
      font-family: 'Digital-7', monospace;
      font-size: 18px;
      color: #b1a096;
      letter-spacing: 1px;
    }

    /* 문틀 */
    .door {
      position: relative;
      width: 400px;
      height: 500px;
      border: 8px solid #654321;
      border-radius: 8px;
      background: #1b0f0a;
      box-shadow: 0 0 20px rgb(67 31 0 / 96%);
      overflow: hidden;
      cursor: pointer;
      z-index: 10;
    }

    .door::before, .door::after {
      content: "";
      position: absolute;
      top: 0;
      width: 50%;
      height: 100%;
      background: linear-gradient(to bottom, #3e2723, #1b0f0a);
      transition: 1s ease;
      transform-origin: center;
      z-index: 3;
    }

    .door::before { left: 0; border-right: 2px solid #111; }
    .door::after { right: 0; border-left: 2px solid #111; }

    .door.open::before { transform: rotateY(-100deg); left:-100px; }
    .door.open::after { transform: rotateY(100deg); right:-100px; }

    .door .label {
      position: relative;
      bottom: 20px;
      width: 100%;
      height:100%;
      text-align: center;
      font-size: 20px;
      font-weight: bold;
      color: #f1e3c6;
      text-shadow: 0 2px 4px #000;
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
    }

    /* 바닥 9와4분의3 */
    .platform_line {

      width: 420px;
      height: 93px;
	  box-sizing:border-box;
      display: flex;
      justify-content: center;
      align-items: center;
      font-weight: bold;
      color: #000;
      font-size: 16px;
      z-index: 12;
	  background-image: url(../on_image/seedlearn_platform.png);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: bottom;
    }
	
	.platform_line > div:nth-child(2n)
	{
		position:relative;
		height:100%;
		background-color:#ffca4d;
		padding:0px 20px;
		box-sizing:border-box;
		display:flex;
		align-items: center;
		text-align: center;
	}
	
	.platform_line > div:nth-child(2n-1)
	{
		position:relative;
		background-color:#BF8281;
		height:100%;
	}

    /* 액자 공통 */
    .frames {
	display: flex;
    height: 100%;
    flex-direction: column;
    gap: 40px;
    z-index: 20;
    justify-content: center;
    }

    .left_frames 
	{
		position:relative;
		width:420px;
	}
	
    .frames.right-frames { margin-left: 20px; }

    .frame {
      display: flex;
      justify-content: center;
      align-items: center;
      background: #000; /* 검정 배경 */
      color: #fff;
      font-size: 14px;
      font-family: 'Georgia', serif;
      border: 6px solid #333; /* 액자 테두리 */
      box-shadow: 0 4px 12px rgba(0,0,0,0.6), inset 0 0 8px rgba(255,255,255,0.1);
      text-decoration: none;
      width: 400px; 
      height: 250px;
      transition: transform 0.3s;
	  overflow:hidden;
    }

    .frame:hover {
      transform: scale(1.05);
    }
	
	 .frame img
	 {
		 max-width:100%;
	 }

    /* 높이 다르게 */
    .frame.tall { height: 400px; }
    .frame.short { height: 90px; }
    .frame.movie_shorts { height: 600px; }
	
/* 2 */	
#notice_area
{
	position:relative;
	
	display:flex;
	padding:100px 0px;	
	background: linear-gradient(to bottom, #0b0c10, #1a1a1a);
}
    /* ---------------------- 공지사항 ---------------------- */
.notice_board 
{
	width: 600px;
    margin: 00px auto;
    background: #fdf7e3;
    color: #333;
    padding: 30px 40px;
      border: 2px solid #c9b87c;
      border-radius: 8px;
      box-shadow: 0 8px 20px rgba(0,0,0,0.6);
      text-align: left;
      position: relative;
}

    .notice_board::before {
      content: "SEEDLEARN NOTICE";
      display: block;
      font-size: 20px;
      font-weight: bold;
      text-align: center;
      margin-bottom: 20px;
      color: #4a3b2b;
    }

    .notice_board ul {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .notice_board ul li {
      margin: 10px 0;
      padding-bottom: 6px;
      border-bottom: 1px dashed #b9a56d;
    }

    .notice_board ul li a {
      color: #2c1d0d;
      text-decoration: none;
    }

    .notice_board ul li a:hover {
      text-decoration: underline;
    }
	
/* 공지사항 레이어 팝업 */
.popup_overlay {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

.popup_content {
  background: #fffdf5;
  width: 600px;
  max-height: 80%;
  overflow-y: auto;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
  padding: 20px;
  position: relative;
}

.popup_header {
  display:flex;
  justify-content: space-between;
  align-items:center;
  font-weight:bold;
  font-size:18px;
  margin-bottom:10px;
  border-bottom:1px solid #ddd;
  padding-bottom:5px;
}

#popupClose {
  background:none;
  border:none;
  font-size:18px;
  cursor:pointer;
}

.popup_body {
  font-size:15px;
  line-height:1.6;
  color:#333;
  white-space:pre-line;
}

	

    #fadeOverlay {
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background-color: #212326;
      opacity: 0;
      pointer-events: none;
      z-index: 9999;
      transition: opacity 1s ease-in;
    }
	
	#pageFade {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: #fff;
  z-index: 99999;
  opacity: 1;
  transition: opacity 1s ease;
  pointer-events: none;
}


#move_area
{

	position:relative;
	width:1200px;
	margin:0px auto;
	padding:15px 0px;
}

.move_link
{
	position:relative;
	width:50%;
	display: flex;
    justify-content: flex-start;
    align-items: center;
}

.move_link > li
{
	font-size:0.875rem;
	font-weight:bold;
	text-align:center;
	color:#535353;
	list-style-type:none;
	display: flex;
    align-items: center;
}

.move_link > li img
{
	width:30px;
}


.move_link>li::after
{
	content:"|";
	color:#dddddd;
	padding:0px 20px;
}

.move_link>li:last-child::after
{
	content:none;
}

.auto_all_play
{
	position:relative;
	padding-top:50px;
	padding-bottom:20px;
	width:1200px;
	margin:0px auto;
}

.one_n_one_play
{
	position:relative;
	padding-top:30px;
	padding-bottom:20px;
	width:1200px;
	margin:0px auto;
}


/*
*/

#copyright_area
{
	
	position:relative;
	border-top:2px solid #d8d8d8;
	background-color:#b6a49a;
}

.copyright_center
{
	position:relative;
	width:1200px;
	margin:0px auto;
}

.addr
{
	position:relative;
	font-size:0.75rem;
	padding:10px 0px;
	font-weight:bold;
}

.addr > div > span
{
	position:relative;
	padding-right:20px;
}

.addr > div > span::after
{
	content:"|";
	color:#dddddd;
	padding:0px 20px;
}


.addr > div > span::after
{
	content:none;
}


.addr_sns
{
	position:absolute;
	bottom:0px;
	right:0px;
	
}

.addr_sns .move_link
{
	position:relative;
	width:100%;
	display: flex;
    justify-content: flex-start;
    align-items: center;
}

.right
{
	position:relative;
	height:25px;
	font-size:0.75rem;
}


/**/

 .refund_container {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0,0,0,0.05);
	color:black;
  }
  .refund_container h1, .refund_container h2 {
    color: #0055a5;
  }
  .refund_container h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
  }
  .refund_container h2 {
    font-size: 1.2rem;
    margin-top: 30px;
    margin-bottom: 10px;
  }
  .refund_container p, .refund_container li {
    font-size: 1rem;
    line-height: 1.6;
  }
  .refund_container ul {
    padding-left: 20px;
  }
  .refund_container table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
  }
  .refund_container th, .refund_container td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
  }
  .refund_container th {
    background-color: #f0f0f0;
  }
  @media (max-width: 600px) {
    .refund_container h1 { font-size: 1.5rem; }
    .refund_container h2 { font-size: 1rem; }
    .refund_container table, .refund_container th, .refund_container td { font-size: 0.9rem; }
  }
  
  /*마법분류모자 가이드*/
  
 #sorting_hat_bg
 {
	 position:relative;
	 background-color: #2b2d33;
	 padding:50px 0px;
 }
  
  	.sotring_hat_container {
		max-width: 1000px;
		margin: 0 auto;
		background: #fff;
		padding: 30px;
		border-radius: 12px;
		box-shadow: 0 4px 12px rgba(0,0,0,0.1);
		position:relative;
		padding-bottom:500px;
		text-align:center;
	}
	.sotring_hat_container > h2 {
		color: #0b4d99;
		margin-bottom: 20px;
	}
	.sotring_hat_container>textarea {
		width: 100%;
		padding: 12px;
		border-radius: 6px;
		border: 1px solid #ccc;
		resize: vertical;
	}
	.sotring_hat_container > button {
		margin-top: 15px;
		padding: 10px 20px;
		background: #0b4d99;
		color: #fff;
		border: none;
		border-radius: 6px;
		cursor: pointer;
	}
	.sotring_hat_container > button:hover {
		background: #083d7a;
	}
	.sotring_hat_container #result {
		margin-top: 25px;
		background: #f0f8ff;
		padding: 20px;
		border-radius: 8px;
	}