@charset "utf-8";
/* Reset */
* { 
	margin: 0px; 
	padding: 0px; 
	box-sizing: border-box; 
}
a 
{
	color: inherit; 
	text-decoration: none; 
}

html
{
	font-size:14px;
}


/* ---------------------- 상단 메뉴 ---------------------- */
header {
  background: linear-gradient(to bottom, #111, #222);
  padding: 10px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 100;
}

.logo_area img {
  width: 140px;
  height: auto;
}

/* 햄버거 버튼 */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 28px;
  height: 22px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  height: 3px;
  background: #fff;
  border-radius: 2px;
}

/* 메뉴 기본 숨김 */
.menu_area {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
  background: rgba(0,0,0,0.95);
  padding: 15px;
}
.menu_area.active {
	display: flex;
    text-align: center;
	position: fixed;
}

.menu_area >div > ul {
	list-style: none;
	display: flex;
    flex-direction: column;  
}

 .view_all_course 
{
	display:none;
	flex-direction: column;
}

.menu_area>div> ul >li {
  margin: 10px 0;
}

 .view_all_course li
 {
	 padding:5px 0px;
 }

.menu_area > div > ul > li > a {
  color: #fff;
  font-size: 14px;
  padding: 10px;
  display: block;
  border-radius: 6px;
}

 .view_all_course li > a
 {
	  color: #fff;
	  font-size: 14px;
	padding:15px 0px;
	  display: block;
	  border-radius: 6px;	 
 }



.menu_area ul li a:hover {
  background: rgba(255,255,255,0.15);
}

/* 모바일 메뉴에서는 픽토그램 이미지 숨김 */
.menu_area .menu_pic img {
  display: none;
}

/* ---------------------- 로비 메인 ---------------------- */
#main_area 
{ 
	position:relative;
}

.lobby {
  display: flex;
  flex-direction: column;
  align-items: center;
 background-color: #212326;
  padding: 20px 0;
}

/* 액자 */
.frames {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  align-items: center;
}


 .left_frames 
	{
		position:relative;
		width:95%;
		padding-bottom:40px;
	}
	
 .left_frames > video
 {
	 width:100%;
 }	 
	
.frame {
  width: 90%;
  height: auto;
  min-height: 120px;
  background: #000;
  color: #fff;
  border: 4px solid #333;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow:hidden;
}

	 .frame img
	 {
		 max-width:100%;
	 }

/* 문 + 안내판 */
.open_the_door {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  width:95%;
}
    /* 안내판 */
    .signboard {
      display: flex;
      justify-content: space-between;
      align-items: center;
      background-color: #000000;
        color: #ffffff;
		width:100%;
      padding: 10px 10px;
      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.right {
      justify-content: flex-end;
	  color:#b1a096;
    }
	
#clock 
{ 
	font-size: 14px; 
	color: #b1a096;
}

.door {
    position: relative;
      height: 360px;
      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;
	  width:95%;
}

    .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 {
      height: 100px;
	  box-sizing:border-box;
      display: flex;
      justify-content: center;
      align-items: center;
      font-weight: bold;
      color: #000;
      font-size: 16px;
      z-index: 12;
	  width:100%;
	  	  background-image: url(../on_image/seedlearn_platform.png);
        background-repeat: no-repeat;
        background-size: contain;
        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%;
	}

/* ---------------------- 공지사항 ---------------------- */
#notice_area {
  padding: 20px 10px;
  background: linear-gradient(to bottom, #0b0c10, #1a1a1a);
}
.notice_board {
  width: 100%;
  padding: 15px;
  font-size: 14px;
}
.notice_board::before {
  font-size: 15px;
}
.notice_board ul li {
  font-size: 13px;
}

/* ---------------------- 하단 ---------------------- */

#move_area
{	
	position:relative;

}

.move_link
{
	position:relative;
	display: flex;
	justify-content: center;
    align-items: center;
    text-align: center;
    height: 40px;
	flex-wrap: wrap;
}

.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::after
{
	content:"|";
	color:#dddddd;
	text-align:center;
	padding:0px 5px;
}

.move_link>li:last-child::after
{
	content:none;
}

.move_link > li img
{
	width:1.8rem;
}




    /* ---------------------- 공지사항 ---------------------- */
.notice_board 
{
	width: 90%;
    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: 90%;
  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;
}


/*
*/

#copyright_area
{	
	position:relative;
	border-top:2px solid #d8d8d8;
	margin-bottom:20px;
}

.copyright_center
{
	position:relative;
}

.addr
{
	position:relative;
	font-size:0.75rem;
	padding:10px 0px;
	font-weight:bold;
	text-align:center;
	word-break:keep-all;
}

.addr > div > span
{
	position:relative;
	display:inline-block;
	margin-bottom:5px;
}

.addr > div > span::after
{
	content:"|";
	color:#dddddd;
	padding:0px 20px;
}


.addr > div > span::after
{
	content:none;
}

 /*마법분류모자 가이드*/
  
 #sorting_hat_bg
 {
	 position:relative;
	 background-color: #2b2d33;
	 padding:50px 0px;
 }
  
  	.sotring_hat_container {
		max-width: 95%;
		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;
	}