/* ================= BASIC RESET ================= */
* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    background-color: #fff;
}


h1{
    display: flex;
    justify-content: center;
    text-align: center;
    font-size: 2.5rem;
    padding: 1rem;
    font-family: monospace;
      background-color: rgba(243, 224, 189, 0.859);
  color: brown;
}
/* ================= PROJECT CARD ================= */
/* This alone guarantees centering */
.project_Card {
    width: 80%;
    margin: 2.5rem auto;   /* 🔥 CENTER FIX */
    padding: 20px;

    background: rgba(252, 240, 217, 0.408);
    border: 2px solid rgba(243, 224, 189, 0.859);
    border-radius: 8px;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project_Card:hover {
    transform: scale(1.02);
    box-shadow: 0px 4px 12px rgba(246, 204, 127, 0.859);
}

/* ================= IMAGE SECTION ================= */
.upperIMGproject {
    text-align: center;
}

.projectImage {
    width: 60%;
    border: 2px solid rgba(0, 0, 0, 0.45);
    border-radius: 10px;
}

/* ================= TEXT SECTION ================= */
.lowerproject h1,
.lowerproject h5 {
    text-align: center;
    color: brown;
    margin: 1rem 0;
    font-size: 1.5rem;
    border-radius: 25px;
    width: auto;
}

.lowerproject h4 {
    text-align: center;
    font-weight: 300;
    color: black;
    margin: 0.5rem 0;
    font-size: 1.3rem;
}

/* ================= LIST ================= */
.projectlanguage-list {
    margin-top: 2rem;
    list-style: disc;
    list-style-position: inside;
    text-align: center;
    color: #333;
}

.projectlanguage-list h4 {
    color: brown;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 300;
}

.projectlanguage-list li {
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
}

/* ================= BUTTON SECTION ================= */
.viewprojectsection {
    text-align: center;
    margin-top: 1.5rem;
}

.viewoutput {
    list-style: none;
    padding: 0;
    margin: 0;
}

.viewbutton {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 10px;

    background-color: rgba(243, 228, 200, 0.768);
    color: black;
    text-decoration: none;

    border-radius: 6px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.viewbutton:hover {
    transform: scale(1.05);
    border: 1px solid brown;
    box-shadow: 0px 4px 12px rgba(246, 204, 127, 0.859);
}
