html {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

*, *:before, *:after {
  -webkit-box-sizing: inherit;
  -moz-box-sizing: inherit;
  box-sizing: inherit;
  }

.flex {
	display: flex;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flex-row {
  display: flex;
	flex-direction: row;
}

.flex-column {
  display: flex;
	flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}
/* MULTI-SECTION STYLES */
body {
  font-family: 'ff-scala-sans-pro', sans-serif;
  font-size: 3vh;
  text-align: center;
}

h1, table, #contact p {
font-family: 'Sirenia', serif;
}

p {
  line-height: 4vh;
}

.bold {
  font-weight: bold;
}

.italic {
  font-style: italic;
}

  /* FONT SIZES */
h1, h2, h3 {
  margin-bottom: 2vh;
}

h1 {
  font-size: 5.5vh;
}

h2 {
  font-size: 4vh;
}

h3 {
  font-size: 3.5vh;
}

h4 {
  font-size: 3vh;
  font-weight: bold;
  align-self: flex-start;
  padding-left: 2vh;
}

  /* TEXT STYLING */
h1, #photos h1:first-child, #contact a, footer p > a, .gallery h1, #location a, .list-horizontal {
  color: #1e630f;
}

#location a {
  font-variant: small-caps;
  font-size: 4.5vh;
  background: white;
  padding: 1vh 2vh 2vh;
  border: 1px solid #c0c0c0;
  border-radius: 1vh;
  box-shadow: 0 0 2vh #c0c0c0;
  transition: background-color .2s linear, color .2s linear;
  -moz-transition: background-color .2s linear, color .2s linear; /* Firefox 4 */
  -webkit-transition: background-color .2s linear, color .2s linear; /* Safari and Chrome */
  -o-transition: background-color .2s linear, color .2s linear; /* Opera */
  -ms-transition: background-color .2s linear, color .2s linear; /* Explorer 10 */
}

#location h1, #photos > h1, #contact h1, .gallery h1 {
  padding: 4vh 0 2vh;
  border-bottom: 1px solid;
  line-height: 4vh;
}
#photos > h1 {
  padding-top: 0;
}

#location h1, #photos > h1, #contact h1 {
  width: 95%;
}

#location h1, #photos > h1, #contact h1, .gallery h1 {
  border-color: #1e630f;
 }

 .menu, .banner-text h1, #photos h1 {
   color: #f7f7f7;
 }

.banner-text h2, .banner-text h1, #photos h3:last-of-type {
  padding-bottom: 0;
}

.banner-text h2, #summary h1:nth-of-type(2) {
  margin-bottom: 0;
}

  /* MODULES */
.map, #photos > div {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

section, footer {
  padding: 2vh;
  line-height: normal;
}

/* DROPDOWN MENU */
.menu {
  text-align: right;
  flex-grow: 1;
  z-index: 1;
  position: fixed;
  top: 0;
  right: 0;
}

.menu div {
  background: rgba(0,0,0,0.5);
}

.menu-button {
  padding: 2vh;
  font-size: 5vh;
  max-width: min-content;
  align-self: flex-end;
}

.list {
  padding: 2vh;
  right: 0;
  font-size: 4vh;
}

.list-horizontal {
  display: none;
}

.menu a {
  padding: 1vh 0;
}

/* INTRO */
.intro {
  flex-direction: column;
}

/* LOGO */
.logo {
  margin: 9vh 2vh 0;
}

.logo img {
  width: 95vw;
}

/* SUMMARY */
section#summary {
  justify-content: space-around;
  padding-bottom: 0;
}

/* DESCRIPTION */
#description p {
  padding: 0 2vh 2vh;
  text-align: left;
  font-size: 2vh;
  text-indent: 2vh;
}

table {
  border: 1px solid #222222;
  margin-top: 2vh;
}

td {
  padding: 2vh;
}

/* LOCATION */
.map {
  width: 100%;
}

.map img {
  width: 100%;
}

