/* STYLE GUIDE STYLING */

body{
  font-family: sans-serif;
  padding: 2rem;
  color: #646464;
}

.logo{
  width: 180px;
}

/* Text styling for index html */
h1{
  font-family: sans-serif;
  font-size: 2em;
  letter-spacing: 0.2rem;
}

/* Headers with underlined borders */
h2{
  font-family: "Roboto Slab", serif;
  font-size: 1.2em;
  margin: 1em 0;
  padding: 0.5em 0;
  color: #babe4e;
  border-bottom: 0.15em solid #babe4e;
  letter-spacing: 0.2rem;
}

section h3 {
  margin-bottom: 0.4em;
  font-size: 1em;
}

section p {
  margin-top: 0.4em;
}

/* Text styling for user-flows html */
.user-flow-heading h2{
  font-family: "Roboto Slab", serif;
  font-weight: bold;
  font-size: 1.3em;
  border: none;
  color: #789A72;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.user-flow-heading h3{
  font-family: "Roboto", sans-serif;
  font-weight: bold;
  font-size: 1.1em;
  border: none;
  color: #d2b48c;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* html document nav styling */
.page-nav a{
  text-decoration: none;
  padding-right: 2em;
  transition: background-color 0.5s ease-out;
  letter-spacing: 0.1rem;
  color: #d2b48c;
}

.page-nav li{
  list-style-type: none;
  display: inline-block;
  font-size: 1.35em;
  padding-top: 1em;
}

.page-nav ul{
  padding: 0.3em 0 1em 0;
  margin: 0;
}

/* html document - current page on nav is colored differently */
a.selected {
  color: #d2691e;
}

/* html document - what's on the current page - styling */
.current-nav a{
  text-decoration: none;
  color: #d2b48c;
}

.current-nav li{
  padding-bottom: 1em;
  font-size: 1rem;
}

/* html doc - nav styling */
nav a:hover, nav a:focus{
  color: #d2691e;
}

/* styling of code snippet */
section code{
  background-color: #EEE;
  padding: 0.5em 0.75em;
  font-size: 0.8em;
  display: inline-block;
}


/* CITATIONS styling */
ul.citations{
  margin-left: 0.25em;
  padding-left: 0.25em;
}

ul.citations li{
  font-weight: normal;
  font-style: italic;
  list-style-type: none;
  margin-left: 0;
  padding-left: 0;
  padding-bottom: 1em;
}

cite{
  font-style: normal;
}

/*
  INTERACTIVE ELEMENTS -------------------
*/

/* Styling for the navigation button */
.button-nav{
  font-family: "Roboto", sans-serif;
  font-weight: bold;
  display: inline-block;
  color: #789A72;
  text-decoration: none;
  -webkit-transition: background-color 0.5s ease-out;
  transition: background-color 0.5s ease-out;
  letter-spacing: 0.1em;
  font-size: 1em;
}

.button-nav:hover, .button-nav:focus{
  color: #babe4e;
}

/* Styling for the in-text link */
.text-link{
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  font-size: 1em;
  letter-spacing: 0.05em;
  color: #789A72;
}

.text-link:hover, .text-link:focus{
  color: #babe4e;
}

/* Styling for the button submission */
.button-submit{
  font-family: "Roboto", sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  display: inline-block;
  font-size: 0.8em;
  padding: 1.2em;
  letter-spacing: 0.2em;
  color: #FFF;
  background-color: #A6A9C5;
  border: 2px solid;
  border-radius: 0.35em;
  text-decoration: none;
  -webkit-transition: background-color 0.5s ease-out;
  transition: background-color 0.5s ease-out;
}

.button-submit:hover, .button-submit:focus{
  border: 2px solid #A6A9C5;
  background-color: white;
  color: #A6A9C5;
}

/* Styling for the button resetting */
.button-reset{
  font-family: "Roboto", sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  display: inline-block;
  font-size: 0.8em;
  padding: 1.2em;
  letter-spacing: 0.2em;
  color: #FFF;
  background-color: #b0e0e6;
  border: 2px solid;
  border-radius: 0.35em;
  text-decoration: none;
  -webkit-transition: background-color 0.5s ease-out;
  transition: background-color 0.5s ease-out;
}

.button-reset:hover, .button-reset:focus{
  border: 2px solid #b0e0e6;
  background-color: white;
  color: #b0e0e6;
}

/* combining submit and reset button to show under one heading */
.buttons{
  display: inline-block;
  padding-right: 2em;
}

/*
  TEXT ELEMENTS -------------------
*/

/* Styling for general form elements */
input[type=text]{
    width: 30%;
    font-size: 0.8em;
    padding: 1em 0.8em;
    box-sizing: border-box;
    border: 2.2px solid #d3d3d3;
    border-radius: 0.5em;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    outline: none;
}

/* Styling for form elements that are displayed in inline-block */
input[type=text]#form-cvv, input[type=text]#form-exp{
    width: 100%;
    font-size: 0.8em;
    padding: 1em 0.8em;
    box-sizing: border-box;
    border: 2.2px solid #d3d3d3;
    border-radius: 0.5em;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    outline: none;
}

