:root {
    --primary-color: #2c3e50;
    --accent-color: #3498db;
    --text-color: #333;
    --light-bg: #e1e1e2;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--light-bg);
    color: var(--text-color);
    line-height: 1.8;
}

.container {
    max-width: 900px;
    margin: 50px auto;
    padding: 40px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.header {
    text-align: center;
    margin-bottom: 40px;
}

h1 {
    color: var(--primary-color);
    font-size: 2.5em;
    margin-bottom: 10px;
}

h2 {
    color: var(--primary-color);
    font-size: 1.8em;
    margin: 30px 0 20px;
}

.tagline {
    font-size: 1.2em;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.section {
    margin: 30px 0;
    padding: 20px;
    background: var(--light-bg);
    border-radius: 8px;
}

.section p {
    text-align: center;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.skill-tag {
    background: var(--accent-color);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9em;
    transition: all 0.3s ease;
    cursor: pointer;
}

.skill-tag:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background: #2980b9;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.social-links a {
    text-decoration: none;
    color: var(--accent-color);
    font-weight: bold;
    padding: 10px 20px;
    border: 2px solid var(--accent-color);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-color);
    color: white;
}

#links-container a {
    display: inline-block;
    margin: 5px 0;
    padding: 8px 12px;
    background: var(--accent-color);
    color: white;
    border-radius: 5px;
    transition: background 0.3s ease;
}

#links-container a:hover {
    background: #2980b9;
}

.footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    color: #666;
    font-size: 0.9em;
}

@media (max-width: 768px) {
    .container {
        margin: 20px;
        padding: 20px;
    }
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: block;
    opacity: 1;
}

.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 30px;
    border-radius: 12px;
    width: 80%;
    max-width: 600px;
    position: relative;
    transform: translateY(-50px);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-button {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    cursor: pointer;
    color: #666;
}

.close-button:hover {
    color: var(--accent-color);
}

.links-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 10px;
}

.link-card {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.link-card a {
    color: var(--accent-color);
    font-weight: bold;
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
}

.link-card p {
    margin: 0;
    color: var(--text-color);
}