/* Schoolwork-themed CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Comic Sans MS', 'Marker Felt', cursive, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
    min-height: 100vh;
}

.notebook-container {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    padding: 40px;
    background-image: 
        linear-gradient(to right, #ff6b6b 2px, transparent 2px),
        linear-gradient(to bottom, transparent 0%, transparent calc(100% - 1px), #e0e0e0 calc(100% - 1px), #e0e0e0 100%);
    background-size: 100% 32px;
    background-position: 40px 0;
    position: relative;
}

/* Red margin line on the left */
.notebook-container::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #ff6b6b;
}

.header {
    margin-bottom: 40px;
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 3px dashed #667eea;
}

.title {
    font-size: 3em;
    color: #2d3561;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
    font-family: 'Comic Sans MS', cursive;
}

.subtitle {
    font-size: 1.3em;
    color: #667eea;
    font-style: italic;
}

.section {
    margin: 40px 0;
    padding: 20px;
    padding-left: 60px;
    position: relative;
}

.section-title {
    font-size: 2em;
    color: #2d3561;
    margin-bottom: 20px;
    text-decoration: underline;
    text-decoration-color: #ffd93d;
    text-decoration-thickness: 4px;
    font-family: 'Comic Sans MS', cursive;
}

.content {
    font-size: 1.1em;
    line-height: 32px;
    color: #333;
}

.content p {
    margin-bottom: 16px;
    text-indent: 30px;
}

.project-card {
    background: linear-gradient(135deg, #ffd93d 0%, #ffb347 100%);
    border: 2px solid #2d3561;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.1);
    transform: rotate(-0.5deg);
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: rotate(0deg) scale(1.02);
}

.project-card:nth-child(even) {
    transform: rotate(0.5deg);
    background: linear-gradient(135deg, #a8e6cf 0%, #6bcf7f 100%);
}

.project-card h3 {
    color: #2d3561;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.project-card p {
    color: #333;
    text-indent: 0;
}

.interests-list {
    list-style: none;
    padding-left: 20px;
}

.interests-list li {
    font-size: 1.2em;
    margin: 12px 0;
    padding: 10px;
    background: #f8f9fa;
    border-left: 4px solid #667eea;
    border-radius: 4px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.photo-placeholder {
    aspect-ratio: 1;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border: 3px solid #2d3561;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    color: white;
    font-weight: bold;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.1);
    transform: rotate(-2deg);
    transition: transform 0.3s ease;
}

.photo-placeholder:hover {
    transform: rotate(0deg) scale(1.05);
}

.photo-placeholder:nth-child(even) {
    transform: rotate(2deg);
}

.footer {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 3px dashed #667eea;
    text-align: center;
    color: #666;
    font-size: 1em;
    padding-left: 60px;
}

.date {
    margin-top: 10px;
    font-style: italic;
    color: #999;
}

.link-section {
    text-align: center;
    margin: 60px 0;
}

.main-link {
    display: inline-block;
    padding: 25px 50px;
    font-size: 2em;
    font-weight: bold;
    color: white;
    background: linear-gradient(135deg, #ffd93d 0%, #ff6b6b 100%);
    text-decoration: none;
    border-radius: 15px;
    border: 4px solid #2d3561;
    box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.2);
    transform: rotate(-2deg);
    transition: all 0.3s ease;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.main-link:hover {
    transform: rotate(0deg) scale(1.1);
    box-shadow: 12px 12px 0 rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #ff6b6b 0%, #ffd93d 100%);
}

.main-section {
    text-align: center;
}

.main-section p {
    font-size: 1.3em;
    text-indent: 0;
}

/* Responsive design */
@media (max-width: 768px) {
    .notebook-container {
        padding: 20px;
        background-position: 20px 0;
    }
    
    .notebook-container::before {
        left: 20px;
    }
    
    .section {
        padding-left: 40px;
    }
    
    .title {
        font-size: 2em;
    }
    
    .section-title {
        font-size: 1.5em;
    }
    
    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}
