:root {
  --half-space: 1.042vw;
  --space: 2.083vw;
  --double-space: 4.167vw;
  --quad-space: 8.333vw;
}
html, body {
  margin: 0;
  padding: 0;
  font-variant-ligatures: none;
}
html {
  font: 18px "Poppins", sans-serif;
  box-sizing: border-box;
  overflow-y: scroll;
}
*,
*:before,
*:after {
  box-sizing: inherit;
}

h1 {
  margin: var(--space) auto;
  max-width: 13em;
  text-align: center;
  font-size: var(--double-space);
  font-weight: bold;
  color: #00AEEF;
  line-height: 1.2;
}
h1 > .subhead {
  display: block;
  color: #00599E;
}

header, #banner {
  height: 40.4vw;
}
header {
  overflow: hidden;
  background-color: #6CDAE7;
}

#banner {
  position: relative;
  background-size: contain;
  background-image: url("../../index.jpg");
  background-repeat: no-repeat;
  @supports (background-image: url("../../index.webp")) {
    background-image: url("../../index.webp");
  }
}
#banner-text {
  display: inline-block;
  position: relative;
  top: 20.156vw;
  left: 32.34375vw;
  padding: 0.75vw 1.042vw 0.5vw;
  background: rgba(0, 89, 158, 0.8);
  color: white;
  line-height: 0.9;
  box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
}
#banner-phillip {
  font-size: 2.5vw;
  font-family: "Myriad Web Pro", "Myriad Pro", sans-serif;
}
#banner-mural-man {
  font-size: 5.208vw;
  font-weight: bold;
}
#banner-slogan {
  margin-top: 0.2vw;
  padding-left: 0.9vw;
  font-size: var(--space);
  font-family: "Myriad Web Pro", "Myriad Pro", sans-serif;
  letter-spacing: 0.016em;
}

#menubar {
  position: relative;
  top: 3vw;
  left: 3.6vw;
}
#menubar ul {
  display: table;
  width: 92.55%;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: "Myriad Web Pro", "Myriad Pro", sans-serif;
  font-size: 1.40465vw;
  font-weight: 400;
  letter-spacing: -0.025em;
  color: #0057A0;
}
#menubar li {
  display: table-cell;
  text-align: left;
}
li#mural-home { width: 15.8% }
li#phillip-home { width: 14.8% }
li#blog { width: 5.2% }
li#about { width: 6.4% }
li#shopify { width: 22.6% }
li#stories { width: 9.3% }
li#murals { width: 9.2% }
li#scoop {  width: 11.8% }
li#contact { text-align: right; }
#menubar a {
  color: inherit;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.15s;
}
#menubar a:hover {
  text-decoration-color: inherit;
  transition: text-decoration-color 0.3s;
}
#hamburger {
  display: none;
  position: absolute;
  top: -6px;
  left: -8px;
  z-index: 100;
  width: 32px;
  height: 32px;
  background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjwhRE9DVFlQRSBzdmcgIFBVQkxJQyAnLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4nICAnaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkJz48c3ZnIGhlaWdodD0iMzJweCIgaWQ9IkxheWVyXzEiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDMyIDMyOyIgdmVyc2lvbj0iMS4xIiB2aWV3Qm94PSIwIDAgMzIgMzIiIHdpZHRoPSIzMnB4IiB4bWw6c3BhY2U9InByZXNlcnZlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj48cGF0aCBkPSJNNCwxMGgyNGMxLjEwNCwwLDItMC44OTYsMi0ycy0wLjg5Ni0yLTItMkg0QzIuODk2LDYsMiw2Ljg5NiwyLDhTMi44OTYsMTAsNCwxMHogTTI4LDE0SDRjLTEuMTA0LDAtMiwwLjg5Ni0yLDIgIHMwLjg5NiwyLDIsMmgyNGMxLjEwNCwwLDItMC44OTYsMi0yUzI5LjEwNCwxNCwyOCwxNHogTTI4LDIySDRjLTEuMTA0LDAtMiwwLjg5Ni0yLDJzMC44OTYsMiwyLDJoMjRjMS4xMDQsMCwyLTAuODk2LDItMiAgUzI5LjEwNCwyMiwyOCwyMnoiLz48L3N2Zz4=");
  background-size: 75%;
  background-color: white;
  border-radius: 50%;
  background-repeat: no-repeat;
  background-position: center;
}

