@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@100;300;500;700&display=swap");
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*:focus {
    border: solid 3px --clr-secondary;
}

:root {
    --ff-primary: "Montserrat", sans-serif;

    --fw-xlight: 100;
    --fw-light: 300;
    --fw-medium: 500;
    --fw-bold: 700;

    --fs-h1: 3rem;
    --fs-h2: 2.25rem;
    --fs-h3: 1.25rem;
    --fs-body: 1rem;

    --clr-primary: #fedc3d;
    --clr-secondary: #01abaa;
    --clr-accent: #fea680;
    --clr-black: #000000;
    --clr-white: #ffffff;

    --bs: 0.25em 0.25em 0.75em rgba(0, 0, 0, 0.25), 0.125em 0.125em 0.25em,
        rgba(0, 0, 0, 0.1);
}

@media (min-width: 800px) {
    :root {
        --fs-h1: 4.5rem;
        --fs-h2: 3.75rem;
        --fs-h3: 1.5rem;
        --fs-body: 1.25rem;
    }
}

body {
    background-color: var(--clr-accent);
    font-family: var(--ff-primary);
    font-size: var(--fs-body);
    line-height: 1.6;
}
section {
    padding: 5em 2em;
}

img {
    display: block;
    max-width: 100%;
    box-shadow: var(--bs);
}

strong {
    font-weight: var(--fw-bold);
    display: block;

}

h1,
h2,
h3 {
    line-height: 1;
}

h1 {
    font-size: var(--fs-h1);
    font-weight: var(--fw-medium);
    margin-bottom: 1em;
}

h2 {
    font-size: var(--fs-h2);
}
h3 {
    font-size: var(--fs-h3);
}

.section-title {
    line-height: 1.3;
    font-weight: var(--fw-medium);
}

.section-subtitle {
    margin: 0;
    background-color: var(--clr-secondary);
    height: 3.2em;
    margin: 1em;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0.25em 0.25em 0.75em rgba(255, 255, 255, 0.25);
}

nav {
    display: none;
}

@media (min-width: 600px) {
    .hero-section {
        display: grid;
        width: 100%;
        margin: 0 auto;
        column-gap: 1em;
        grid-template-areas: "img title";
        grid-template-columns: 1fr 1fr;
    }
    .hero-image {
        grid-area: img;
        min-width: 300px;
    }
    .hero-title {
        grid-area: title;
    }
}

.work-section {
    background-color: var(--clr-black);
    background-image: url("../images/portfoliowork.png");
    background-size: cover;
    color: var(--clr-white);
    text-align: center;
    margin: 1em;
}

.work-categories {

    display: flex;
    margin: 1em;
}

.work-category {
    background-color: rgba(0, 0, 0, 0.25);
    margin: 1em;
    border-radius: 1rem;
    padding: 1em;
    box-shadow: var(--bs);
}


footer {
    background-color: #010101;
    color: var(--clr-secondary);
    text-align: center;
    padding: 2.5em, 0;
    font-size: var(--fs-h3);
}

footer a {
    color: inherit;
    text-decoration: none;
}

.footer-link {

    font-weight: var(--fw-bold);
}

.footer-link:hover,
.social-list-item:hover {
    opacity: 0.7;
    text-decoration: underline;
}

.social-list {
    list-style: none;
    display: flex;
    justify-content: center;
    margin: 2em 0 0;
}

.social-list-item {
    margin: 0 0.5em;
}