/* PHOTOS */
#photos > div {
  margin: 1vh 0;
  color:  #f7f7f7;
  width: 94vw;
  height: 36vh;
}

#photos > div > div {
  width: 100%;
  background: rgba(0,0,0,0.5);
  height: 60%;
  padding: 2vh;
  transition: height .2s linear;
  -moz-transition: height .2s linear; /* Firefox 4 */
  -webkit-transition: height .2s linear; /* Safari and Chrome */
  -o-transition: height .2s linear; /* Opera */
  -ms-transition: height .2s linear; /* Explorer 10 */
}

.cabin {
  background-image: url("../images/cabin/cabin-front.jpg");
}

.cottage {
  background-image: url("../images/cottage/cottage-porch-side.jpg");
}

.camper {
  background-image: url("../images/camper/camper-sideview.jpg");
}

.sheds {
  background-image: url("../images/sheds/shed-wood.jpg");
}

.general {
  background-image: url("../images/general/creek.jpg");
}

/* CONTACT */
#contact p {
  font-size: 3vh;
  padding: 1vh;
}

#contact h2 {
  font-size: 3.5vh;
}
.quicklinks a {
  color: #646464;
}
/* SOCIAL */
.fa {
  padding: 0;
  font-size: 3.5vh;
  text-decoration: none;
  background: transparent;
  color: #646464;
  border-radius: 2px;
}


/* FOOTER */
footer {
  padding-top: 4vh;
  border-top: 2vh solid white;
}

footer h1 {
  font-size: 5vh;
}

footer > div > div {
  width: 50%;
}

footer > div > div:first-child {
  text-align: left;
}

footer > div > div:nth-child(2) {
  text-align: right;
}

footer p > a {
  padding: .5vh 0 2vh;
  display: inline-block;
  width: 100%;
}

/* GALLERIES */
.gallery h1 {
  width: 100%;
}

.building-description {
  margin-bottom: 2vh;
  font-size: 2vh;
}

/* SLICK SLIDER */
.slider {
  width: 80vw;
}

.slider div img {
  max-height: 75vh;
  max-width: 100%;
  /* margin-bottom: 3vh; */
}

.gallery img {
  max-width: 100%;
  margin: 0 auto;
}

.slick-prev:before, .slick-next:before {
  color: #1e630f!important;
  font-size: 5vh!important;
}

/* LANDSCAPE MODE/TABLET STYLING */
@media (orientation: landscape) {
  table {
    width: 75vw;
  }
  .map img {
    width: 90vw;
  }
  #photos {
    flex-direction: row;
    flex-wrap: wrap;
  }
  #photos > div {
    width: 45vw;
    height: 50vh;
    margin: 1vh;
  }
  .slider-for, .slider-nav {
    width: 90vw;
  }
}

@media screen and (min-width: 800px) {
  h2 {
    font-size: 3.5vh;
  }
  h3 {
    font-size: 3vh;
  }
  section, footer, .logo {
    max-width: 1200px;
    margin: 0 auto;
  }
  .menu-button {
    display: none;
  }
  .list-horizontal {
    display: flex;
    width: 50%;
    justify-content: space-between;
  }
  .list-horizontal a:hover, .quicklinks a:hover, #contact a:hover{
    text-decoration: underline;
  }
  .logo, #location {
    width: 100%;
  }
  .logo img {
    width: 50%;
  }
  #description p {
    font-size: 2.5vh;
  }
  .map img {
    width: 80%;
  }
  .gallery {
    background: none;
  }
  #photos {
    justify-content: space-between;
  }
  #photos h1:first-child{
    width: 100%;
  }
  #photos > div {
    width: 30%;
  }
  #photos > div:last-child {
    flex: 1;
    width: auto;
  }
  #photos > div > div:hover {
    height: 100%;
  }
  .slider-for, .slider-nav {
    width: 90%;
  }
  #location a:hover{
    background: #1e630f;
    color: white;
  }
  footer {
    width: 100vw;
    border-width: 1vh;
  }
  #contact h1 {
    width: auto;
  }
}
