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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Tahoma", "Arial", sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
    font-size: 14px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

header {
    border-bottom: 2px solid #333;
    padding-bottom: 20px;
    margin-bottom: 40px;
}

h1 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #000;
}

.subtitle {
    font-size: 14px;
    color: #666;
    font-style: italic;
}

h2 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #000;
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
}

h3 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #000;
}

.intro {
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 20px;
    margin-bottom: 40px;
}

.intro p {
    margin-bottom: 15px;
}

.intro p:last-child {
    margin-bottom: 0;
}

.phase {
    margin-bottom: 50px;
}

.project-list {
    background-color: #fff;
    border: 1px solid #ccc;
}

.project-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.project-item:last-child {
    border-bottom: none;
}

.project-item:hover {
    background-color: #f9f9f9;
}

.project-number {
    font-weight: bold;
    margin-right: 15px;
    color: #666;
    min-width: 30px;
}

.project-item a {
    color: #0066cc;
    text-decoration: none;
    flex: 1;
}

.project-item a:hover {
    text-decoration: underline;
}

.project-item a:visited {
    color: #551a8b;
}

footer {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid #ccc;
    text-align: center;
    color: #666;
    font-size: 12px;
}

.project-header {
    border-bottom: 2px solid #333;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.project-header h1 {
    font-size: 24px;
    margin-bottom: 5px;
}

.project-meta {
    font-size: 12px;
    color: #666;
    margin-top: 10px;
}

.back-link {
    display: inline-block;
    margin-bottom: 20px;
    color: #0066cc;
    text-decoration: none;
}

.back-link:hover {
    text-decoration: underline;
}

.section {
    margin-bottom: 35px;
}

.section-title {
    background-color: #e8e8e8;
    padding: 8px 12px;
    margin-bottom: 15px;
    border-left: 3px solid #333;
    font-size: 15px;
    font-weight: bold;
}

.content-box {
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 20px;
    margin-bottom: 20px;
}

.content-box p {
    margin-bottom: 15px;
}

.content-box p:last-child {
    margin-bottom: 0;
}

.requirement-list,
.feature-list,
.tech-list {
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 20px;
}

.requirement-list p,
.feature-list p,
.tech-list p {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.requirement-list p:before,
.feature-list p:before,
.tech-list p:before {
    content: "→";
    position: absolute;
    left: 0;
}

.requirement-list p:last-child,
.feature-list p:last-child,
.tech-list p:last-child {
    margin-bottom: 0;
}

.navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #ccc;
}

.nav-button {
    color: #0066cc;
    text-decoration: none;
    padding: 8px 15px;
    border: 1px solid #ccc;
    background-color: #fff;
}

.nav-button:hover {
    background-color: #f0f0f0;
}

.nav-button.disabled {
    color: #999;
    pointer-events: none;
}

code {
    background-color: #f0f0f0;
    padding: 2px 5px;
    font-family: "Courier New", Courier, monospace;
    font-size: 13px;
}

.hint-box {
    background-color: #fffacd;
    border: 1px solid #e6d68a;
    padding: 15px;
    margin-top: 15px;
}

.hint-box p {
    margin-bottom: 10px;
}

.hint-box p:last-child {
    margin-bottom: 0;
}

.submission-section {
    background-color: #e8f4e8;
    border: 2px solid #4a8c4a;
    padding: 20px;
    margin-top: 40px;
}

.submission-section h3 {
    margin-top: 0;
    color: #2d5a2d;
}

.submission-form {
    margin-top: 15px;
}

.submission-form input {
    width: 100%;
    padding: 10px;
    font-family: "Tahoma", "Arial", sans-serif;
    font-size: 13px;
    border: 1px solid #ccc;
    margin-bottom: 10px;
}

.submission-form button {
    background-color: #4a8c4a;
    color: white;
    border: none;
    padding: 10px 20px;
    font-family: "Tahoma", "Arial", sans-serif;
    font-size: 13px;
    cursor: pointer;
}

.submission-form button:hover {
    background-color: #3a7a3a;
}

.submission-status {
    margin-top: 10px;
    padding: 10px;
    background-color: #fff;
    border: 1px solid #ccc;
}

.submission-status.success {
    background-color: #d4edda;
    border-color: #4a8c4a;
    color: #2d5a2d;
}

.submission-status.error {
    background-color: #f8d7da;
    border-color: #c44;
    color: #721c24;
}

.saved-link {
    color: #0066cc;
    word-break: break-all;
    text-decoration: none;
}

.saved-link:hover {
    text-decoration: underline;
}
