@charset "utf-8";

/*
Second Chance Cats Design System

Colors:
Yellow: #F2BE16
Sage Green: #A3B18A
Cream: #F6F1E9
Dark Gray: #2F2F2F
Light Gray: #D9D9D9
*/

/* Universal Selector */
* {
    box-sizing: border-box;
    margin: 0;
}

/* Body */
body {
    background-color: #F6F1E9;
    color: #2F2F2F;
    margin: 0 auto;
    padding: 0;
    width: 100%;
}

/* Grouped Selector */
h1, h2, h3 {
    font-family: Arial, sans-serif;
    color: #2F2F2F;
}

p {
    font-family: Georgia, serif;
    line-height: 1.6;
}

/* Header */
header {
    text-align: center;
    padding: 30px;
}

header h1 {
    font-size: 3em;
    margin-bottom: 15px;
}
header h1 a {
    color: #2F2F2F;
    text-decoration: none;
}

header h1 a:hover {
    color: #2F2F2F;
}

/* Navigation */
nav {
    background-color: #2F2F2F;
    padding: 15px;
    margin-top: 15px;
}

nav a {
    color: #F6F1E9;
    text-decoration: none;
    padding: 10px;
    font-weight: bold;
}

nav a:hover {
    background-color: #F2BE16;
    color: #2F2F2F;
}
h1 a {
    text-decoration: none;
    color: #2F2F2F;
}

/* Sections */
section {
    width: 90%;
    margin: 30px auto;
    padding: 20px;
    background-color: white;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 15px auto;
}

/* Quick Help Flexbox */
.quickhelp {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.quickhelp h2 {
    flex-basis: 100%;
    text-align: center;
}

.quickhelp article {
    flex-basis: 30%;
    margin: 10px;
    padding: 15px;
    background-color: #F6F1E9;
}

/* Footer */
footer {
    background-color: #2F2F2F;
    color: #F6F1E9;
    text-align: center;
    padding: 30px;
}

footer h2,
footer h3,
footer p {
    color: #F6F1E9;
    margin: 10px;
}

footer a {
    color: #F2BE16;
    text-decoration: none;
}
section article {
    margin-bottom: 25px;
}

section article h3 {
    margin-bottom: 10px;
}

section article p {
    margin-bottom: 15px;
}

article {
    margin-bottom: 30px;
}

h3 {
    margin-bottom: 10px;
}

article p {
    margin-top: 10px;
}
.hero {
    position: relative;
    text-align: center;
}

.hero img {
    width: 100%;
    display: block;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    background-color: rgba(0,0,0,.6);
    color: white;

    padding: 20px;
    border-radius: 10px;
}

.hero-text h2,
.hero-text p {
    color: white;
}

section article {
    margin-bottom: 30px;
}

section article h3 {
    margin-bottom: 8px;
}

section article p {
    margin-bottom: 15px;
}
/* Support Section Spacing */

section h2 {
    margin-bottom: 25px;
}

section article {
    margin-bottom: 35px;
}

section article h3 {
    margin-bottom: 12px;
}

section article p {
    margin-top: 8px;
}