@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=DM+Sans:wght@400;500;600&family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400&display=swap');

:root {
    --ivory: #F4F1EC;
  --green: #7F8528;
    --red: #651C2A;
    --brown: #3A2925;
    --pink: #A94F70;
    --plum:#5A183F;
    --bright-pink: #D66A91;
    --soft-yellow: #F4EBCF;
    --silver: #B8BDC2;
}

/* BASIC */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background-color: var(--ivory);
    color: var(--brown);
    font-family: 'Cormorant Garamond', serif;
}

/* HEADER */

header {
    background-color: #A94F70;
    background-image:
        linear-gradient(
            90deg,
            rgba(126, 49, 80, 0.45) 50%,
            transparent 50%
        ),
        linear-gradient(
            0deg,
            rgba(126, 49, 80, 0.45) 50%,
            transparent 50%
        );
    background-size: 50px 50px;
    padding: 30px 30px 25px;
}

.header-inner {
    max-width: 1200px;
    margin: auto;
    text-align: center;
}

/* LOGO */

.logo {
    display: inline-block;
    color: var(--ivory);
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 500;
    letter-spacing: 6px;
    line-height: 1;
}

.logo span {
    display: block;
    color: var(--ivory);
    font-family: 'Cormorant Garamond', serif;
    font-size: 15px;
    font-style: italic;
    letter-spacing: 2px;
    margin-top: 6px;
}

/* NAVIGATION */

nav {
    margin-top: 22px;
    display: flex;
    justify-content: center;
    gap: 35px;
    flex-wrap: wrap;
}

nav a {
    color: #FFFFFF;
    text-decoration: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: normal;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

nav a:hover {
    color: #FFFFFF;
}

/* HERO */

.hero {
    text-align: center;
    padding: 100px 25px;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 64px;
    font-weight: 500;
    color: var(--green);
    margin: 0 0 15px;
}

.hero p {
    font-size: 21px;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

/* BUTTON */

.button {
    display: inline-block;
    margin-top: 30px;
    padding: 14px 32px;
    background-color: #B8C93A;
    color: var(--ivory);
    text-decoration: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.button:hover {
    background-color: #9AA23A;
}

/* SECTIONS */

section {
    padding: 50px 30px;
    max-width: 1100px;
    margin: auto;
}

section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 500;
    color: var(--green);
    text-align: center;
    margin-bottom: 30px;
}

/* SHOP */

.shop-intro {
    text-align: center;
    padding: 80px 20px 45px;
}

.shop-intro h1 {
    font-family: 'Playfair Display', serif;
    color: var(--green);
    font-size: 55px;
    margin-bottom: 10px;
}

.shop-intro p {
    font-size: 20px;
    font-style: italic;
}

.products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 40px 100px;
}

.product {
    text-align: center;
}

.product-image {
    height: 360px;
    background-color: #E9E4DE;
    border: 1px solid var(--silver);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.product-image span {
    color: var(--brown);
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    letter-spacing: 1px;
}

.product h2 {
    color: var(--brown);
    font-size: 22px;
    margin: 8px 0;
}

.product p {
    font-size: 16px;
}

/* JOURNAL */
.cards {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin: 50px auto;
}

.card {
    width: 270px;
    min-height: 230px;
    padding: 32px;
    background-color: #A94F70;
    border: none;
    text-align: left;
    box-shadow: none;
}

/* JOURNAL CARD TITLES */
.card h3 {
    color: #ffffff;
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    margin: 0 0 15px;
}

/* JOURNAL CARD MIDDLE TEXT */
.card p {
    color: #173B32;
    font-size: 17px;
    line-height: 1.6;
}

/* JOURNAL CARD BUTTON/LINK */
.card a {
    color: #ffffff;
    text-decoration: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
/* CARD TITLES */
.card h3 {
    color: #FFFFFF !important;
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    margin: 0 0 15px;
}

/* MIDDLE/BODY TEXT */
.card p {
    color: #FFFFFF !important;
    font-size: 17px;
    line-height: 1.6;
}

/* CARD LINKS */
.card a {
    color: #FFFFFF !important;

    text-decoration: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* REMOVE THE DIFFERENT TOP BORDERS */
.card:nth-child(1),
.card:nth-child(2),
.card:nth-child(3) {
    border-top: none;

}

/* FOOTER */

footer {
    background-color: #A94F70;
    background-image:
        linear-gradient(
            90deg,
            rgba(126, 49, 80, 0.28) 50%,
            transparent 50%
        ),
        linear-gradient(
            0deg,
            rgba(126, 49, 80, 0.28) 50%,
            transparent 50%
        );
    background-size: 55px 55px;
    color: var(--ivory);
    text-align: center;
    padding: 65px 20px;
}

footer h2 {
    font-family: 'Playfair Display', serif;
    color: var(--ivory);
    font-size: 42px;
    margin: 0;
}

footer .tagline {
    color: var(--ivory);
    margin-top: 4px;
    margin-left: 18px;
    font-style: italic;
}

.footer-links {
    margin-top: 30px;
}

.footer-links a {
    color: var(--ivory);
    margin: 0 10px;
    text-decoration: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links a:hover {
    color: var(--bright-pink);
}

.copyright {
    margin-top: 30px;
    font-size: 13px;
}

/* MOBILE */

@media (max-width: 800px) {

    .logo {
        font-size: 40px;
    }

    nav {
        gap: 16px;
    }

    nav a {
        font-size: 10px;
    }

    .hero {
        padding: 70px 20px;
    }

    .hero h1 {
        font-size: 48px;
    }

    .products {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .product-image {
        height: 400px;
    }

    .cards {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 90%;
        max-width: 350px;
    }
}/* ORIGINAL BABII PINK */
.hero a,
button,
.btn,
.button,
a.button {
    background-color: var(--green);
    color: var(--ivory);
    border-color: var(--green);
}
/* CONTACT FORM */

.contact-form {
    max-width: 600px;
    margin: 40px auto 0;
}

.contact-form label {
    display: block;
    margin-top: 20px;
    margin-bottom: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--green);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--silver);
    background-color: var(--ivory);
    color: var(--brown);
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    display: block;
    margin: 25px auto 0;
    padding: 14px 32px;
    border: none;
    background-color: var(--green);
    color: var(--ivory);
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
}

.contact-form button:hover {
    background-color: #9AA23A;
}
main > section + section {
    padding-top: 20px;
}
.card a:hover {
    font-weight: 700;
}