﻿:root {
    --primary: #16c9d4;
    --secondary: #16c9d4;
    --text: #16c9d4;
    --bg: #16c9d4;
}
.Proj {
    font-size:36px;
    text-align: center;
    margin-top: 60px;
    margin-bottom: 60px;
    font-family: "Montserrat", sans-serif;
}
    .Proj:hover {
        color: #16c9d4;
    }

.project_container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
}

.card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    animation: fadeIn 1s ease-in-out;
    display: flex;
    flex-direction: column;
}

    .card img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        transition: transform .5s ease;
    }

    .card:hover img {
        transform: scale(1.05);
    }

.content {
    padding: 20px;
    flex: 1;
}

h1 {
    margin: 0 0 10px;
    font-size: 1.6rem;
    position: relative;
}

    h1::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -5px;
        width: 0;
        height: 4px;
        background: linear-gradient(to right, var(--primary), var(--secondary));
        border-radius: 2px;
        transition: width .5s ease;
    }

.card:hover h1::after {
    width: 100%;
}

p {
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 900px) {
    .container {
        grid-template-columns: 1fr;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}