@import url('https://fonts.googleapis.com/css?family=Julius+Sans+One|Open+Sans+Condensed:300,300i,700|Quicksand');
@import url('https://fonts.googleapis.com/css?family=Questrial|Raleway');
@import url('https://fonts.googleapis.com/css?family=Crimson+Text|Poppins|Quicksand:300,400,500,700');

/* Colour variables */
:root {
  --darkGrey: rgb(92, 92, 94);
  --lightGrey: rgb(150, 150, 150);
  --lightGreyBG: rgb(244, 244, 244);
  --green: rgb(1, 223, 137);
  --footerBG: rgb(30, 31, 33);
}

/* Global */
* {
  transition: all ease-in-out 250ms;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
}

html {
  box-sizing: border-box;
}

body {
  font-family: 'Crimson Text', serif;
  font-size: 20px;
  color: var(--darkGrey);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h2 {
  font-family: 'Questrial', sans-serif;
  letter-spacing: 1px;
  text-align: center;
  font-weight: bold;
  text-transform: uppercase;
  color: var(--lightGrey);
}

/* Top Header Bar*/
.topnav-bar h1 {
  float: left;
  font-family: 'Julius Sans One', sans-serif;
  letter-spacing: 2px;
  text-shadow: 1px 2px 2px rgb(212,175,55);
  font-size: 25px;
  color: white;
  text-transform: uppercase;
  padding-top: 10px;
  padding-left: 25px;
}
nav {
  position: fixed;
  width: 100%;
  overflow: hidden;
  background-color: rgba(0,0,0,0);
  transition: 2s;
}
nav.black {
  background-color: rgba(0,0,0,1);
}
nav ul {
  float: right;
  list-style: none;
  padding-top: 10px;
  padding-left: 15px;
  padding-right: 15px;
}
nav ul li {
  display: inline-block;
  padding-left: 15px;
  padding-right: 15px;
}
nav ul li a{
  color: white;
  font-family: 'Questrial', sans-serif;
  letter-spacing: 1.5px;
  text-decoration: none;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 14px;
}
nav ul li:hover, li.active, li.contact-border-active {
  border-bottom-width: 2px;
  border-bottom-style: solid;
  border-color: white;
  padding-bottom: 10px;
}
nav ul li a.contact-border-active, a.contact-border {
  border-radius: 50px;
  border: 2px solid white;
  padding: 25px;
  padding-top: 15px;
  padding-bottom: 15px;
}
nav ul li a.contact-border-active, a.contact-border:hover {
  background: white;
  color: black;
}
nav ul li.contact-border:hover, li.contact-border-active, li.contact-border-active:hover {
  border-color: rgba(0,0,0,0);
}

.menu-icon {
  width: 100%;
  font-size: 28px;
  background: black;
  text-align: right;
  box-sizing: border-box;
  padding: 10px 30px 10px 10px;
  cursor: pointer;
  color: white;
  display: none;
}

.actions {
  margin: 0 2rem;
}

/* Smaller Devices */
@media(max-width: 1265px) {
  .topnav-bar h1 {
    position: fixed;
    padding: 0 10px 0px 30px;
  }
  nav {
    max-width: 100%;
    background: black;
  }
  nav ul {
    margin: 0;
    max-height: 0px;
    background: black;
  }
  .burger-menu-items {
    width: 100vw;
  }
  .show-menu {
    max-height: 20em;
  }
  nav ul li{
    box-sizing: border-box;
    width: 100%;
    padding: 0px 0px 20px 0;
    text-align: center;
    border: none;
  }
  nav ul li:hover, li.active, li a.contact-border, li.contact-border:hover{
    border:none;
  }
  nav ul li a.contact-border {
    border:none;
  }
  nav ul li a.contact-border:hover {
    background: black;
    color: white;
  }
  .menu-icon {
    display: block;
  }
}

/* Homepage Content */
.home-slideshow {
  background-image: url(../img/01-exterior-1.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  height: 100vh;
  padding: 0;
  /* padding: 11em 0; */
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slideshow-container .lozenge-btn {
  width: 100%;
}

.intro, .contact {
  margin: auto;
  width: 60%;
  padding: 5em 0 5em 0;
  text-align: left;
}

@media (max-width: 820px) {
  .intro, .contact {
    width: 80%;
  }
}

.contact h2 {
  letter-spacing: 1.5px;
  padding: 10px 0 20px 0;
}
.intro p, .newsletter p {
  font-size: 20px;
  line-height: 30px;
}
.intro h2, .contact h2{
  width: 100%;
  color: rgb(92, 92, 94);
  text-transform: none;
}
.inner-wrapper, .inner-wrapper2 {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
article, aside .container{
  float: right;
  margin: 2em 0 3em 0;
}
article img, aside img {
    max-width: 500px;
}
.inner-wrapper h2, .inner-wrapper2 h2 {
  letter-spacing: 5px;
  font-size: 20px;
}
.inner-wrapper p, .inner-wrapper2 p {
  padding: 5% 20% 5% 20%;
}
.lozenge-btn {
  font-family: 'Questrial', sans-serif;
  font-size: 15px;
  font-weight: bold;
  letter-spacing: 1px;
  color: white;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 50px;
  background: var(--green);
  border: 2px solid var(--green);
  padding: 25px;
  padding-top: 20px;
  padding-bottom: 20px;
}
.lozenge-btn:hover {
  border: 2px solid black;
  background: black;
}

.newsletter h1 {
  font-family: 'Questrial', sans-serif;
  font-size: 40px;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 1.5px;
}
.newsletter {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 1em;
  padding-bottom: 1em;
  padding-left: 2em;
  padding-right: 2em;
  background: var(--lightGreyBG);
}
.subscribe-container{
  width: 100%;
  padding: 4em 0 4em 0;
  border: 1px solid red;
}
.newsletter input[type="email"]{
  font-family: 'Crimson Text', serif;
  font-size: 15px;
  padding: 5px 5px 5px 10px;
  height: 40px;
  width: 300px;
  border: 1px solid rgb(200,200,200);
}
.button1 {
  margin-top: 20px;
  margin-left: 20px;
  font-family: 'Crimson Text', serif;
  font-size: 18px;
  text-transform: uppercase;
  height: 50px;
  border: none;
  background: rgb(30, 31, 33);
  color: white;
  padding-left: 50px;
  padding-right: 50px;
  cursor: pointer;
}
.button1:hover, input[type=submit]:hover  {
  background: rgb(92, 92, 94);
}

/* Contact Form */
input[type=text], select, textarea {
    width: 100%;
    font-family: 'Crimson Text', serif;
    font-size: 15px;
    padding: 5px 5px 5px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical;
}

input[type=submit] {
  margin-top: 20px;
  margin-bottom: 20px;
  font-family: 'Crimson Text', serif;
  font-size: 18px;
  text-transform: uppercase;
  height: 50px;
  border: none;
  background: var(--footerBG);
  color: white;
  padding-left: 50px;
  padding-right: 50px;
  cursor: pointer;
}

.container {
    border-radius: 5px;
    background-color: #f2f2f2;
    padding: 20px;
}

/* Footer */
footer {
  color: white;
  padding: 20px;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color:	var(--footerBG);
}

@media(max-width:1000px) {
  .intro {
    width: 90%;
  }
  article, aside {
    float:none;
    text-align: center;
    width: 100%;
  }
}