/* div specifically to show form elements side by side */
div.card-info{
  display: inline-block;
  width: 15%;
}

/* Styling for highlighting which form is focused on */
input[type=text]:focus, input[type=text]#form-cvv:focus,
input[type=text]#form-exp:focus{
    border: 2.2px solid #b0e0e6;
}

/* Styling for labels of the form elements */
.label-form label{
  font-family: "Roboto", sans-serif;
  font-weight: normal;
  display: block;
  margin: 0 0 3px 0;
  text-transform: uppercase;
  font-size: 0.7em;
  letter-spacing: 0.2em;
}

.form label{
  padding-top: 1.4em;
  padding-bottom: 0.2em;
}

/* Styling for Main Heading */
.main-header{
  font-family: "Roboto Slab", serif;
  font-size: 2.8em;
  letter-spacing: 0.1em;
}

/* (h2) Styling for Secondary Heading */
.subheader1{
  font-family: "Roboto", sans-serif;
  font-weight: normal;
  font-size: 1.6em;
  border: none;
  color: #789A72;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Styling for paragraphs */
p{
  font-family: "Roboto", sans-serif;
  font-weight: normal;
  font-size: 1rem;
  line-height: 1.5em;
}

/* Styling for listing bullet points */
.bullet-list{
  display: block;
  list-style: circle;
}

.bullet-list li{
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  padding: 0.5rem;
  color: green;
}

/* Styling for Numbered Lists */
.number-list ol{
  display: block;
  list-style-type: decimal;
}

.number-list li{
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  padding: 0.5rem;
  color: green;
}

/*
  COMBINED ELEMENTS -------------------
*/

/* Styling for main navigation */
.main-nav a{
  text-decoration: none;
  padding-right: 2em;
  padding-left: 1em;
  color: white;
  transition: background-color 0.5s ease-out;
  letter-spacing: 0.1rem;
}

.main-nav li{
  font-family: "Roboto", sans-serif;
  font-weight: normal;
  list-style-type: none;
  display: inline-block;
  font-size: 1.1em;
  padding-top: 1em;
}

/* adding background color to show off white text */
.main-nav ul{
  background-color: #789A72;
  padding: 1em 0 1em 0;
  margin: 0;
}

.main-nav a:hover, a:focus{
  color: #b0e0e6;
}

/* Styling of product list to show images
and their corresponding names*/
.prod-list{
  display: inline-block;
  padding: 1em 0.3em;
  margin: 0;
}

.prod-list img{
  width: 350px;
  height: 350px;
}

.prod-list h2{
  text-align: center;
  font-family: "Roboto", sans-serif;
  font-size: 1.2rem;
  color: #2E2633;
  border-bottom: none;
  display: block;
  margin: 0;
  padding: 0.5em 0 0 0;
}

.prod-list h3{
  text-align: center;
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  color: #2E2633;
  border-bottom: none;
  display: block;
  margin: 0;
  padding: 0.2em 0 0 0;
}

.prod-list p{
  text-align: center;
}

/* Styling of flexbox grids for grid structure */
*, *::after, *::before {
  box-sizing: border-box;
}

.grid-container{
  width: 50%;
  display: -ms-flex;
  display: flex;

  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.block{
  font-family: "Roboto", sans-serif;
  font-weight: bold;
  text-align: center;
  margin-right: 1.5em;

  -ms-flex-grow: 1;
  flex-grow: 1;

  -ms-flex-basis: 5em;
  flex-basis: 5em;
}

/* Styling of color container and swatches */
.col-container{
  font-family: "Roboto", sans-serif;
  font-weight: bold;
  letter-spacing: 0.2em;
  text-align: center;
  color: white;

  display: -ms-flex;
  display: flex;

  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.swatch1{
  background-color: #789A72;
  padding: 2em;

  -ms-flex-grow: 1;
  flex-grow: 1;

  -ms-flex-basis: 5em;
  flex-basis: 5em;
}

.swatch2{
  background-color: #BABE4E;
  padding: 2em;

  -ms-flex-grow: 1;
  flex-grow: 1;

  -ms-flex-basis: 5em;
  flex-basis: 5em;
}

.swatch3{
  background-color: #70C5AA;
  padding: 2em;

  -ms-flex-grow: 1;
  flex-grow: 1;

  -ms-flex-basis: 5em;
  flex-basis: 5em;
}

.swatch4{
  background-color: #B0E0E6;
  padding: 2em;

  -ms-flex-grow: 1;
  flex-grow: 1;

  -ms-flex-basis: 5em;
  flex-basis: 5em;
}

.swatch5{
  background-color: #A6A9C5;
  padding: 2em;

  -ms-flex-grow: 1;
  flex-grow: 1;

  -ms-flex-basis: 5em;
  flex-basis: 5em;
}
