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;
}

body {
  color: #384b59;
  text-shadow: 1px 1px 5px #bcbcbc;
}

h1 {
  font-size: 12vh;
  margin-bottom: 3vh;
}

h2 {
  font-size: 5vh;
  margin-bottom: 1vh;
}

h1, h2 {
  font-family: 'Rufina', serif;
}

p {
  font-size: 3vh;
  margin-bottom: 2vh;
  font-family: 'DM Sans', sans-serif;
  padding: 0 1vh;
}

a {
  text-decoration: none;
  color: inherit;
}

#contact a:hover {
  text-decoration: underline;
}

section {
  padding: 1vw;
  text-align: center;
}

.page {
  width: 100vw;
  height: 100vh;
  overflow-y: scroll;
}
.rental {
  width: 98vw;
  height: 35vh;
  background-size: cover;
  background-position: center;
  margin: 1vh 0;
  box-shadow: 1px 1px 5px #444;
}

.whiteness {
  width: 100%;
  height: 100%;
  background: rgba(56,75,89,0.6);
  color: white;
}

.whiteness:hover {
  background: rgba(56,75,89,0.2);
}

/* RENTAL IMAGES */
#cabin {
  background-image: url("../images/cabin.jpg");
}
#camper {
  background-image: url("../images/camper.jpg");
}
#cottage {
  background-image: url("../images/cottage.jpg");
}
#purple {
  background-image: url("../images/purple.jpg");
}
#sunshine {
  background-image: url("../images/sunshine.jpg");
}
#hobbit {
  background-image: url("../images/hobbit.jpg");
}

.reverse {
  width: 100vw;
  overflow: hidden;
  background: #384b59;
  color: white;
  padding: 1vh;
}

/* FOOTER */
footer {
  justify-content: space-between;
  max-width: 100vw;
  overflow: hidden;
  background-color: #eee;
  color: gray;
  padding: 2vh 0 0 0;
  box-shadow: 0 10px 10px -7px inset darkgrey;
}
footer p {
  font-family: monospace;
  font-size: 8px;
  margin-bottom: 1vh;
}
footer a {
  color: cornflowerblue;
}


@media only screen and (min-width: 800px){
  .rental {
    width: 25vw;
    height: 20vw;
    margin: 1vh;
  }
  .container {
    flex-direction: row;
    flex-wrap: wrap;
  }
}
