/* Assignment 5 - Media Queries
   This file loads AFTER original.css, so these rules override it. */

/* ---------- X-Small: up to 575.98px (phones) ---------- */
@media (max-width: 575.98px) {

    /* Required change 1: hide the intro section */
    #intro {
        display: none;
    }

    /* Required change 2: background color + padding on the two headings */
    #portfolio-logo h2,
    #portfolio-web h2 {
        background-color: #384452;
        color: #ffffff;
        padding-top: 15px;
        padding-bottom: 15px;
    }

    /* Required change 3: border separating each logo */
    .logo {
        border-top: 2px solid #bfc9d3;
    }

    /* Extra change 1: smaller header text and shorter header */
    header {
        font-size: 1.2rem;
        min-height: 150px;
    }
}

/* ---------- Small: 576px and up ---------- */
@media (min-width: 576px) {

    /* Logos in 2 columns */
    .logo {
        width: 50%;
    }

    /* Extra change 2: light gray page background */
    body {
        background-color: #f2f2f2;
    }
}

/* ---------- Normal: 768px and up ---------- */
@media (min-width: 768px) {

    /* Logos in 4 columns */
    .logo {
        width: 25%;
    }

    /* Website images in 2 columns */
    .web {
        width: 50%;
    }

    /* Extra change 3: gold header text */
    header {
        color: #ffd700;
    }
}
