html {
    font-size: 16px;
}

body {
    background-color: #fff;
    height: 100vh;
    overscroll-behavior: none;
    margin: 0;
    color: #000;
}

a {
    color: #355E3B;
}

a:hover, a:focus, a:active {
    color: #122115;
    text-decoration: none;
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100%;
}

header {
    background-color: #fff;
}

header nav {
    background-color: #262626;
}

header a {
    text-decoration: none;
}

header nav.navbar a.nav-link {
    color: #fff;
}

.mobile-menu {
    font-size: 30px;
    color: #000;
}

h1 {
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 3rem;
    margin-bottom: 0;
}

h2 {
  font-family: "Fira Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
}

h2 > span {
    display: block;
    font-size: 1.1rem;
}

p.headline-subtext {
  font-family: "Fira Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
}

header nav.navbar a.nav-link:hover,
header nav.navbar a.nav-link:active,
header nav.navbar a.nav-link:focus {
    color: #ccc;
    text-decoration: underline;
}

header nav.navbar .nav-item {
    padding-left: 1rem; /* 16px */
    padding-right: 1rem; /* 16px */
}

header .contact-us {
    padding: 0.9375rem 0; /* 15px / 16px */
    color: #000;
}

header .contact-us p {
    margin-bottom: 0;
}

header .contact-us .contact-us-title {
    font-size: 1.5rem; /* 24px / 16px */
}

main {
    flex: 1 0 auto;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
}

main .container {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.alt-light-bg {
    background-color: #ccc;
}

.alt-dark-bg {
    background-color: #404040;
    color: #fff;
}

.hero-image {
    height: 400px;
    background-position: center;
    background-size: cover;
}

.hero-image h1 {
    font-size: 2.5rem;
}

.hero-image.home-hero-image p {
    font-size: 0.875rem;
}

.home-hero-image {
    background-image: url('../images/hero-tractor.jpg');
}
.about-hero-image {
    background-image: url('../images/hay.jpg');
}

.cropinsurance101-hero-image {
    background-image: url('../images/harvest.jpg');
}

.resources-hero-image {
    background-image: url('../images/grain-elevator.jpg');
}

.mpcihailpolicy-hero-image {
    background-image: url('../images/contracts.jpg');
}

.whyus-hero-image {
    background-image: url('../images/sugar-beets.jpg');
}

.hero-image, .about-hero-image {
    color: #fff;
}

.shadow {
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.5)!important
}

.protection-list {
    list-style: none;
    padding-left: 0;
    margin-top: 3.75rem; /* 60px / 16px */
}

.benefits-list {
    list-style: none;
    padding-left: 45px;
}

.protection-list li {
    padding: 0 0 5px 30px;
    font-size: 1.375rem; /* 22px / 16px */
    text-align: left;
    clear: both;
}

.benefits-list li {
    padding: 0 0 5px 20px;
    text-align: left;
    clear: both;
    font-size: 1.125rem; /* 18px / 16px */
}

.protection-list i {
    float: left;
    margin-left: -30px;
    margin-top: 5px; 
}

.benefits-list i {
    float: left;
    margin-left: -20px;
    margin-top: 5px; 
}

.protection-list span { 
    float: left;
    padding-left: 35px;
}

.benefits-list span {
    float: left;
    padding-left: 20px;
}

.supplemental-image {
    color: #fff;
}

.header-logo {
    max-width: 100%;
    padding: 0.9375rem 0; /* 15px / 16px */
}

.contact-info {
    font-size: 1.125rem; /* 18px / 16px */
    font-weight: 600;
}

.contact-info a {
    text-decoration: none;
}

.img-overlay {
    background-color: #000;
    opacity: 0.65;
    margin-left: 12px;
    margin-right: 12px;
    z-index: 5;
}

.img-overlay-text {
    z-index: 20;
    width: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
}

footer {
    background-color: #000;
    color: #fff;
}

footer a {
    text-decoration: none;
}

footer .container {
    padding: 1.875rem 0; /* 30px / 16px */
}

.mobile-navigation[open] {
    position: fixed;
    right: 0;
    top: 0;
    height: 100vh;
    width: 400px; 
    max-width: 80%;
    max-height: none;
    margin: 0;
    border: none;
    padding: 20px;
    box-shadow: -2px 0 5px rgba(0,0,0,0.2);
    transform: translateX(0);
    transition: transform 1s ease-out;
}

/* Position the dialog off-screen when closed (before it's opened via showModal) */
.mobile-navigation {
    transform: translateX(100%);
    transition: transform 1s ease-out;
}

/* Style the backdrop */
.mobile-navigation::backdrop {
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 1;
    transition: opacity 1s ease-out;
}

/* Ensure the backdrop fades out when the dialog closes */
.mobile-navigation:not([open])::backdrop {
    opacity: 0;
}

/* *, *::before, *::after {
    box-sizing: border-box;
} */


/* Small devices and up */
@media (min-width: 576px) { 
    .header-logo {
        max-width: 300px;
        padding: 0.9375rem 0; /* 15px / 16px */
    }
    
    .hero-image h1 {
        font-size: 3rem;
    }

    .hero-image.home-hero-image p {
        font-size: 1rem;
    }
}

/* Medium devices and up */
@media (min-width: 768px) { 

}