body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    font-family: Arial, sans-serif;
    text-align: center;
}

.container {
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

h1 {
    color: #333;
}

p {
    color: #666;
}

.build-info {
    position: fixed;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-family: monospace;
    z-index: 1000;
}

.background-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 1s ease-in-out;
}

#bgLayer1 { z-index: -2; }
#bgLayer2 { z-index: -1; opacity: 0; }

.background-hover {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    cursor: help;
}

.menu {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    text-align: center;
    width: 100%;
}

.menu-item {
    font-family: 'VT323', monospace;
    font-size: 96px;
    color: white;
    text-decoration: none;
    display: inline-block;
    margin: 10px 0;
    padding: 5px 20px;
    background-color: black;
    position: relative;
    opacity: 0.95;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.menu-item:hover {
    opacity: 1;
    transform: scale(1.05);
}

.about-container {
    max-width: 800px;
    margin: 40px auto;
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.about-content {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
}

.about-content h1 {
    font-family: 'VT323', monospace;
    font-size: 48px;
    margin-bottom: 30px;
    color: #000;
    text-align: center;
}

.about-text p {
    margin-bottom: 25px;
    font-size: 18px;
}

.image-container {
    margin: 30px 0;
    text-align: center;
}

.about-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about-image:hover {
    transform: scale(1.02);
}

.image-caption {
    font-style: italic;
    color: #666;
    margin-top: 10px;
    font-size: 16px;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.back-link {
    text-align: center;
    margin-top: 40px;
}

.back-link a {
    color: #333;
    text-decoration: none;
    font-family: 'VT323', monospace;
    font-size: 24px;
    transition: color 0.3s ease;
}

.back-link a:hover {
    color: #000;
}

.cv-container {
    max-width: 90%;
    margin: 20px auto;
    background: #1e1e1e;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.cv-content {
    font-family: 'Consolas', monospace;
    font-size: 16px;
    line-height: 1.6;
    color: #d4d4d4;
    overflow-x: auto;
    text-align: left;
}

.python-code {
    margin: 0;
    white-space: pre;
    tab-size: 4;
    display: inline-block;
    min-width: 100%;
    text-align: left;
}

.comment {
    color: #6a9955;
}

.keyword {
    color: #569cd6;
}

.string {
    color: #ce9178;
}

.function {
    color: #dcdcaa;
}

.class-name {
    color: #4ec9b0;
}

.self {
    color: #9cdcfe;
}

.back-link {
    text-align: center;
    margin-top: 40px;
}

.back-link a {
    color: #d4d4d4;
    text-decoration: none;
    font-family: 'VT323', monospace;
    font-size: 24px;
    transition: color 0.3s ease;
}

.back-link a:hover {
    color: #ffffff;
}

.social-badges {
    position: fixed;
    bottom: 50px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.social-badges img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.social-badges img:hover {
    transform: scale(1.1);
}

.cv-box-container {
    position: fixed;
    top: 20px;
    right: 20px;
    perspective: 1000px;
    z-index: 100;
}

.cv-box-image {
    max-width: 300px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: rotateY(10deg);
    transition: transform 0.3s ease;
}

.cv-box-image:hover {
    transform: rotateY(0deg) scale(1.05);
}

/* Project tile styles removed as they are now in coolprojects/styles.css */

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 3rem;
        padding: 2rem;
    }
    
    .card-front, .card-back {
        padding: 2rem;
    }
    
    .card-front h2 {
        font-size: 1.2rem;
    }
    
    .info-button {
        width: 1.6rem;
        height: 1.6rem;
        font-size: 0.9rem;
    }
} 