@charset "UTF-8";

/* MindFirst - Main CSS
   Designer: Kierra Lucas
   Colors:
   Primary Teal: #6AAFC2
   Background Cream: #F5F0E8
   Accent Peach: #F2B5A0
   Text Gray: #5C5C5C
   Deep Teal: #2C6E7F
*/

/* Fonts:
   Headlines: Poppins, sans-serif
   Body: Lora, serif
*/

/* Universal Selector */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Body */
body {
    margin: 0 auto;
    padding: 0;
    width: 100%;
    background-color: #F5F0E8;
    font-family: 'Lora', serif;
    color: #5C5C5C;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: #2C6E7F;
}

/* Paragraphs */
p {
    font-family: 'Lora', serif;
    font-size: 1em;
    color: #5C5C5C;
    line-height: 1.6;
}

/* Navigation */
#mainNav {
    overflow: hidden;
    margin: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    background-color: #2C6E7F;
    width: 100%;
    font-family: 'Poppins', sans-serif;
    height: 65px;
    top: 0;
    z-index: 999;
    padding: 0 30px;
}

#mainNav h1 {
    color: #FFFFFF;
    font-size: 1.4em;
    font-family: 'Poppins', sans-serif;
}

#mainNav a {
    display: inline-block;
    color: #FFFFFF;
    text-align: center;
    padding: 10px 16px;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95em;
}

#mainNav a:hover {
    background-color: #F2B5A0;
    color: #FFFFFF;
    font-weight: 700;
}

#mainNav-right {
    display: flex;
    flex-direction: row;
}

#mainNav-right .active {
    background-color: #F2B5A0;
    color: #FFFFFF;
}

/* Hero/Banner Section */
.home_bg {
    background: #2C6E7F url("../images/who.jpg") no-repeat center center;
    background-size: cover;
    height: 550px;
    margin-top: 65px;
    display: flex;
    align-items: center;
    padding-left: 5%;
}

.hero-content {
    background-color: rgba(245, 240, 232, 0.85);
    padding: 40px;
    border-radius: 10px;
    max-width: 500px;
}

.hero-content h2 {
    font-size: 2.8em;
    color: #2C6E7F;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 1.1em;
    color: #5C5C5C;
    margin-bottom: 20px;
}

/* Quiz Button */
.quiz-btn {
    display: inline-block;
    background-color: #F2B5A0;
    color: #FFFFFF;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1em;
}

.quiz-btn:hover {
    background-color: #2C6E7F;
    color: #FFFFFF;
}

/* Flexbox Container - 3 Column Layout */
.container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    padding: 60px 5%;
    background-color: #E8F0F2;
}

/* Flexbox Items */
.item {
    flex-basis: 30%;
    margin: 1em;
    padding: 1em;
    text-align: center;
}

.item h2 {
    font-size: 1.5em;
    margin-bottom: 0.8em;
    color: #2C6E7F;
}

.item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin-bottom: 1em;
    border-radius: 5px;
}

.item p {
    font-size: 0.95em;
    color: #5C5C5C;
    line-height: 1.7;
}

/* Images */
img {
    max-width: 100%;
}

/* Footer */
footer {
    background-color: #2C6E7F;
    color: #FFFFFF;
    text-align: center;
    padding: 40px 30px;
    line-height: 2;
    font-family: 'Poppins', sans-serif;
}

footer p {
    color: #FFFFFF;
    font-family: 'Poppins', sans-serif;
}

footer a {
    color: #F2B5A0;
    text-decoration: none;
    margin: 0 10px;
}

footer a:hover {
    color: #FFFFFF;
}

.who-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center 70%;
}
