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; }

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block; }

body {
  line-height: 1; }

body, html {
  height: 100%; }

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; }

a {
  text-decoration: none; }

.shrink-header {
  height: 60px;
  line-height: 56px; }

body {
  width: 100%;
  font-family: 'Roboto', sans-serif;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 70px auto auto;
  grid-template-areas: "header"  "main" "footer"; }

.addFav {
  opacity: 1;
  color: #7DCE82; }

header {
  grid-area: header;
  background-color: #FF8360;
  height: 100px;
  line-height: 96px;
  position: fixed;
  width: 100%;
  z-index: 999;
  transition: all 0.3s ease-in-out; }
  header .header-cont {
    padding: 0 50px;
    display: grid;
    grid-template-areas: "logo nav-links nav-links";
    align-items: center; }
    header .header-cont .logo {
      grid-area: logo;
      color: black;
      font-weight: bold;
      font-size: 1.8em; }
      header .header-cont .logo .icon {
        display: inline-block;
        background-image: url("../assets/beer.png");
        height: 16px;
        width: 16px; }
    header .header-cont .main-nav {
      grid-area: nav-links;
      justify-self: end; }
      header .header-cont .main-nav .nav-links {
        display: flex;
        flex-direction: row; }
        header .header-cont .main-nav .nav-links li {
          box-sizing: border-box;
          margin-left: 30px;
          color: black;
          font-size: 1.2em; }
          header .header-cont .main-nav .nav-links li:hover {
            color: white;
            border-bottom: #7DCE82 4px inset; }

.main {
  grid-area: main;
  justify-content: center;
  margin: 100px 0;
  padding: 0 150px;
  display: grid;
  grid-gap: 15px;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  grid-template-areas: "description" "search" "liquor"; }
  .main .description {
    grid-area: description;
    justify-self: center; }
    .main .description h1 {
      font-size: 3em;
      font-weight: bold;
      margin-bottom: 0.35em;
      text-align: center; }
    .main .description p {
      text-align: center;
      font-size: 1.5em;
      margin-bottom: 2em; }
      .main .description p i {
        color: red; }
  .main #search {
    grid-area: search;
    justify-self: center;
    margin-bottom: 40px; }
    .main #search input::-webkit-calendar-picker-indicator {
      display: none; }
    .main #search input:first-child {
      width: 500px;
      height: 30px;
      font-size: 1.2em;
      color: #3CDBD3;
      padding-left: 3px; }
    .main #search input::placeholder {
      color: #3CDBD3;
      font-size: .8em; }
    .main #search input:last-child {
      width: 150px;
      height: 36px;
      font-size: 1.2em;
      background-color: #7DCE82;
      color: rgba(0, 0, 0, 0.7);
      border: none; }
  .main .liquor {
    grid-area: liquor;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto;
    grid-gap: 15px; }
    .main .liquor .card {
      display: flex;
      flex-direction: row;
      align-items: center;
      box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
      transition: 0.3s; }
      .main .liquor .card .beer-img {
        width: 180px;
        height: 180px; }
      .main .liquor .card .info {
        padding: 8px 12px;
        padding-left: 0;
        padding-top: 4px;
        text-align: right;
        box-sizing: border-box; }
        .main .liquor .card .info i {
          opacity: 0.5; }
        .main .liquor .card .info h4 {
          margin-bottom: 8px;
          font-weight: bold;
          font-size: 1.2em;
          text-align: left; }
        .main .liquor .card .info p {
          text-align: left;
          font-size: 0.9em; }
        .main .liquor .card .info button {
          text-align: center;
          margin-top: 10px;
          color: red;
          font-weight: 600;
          border: none;
          border-radius: 5px; }
          .main .liquor .card .info button:hover {
            box-shadow: 0 3px 6px 0 rgba(220, 0, 0, 0.7);
            color: black; }
      .main .liquor .card:hover {
        box-shadow: 0 8px 16px 0 rgba(60, 219, 211, 0.5);
        transform: translateY(-5%); }

.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 1;
  /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: black;
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4);
  /* Black w/ opacity */ }
  .modal .modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    border-radius: 12px;
    width: 40%;
    /* Could be more or less, depending on screen size */ }
    .modal .modal-content .close {
      color: #aaa;
      float: right;
      font-size: 28px;
      font-weight: bold; }
    .modal .modal-content .close:hover,
    .modal .modal-content .close:focus {
      color: black;
      text-decoration: none;
      cursor: pointer; }
    .modal .modal-content #BACform {
      margin-top: 15px;
      margin-bottom: 20px;
      font-size: 1.2em;
      padding: 10px 25px; }
      .modal .modal-content #BACform input, .modal .modal-content #BACform select {
        height: 1.5em; }
      .modal .modal-content #BACform h2 {
        text-align: center;
        margin-bottom: 1.4em;
        font-size: 1.5em;
        font-weight: bold; }
      .modal .modal-content #BACform label {
        margin-bottom: 20px; }
      .modal .modal-content #BACform .submitBAC {
        display: block;
        margin: 0 auto;
        margin-top: 1.25em;
        width: 80%;
        height: 2em;
        font-size: 1.4em;
        font-weight: bold;
        color: white;
        background-color: #2f889a;
        border: none;
        border-radius: 5px; }
        .modal .modal-content #BACform .submitBAC:hover {
          opacity: 0.85; }

footer {
  grid-area: footer;
  text-align: center;
  background-color: #E8E288;
  align-self: end;
  padding: 20px 0; }
  footer a {
    color: black; }
