body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-image: url(../images/layered-peaks-haikei.svg);
    background-size: cover;
    background-position: center;
    z-index: 5;
    background-attachment: fixed;
}

main {
    padding: 20px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(35%, 1fr));
    gap: 30px;
    padding-top: 150px;
    perspective: 1000px;
}


.project-card {
    background-color: #0000003a;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: 0.1s ease;
    position: relative;
    transform-style: preserve-3d;
}

.project-card img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.project-card h3,
.project-card p {
    padding: 10px;
    color: #fff;
}

.project-card a {
    text-decoration: none;
    color: #333;
}

.project-images2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.project-images2 img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

@media only screen and (max-width: 768px) {
    .project-images {
        grid-template-columns: repeat(2, minmax(100px, 1fr));
    }

    .project-images img {
        width: 100%;
        height: auto;
    }

    .video-container {
        height: 50vh;
    }

    .project-images2 img {
        height: 200px;
    }

    .project-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}