html {
    font-size: 62.5%; /* 10 pixels / 16 pixels = 0.625 * 100  */
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Figtree', 'Montserrat', sans-serif;
}

div {
    margin: 0;
    padding: 0;
}

p {
  font-family: 'Figtree', 'Montserrat', sans-serif;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5 {
  margin: 0;
  padding: 0;
}

/* --- END OF COMMON STYLES */

/* NAVBAR */

.navbar {
    height: 9rem;
    background-color: #f2fff2;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.logo {
  padding-left: 10rem;
}

.logo img {
  width: 220px;
}

.logo-cont h2 {
    color: green;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: .2rem;
    text-transform: uppercase;
    /* background-color: red; */
}

.main-menu {
  margin-right: 7rem;
}

.main-nav {
    list-style: none;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
}

.main-nav-item {
    margin: 0 3rem;
    position: relative;
    text-align: center;
}

.main-nav-link {
    color: #004900;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: .1rem;
    text-transform: uppercase;
    text-decoration: none;
    transition: color .5s;
}

.main-nav-link::before {
    content: "";
    width: 0rem;
    height: .1rem;
    background-color: #009200;
    position: absolute;
    top: -1rem;
    transition: width .5s cubic-bezier(1,0,0,1);
}

.main-nav-link::after {
    content: "";
    width: 0rem;
    height: .1rem;
    background-color: #009200;
    position: absolute;
    bottom: -1rem;
    right: 0rem;
    transition: width .5s cubic-bezier(1,0,0,1);
}


.main-nav-link:hover {
    color: #009200;
}

.main-nav-link:hover::before, .main-nav-link:hover::after {
    width: 100%;
}

/* PAGE HEADER */

section.page-header {
  height: 30rem;
  background: linear-gradient(to top, rgba(0,0,0,.8), rgba(0,0,0,.7)), url(images/le-borgne-green-brick.jpg) center no-repeat;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}


.page-header h1 {
  color: #fff;
  font-size: 6rem;
  text-transform: uppercase;
}

section.content{
  min-height: 50vh;
  padding: 7rem 5rem;
  display: flex;
  flex-direction: column;
  justify-content: top;
  align-items: center;
  background-color: #f5f5f5;
}

.content-wrapper {
  width: 50vw;
}

section.content h3 {
  padding-bottom: 4rem;
  font-size: 2.5rem;
  font-weight: 800;
  color: maroon;
}

section.content p {
  padding-bottom: 3rem;
  font-size: 1.8rem;
  font-weight: 500;
  color: #444444;
  line-height: 3rem;
}

.GBR {
  font-style: italic;
  font-size: 1.9rem;
}

footer {
  min-height: 20rem;
  background: linear-gradient(to top, rgba(3,27,9,0.9), rgba(3,27,9,0.9)), url(images/karsten-winegeart-p2hNyi566a8-unsplash.jpg) center no-repeat; /* 4,36,12, */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
}

footer p {
  font-size: 1.4rem;
}

footer p.quote {
  padding-bottom: 2rem;
  font-size: 1.3rem;
}

footer img {
  width: 200px;
  margin: 0 auto;
  padding-bottom: 2rem;
}


@media all and (max-width: 1020px) {

  .logo {
    padding-left: 5rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .main-menu {
    margin-right: 3rem;
  }

  .main-nav-item {
      margin: 0 2rem;
  }

  .main-nav-link {
      font-size: 1.4rem;
  }

}


@media all and (max-width: 825px) {

  .content-wrapper {
    width: 75vw;
  }

  .navbar {
      height: auto;
      background-color: #f2fff2;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      padding-bottom: 0.8rem;
  }

  .logo {
    padding-left: 0rem;
  }

  .logo-cont h2 {
    color: green;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: .2rem;
    text-transform: uppercase;
    /* background-color: red; */
  }

  .main-menu {
    margin-right: 0rem;
    width: 100%;
  }

  .main-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    padding: 0;
    margin: 0;
  }

  .main-nav-item {
    margin: 0;
    position: static;
    text-align: left;
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
  }

  .main-nav-link {
    color: #004900;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: .1rem;
    text-transform: uppercase;
    text-decoration: none;
    transition: none;
  }

}

@media all and (max-width: 530px) {

  .page-header h1 {
    font-size: 5rem;
  }

  footer p.quote {
    padding-left: 2rem;
    padding-right: 2rem;
  }


}
