/*
  FONTS
*/

@import url('https://fonts.googleapis.com/css2?family=Assistant:wght@200..800&family=Reddit+Sans:ital,wght@0,200..900;1,200..900&display=swap'); /* REDDIT SANS */
@import url('https://fonts.googleapis.com/css2?family=Assistant:wght@200..800&family=Reddit+Sans+Condensed:wght@200..900&family=Reddit+Sans:ital,wght@0,200..900;1,200..900&display=swap'); /* REDDIT SANS CONDENSED */

html, body {
  overflow-x: clip;
}

header, footer {
  background-color: #00457C;
  color:#b0b0b0;
  margin: 0;
}

header {
  display: flex;
}

footer {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

footer .timeTable {
  padding: 0;
}

footer h3 {
  font-size: 24px;
  color: #EEE;
}

footer h4 {
  font-family: 'Reddit Sans', sans-serif;
  font-size: 18px;
  color: #EEE;
}

.footerSectionHolder {
  padding-left: 10vw;
  padding-right: 10vw;
  display: flex;
  max-width: 80vw;
  margin-bottom: 2rem;
}

.footerSection {
  margin-right: 5rem;
  min-width: 25vw;
}

.headerImg img {
  min-width: 100px;
  min-height: 100px;

  margin: 1rem 0 1rem 0;
  margin-left: 10vw;
  max-height: 5vw;
}

.awardBanner img {
  min-width: 100px;
  min-height: 100px;
  max-height: 5vw;
  
  margin: 1rem 0 1rem 0;
}

.awardBanner {
  margin-right: 10vw;
  margin-left: auto;
}

header h1, p {
  margin: 0;
  padding: 1rem;
}

.headerTxt {
  font-family: 'Reddit Sans', sans-serif;
  text-transform: uppercase;
  font-weight: 600; 
  font-size: 48px;
  color:#EEE;
}

body {
  font-family: "Reddit Sans", sans-serif;
  margin: 0;
}

section {
  max-width: 80vw;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
  padding-top: 2rem;
}

.element {
  padding-bottom: 2rem;
  border-top-width: 0.15rem;
  border-top-style: solid;
  border-top-color: black;
}

h1 {
  font-family: 'Reddit Sans Condensed', sans-serif;
  text-transform: uppercase;
  font-weight: 700;
}

h2 {
  font-family: 'Reddit Sans Condensed', sans-serif;
  font-weight: 700;
  margin-top: 1rem;
  text-transform: uppercase;
}

.blue {
  font-family: 'Reddit Sans Condensed', sans-serif;
  font-weight: 800;
  margin-top: 1rem;
  text-transform: uppercase;
  color: #00457C;
}

h3 {
  font-family: 'Reddit Sans Condensed', sans-serif;
  font-weight: 600;
  margin-top: 1rem;
  text-transform: uppercase;
  font-size: 20px;
}

h4 {
  font-family: 'Reddit Sans Condensed', sans-serif;
  font-weight: 300;
  text-transform: uppercase;
  font-size: 18px;
}

p {
  font-family: "Reddit Sans Condensed", sans-serif;
  font-weight: 300;
  font-size: 18px;
}

li, ul {
  font-family: "Reddit Sans Condensed", sans-serif;
  font-weight: 400;
  font-size: 32px;
}

nav a:hover, nav a:focus {
  text-decoration: none;
}

code {
  background-color: #EEE;
  padding: 0.5rem;
  display: block;
}

figure img {
  max-width: 300px;
}


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

.headerNav {
  background-color: #7CC5FF;
}

.headerNav {
  display: flex;
  justify-content: center;
}

.headerNav a {
  margin-left: 1vw;
  font-family: 'Reddit Sans', sans-serif;
  text-transform: uppercase;
  text-decoration: none;
  color: #000000;
  padding: 15px;
  transition-property: background-color; 
  transition-duration: 0.5s;
}

.headerNav a:hover {
  color: #000000;
  background-color: #a7ffff;
}

.headerNav .active {
  background-color:#ffe675;
}

.stickyHeader {
    display: flex;
    justify-content: center;

    position: sticky;
    top: 0;

    z-index: 999;
}


/*
  button
*/

.button-nav, input {
  text-transform: uppercase;
  font-weight: 300;
  font-size: 18px;

  display: inline-block;
  padding: 1rem;
  padding-left: 4rem;
  padding-right: 4rem;
  color: #0e0c20;
  background-color: #eef7ff;
  text-decoration: none;
  border-radius: 12px;

  transition-property: background-color; 
  transition-duration: 0.5s;
}
.button-nav:hover, .button-nav:focus {
  color: #00457C;
  background-color: #00c3ff;
  transition-property: background-color;
  transition-duration: 0s;
}

input, select {
  font-family: 'Reddit Sans', sans-serif;

  display: inline-block;
  padding: 12px;
  
  box-sizing: border-box;
  color: #FFFF;
  background-color: #00457C;
  text-decoration: none;
  border-radius: 12px;
  border-style: none;

  transition-property: background-color; 
  transition-duration: 0.5s;
}

.subBtn input[type = submit], input[type = reset] {
  padding-left: 4rem;
  padding-right: 4rem;
}

.subBtn input[type = submit]:hover, .subBtn input[type = submit]:focus, input[type = reset]:hover, input[type = reset]:focus {
  color: #00457C;
  background-color: #00c3ff;
  transition-property: background-color;
  transition-duration: 0s;
  cursor: pointer;
}

.textForm input[type = text], input[type = email], input[type = time], input[type = tel], input[type = password], select {
  border-style: solid;
  border-color: #00457C;
  border-width: 1px;
  background-color: #c5e5ff;
  color: #2F365C;
  font-weight: 500;
}

.textForm input::placeholder {
  color: #2F365C;
  font-weight: 300;
}

select {
  text-transform: uppercase;  
  font-size: 16px;
  color: #2F365C;
}

/* NAVBAR */

.navBar {
  list-style-type: none;
  max-width: 200px;
  width: 25%;
  background-color: #393847;
}

.navBar li a {
  padding: 1rem;

  display: block;
  color: #EEE;
  text-decoration: none;
  text-transform: uppercase;

  background-color: #0b083b;

  transition-property: background-color;
  transition-duration: 0.5s;
}

.navBar li a:hover {
  background-color: #b34b22;
} 

hr {
  margin-top: 2rem;
}

 /* LIST */

.navBar li {
  font-family: 'Reddit Sans Condensed', sans-serif;
  font-weight: 300;
  font-size: 18px;
}

.numberList {
  font-family: 'Reddit Sans', sans-serif;
  font-size: 32px;
  color: #00457C;
  padding-left: 2rem;
  margin-top: 0;
  margin-bottom: 0;
}

.numberList li {
  padding-bottom: 1rem;
}

/* IMAGES */

img {
  max-width: 40vw;
  height: auto;
  border-radius: 0.5rem;
}

.imgClick {
  opacity: 1;
  transition-duration: 0.5s;
}

.imgClick:hover, .imgClick:focus {
  transform:scale(1.8);
}

/* ITEM */

.navBarFilter {
  margin: 0;
  flex: 0;
  padding: 0;
  flex-wrap: wrap;
  max-width: 200px;
  width: 15%;
  background-color: #393847;
}

/* Order Form */

.orderForm {
  max-width: 100%;
  width: 50vw;
  border-radius: 5px;
  color:#393847;

  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 1rem;
}

.orderForm .formBit:last-child, .orderForm .requiredDescription, .orderForm .commentSection {
  grid-column: 1;
}

.required {
  color: red;
}

.submitBtn input[type = submit] {
  font-size: 22px;
}

.orderForm label {
  font-size: 20px;
  text-transform: uppercase;
  font-family: 'Reddit Sans Condensed', sans-serif;
}

.formBit {
  display: flex;
  flex-direction: column;
  min-height: 4.5rem;
  height: 3rem;
  margin-bottom: 1rem;
}

.formBit label {
  margin-bottom: 0px;
  padding-bottom: 0px;
}

.sharpness {
  color:#848484;
  font-style: italic;
}

.requiredDescription {
  font-size: 14px;
  color: #848484;
  font-style: italic;

  min-height: 1rem;
  height: 1rem;
  margin-top: 0rem;
  margin-bottom: 2rem;
}

.timeTable {
  background-color: #00457C;
  padding: 1rem;
  max-width: 30vw;
}

.ttRow:last-child {
  border-bottom: 0;
}

.timeTable h4 {
  font-family: 'Reddit Sans', sans-serif;
  color: #FFF;
}

.ttRow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 1rem;

  border-bottom: 3px;
  border-bottom-style: solid;
  border-bottom-color: #FFF;
}

