/* Document
 * ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 */

:where(html) {
    line-height: 1.15;
    /* 1 */
}

/* Sections
 * ========================================================================== */

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Edge, Firefox, and Safari.
 */

:where(h1) {
    font-size: 2em;
    margin-block-end: 0.67em;
    margin-block-start: 0.67em;
}

/* Grouping content
 * ========================================================================== */

/**
 * Remove the margin on nested lists in Chrome, Edge, and Safari.
 */

:where(dl, ol, ul) :where(dl, ol, ul) {
    margin-block-end: 0;
    margin-block-start: 0;
}

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Correct the inheritance of border color in Firefox.
 */

:where(hr) {
    box-sizing: content-box;
    /* 1 */
    color: inherit;
    /* 2 */
    height: 0;
    /* 1 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

:where(pre) {
    font-family: monospace, monospace;
    /* 1 */
    font-size: 1em;
    /* 2 */
}

/* Text-level semantics
 * ========================================================================== */

/**
 * Add the correct text decoration in Safari.
 */

:where(abbr[title]) {
    text-decoration: underline;
    text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

:where(b, strong) {
    font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

:where(code, kbd, samp) {
    font-family: monospace, monospace;
    /* 1 */
    font-size: 1em;
    /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

:where(small) {
    font-size: 80%;
}

/* Tabular data
 * ========================================================================== */

/**
 * 1. Correct table border color in Chrome, Edge, and Safari.
 * 2. Remove text indentation from table contents in Chrome, Edge, and Safari.
 */

:where(table) {
    border-color: currentColor;
    /* 1 */
    text-indent: 0;
    /* 2 */
}

/* Forms
 * ========================================================================== */

/**
 * Remove the margin on controls in Safari.
 */

:where(button, input, select) {
    margin: 0;
}

/**
 * Remove the inheritance of text transform in Firefox.
 */

:where(button) {
    text-transform: none;
}

/**
 * Correct the inability to style buttons in iOS and Safari.
 */

:where(button, input:is([type="button" i], [type="reset" i], [type="submit" i])) {
    -webkit-appearance: button;
}

/**
 * Add the correct vertical alignment in Chrome, Edge, and Firefox.
 */

:where(progress) {
    vertical-align: baseline;
}

/**
 * Remove the inheritance of text transform in Firefox.
 */

:where(select) {
    text-transform: none;
}

/**
 * Remove the margin in Firefox and Safari.
 */

:where(textarea) {
    margin: 0;
}

/**
 * 1. Correct the odd appearance in Chrome, Edge, and Safari.
 * 2. Correct the outline style in Safari.
 */

:where(input[type="search" i]) {
    -webkit-appearance: textfield;
    /* 1 */
    outline-offset: -2px;
    /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Safari.
 */

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
    height: auto;
}

/**
 * Correct the text style of placeholders in Chrome, Edge, and Safari.
 */

::-webkit-input-placeholder {
    color: inherit;
    opacity: 0.54;
}

/**
 * Remove the inner padding in Chrome, Edge, and Safari on macOS.
 */

::-webkit-search-decoration {
    -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style upload buttons in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
    -webkit-appearance: button;
    /* 1 */
    font: inherit;
    /* 2 */
}

/**
 * Remove the inner border and padding of focus outlines in Firefox.
 */

:where(button, input:is([type="button" i], [type="color" i], [type="reset" i], [type="submit" i]))::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

/**
 * Restore the focus outline styles unset by the previous rule in Firefox.
 */

:where(button, input:is([type="button" i], [type="color" i], [type="reset" i], [type="submit" i]))::-moz-focusring {
    outline: 1px dotted ButtonText;
}

/**
 * Remove the additional :invalid styles in Firefox.
 */

:where(:-moz-ui-invalid) {
    box-shadow: none;
}

/* Interactive
 * ========================================================================== */

/*
 * Add the correct styles in Safari.
 */

:where(dialog) {
    background-color: white;
    border: solid;
    color: black;
    height: -moz-fit-content;
    height: fit-content;
    left: 0;
    margin: auto;
    padding: 1em;
    position: absolute;
    right: 0;
    width: -moz-fit-content;
    width: fit-content;
}

:where(dialog:not([open])) {
    display: none;
}

/*
 * Add the correct display in all browsers.
 */

:where(summary) {
    display: list-item;
}

* {
    box-sizing: border-box;
}

body {
    font-size: 1.3rem;
}

h1 {
    font-size: 2rem;
}

footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
}

footer div { 
    height: 3rem;
    background-color: #0A0203;
    margin: 0 8px;
    display: flex;
    flex-flow: row;
    justify-content: center;
    align-items: center;
}

footer div a {
    color: white;
    border-right: white solid 1px;
    padding: 0 2rem;
    text-decoration: none;
}

footer div a:last-child {
    border: none;
}

.hero-image {
    background-image: linear-gradient(#55821B, #A9DA67);
   
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    gap: 2rem;
    color: #ffffff;
    padding: 0.5rem 2.8rem;
}

.hero-image ul {
    flex-grow: 1;
}

.hero-image img {
    height: 300px;
}

.hero-image ul li {
    line-height: 3.25rem;
    font-size: 1.5rem;
    text-transform: uppercase;    
}

.hero-image button {
    border-color: black;
    background-color: #FF8F00;
    line-height: 5rem;
    border-style: double;
    box-shadow: 0 8px 16px 0 rgb(0 0 0 / 20%), 0 6px 20px 0 rgb(0 0 0 / 19%);
    cursor: pointer;
    border-radius: 10px;
    font-size: 1.2rem;
    margin-right: 5rem;
}

.navigation {
    display: flex;
    flex-flow: row;
    justify-content: flex-start;
    align-items: center;
    background-color: #0A0203;
    padding: 0.1rem 3rem;
}

.navigation .bars {
    display: none;
}

.navigation ul {
    display: flex;
    flex-flow: row;
    justify-content: flex-start;
    align-items: center;    
    list-style: none;
    margin: 0;
}

.navigation ul a {
    text-decoration: none;
    display: block;
    padding: 1rem;
    color: white;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    border-left: 1px solid rgba(0, 0, 0, 0.1);
}

.navigation ul a:hover {
    background-color: #222121;
}

.navigation ul li:first-of-type a {
    border-left: none;
}

.navigation ul li:last-of-type a {
    border-right: none;
}

.content {
    padding: 1rem 3rem 3rem 3rem;
}

li, p {
    line-height: 1.75rem;
}

.product {
    display: flex;
    flex-flow: row;
}

.product-image {
    padding-top: 24px;
    padding-right: 24px;
}

.product-image img {
    width: 100%;
}

.flex {
    display: flex;
    gap: 30px;
}

.flex .flex-grow {
    flex-grow: 1;
}

.full-width {
    width: 100%;
}

.home-page-img {
    max-width: 500px;
}

.product-desciption ul {
    list-style: none;
    padding-left: 0;
}

.product-desciption ul li {
    position: relative;
    padding-left: 1.5rem;
    color: #454545;
    padding-bottom: 0.5rem;
}

.product-desciption ul li:before {
    content: '✓';
    color: #BAC447;
    position: absolute;
    left: 0;
    width: 1rem;
    height: 1rem;
}

.product-desciption .button-section {
    display: flex;
    padding: 2rem 0;
}

.product-desciption .button-section button {
    border-color: black;
    background-color: #FF8F00;
    line-height: 2rem;
    border-style: double;
    box-shadow: 0 8px 16px 0 rgb(0 0 0 / 20%), 0 6px 20px 0 rgb(0 0 0 / 19%);
    cursor: pointer;
    border-radius: 10px;
    font-size: 1rem;
    width: 15rem;
}

.article img {
    float: right;
    width: 300px;
    margin-left: 1rem;
}

.more-products {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}

.more-products div img {
    width: 400px;
}

.more-products div figcaption {
    text-align: center;
}

@media screen and (max-width: 1200px) {
    body {
        font-size: 1rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    .hero-image img {
        height: 200px;
    }

    .hero-image ul li {
        line-height: 2.45rem;
        font-size: 1rem;
        text-transform: uppercase;
    }

    .navigation {
        position: relative;
        justify-content: space-between;
        padding: inherit
    }

    .navigation ul {
        display: none;
    }

    .navigation .bars {
        display: inline;
        text-decoration: none;
        padding: 1rem;
        color: #ffffff;
    }

    .navigation ul.active {
        display: flex;
        position: absolute;
        top: 3rem;
        left: 0;
        flex-flow: column wrap;
        padding: 0;
        width: 100%;
        background-color: #0A0203;
        z-index: 999;
    }

    .navigation ul.active li {
        width: 100%;
    }

    .navigation ul.active a {
        text-align: center;
        padding: 10px;
        border-top: 1px solid rgba(255, 255, 255, 0.3);
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .navigation ul.active li:last-of-type a {
        border-bottom: none;
    }

    .product-desciption.flex {
        flex-direction: column;
    }

    .hide-mobile {
        display: none;
    }

    .product-desciption .button-section {
        justify-content: center;
    }

    .more-products {
        justify-content: center;
    }
}

@media screen and (max-width: 900px) {

    h1 {
        font-size: 1.2rem;
    }

    .hero-image {
        gap: 0;
        padding: 0.1rem 0.5rem;
    }

    .hero-image img {
        height: 100px;
    }

    .hero-image ul {
        margin-left: 2rem;
    }

    .hero-image ul li {
        line-height: 1.5rem;
        font-size: 0.65rem;
    }

    footer div a {
        padding: 0 1rem;
    }

    .content {
        padding: 0.1rem;
    }

    .product-desciption .button-section {
        padding: 0 0 3rem 0;
    }

    .hide-phone {
        display: none;
    }

    .product-desciption  p:first-child, .product-desciption ul:first-child {
        margin-top: 0;
    }

   
}


@media screen and (max-width: 400px) { 
    footer {
        position: static;
    }

    footer div {
        margin: 0;
    }

    footer div a {
        padding: 0 0.5rem;
    }
}