* {list-style: none; margin:0; padding:0;}
a {text-decoration: none; }
img {vertical-align:middle;}

/*window 1280 * 800 기준*/
@font-face { font-family: 'cookie'; src: url('../font/CookieRunRegular.otf') format('opentype'); }
@font-face { font-family: 'gmarketSans'; src: url('../font/GmarketSansMedium.otf') format('opentype'); }

html, body {width:100%; height:auto; min-height: 100vh; font-family:'cookie','Arial', sans-serif; background-color: #fffef4;}
h1, h2, h3, h4, h5 {font-weight:normal;}

textarea:focus, button:focus, input:focus {outline: none;}
button {cursor: pointer;}

#wrapper { display: flex; justify-content: center;  margin: 0; padding: 0; background-image: url('../images/bg_main.png'); background-repeat: repeat-x; position:relative; left:0;}
.container { display: flex; width: 1280px;} 

/* nav */
.side_nav { display: flex; flex-direction: column; position: relative; padding: 20px 20px 0 20px; width:200px; }
.categoryWrap { display:flex; flex-direction: column; align-items: flex-end; margin-bottom:10px; background:url(../images/img_book.png) no-repeat 0 9px; }
.categoryWrap > div { margin-bottom:5px; }
.categoryWrap select { width: 136px; height:30px; text-align:center; font-family: "gmarketSans"; font-size:13px; border-radius:5px; border-color:#C8C8C8; } 
nav {margin-bottom:20px;}
nav ul { display: flex; flex-direction: column; padding: 0; margin-left:-20px; list-style: none; box-shadow:#ccc 1px 1px 10px 1px; } 
nav li { display: flex; align-items: center; justify-content: center; margin: 0; border-bottom:1px solid #ccc;}
nav li:last-child {border:0 none;}
nav li button {width:100%; height:40px; border:0 none; background-color: #fff; font-family:"cookie"; font-size:17px; color:#828282;}
nav li:hover button { font-size:22px; background-color: #5d9cec; color: #fff; }
nav button.on { font-size:22px; color: #fff; background-color: #5d9cec;}

/* main */
.contents {padding: 0 20px 20px 20px; margin: 20px 0 20px 0; width:1000px; min-height:800px; height:auto; background-color: #fff; border-radius: 50px 50px 0 0; box-shadow: #ccc 0 0 3px 0; }
.contents h2 { display: block; margin:-20px auto 0; width:480px; padding:10px 0; background-color: #5d9cec; border-radius: 0 0 30px 30px; color: white; font-family: "cookie"; font-size: 26px; text-align: center; } 
.topic { display: flex; align-items: center; justify-content: left; margin: 20px 0 0; border-radius: 5px; text-align: center; }
.topic b {padding:7px 14px; margin-right:10px; background:#5D8AF9; border-radius:10px; color:#fff; }
.buttons { display: flex; justify-content: space-around; padding-bottom:10px; margin: 10px 0 20px; border-bottom:1px solid #ccc;}
.buttons button { display: flex; flex-direction: column; align-items: center; padding: 10px; background: none; border: none; border-radius: 50%; font-family: "gmarketSans"; line-height:20px; }
.buttons img { display:block;}
.section-title { font-weight:bold; background: linear-gradient(to bottom, #3BD5AA, #05ABB9); -webkit-background-clip: text; -webkit-text-fill-color: transparent;}
.section-title img {margin-right:10px;}
.sentence-container { display: flex; align-items: center; }
.sentence-content { display: flex; flex-direction: column; margin-left: 20px; }
.sectence-button button { display:flex; flex-direction: column; align-items: center; width:300px; font-family: "gmarketSans"; background:transparent; border:0 none;}
.sentence-title { color: #1BA2A5; font-size: 18px; font-weight: bold; text-indent:20px;}
.sentence-box { background-color: #f3f3f3; padding: 15px 20px; margin-top: 10px; width:600px; overflow:hidden; border-radius: 20px; font-family: "gmarketSans"; font-size:12px;}
.sentence-box p {padding:5px 0}



/* ------------------------------------------ phonics page ------------------------------------------ */
.phonics_contents {position:relative; margin: 20px 0 0 0; width:1280px; min-height:800px; height:auto; background-color: #fff; border-radius: 50px 50px 0 0; box-shadow: #ccc 0 0 3px 0;  overflow:hidden; background:#FFFEF4;}

.phonics_top {overflow:hidden; padding-bottom:20px;}
.phonics_top .studyLabel {float:left; width:180px; height:50px; line-height:50px; text-indent:10px; border-radius: 0 0 30px 0; color:#fff; font-size:27px; text-align:center; background:linear-gradient(0,#FF4E3C, #FF8B4B);}
.phonics_top h2 {margin-top:-30px; width:100%; color:#606060; font-size:36px; font-weight:bold; text-align:center; float:left;}
.selectWrap select {position:absolute; top:25px; right:150px; width:180px; height:40px; text-align:center; border-radius:10px; border-color:#c8c8c8; font-size:18px; font-family:"cookie"; z-index:50;}
.phonics_top a {position:absolute; top:0; right:50px;}

.phonicsTable {padding:0px 40px 20px;}
.phonicsTable table {width:100%; border-radius:25px 25px 0 0; overflow: hidden; text-align:center; background:#fff;  border-collapse: collapse;}
.phonicsTable table tr {border-bottom:1px solid #c8c8c8;}
.phonicsTable table th {height:40px; color:#fff; background:linear-gradient(0,#FF4E3C, #FF8B4B);}
.phonicsTable table td {font-family:"gmarketSans"; color:#606060;}
.phonicsTable table td:first-child {width:50px; font-weight:bold;}
.phonicsTable table td:nth-child(2) {width:150px;}
.phonicsTable table td:nth-child(3) {padding:0 20px; width:250px; text-align:left;}
.phonicsTable table td:nth-child(4) {display:flex; justify-content: space-between; }
.phonicsTable table tr:nth-child(odd) {background:#eee;}
/* .phonicsTable table tr:last-child td:nth-child(4) {justify-content: space-between;} */

.phonicsTable table td button {display: flex; flex-direction: column; align-items: center; padding: 10px; background: none; border: none; border-radius: 50%; color:#606060; font-size:10px; font-family: "gmarketSans"; line-height:20px;}

.phonics_contents ul li {
    transition: opacity 0.3s ease-in-out;
}


@media screen and (max-width: 1280px) {
    #wrapper {
        
        justify-content: flex-start; /* 왼쪽 정렬 유지 */
    }
}