.ttCell {
  text-align: left;
  font-size: 20px;

  margin-left: 5%;
}

.ttCell .closed {
  font-weight: 600;
  color: #FF0000;
}

.commentSection {
  margin-top: 1rem;
  height: 8rem;
}

.commentSection textarea {
  font-family: 'Reddit Sans', sans-serif;
  font-size: 18px;
  padding: 1rem;

  width: 197%;
  height: 5rem;
}

iframe {
  width: 100%;
  height: 50%;
}

.contactInfo {
  display: flex;
  align-items: center;
}

.contactInfo img {
  width: 128px;
  max-width: 3rem;
  margin-right: 1rem;
}

/* PRICE TABLE */
.priceTable {
  max-width: 80vw;
  width: 100%;
  border-collapse: collapse;
  background-color: #00457C;
  color: #FFF;
}

.priceTable td {
  color: #000000;
  background-color: #C4E5FF;
  padding: 1rem;
  text-align: left;
  font-size: 18px;
}

.priceTable tr:nth-child(even) td {
  background-color: #94CEFD;
} 

.priceTable th {
  font-size: 24px;
  padding: 0.5rem;
}

/* RESPONSIVENESS */

.button {
  display: inline-block;
  padding: 0.5rem;
  color: #FFFF;
  background-color: #0b083b;
  text-decoration: none;
  transition-property: background-color; 
  transition-duration: 0.5s;
}

