/* General Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f7f7f7;
}

.container {
    max-width: 800px;
    padding: 40px;
    background: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin: 20px;
}

/* Tabs */
.tabs {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 2px solid #eee;
}

.tab-button {
    background: none;
    border: none;
    padding: 10px 20px;
    font-size: 1.1rem;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    position: relative;
    color: #666;
    transition: color 0.3s;
}

.tab-button:hover {
    color: #4a90e2;
}

.tab-button.active {
    color: #4a90e2;
}

.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #4a90e2;
}

/* Content Styles */
h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 600;
    color: #333;
}

h2 {
    font-size: 2rem;
    margin-bottom: 25px;
    color: #333;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #444;
}

p {
    font-size: 1.2rem;
    line-height: 1.5;
    margin-bottom: 15px;
    color: #555;
}

a {
    color: #4a90e2;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Project Styles */
.project-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.project-info {
    flex: 1;
}

.project-media {
    flex: 1;
    margin-top: 60px; /* Offset to align with the description text, accounting for title height */
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    margin-top: 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .project-card {
        flex-direction: column;
    }
    
    .project-info,
    .project-media {
        width: 100%;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 20px;
        margin: 10px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    p {
        font-size: 1rem;
    }
}