body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom, #eaeaea, #d6d6d6);
    background-attachment: fixed;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

#backbutton img {
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

#backbutton img:hover {
    transform: scale(1.1);
}

.header {
    text-align: center;
    margin-bottom: 2rem;
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #a500ce;
}

.header p {
    font-size: 1.1rem;
    color: #666;
}
.projects-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 350px));
    margin: 0 auto;
    width: 90%;
    justify-content: center;
}

.project-card {
    background: #fff;
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1vh;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    max-width: 40vh;
    max-height: 40vh;
}

.project-card:hover {
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

.project-card img {
    width: 20%;
    height: auto;
    object-fit: cover;
    margin-bottom: 1rem;
}

.project-card h2 {
    font-size: 1.5rem;
    color: #a500ce;
    margin-bottom: 0.5rem;
}

.project-card p {
    font-size: 1rem;
    color: #555;
}

#fogCanvas {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1000px;
    z-index: -1;
}