.button:hover {
  color: #0b083b;
  background-color: #6fe4b7;
  transition-property: background-color;
}

.button.active {
  display: inline-block;
  padding: 0.5rem;
  color: #0b083b;
  background-color: #6fe4b7;
  text-decoration: none;
  transition-property: background-color; 
  transition-duration: 0.5s;
}

.hamburger {
  display: none;
  cursor: pointer;
  margin: 0;
  background-color: #7CC5FF;
  border: none;
}

.bar {
  display: block;
  width: 25px;
  height: 3px; 
  margin: 5px auto;
  background-color: white;
}

@media screen and (max-width: 1450px) {
  .orderForm {
    display: block;
  }

  .commentSection textarea {
    width: 95%;
  }
}

@media screen and (max-width: 1048px) { /* Hamburger Code referenced from: https://www.youtube.com/watch?v=flItyHiDm7E & https://www.w3schools.com/howto/tryit.asp?filename=tryhow_js_topnav*/
  .awardBanner {
    margin: 0;
  }

  img {
    max-width: 100%;
    object-fit: contain;
  }
  header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    position: relative;
    padding: 0 5vw;
    box-sizing: border-box;
  }
  .headerImg {
    display: flex;
    min-width: 0;
  }

  .headerImg img {
    width: auto;
    min-width: 0;
    min-height: 0;
    max-width: 26vw;
    max-height: 5rem;
    margin: 1rem 0;
  }

  .awardBanner {
    position: absolute;
    right: 5vw;
  }

  .awardBanner img {
    min-width: 0;
    min-height: 0;
    max-width: 26vw;
    max-height: 5rem;
    height: auto;
    margin: 1rem 0;
  }

  .footerSectionHolder {
    display: block;
  }

  .footerSection {
    margin-right: 0;
    min-width: 100%;
  }

  body, .footerSectionHolder, .footerSection {
    justify-content: center;
    align-items: center;
  }

  .orderForm {
    padding: 0;
    max-width: 80vw;
    width: 100%;
  }

  .timeTable {
    max-width: 80vw;
  }

  h1, h2 {
    text-align: center;
  }

  .hamburger {
    display: block;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .headerNav {
    gap: 0;
    flex-direction: column;

    text-align: center;
    
    top: 0;
  }
  .headerNav.active {
    transform: translateY(0);
  }

  .headerNav a {
    display: none;
    margin-left: 0;
  }

  .headerNav.active a {
    display: block;
  }

  .stickyHeader {
    top: 0;
  }
}

@media screen and (max-width: 700px) {
    header {
      justify-content: center;
      padding: 0 1rem;
    }

    .headerImg {
      justify-content: center;
    }

    .headerImg img {
      width: 70vw;
      max-width: 16rem;
      max-height: 4rem;
      margin: 0.75rem 0;
    }

    .awardBanner {
      display: none;
    }

    .orderForm {
        display: block;
    }

    .formBit label {
      padding-bottom: 5px;
    }
    
    .commentSection {
      height: 12rem;
    }

    .commentSection textarea {
        width: 100%;
        padding: 0;
        height: 10rem;
    }
}

@media screen and (max-width: 500px) {
  .timeTable h4 {
    font-size: 4vw;
  }

  footer h4 {
    font-size: 4vw;
  }
}