@charset "utf-8";
/* CSS Document */

@import url('https://fonts.googleapis.com/css?family=Kanit:200,300,500');

body {
	background-color: #e2e2e2;
	font-size: 16px;
	font-family: 'Kanit', sans-serif;
	font-weight: 200;
}

text {
	font-size: 16px;
	font-family: 'Kanit', sans-serif;
	font-weight: 200;
}

ul {
	font-size: 16px;
	font-family: 'Kanit', sans-serif;
	font-weight: 200;
}

p {
	line-height: 140%;
}

header {
	background-color: #fff;
	width: 100%;
}

nav {
	background-color: #000;
	color: #fff;
	width: 100%;
	text-align: center;
	font-size: 16px;
	font-weight: 300;
}


nav a {
	padding: 10px 30px 5px;
}

#wrapper {
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	background-color: #fff;
}

.grey-box {
	max-width: 100%;
	margin: 0 auto;
	background-color: #e2e2e2;
	padding: 80px 200px;
}

.grey-box p {
	font-size: 18px;
	line-height: 200%;
}

h1 {
	font-size: 28px;
	font-weight: 500;
	border-bottom: 1px solid #c2c2c2;
	margin-bottom: 14px;
}

h2 {
	font-weight:500;
	font-size: 60px;
	color: #fff;
	width: 100%;
	text-align: center;
	position: absolute;
	left: 0;
	bottom: 40%;
}

#lodge{
  	background-image: url("images/luxury-log-home.jpg");
	min-height: 500px;
}

#kakabeka{
  	background-image: url("images/cottages/lakeside/kakabeka.jpg");
	min-height: 500px;
}

#whitepine{
  	background-image: url("images/cottages/woods/white-pine.jpg");
	min-height: 500px;
}

#splitrock{
  	background-image: url("images/cottages/lakeside/split-rock.jpg");
	min-height: 500px;
}

#tetego{
  	background-image: url("images/cottages/lakeside/tettegouche.jpg");
	min-height: 500px;
}


#lodge, #kakabeka, #whitepine, #splitrock, #tetego {
	min-height: 400px; 
  	background-position: center;
	position: relative;
	background-size: cover;
	background-attachment: fixed;
	background-repeat: no-repeat;
}

footer {
	background-color: #000;
	color: #fff;
	font-size: 13px;
	text-align:center;
	padding: 20px;
}

.navbar {
  overflow: hidden;
  font-weight: normal;
  display: flex;
  align-items: center;
}

.navbar a {
  float: left;
  font-size: 16px;
  color: white;
  text-align: center;
  padding: 18px 16px;
  text-decoration: none;
  font-weight: normal;
}

.dropdown {
  float: left;
  overflow: hidden;
  font-weight: normal;
}

.dropdown .dropbtn {
  font-size: 16px;  
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
	font-weight: normal;
}

.navbar a:hover, .dropdown:hover .dropbtn {
  background-color: gray;
	font-weight: normal;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
	font-weight: normal;
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
	font-weight: normal;
}

.dropdown-content a:hover {
  background-color: #ddd;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.container {
  position: relative;
  width: 50%;
  flex: 50%;
  padding: 10px;
}

.image {
  opacity: 1;
	width:200%;
	height:200%;
	object-fit:cover;
  display: block;
  transition: .5s ease;
  backface-visibility: hidden;
}

.middle {
  transition: .5s ease;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.container:hover .middle {
  opacity: 1;
}

.flexcontainer {
	display: flex;
	flex-direction: row;
}

.feature-box {
	position: relative;
	width: 30%;
	background-color: white;
	padding: 20px;
	margin-left: 120px;
	border-radius: 10px;
	box-shadow: 5px 5px 5px gray;
}

.feature-box2 {
	position: relative;
	width: 60%;
	background-color: white;
	padding: 20px;
	margin-left: 100px;
	border-radius: 10px;
	box-shadow: 5px 5px 5px gray;
}

.form {
	width: 500px;
	clear: both;
	font-size: 16px;
}

label {
	font-size: 16px;
}

.form input {
	width: 100%;
	clear: both;
	font-size: 16px;
}

.accordion {
  background-color: #eee;
  color: #444;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
  transition: 0.4s;
}

.active, .accordion:hover {
  background-color: #ccc;
}

.panel {
  padding: 0 18px;
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}


/* Media Queries */

@media screen and (max-width: 1080px) {
    .grey-box {
        padding: 80px 5%;
    }

    .feature-box,
    .feature-box2 {
        width: 100%;
        margin-left: 0;
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 480px) {
    .grey-box {
        padding: 40px 5%;
    }

    .feature-box,
    .feature-box2 {
        width: 100%;
        margin-left: 0;
        margin-bottom: 20px;
    }

    h2 {
        font-size: 30px;
        bottom: 30%;
    }

    /* Adjusting navbar styles */
    .navbar {
        flex-direction: column;
        align-items: stretch;
    }

    .navbar a {
        float: none;
        text-align: center;
    }

    .dropdown {
        float: none;
    }

    .dropdown-content {
        position: static;
        display: none;
        max-height: 0;
        overflow: hidden;
    }
}
