@import url("https://fonts.googleapis.com/css2?family=Montserrat&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Caveat&display=swap");
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

div#frameIngredient {
  position: fixed;
  top: 0%;
  left: 0%;
  width: 100%;
  background-color: #303030;
  display: grid;
  grid-template-columns: 1fr;
  justify-content: center;
  text-align: center;
  z-index: 100;
}
div#frameIngredient h3 {
  padding: 1em;
  font-size: 1.4em;
  text-align: center;
}
div#frameIngredient img {
  margin: auto;
  width: 60%;
}
div#frameIngredient ul,
div#frameIngredient p {
  padding: 0.5em 1em;
  font-size: 1.2em;
  text-align: start;
  margin: 1 0em;
}
div#frameIngredient .hide {
  display: none;
}

@media (min-width: 900px) {
  div#frameIngredient {
    box-sizing: border-box;
    top: 15%;
    left: 5%;
    width: 90%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 10% 50% 40%;
  }
  div#frameIngredient h3 {
    padding: 1em;
    grid-column: 2/3;
  }
  div#frameIngredient img {
    justify-content: center;
    width: 100%;
    grid-column: 1/2;
    grid-row: 1/4;
  }
  div#frameIngredient ul {
    grid-column: 2/3;
    grid-row: 2/3;
  }
  div#frameIngredient p {
    display: flex;
    grid-column: 2/3;
    grid-row: 3/4;
  }
}
div#frame {
  position: fixed;
  top: 0%;
  left: 0%;
  width: 100%;
  background-color: #303030;
  display: grid;
  grid-template-columns: 1fr;
  justify-content: center;
  text-align: center;
  display: none;
  z-index: 100;
}
div#frame h3 {
  padding: 1em;
  font-size: 1.4em;
  text-align: center;
}
div#frame img {
  margin: auto;
  width: 60%;
}
div#frame ul,
div#frame p {
  padding: 0.5em 1em;
  font-size: 1.2em;
  text-align: start;
  margin: 1 0em;
}
div#frame .hide {
  display: none;
}

@media (min-width: 900px) {
  div#frame {
    box-sizing: border-box;
    top: 15%;
    left: 5%;
    width: 90%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 10% 50% 40%;
  }
  div#frame h3 {
    padding: 1em;
    grid-column: 2/3;
  }
  div#frame img {
    justify-content: center;
    width: 100%;
    grid-column: 1/2;
    grid-row: 1/4;
  }
  div#frame ul {
    grid-column: 2/3;
    grid-row: 2/3;
  }
  div#frame p {
    display: flex;
    grid-column: 2/3;
    grid-row: 3/4;
  }
}
#byName {
  text-align: center;
}

div#cardContainer {
  background-color: #393939;
  display: grid;
  text-align: center;
  grid-template-columns: 1fr;
}
div#cardContainer h3 {
  padding: 1em;
  font-size: 1.4em;
  text-align: center;
}
div#cardContainer img {
  margin: auto;
  max-width: 100%;
}
div#cardContainer p,
div#cardContainer ul {
  padding: 0.5em 1em;
  font-size: 1.2em;
  text-align: start;
  margin: 1 0em;
}
div#cardContainer .hide {
  display: none;
}

@media (min-width: 900px) {
  div#cardContainer {
    padding: 1em;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 10% 50% 40%;
  }
  div#cardContainer h3 {
    padding-top: 0.5em;
    grid-column: 2/3;
  }
  div#cardContainer img {
    justify-content: center;
    width: 100%;
    grid-column: 1/2;
    grid-row: 1/4;
  }
  div#cardContainer ul {
    grid-column: 2/3;
    grid-row: 2/3;
  }
  div#cardContainer p {
    display: flex;
    grid-column: 2/3;
    grid-row: 3/4;
  }
}
body {
  font-family: "Montserrat", sans-serif;
  line-height: 1.4em;
  letter-spacing: 1px;
  color: #ff8605;
  background-color: black;
  margin: 0 auto;
  min-width: 360px;
  max-width: 1000px;
}
body .searchByName,
body .searchByIngredient {
  padding: 1.5em;
  min-width: 320px;
  display: grid;
  grid-template-columns: 60% 30%;
  grid-gap: 0.5em;
  justify-content: center;
}
body .searchByName label,
body .searchByIngredient label {
  font-size: 0.8em;
  grid-column: 1/3;
}
body .searchByName button,
body .searchByIngredient button {
  cursor: pointer;
}
body #byIngredient h2 {
  text-transform: uppercase;
  width: 100%;
  border-top: 1px solid #ff8605;
  padding: 1em;
  font-size: 2em;
  text-align: center;
}
body #byIngredient,
body #listByPopular {
  padding-bottom: 2em;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}
body #byIngredient figure,
body #listByPopular figure {
  margin-top: 1em;
  font-size: 1.2;
  padding: 0;
  background-color: #303030;
}
body #byIngredient figure figcaption,
body #listByPopular figure figcaption {
  cursor: pointer;
  padding: 0.5em;
  text-align: center;
}
body #byIngredient figure img,
body #listByPopular figure img {
  display: block;
  width: 300px;
}
body #byIngredient figure:hover figcaption,
body #listByPopular figure:hover figcaption {
  text-decoration: underline;
}
body .cocktailGallery h2 {
  text-transform: uppercase;
  border-top: 1px solid #ff8605;
  padding: 1em;
  font-size: 2em;
  text-align: center;
}
body footer {
  padding: 1em;
}
body footer p {
  padding: 0.5em;
}

@media (min-width: 760px) {
  body .searchByName,
body .searchByIngredient {
    width: 100%;
    display: grid;
    grid-template-columns: 40% 20% 20%;
    justify-content: start;
  }
  body .searchByName label,
body .searchByIngredient label {
    font-size: 1.2em;
    text-align: end;
    grid-column: 1/2;
  }
  body .searchByName input,
body .searchByIngredient input {
    grid-column: 2/3;
  }
  body .searchByName button,
body .searchByIngredient button {
    grid-column: 3/4;
  }
  body footer {
    display: flex;
    justify-content: space-between;
  }
}

/*# sourceMappingURL=style.css.map */
