/* =====================================
   Projekt Content Block
   ===================================== */


.project-card {

    width: 100%;

    max-width: 900px;

    margin: 40px auto;

    padding: 30px;

    background: #fff;

    border: 1px solid #ddd;

    border-radius: 12px;

    box-shadow: 0 3px 12px rgba(0,0,0,.08);

    font-family: "JetBrains Mono", monospace;

    color: #333;

    line-height: 1.6;

}



/* =====================================
   Header
   ===================================== */


.project-header {

    margin-bottom: 25px;

    border-bottom: 3px solid var(--bs-primary);

    padding-bottom: 15px;

}



.project-header h1 {

    margin: 0;

    font-size: 2rem;

}



/* =====================================
   Bild + Beschreibung
   ===================================== */


.project-intro {

    display: flex;

    flex-direction: column;

    gap: 25px;

    margin-bottom: 30px;

}



/* =====================================
   Bild
   ===================================== */


.project-image {

    width: 100%;

    text-align: center;

}


.project-image img {

    width: 100%;

    max-height: 500px;

    height: auto;

    object-fit: contain;

    border-radius: 12px;

    border: 1px solid var(--bs-border-color);

    display: block;

}



/* =====================================
   Beschreibung
   ===================================== */


.project-description {

    width: 100%;

    font-size: 0.95rem;

    line-height: 1.7;

}



.project-description p {

    margin: 0;

}



/* =====================================
   Informationen
   ===================================== */


.project-content {

    margin-top: 20px;

}



.project-row {

    display: grid;

    grid-template-columns: 240px 1fr;

    gap: 15px;

    align-items: start;

    margin-bottom: 20px;

}



.project-row strong {

    font-size: 1rem;

    font-weight: 700;

}



.project-row p {

    margin: 0;

    font-size: 0.95rem;

}



/* =====================================
   Buttons
   ===================================== */


.project-buttons {

    display: flex;

    justify-content: center;

    gap: 15px;

    flex-wrap: wrap;

    margin-top: 30px;

}



.project-button {

    display: inline-block;

    padding: 10px 22px;

    background: #333;

    color: #fff;

    text-decoration: none;

    border-radius: 8px;

    font-family: "JetBrains Mono", monospace;

    transition: all .2s ease;

}



.project-button:hover {

    background: #555;

    color: #fff;

    transform: translateY(-2px);

    box-shadow: 0 4px 12px rgba(0,0,0,.15);

}



/* =====================================
   Mobile
   ===================================== */


@media(max-width:700px) {


    .project-card {

        padding: 20px;

        margin: 20px auto;

    }


    .project-header h1 {

        font-size: 1.5rem;

    }


    .project-image img {

        max-height: none;

        width: 100%;

    }


    .project-row {

        grid-template-columns: 1fr;

        gap: 5px;

    }


    .project-buttons {

        flex-direction: column;

    }


    .project-button {

        text-align: center;

    }

}
