/**
 * 
 * Version: 1.0.0 
 */

@import url("https://fonts.googleapis.com/css2?family=Lato&display=swap");

:root {
  --main-color: #0b7b04;
  --dark-main-color: #064902;
  --secondary-color: #e6f1e5;
  --dark-secondary-color: #b5d7b3;
  --mobile-menu-height-closed: 90px;
  --mobile-menu-height-open: 200px;
  --desktop-menu-height: 70px;
  --mobile-mediaquery-width: 975px;
}

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

html {
  font-size: 62.5%;
}

body {
  background: linear-gradient(
      180deg,
      rgba(181, 215, 179, 1) 0%,
      rgba(252, 253, 252, 1) 100%
    )
    no-repeat;
  /* background-repeat: repeat-y repeat-x; */
  /* background-position: center top; */

  font-family: "Arial Black", "Arial Bold", "Gadget", sans-serif;
  text-align: center;
  /* Affects text and border box color and all other color properties. */
  color: var(--main-color);
}

/* Content Space has a different font */
.content-space h1,
.content-space h2,
/* .content-space h3, */
.content-space p {
  font-family: "Lato", sans-serif;
}

/* General Font Sizes */
h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 2.2rem;
}

p {
  font-size: 2rem;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  font-weight: bold;
}

a:link {
  color: var(--dark-main-color);
}

a:visited {
  color: var(--dark-main-color);
}
a:active {
  color: #74047b;
}
a:hover {
  color: #010c00;
}

.no-bullet-list {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.product {
  border: 0.2rem solid;
  background-color: var(--dark-secondary-color);
  border-radius: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Utility Classes */
.container {
  margin: auto;
  overflow: auto;
  /* opacity: 0.9; */
}

.container-nofill {
  margin: auto;
  overflow: auto;
  border-radius: 2rem;
}

.container h2 + h3 {
  padding: 0.2rem 0;
  line-height: 1.2;
}

.container h2 {
  padding: 1.05rem 0;
  margin-top: 0.5rem;
}

.container p {
  margin: 0.2rem 0;
  padding-top: 0.5rem;
}

.content-space {
  margin-top: 2rem;
  padding: 0 2rem;
  border-radius: 2rem;
}

.text-emphasis {
  font-size: 2.7rem;
}

/* Navbar */
#navbar {
  background-color: var(--main-color);
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  opacity: 0.8;
  width: 100%;
  height: var(--desktop-menu-height);
  position: fixed;
  top: 0px;
  padding: 0 30px;
  transition: 0.4s;
  z-index: 1;
}

#navbar a {
  color: #fff;
  padding: 10px 20px;
  margin: 0 5px;
  z-index: 2;
  font-style: italic;
}

#navbar ul a:hover,
#navbar ul li a.current {
  transition: all 0.18s ease-in;
  background-color: var(--dark-secondary-color);
  color: var(--dark-main-color);
  border-radius: 2rem;
}

#navbar .logo {
  font-size: 3.4rem;
  font-weight: 400;
}

#navbar ul {
  font-size: 1.8rem;
  display: flex;
  list-style: none;
}

#navbar ul li {
  height: 28px;
}

#home_main h1,
#home_main h2,
#home_main h3,
#home_main h4,
.product {
  text-shadow: -0.1rem -0.1rem 0.1rem var(--secondary-color);
}

/* Flex items */
.content-parent {
  margin-top: 60px;
  display: flex;
  justify-content: center;
  height: 100%;
}

.flex-items > div {
  padding: 20px;
}

.content-parent .content-section {
  display: flex;
  flex-direction: rows;
  flex-wrap: wrap;
  width: 100%;
}

.content-parent .content-section {
  display: flex;
  flex-direction: column;
  flex-basis: 100%;
  flex: 1;
}

.content-parent .column-1,
.content-parent .column-2 {
  height: 100%;
}

.content-parent .column-2 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 30px;
}

/* Product */
.product {
  margin-top: 1.5rem;
}

/* Background for boxes */
.bg-main {
  background: var(--main-color);
  color: var(--secondary-color);
  opacity: 0.8;
}

.bg-main h1,
.bg-main h2,
.bg-main h3,
.bg-main p {
  z-index: 1;
}

.bg-secondary {
  background: var(--secondary-color);
  color: var(--main-color);
}

/* Font-awesome icons */
.icons {
  padding: 30px;
}

.icons h3 {
  font-weight: bold;
  font-style: italic;
  margin-bottom: 15px;
  font-size: 4rem;
  /* font-family: "Arial Black", "Arial Bold", "Gadget", sans-serif; */
}

.icons p {
  font-size: 2rem;
}

.icons i {
  background-color: var(--main-color);
  color: var(--secondary-color);
  padding: 1rem;
  border-radius: 50%;
  margin-bottom: 15px;
}

.icons .bg-main i {
  background-color: var(--secondary-color);
  color: var(--main-color);
}

/* Flex Content inside Containers */
.flex-inner-content {
  display: flex;
  text-align: center;
  justify-content: center;
  text-align: center;
  height: 100%;
}

.flex-inner-content > div {
  padding: 20px;
  flex-basis: 100%;
  flex: 1;
}

/* Footer */
.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 200px;
}

.footer a {
  color: var(--main-color);
}

.footer a:hover {
  color: var(--dark-main-color);
}

.footer .social {
  display: flex;
  flex-direction: row;
  width: 100px;
  justify-content: space-around;
}

.footer .social > * {
  margin-right: 0px;
}

.footer .copyright {
  font-size: 1.2rem;
  font-style: italic;
}

/* Slideshow CSS */
.slides {
  /* display: none; */
}

.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

/* Mobile */
@media (max-width: 975px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.8rem;
  }

  p {
    font-size: 1.6rem;
  }

  #navbar {
    flex-direction: column;
    justify-content: center;
    /* height goes to 200px when expanded. */
    height: var(--mobile-menu-height-closed);
    padding: 20px;
    overflow: hidden;
  }

  #navbar ul {
    /* Display goes to flex */
    display: none;
    flex-direction: column;
    justify-content: center;
  }

  #navbar .logo {
    font-size: 2.9rem;
    margin-bottom: 0.8rem;
  }

  #navbar ul a {
    font-size: 1.65rem;
    padding: 2px 10px;
    margin: 0 3px;
  }

  .content-parent {
    /* Goes to 200px when menu expands */
    margin-top: 100px;
    flex-direction: column;
  }

  .content-section .column-1,
  .content-section .column-2 {
    flex: 100%;
    max-width: 100%;
  }

  .flex-inner-content {
    flex-direction: column;
  }
}
