/* Styles for DMC LCC Website */

@font-face {
    font-family: "Impact";
    src: url("./assets/Impact-Font/impact.ttf") format("tff");
  }

  @font-face {
    font-family: "Libre_Baskerville";
    src: url("./assets/Libre_Baskerville/LibreBaskerville-Regular.ttf") format("tff");
  }

:root {
    --chartreuse: #B9D654;
    --dark-chartreuse: #aec84e;
    --hammer-handle: #ffe035;
    --jake-green: #ADE954;
    --dark-hammer-handle: #;
    --desktop-width: 90%;
    --mobile-width: 80%;
    --main-font: 'Impact', Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    --second-font: 'Libre_Baskerville', Serif;
}

.text-center {
    text-align: center;
    margin:auto;
}

.text-justify {
    text-align: justify;
    margin:auto;
}

::-moz-selection { /* Code for Firefox */
    color: #000000;
    background: var(--dark-chartreuse);
  }
  
::selection {
    color: #000000;
    background: var(--dark-chartreuse);
}

html {
    background-color: var(--chartreuse);
}

body {
    margin: auto;
    background-color: var(--chartreuse);
    
}

p {
    font-family: var(--second-font);
    font-size: 16px;
}

a {
    color: #000;
}

a:hover {
    color: var(--dark-chartreuse);
}

main {
    width:var(--desktop-width);
    background-color: #ffffff;
    margin:auto;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
}

.banner {
    width: 100%;
    background-color: var(--hammer-handle);
}

.banner__text {
    margin: auto;
    text-align: center;
    padding-top: 3px;
    padding-bottom: 3px;
}

.header__image {
    width: var(--desktop-width);
    height:150px;
    margin: auto;
    background-image: url("./img/metal grate background.jpeg");
    background-color: grey;
    text-align: center;
}

.header__image-h1 {
    margin: 0;
    padding-top: 2%;
    font-family: var(--main-font);
    font-size: 2.5em;
}

.header__image-h2 {
    font-family: var(--second-font);
    font-size: 1.5em;
}

nav {
    max-width: var(--desktop-width);
    margin: auto;
    background-color: var(--hammer-handle);
    display: flex;
    justify-content: space-around;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
}

nav > a {
    padding-top: .5em;
    padding-bottom: .5em;
    color: #000;
    text-decoration: none;
    font-weight: bold;
    font-family: var(--main-font);
}

nav > a:hover {
    color: var(--dark-chartreuse);
    text-decoration: none;
    letter-spacing: 1pt;
    cursor:pointer;
}

/* Main */

.main__title {
    text-align: center;
    margin-top: 0;
    margin-bottom: .5em;
    padding-top: 1em;
    font-size: 2em;
    font-family: var(--main-font);
}

.main__description {
    max-width: 80%;
    margin-top: 0%;
    margin-bottom: 5%;
    font-family: var(--second-font);
    font-size: 18px;
}

.product__vertical {
    text-align: center;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
}

.images-side-by-side {
    display: flex;
    justify-content: space-around;
}

.images-side-by-side > * {
    max-width: 50%;
    height: auto;
}

/* Mobile break at 900px -- Make it vertical */

@media screen and (max-width: 900px) {
    .images-side-by-side {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
    }

    .product__vertical {
        margin: auto;
        display: flex;
        flex-direction: column;
        max-width: 80%;
        margin-top: .5em;
    }

    .product__button-link {
        margin: auto;
    }
    
}

.product__image.single-product {
    margin: auto;
    max-width: 400px;
}

.product__title {
    margin-top: .5em;
    margin-bottom: 0;
    font-size: 1.5em;
}

.product__description {
    max-width: 80%;
    margin-top: 1%;
    margin-bottom: 2%;
    text-align: justify;
    font-family: var(--second-font);
    font-size: 18px;
}

.product__button--vetical {
    display: block;
    border: 1px solid var(--dark-chartreuse);
    margin-top: .5em;
    margin-bottom: 1em;
    margin-left: auto;
    margin-right: auto;
    background-color: var(--chartreuse);
    font-family: var(--main-font);
    font-size: 16px;
}

.product__button--vetical:hover {
    background-color: var(--hammer-handle);
    color: #000000;
}

.product__button--vetical:active {
    background-color: var(--hammer-handle);
    color: var(--dark-chartreuse);
}

.product__button-link {
    text-decoration: none;
    width: 50%;
}

.product__vertical.single-product {
    max-width: 60%;
    margin: auto;
    padding-bottom: 1em;
}

@media screen and (max-width: 900px) {
    .product__vertical.single-product {
        max-width: 80%;
        margin: auto;
    }
}

.product__list {
    text-align: left;
    margin-top: 0;
    padding-left: 10%;
}

.product_list-item {
    list-style: circle inside none;
}



/* FOOTER */

footer {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2em;
    margin-top: 2em;
    background-color: #ffffff;
    display: flex;
    justify-content: space-around;
    background-color: var(--hammer-handle);
}

.footer-column > h4 {
    font-family: var(--main-font);
}

.footer__image {
    max-width: 200px;
    height: auto;
    align-self: flex-start;
    justify-self: center;
}

@media screen and (max-width: 720px) {
    footer, .footer__list, .footer-column {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
    }

    .footer__image {
        align-self: center;
        justify-self: center;
    }

    footer, .footer-column {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 2em;
    }

    .footer-column {
        width: 50%;
        text-align: center;
    }
}


/* CONTACT INFO IN FOOTER */

.footer__list {
    list-style: none;
    padding-left: 0;
}

.footer__list > a {
    font-family: var(--main-font);
    text-decoration: none;
}

.contact-card {
    text-align: center;
    max-width: var(--desktop-width);
    margin: auto;
}

/* Mobile break at 900px -- Make it vertical */

@media screen and (max-width: 900px) {
    .product__vertical {
        margin: auto;
        display: flex;
        flex-direction: column;
        max-width: 80%;
        margin-top: .5em;
    }
}

.bold-text {
    font-weight: bold;
    font-family: var(--main-font);
}

.no-bottom-margin {
    margin-bottom: 0;
}

.sm-bottom-margin {
    margin-bottom: 1.25em;
}