/* Custom properties/variables  */
:root {
  --main-white: #fffff;
  --main-purple: #7b1fa2;
  --main-green: #d4e157;
  --main-pink: #cc3399;
  --main-blue: #80deea1;
}

* {
  box-sizing: border-box;
}



body {
  padding: 10px;
  background: var(--main-white);
  max-width: 960px;
  margin: auto;
  font-size: 100%;
}

/* Header scroll to sticky */
.header {
  padding: 10px;
  text-align: center;
  background: var(--main-white);
}

h1 {
  font-family: "Trebuchet MS", Helvetica, sans-serif;
  font-size: 2.5em;
}

h2 {
  font-family: "Trebuchet MS", Helvetica, sans-serif;
  font-size: 1.5em;
}

p {
  font-family: Georgia, serif;
}

p2 {
  font-family: Georgia, serif;
  font-size: .9em;
}

/* Style the top navigation bar */
.topnav {
  display: flex;
  background-color: white;
  border-bottom: 6px solid #d4e157;
  border-radius: 5px;
  flex-direction: row-reverse;
  align-items: center;
  align-content: flex-end;
  position: -webkit-sticky; /* Safari */
  position: sticky;
  top: 0;
}

.topnav > div {
  font-family: "Trebuchet MS", Helvetica, sans-serif;
  font-size: 1.1em;
  font-weight: bold;
}

.topnav a {
  color: var(--main-purple);
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

/* Change color on hover */
.topnav a:hover {
  color: #cc3399;
}

#nav_logo {
  margin-top: 8px;
  margin-bottom: 3px;
}

#nav_spacer {
  width: 240px;
}

.top-image {
  display: block;
  text-align: center;
  margin-top: 30px;
  width: 100%;
  height: auto;
}

#main_img {
  display: block;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

./* IMAGE GALLERY */
div.gallery {
  border: none;
}

div.gallery img {
  width: 100%;
  height: auto;
}

div.desc {
  padding: 15px;
  text-align: center;
  font-family: Georgia, serif;
  font-size: .9em;
}

.responsive {
  padding: 0 6px;
  float: left;
  width: 49.99999%;
}

/* Left column - MAIN INFO */
.leftcolumn {   
  float: left;
  width: 75%;
}

/* Right column - STORE, NEWSLETTER */
.rightcolumn {
  float: left;
  width: 25%;
  background-color: var(--main-white);
  padding-left: 20px;
}

.rightcolumn a {
  color: var(--main-pink);
  text-decoration: none;
}

/* Change color on hover */
.rightcolumn a:hover {
  color: var(--main-purple);
}

.intro {
  background-color: var(--main-white);
  text-align: center;
  font-family: Georgia, serif;
  font-size: 1em;
  padding: 20px;
  margin-top: 20px;
}

/* NO USE CURRENTLY - MAIN SECTION WRITING */
.card {
  background-color: var(--main-white);
  padding: 20px;
  margin-top: 20px;
  text-decoration: none;
}

.card a {
  color: var(--main-purple);
  padding: 14px 16px;
  text-decoration: none;
}

.card a:hover {
  color: #cc3399;
}

#store {
  float: right;
  overflow: auto;
  border-top-style: solid;
  border-bottom-style: solid;
  border-color: #d4e157;
  border-radius: 8px;
  padding: 20px;
  margin-top: 50px;
  font-family: Arial;
  font-size: .9em;
}

#store a {
  color: white;
  text-decoration: none;
}

#store a:hover {
  color: white;
}

#photos {
  float: right;
  overflow: auto;
  border-top-style: solid;
  border-bottom-style: solid;
  border-color: #7b1fa2;
  border-radius: 8px;
  padding: 20px;
  margin-top: 20px;
  font-family: Arial;
  font-size: .9em;
}

#photos a {
  color: white;
  text-decoration: none;
}

#photos a:hover {
  color: white;
}

#recipes {
  float: right;
  overflow: auto;
  border-top-style: solid;
  border-bottom-style: solid;
  border-color: #d4e157;
  border-radius: 8px;
  padding: 20px;
  margin-top: 20px;
  font-family: Arial;
  font-size: .9em;
}

/* STORE BUTTON */

.store_button {
  display: inline-block;
  border-radius: 8px;
  background-color: var(--main-pink);
  border: none;
  color: #FFFFFF;
  text-align: center;
  text-decoration: none;
  font-size: 1em;
  padding: 15px 32px;
  transition: all 0.5s;
  cursor: pointer;
  margin: 5px;
}

.store_button span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

.store_button span:after {
  content: '\00bb';
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
}

.store_button:hover span {
  padding-right: 25px;
}

.store_button:hover span:after {
  opacity: 1;
  right: 0;
}

/* BLOG BUTTON */

.photos_button {
  display: inline-block;
  border-radius: 8px;
  background-color: var(--main-green);
  border: none;
  color: black;
  text-align: center;
  text-decoration: none;
  font-size: 1em;
  padding: 15px 32px;
  transition: all 0.5s;
  cursor: pointer;
  margin: 5px;
}

.photos_button span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

.photos_button span:after {
  content: '\00bb';
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
}

.photos_button:hover span {
  padding-right: 25px;
}

.photos_button:hover span:after {
  opacity: 1;
  right: 0;
}

/* Clear floats after the columns - DONT KNOW WHY*/
.row:after {
  content: "";
  display: table;
  clear: both;
}

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

/* Footer */
.footer {
  display: flex;
  background-color: var(--main-green);
  justify-content: space-around;
  border-radius: 5px;
}

.footer > div {
  font-family: "Trebuchet MS", Helvetica, sans-serif;
  font-size: .875em;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 20px;
  line-height: 1.4;
}

.footer a {
  color: var(--main-purple);
  padding: 14px 16px;
  text-decoration: none;
}

/* Change color on hover */
.footer a:hover {
  color: white;
}

/* Media Queries */
@media screen and (max-width: 700px) {
  .leftcolumn, .rightcolumn {   
    width: 100%;
    padding: 0;
  }
}

@media screen and (max-width: 700px) {
  .topnav {
    flex-direction: column;
  }
}

@media screen and (max-width: 700px) {
  .footer {
   flex-direction: column;
  }
}

/* Media Queries for image gallery */
@media only screen and (max-width: 700px) {
  .responsive {
    width: 49.99999%;
    margin: 6px 0;
  }
}

@media only screen and (max-width: 500px) {
  .responsive {
    width: 100%;
  }
}