*{box-sizing:border-box}body{margin:0;font-family:Arial,"Noto Sans KR",sans-serif;line-height:1.6;color:#222;background:#f5f5f5}
.container{width:min(1100px,calc(100% - 40px));margin:auto}

header{background:#222;color:white}
.header-content{min-height:260px;display:flex;align-items:center;justify-content:space-between;gap:40px}.profile h1{margin:0 0 8px;font-size:2.2rem}
.profile p{margin:6px 0}
.github-link {padding: 10px 18px;border: 1px solid white;border-radius: 6px;text-decoration: none;color: white;}
.github-link:visited {color: white;}
.github-link:hover,.github-link:focus {background-color: white;color: #222;text-decoration: none;}

section{margin:50px 0;padding:30px;background:white;border-radius:10px}

h2{margin-top:0;border-bottom:2px solid #222;padding-bottom:10px}

table{width:100%;border-collapse:collapse}

th,td{padding:12px;border:1px solid #ccc;text-align:left}

th{background:#eee}.course-list{margin:0;padding:0;list-style:none}

.course-list li{display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px solid #ddd}
.course-list a{text-decoration:underline; color:black}

.semester-buttons{display:flex;gap:8px;margin-bottom:20px}
.semester-button{padding:10px 18px;border:1px solid #bbb;border-radius:8px;background:white;font-size:1rem;cursor:pointer}
.semester-button.active{background:#222;color:white;border-color:#222}

.schedule-panel{display:none}.schedule-panel.active{display:block}
.schedule-table{table-layout:fixed;min-width:720px}
.schedule-table th,.schedule-table td{height:62px;padding:5px;text-align:center;vertical-align:middle}
.schedule-table th:first-child{width:55px}
.schedule-table td{font-size:.85rem}
.schedule-table small{display:block;font-size:.72rem}

.red{background:#e98476;color:white}
.yellow{background:#e9c363;color:white}
.green{background:#72c5b8;color:white}
.blue{background:#7099db;color:white}
.lime{background:#a7c96e;color:white}
.purple{background:#9778d8;color:white}
.orange{background:#f2a25e;color:white}

.week-list{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin:0;padding:0;list-style:none}
.week-list a,.week-list span{display:block;padding:12px;text-align:center;border-radius:6px}
.week-list a{color:white;background:#333;text-decoration:none}
.week-list span{color:#666;background:#e5e5e5}

footer{margin-top:60px;padding:30px 0;background:#222;color:white;text-align:center}
@media(max-width:700px){.header-content{padding:40px 0;flex-direction:column;align-items:flex-start}
.week-list{grid-template-columns:repeat(2,1fr)}
section{padding:20px}}