main {
  margin: var(--half-space) var(--double-space) 3em;
  font-size: 1.406vw;
}
.copyright {
  margin-top: 2em;
  padding-top: 0.75em;
  font-size: 1rem;
  text-align: center;
}
.mural-counter {
  margin-top: var(--double-space);
  margin-bottom: var(--double-space);
  padding: var(--space) var(--quad-space) var(--space) 25vw;
  border-style: solid;
  border-color: #00599E;
  border-width: var(--space) 0;
  background-color: #00599E;
  color: white;
  font-size: 5.729vw;
  line-height: 1.2;
  text-align: center;
  background-size: contain;
  background-position: 3.125vw 0;
  background-image: url("../../logo.png");
  background-repeat: no-repeat;
}
.naveller {
  margin-left: calc(-1 * var(--double-space));
  margin-right: calc(-1 * var(--double-space));
}

.card-container {
  /**
    * User input values.
  */
  --grid-layout-gap: 0.5rem;
  --grid-column-count: 3;
  --grid-item--min-width: 300px;

  /**
    * Calculated values.
  */
  --gap-count: calc(var(--grid-column-count) - 1);
  --total-gap-width: calc(var(--gap-count) * var(--grid-layout-gap));
  --grid-item--max-width: calc((100% - var(--total-gap-width)) / var(--grid-column-count));

  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(max(var(--grid-item--min-width), var(--grid-item--max-width)), 1fr));
  grid-gap: var(--grid-layout-gap);
  max-width: 1590px;
  font-size: 1rem;
  line-height: 2;
  text-align: center;
  padding-left: var(--double-space);
  padding-right: var(--double-space);
  margin-left: auto;
  margin-right: auto;
}
.card-container > figure {
  margin: 0;
  padding: 1.5rem;
}
.card-container img {
  max-width: 100%;
  vertical-align: middle;
}
.card-container a {
  text-decoration: none;
  color: inherit;
}
.cap-title {
  margin-top: 1rem;
  margin-bottom: 1rem;
  color: #00599E;
  font-size: 31px;
  font-weight: bold;
  line-height: 1.2;
  font-family: "Poppins Regular";
}

#blackout {
  position: fixed;
  top: -1px;
  left: -1px;
  z-index: 100;
  width: 0;
  height: 0;
  background-color: transparent;
  transition: background-color 0.5s;
}

@media (max-width: 1023px) {
  h1 { font-size: 5.729vw }
  header { overflow: visible }
  main { font-size: large }
  #blackout.open {
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    transition: background-color 0.5s;
  }

  #hamburger {
    display: block;
  }
  #menubar {
    width: 0;
  }
  #menubar ul {
    position: absolute;
    top: -5px;
    left: -280px;
    z-index: 102;
    display: block;
    width: 230px;
    background-color: steelblue;
    outline: 1px solid #333;
    border-radius: 0 0.5em 0.5em 0;
    color: white;
    font-size: large;
    padding: 10px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    transition: left 0.5s;
  }
  #menubar ul.open {
    left: -3.6vw;
  }
  #menubar li {
    display: block;
    width: 100% !important;
  }
  #menubar li + li {
    margin-top: 1.25em;
  }
  li#contact {
    text-align: left;
  }

  #banner-text {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 15px 15px 10px 15px;
    background: rgba(0, 89, 158, 0.8);
    color: white;
    line-height: 0.9;
    box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
  }
  #banner-phillip {
    font-size: 5vw;
    margin-bottom: 3px;
  }
  #banner-mural-man {
    font-size: 7vw;
  }
  #banner-slogan {
    margin-top: 7px;
    padding-left: 5px;
    font-size: 5vw;
    letter-spacing: 0;
  }
  .cap-title { font-size: x-large }
}

@media (max-width: 800px) {
  .copyright {
    border-top: 1px solid black;
  }
}