html {
  line-height: 1.15;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

article, aside, footer, header, nav, section {
  display: block;
}

h1 {
  font-size: 2em;
  margin: .67em 0;
}

figcaption, figure, main {
  display: block;
}

figure {
  margin: 1em 40px;
}

hr {
  -webkit-box-sizing: content-box;
          box-sizing: content-box;
  height: 0;
  overflow: visible;
}

pre {
  font-family: monospace,monospace;
  font-size: 1em;
}

a {
  background-color: transparent;
  -webkit-text-decoration-skip: objects;
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

b, strong {
  font-weight: inherit;
}

b, strong {
  font-weight: bolder;
}

code, kbd, samp {
  font-family: monospace,monospace;
  font-size: 1em;
}

dfn {
  font-style: italic;
}

mark {
  background-color: #ff0;
  color: #000;
}

small {
  font-size: 80%;
}

sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -.25em;
}

sup {
  top: -.5em;
}

audio, video {
  display: inline-block;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

img {
  border-style: none;
}

svg:not(:root) {
  overflow: hidden;
}

button, input, optgroup, select, textarea {
  font-family: sans-serif;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button, input {
  overflow: visible;
}

button, select {
  text-transform: none;
}

button, html [type=button], [type=reset], [type=submit] {
  -webkit-appearance: button;
}

button::-moz-focus-inner, [type=button]::-moz-focus-inner, [type=reset]::-moz-focus-inner, [type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring, [type=button]:-moz-focusring, [type=reset]:-moz-focusring, [type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

fieldset {
  padding: .35em .75em .625em;
}

legend {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

progress {
  display: inline-block;
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

[type=checkbox], [type=radio] {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  padding: 0;
}

[type=number]::-webkit-inner-spin-button, [type=number]::-webkit-outer-spin-button {
  height: auto;
}

[type=search] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

[type=search]::-webkit-search-cancel-button, [type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

details, menu {
  display: block;
}

summary {
  display: list-item;
}

canvas {
  display: inline-block;
}

template {
  display: none;
}

[hidden] {
  display: none;
}

.clearfix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: '';
  clear: both;
  height: 0;
}

html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

*, *:before, *:after {
  -webkit-box-sizing: inherit;
          box-sizing: inherit;
}

.visuallyHidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  -webkit-clip-path: inset(100%);
          clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

html {
  font-size: 125%;
  scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
p,
ul {
  margin: 0;
}

body {
  font-size: 0.9rem;
  font-family: "Raleway", sans-serif;
  background: #BE97D3;
  color: #1B1B1B;
}

h1, h2, h3, h4 {
  font-weight: normal;
  font-family: "Calistoga", cursive;
}

h1 {
  font-size: 2.4rem;
  text-transform: capitalize;
}

h2,
h3 {
  font-size: 1.6rem;
}

h4 {
  font-size: 1.2rem;
}

button,
input,
select {
  font-family: "Raleway", sans-serif;
  text-transform: uppercase;
}

.wrapper {
  width: 80%;
  max-width: 1100px;
  margin: 0 auto;
}

/* 
---------------------- 
Header Styles 
---------------------- 
*/
header {
  background: url(../assets/headerBackground.jpg);
  background-size: cover;
  height: 100vh;
  background-position: center;
  color: #FFFFFF;
}

header ul, header .logo, header h2 {
  -webkit-filter: drop-shadow(0 0 4px #1B1B1B);
          filter: drop-shadow(0 0 4px #1B1B1B);
}

header .wrapper {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  height: 100%;
}

header h2 {
  margin: auto;
  font-size: 3rem;
}

/* 
---------------------- 
Navigation Styles 
---------------------- 
*/
ul {
  padding: 0;
}

ul, li, a {
  list-style: none;
  text-decoration: none;
}

.headerNav a,
.footerNav a {
  padding: 10px 20px;
  color: #FFFFFF;
  text-transform: uppercase;
}

.headerNav a:hover, .headerNav a:focus, .headerNav a.selected,
.footerNav a:hover,
.footerNav a:focus,
.footerNav a.selected {
  text-decoration: underline;
}

.headerNav {
  position: absolute;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding-top: 20px;
}

.headerNav ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}

.headerNav ul li {
  border-right: 1px solid #FFFFFF;
}

.headerNav ul li:last-of-type {
  border-right: none;
}

.hamburger {
  position: fixed;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  color: #429EC5;
  display: none;
}

.footerNav {
  text-align: center;
}

.footerNav a {
  display: inline-block;
}

/* 
---------------------- 
Main and Section Styles 
---------------------- 
*/
button {
  cursor: pointer;
}

.searchArea {
  padding: 40px 0;
  text-align: center;
}

.searchArea form .inputs {
  margin: 20px 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.searchArea form .inputs input, .searchArea form .inputs select {
  width: calc(100% / 4 - 20px);
  margin: 15px 0;
  border: 0;
  height: 40px;
  padding: 0 10px;
}

.searchArea form .inputs select {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-image: url(../assets/downArrow.png);
  background-repeat: no-repeat;
  background-size: 1rem;
  background-position: 98% 50%;
}

.searchArea form button {
  display: block;
  border-radius: 30px;
  border: 0;
  padding: 15px;
  width: 25%;
  margin: 0 auto;
  background: #429EC5;
  color: #FFFFFF;
  -webkit-transition: ease all 0.3s;
  transition: ease all 0.3s;
}

.searchArea form button:hover, .searchArea form button:focus {
  background: #FFFFFF;
  color: #429EC5;
}

.hidden {
  display: none;
}

.searchResults {
  padding: 20px 0;
  background: #FFFFFF;
}

.searchResults h2 {
  text-align: center;
}

.searchResults ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.searchResults ul li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  border: 3px #429EC5 solid;
  width: calc(100% / 3 - 20px);
  margin: 15px 30px 15px 0;
  border-radius: 30px;
  text-align: center;
  overflow: hidden;
}

.searchResults ul li:nth-of-type(3n) {
  margin-right: 0;
}

.searchResults ul li .imgContainer {
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
}

.searchResults ul li img {
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  height: 100%;
}

.searchResults ul li button {
  border: 0;
  background: #BE97D3;
  color: #FFFFFF;
  -webkit-transition: ease all 0.3s;
  transition: ease all 0.3s;
  padding: 15px;
  width: 100%;
}

.searchResults ul li button:hover, .searchResults ul li button:focus {
  background: #429EC5;
}

.searchResults ul li.errorMessage {
  border: none;
  margin: 20px auto 0 auto;
}

.detailedResults {
  padding: 20px 0;
  background: #FFFFFF;
}

.detailedResults h2 {
  text-align: center;
}

.detailedResults h4 {
  color: #429EC5;
}

.detailedResults p, .detailedResults h4, .detailedResults ul {
  margin: 10px 0;
}

.detailedResults ul {
  font-size: 0.6rem;
  text-transform: uppercase;
  color: #9b9b9b;
}

.detailedResults ul li {
  width: 100%;
  margin: 10px 0;
}

.detailedResults .flexParent {
  padding: 30px 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.detailedResults .flexParent .infoContainer {
  width: 60%;
}

.detailedResults .flexParent .imgContainer {
  -ms-flex-item-align: start;
      align-self: flex-start;
  padding-right: 40px;
  max-width: 40%;
}

.detailedResults .flexParent .imgContainer img {
  width: 100%;
  border: 3px #429EC5 solid;
  border-radius: 30px;
}

.detailedResults .flexParent a {
  color: #429EC5;
  font-weight: 700;
}

.detailedResults .flexParent a:hover, .detailedResults .flexParent a:focus {
  text-decoration: underline;
}

.detailedResults .flexParent a.return {
  display: inline-block;
  border: 3px #429EC5 solid;
  border-radius: 30px;
  padding: 15px;
  background: #429EC5;
  color: #FFFFFF;
  -webkit-transition: ease all 0.3s;
  transition: ease all 0.3s;
  margin: 7.5px;
}

.detailedResults .flexParent a.return:hover, .detailedResults .flexParent a.return:focus {
  background: #FFFFFF;
  color: #429EC5;
  text-decoration: none;
}

/* 
---------------------- 
Footer Styles 
---------------------- 
*/
footer {
  background: #1B1B1B;
  color: #FFFFFF;
}

footer .footerInformation {
  padding: 40px 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

footer .footerText {
  width: 40%;
}

footer .footerSocial {
  width: 20%;
}

footer .footerSocial ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}

footer .footerSocial i {
  font-size: 2rem;
  padding-left: 20px;
}

footer .footerSocial a {
  color: #FFFFFF;
  -webkit-transition: ease all 0.3s;
  transition: ease all 0.3s;
}

footer .footerSocial a:hover, footer .footerSocial a:focus {
  color: #BE97D3;
}

footer .footerNav {
  width: 40%;
}

.copyright {
  background: #0e0e0e;
  padding: 20px 0;
  text-align: center;
}

/* 
---------------------- 
@media Styles 
---------------------- 
*/
@media (max-width: 940px) {
  .headerNav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}

@media (max-width: 784px) {
  .headerNav ul {
    display: none;
  }
  header h1 {
    font-size: 1.6rem;
  }
  header h2 {
    text-align: center;
  }
  .hamburger {
    display: initial;
  }
  .searchArea form .inputs input, .searchArea form .inputs select {
    width: calc(100% / 2 - 20px);
  }
  .searchArea form button {
    width: 50%;
  }
  .searchResults ul li {
    width: 100%;
    margin: 30px 0;
  }
  .detailedResults .flexParent {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .detailedResults .flexParent .imgContainer, .detailedResults .flexParent .infoContainer {
    width: 100%;
    max-width: 100%;
    padding: 0;
  }
  .detailedResults .flexParent .imgContainer {
    margin-bottom: 20px;
  }
  .detailedResults .flexParent a.return {
    display: block;
    text-align: center;
  }
  .footerInformation {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .footerInformation .footerText, .footerInformation .footerNav {
    width: 100%;
  }
  .footerInformation .footerText {
    text-align: center;
  }
  .footerInformation .footerNav {
    margin: 20px 0;
  }
  .footerInformation .footerNav ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  .footerInformation .footerSocial {
    width: auto;
  }
  .footerInformation .footerSocial ul {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
  }
  .footerInformation .footerSocial ul i {
    padding: 0 15px;
  }
}

@media (max-width: 420px) {
  header {
    background-position: top left;
    height: 50vh;
    min-height: 300px;
  }
  header .logo {
    width: 100%;
  }
  header h2 {
    font-size: 2rem;
  }
  .searchArea form .inputs input, .searchArea form .inputs select {
    width: 100%;
  }
  .searchArea form button {
    width: 100%;
  }
  .footerNav {
    display: none;
  }
  .footerSocial {
    margin-top: 40px;
  }
}
