body {
    margin: 0;
    font-family: 'Roboto Mono', monospace;
    background-color: #000000;
    color: #a8ff60;
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
}

#loading-screen {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #000000;
    color: #00ff00;
    animation: flicker 2s infinite alternate;
    position: relative;
    z-index: 1;
}

#terminal-animation {
    font-size: 1.5em;
    line-height: 1.4;
    white-space: pre-wrap;
    text-shadow: 0 0 5px #00ff00;
}

#loading-bar {
    margin-top: 20px;
    font-size: 1.2em;
    color: #00ff00;
    text-shadow: 0 0 5px #00ff00;
}

#glitch-screen {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    z-index: 2;
}

#glitch-canvas {
    width: 100%;
    height: 100%;
}

#main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: none;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    position: relative;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.7);
    border: 2px solid #a8ff60;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

section {
    margin-bottom: 50px;
    border-left: 2px solid #a8ff60;
    padding-left: 20px;
    position: relative;
    opacity: 1;
    transition: transform 0.3s ease;
}

section:hover {
    transform: translateY(-5px);
}

h1, h2, h3 {
    color: #a8ff60;
    text-shadow: 0 0 5px #a8ff60;
    margin-bottom: 10px;
}

h1.pvii-header {
    font-size: 3em; /* Larger font size for pvii header */
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 0 0 10px #a8ff60;
}

a {
    color: #64b5f6;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #a8ff60;
    text-decoration: underline;
}

.project {
    background-color: #1e1e1e;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    opacity: 1;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.project:hover {
    transform: translateY(-5px);
}

.project img {
    margin-right: 20px;
    border-radius: 8px;
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 3px solid #a8ff60;
    transition: transform 0.3s ease;
}

.project img:hover {
    transform: scale(1.05);
}

.project img.round {
    border-radius: 50%;
}

.project h3 {
    margin-top: 0;
    color: #a8ff60;
    text-shadow: 0 0 5px #a8ff60;
}

.project p {
    margin: 10px 0;
    color: #ffffff;
}

.no-thumbnail {
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    background-color: #1e1e1e;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#contact {
    text-align: center;
    padding: 40px;
    border: 2px dashed #a8ff60;
    opacity: 1;
    margin-top: 50px;
}

#contact p {
    margin: 10px 0;
    color: #ffffff;
}

/* New styles for languages */
.languages {
    margin: 10px 0;
    font-size: 0.9em;
    color: #dadada;
}

.language {
    margin-right: 5px;
    padding: 2px 5px;
    background-color: #161616;
    border-radius: 3px;
    display: inline-block;
}

@keyframes flicker {
    0% { opacity: 1; }
    50% { opacity: 0.8; }
    100% { opacity: 1; }
}

@keyframes fadeInText {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@media (max-width: 768px) {
    #main-content {
        padding: 10px;
    }

    #terminal-animation {
        font-size: 1.2em;
    }

    section {
        margin-bottom: 30px;
    }

    .project {
        flex-direction: column;
        align-items: flex-start;
    }

    .project img {
        margin-right: 0;
        margin-bottom: 10px;
    }
}