/* =============================
   Global Reset
============================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
}

/* =============================
   Page Background
============================= */
body {
    color: black;
    background: linear-gradient(180deg, #2e7d73, #1f6d69);
    min-height: 100vh;
}

/* =============================
   HEADER BAR
============================= */
.top-bar {
    background: #4f8f85;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

/* Title */
.top-bar h1 {
    color: white;
    font-size: 24px;
    font-weight: 600;
}

/* =============================
   CONTROLS ROW
============================= */
.controls {
    display: flex;
    align-items: center;
    gap: 18px;
}

/* Inputs */
.controls select,
.controls input,
.controls button {
    height: 36px;
    padding: 6px 12px;
    border-radius: 4px;
    border: none;
    font-size: 14px;
}

/* File input needs slight adjustment */
#aFile {
    background: white;
}
.width{
    
    display: flex;
    flex-direction: column;
}
.width p2{
    font-weight: bold;
}
/* Quality block */
.quality {
    display: flex;
    flex-direction: column;
    color: rgb(0, 0, 0);
}
.quality p2{
    font-weight: bold;
}
.input p{
    font-size: small;
    font-weight: bolder;
}
.quality p {
    font-size: 11px;
    margin-bottom: 4px;
    opacity: 0.85;
}
.quality2{
    display: flex;
    flex-direction: row;
    margin-left: 10px;
}

/* Reset button styled like concept button */
#Reset {
    background: #6c79ff;
    color: white;
    cursor: pointer;
    transition: 0.2s ease;
}

#Reset:hover {
    background: #5966e0;
}

/* =============================
   MAIN CONTENT AREA
============================= */
main {
    padding: 60px;
}

/* Image grid */
#imageSection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
}



/* =============================
   CARD STYLING
============================= */
#imageSection section {
    background: #f2f2f2;
    width: 300px;
    border-radius: 6px;
    padding: 20px;
    text-align: center;
    color: black;
}

/* Image placeholder style */
#imageSection img {
    width: 200px;
    height: 220px;
    object-fit: cover;
    background: #cfcfcf;
    margin-bottom: 15px;
}

/* Text under image */
#imageSection p {
    font-size: 14px;
    margin: 6px 0;
}


