/* 	
	Author: Tim M
	File Name: styles.css
	Date: 07/10/2024
/* CSS Reset */
body,
header,
nav,
main,
footer,
img,
h1,
h3,
ul,
aside,
figure,
figcaption {
  margin: 0;
  padding: 0;
  border: 0;
}

/* Style rules for body and images */
body {
  background-color: #f6eee4;
}

img {
  max-width: 100%;
  display: block;
}

/* Style rules for mobile viewport */

/* Style rule show mobile class and hide tab-desk class */
.mobile,
.mobile-tablet {
  display: block;
}

.tab-desk,
.desktop,
#nav-links {
  display: none;
}

/* Style rules for header area */
.mobile h1,
.mobile h3 {
  padding: 2%;
  text-align: center;
}

.mobile h1 {
  font-family: 'maiandra gd', cursive;
  margin: 2% 0 0 3%;
}

.mobile h3 {
  font-family: 'Lora', serif;
}

/* Style rules for navigation area */
nav {
  background-color: #2a1f14;
}
  /* CSS slide in begins */
  * {
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    text-align: left;
    color: #555;

    &:before,
    &:after {
      box-sizing: border-box;
    }
  }

  .navigation {
    background: rgba(0, 0, 0, .7);
    position: absolute;
    top: 0;
    bottom: 0;
    left: -100%;
    overflow: hidden;
    transition: left 0.3s;
    width: 100%;
    z-index: 100;

    h1,
    h1 a {
      color: #fff;
      width: 100%;
      text-align: center;
      z-index: 101;
    }

    h1 a {
      display: block;
      font-size: 40px;
      padding: 10px 20px;
      margin-bottom: 20px;
      text-decoration: none;
      transition: all .3s ease;

      &:hover {
        background: rgba(255, 255, 255, .2);
      }
    }
  }

  .toggle-button {
    display: block;
    padding: 10px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 101;

    .wolverine {
      display: inline-block;
      height: 26px;
      padding: 0px 0px;
      cursor: pointer;
      -webkit-user-select: none;
      opacity: .97;
      -webkit-transition: all .3s ease;
      -moz-transition: all .3s ease;
      -o-transition: all .3s ease;
      transition: all .3s ease;

      span {
        display: inline-block;
        text-transform: uppercase;
        line-height: 18px;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 18px;
        font-weight: bold;
        color: #fff;
        margin-left: 0px;
        width: 0px;
        overflow: hidden;
      }

      .claws {
        position: relative;
        top: -2px;
        width: 20px;
        height: 4px;
        background: rgb(0, 0, 0);
        display: inline-block;

        &:before,
        &:after {
          display: block;
          content: "";
          height: 4px;
          width: 20px;
          background: rgb(0, 0, 0);
          position: absolute;
          z-index: -1;
          -webkit-transform-origin: 50% 50%;
          transform-origin: 50% 50%;
          -webkit-transition: all .1s .2s, -webkit-transform .2s ease;
          -webkit-transition-delay: ease, 0s;
          -moz-transition: all .1s .2s ease, -moz-transform .2s ease;
          -o-transition: all .1s .2s ease, -o-transform .2s ease;
          transition: all .1s .2s ease, transform .2s ease;
        }

        &:before {
          top: 8px;
        }

        &:after {
          top: -8px;
        }
      }
    }
  }

.nav-control {
  position: absolute;
  left: -9999px;
  width: 100%;
  clip: rect(0, 0, 0, 0);

  &:checked~.navigation {
    left: 0;
    opacity: 1;
    transition: left 0.3s, opacity 0.3s;

    ul li {
      opacity: 1;
      -webkit-transform: translateX(0);
      -moz-transform: translateX(0);
      -ms-transform: translateX(0);
      -o-transform: translateX(0);
      transform: translateX(0);
    }
  }

  &:checked~.toggle-button {

    .wolverine {

      .claws {
        -webkit-transition: all .1s 0s;
        -webkit-transition-delay: ease;
        -moz-transition: all .1s 0s ease;
        -o-transition: all .1s 0s ease;
        transition: all .1s 0s ease;
        background: transparent !important;
        z-index: 101;

        &:before,
        &:after {
          background: rgb(255, 255, 255);
          -webkit-transition: all .1s ease, -webkit-transform .1s .2s;
          -webkit-transition-delay: 0s, ease;
          -moz-transition: all .1s ease, -moz-transform .1s .2s ease;
          -o-transition: all .1s ease, -o-transform .1s .2s ease;
          transition: all .1s ease, transform .1s .2s ease;
          top: 0;
          width: 20px;
        }

        &:before {
          -webkit-transform: rotate3d(0, 0, 1, 45deg);
          transform: rotate3d(0, 0, 1, 45deg);
        }

        &:after {
          -webkit-transform: rotate3d(0, 0, 1, -45deg);
          transform: rotate3d(0, 0, 1, -45deg);
        }
      }
    }
  }
}

/* CSS slide in ends */

/*
.nav-icon div {
  height: 40px;
  width: 40px;
  color: #2a1f14;
}
*/
/* Style rules for main content */
main {
  padding: 2%;
  font-family: 'Lora', serif;
}

main p {
  font-size: 1.25em;
}

main h3 {
  padding-top: 2%;
}

main ul {
  list-style-type: square;
}

.link {
  color: #4d3319;
  text-decoration: none;
  font-weight: bold;
  font-style: italic;
}

.action {
  font-size: 1.75em;
  font-weight: bold;
  text-align: center;
}

.round {
  border-radius: 6px;
}

aside {
  text-align: center;
  font-size: 1.5em;
  font-weight: bold;
  text-shadow: 4px 4px 10px #c5a687;
}

figure {
  border: 4px solid #2a1f14;
  box-shadow: 6px 6px 10px #c5a687;
  max-width: 400px;
  margin: 2% auto;
}

figcaption {
  padding: 2%;
  border-top: 4px solid #2a1f14;
}

#info ul {
  margin-left: 10%;
}

#contact,
#form h2 {
  text-align: center;
}

.tel-link {
  background-color: #2a1f14;
  padding: 2%;
  width: 80%;
  margin: 0 auto;
}

.tel-link a {
  color: #f6eee4;
  text-decoration: none;
  font-weight: bold;
}

#questions p {
  cursor: pointer;
}

#answer {
  text-align: center;
  font-weight: bold;
  width: 80%;
  margin: 0 auto;
}

#answer h2 {
  display: none;
}

/* Style rules for form elements */
fieldset,
input,
textarea {
  margin-bottom: 2%;
}

fieldset legend {
  font-weight: bold;
  font-size: 1.25em;
}

label {
  display: block;
  padding-top: 2%;
}

form #submit {
  margin: 0 auto;
  display: block;
  padding: 2%;
  background-color: #78593a;
  color: #f6eee4;
  font-size: 1.25em;
  border-radius: 10px;
}

/* Style rules for footer content */
footer {
  text-align: center;
  font-size: 0.85em;
  background-color: #2a1f14;
  color: #f6eee4;
  padding: 1% 0;
}

footer a {
  color: #f6eee4;
  text-decoration: none;
}

/* Media Query for Tablet Viewport */
@media screen and (min-width: 620px),
print {

  /* Tablet Viewport: Show tab-desk class, hide mobile class */
  .navigation {
    display: none;
  }

  .toggle-button {
    display: none;
  }

  .tab-desk {
    display: block;
  }

  .mobile {
    display: none;
  }

  /* Tablet Viewport: Style rules for nav area */
  nav li {
    border-top: none;
    display: inline-block;
    font-size: 1.25em;
    font-family: Geneva, Arial, sans-serif;
    font-weight: bold;

  }

  nav li a {
    padding: 0.5em;
    display: block;
    color: #f6eee4;
    text-decoration: none;
  }

  nav ul {
    list-style-type: none;
    text-align: center;
  }

  .grid {
    display: grid;
    grid-template-columns: auto auto;
    grid-gap: 10px;
  }

  aside {
    grid-column: 1 / span 2;
  }

  /* Tablet Viewport: Style rule for form element */
  form {
    width: 70%;
    margin: 0 auto;
  }

}

/* Media Query for Desktop Viewport */
@media screen and (min-width: 1000px),
print {

  /* Desktop Viewport: Show desktop class, hide mobile-tablet class */
  .navigation {
    display: none;
  }

  .toggle-button {
    display: none;
  }

  .desktop {
    display: block;
  }

  .mobile-tablet {
    display: none;
  }

  /* Desktop Viewport: Style rules for nav area */
  nav li {
    font-size: 1.5em;
  }

  nav li a {
    padding: 0.5em 1.5em;
  }

  nav li a:hover {
    color: #2a1f14;
    background-color: #f6eee4;
    opacity: 0.5;
  }

  /* Desktop Viewport: Style rules for main content */
  #info ul {
    margin-left: 5%;
  }

  .grid {
    grid-template-columns: auto auto auto;
    grid-gap: 30px;
  }

  aside {
    grid-column: 1 / span 3;
    font-size: 2em;
  }

  /* Style rules for table */
  table {
    border: 1px solid #2a1f14;
    border-collapse: collapse;
    margin: 0 auto;
  }

  caption {
    font-size: 1.5em;
    font-weight: bold;
    padding: 1%;
  }

  th,
  td {
    border: 1px solid #2a1f14;
    padding: 1%;
  }

  th {
    background-color: #2a1f14;
    color: #fff;
    font-size: 1.15em;
  }

  tr:nth-child(odd) {
    background-color: #deccba;
  }

  /* Desktop Viewport: Style rules for form elements */
  form {
    width: auto;
  }

  .form-grid {
    display: grid;
    grid-template-columns: auto auto;
    grid-gap: 20px;
  }

  .btn {
    grid-column: 1 / span 2;
  }

}

/* Media Query for Large Desktop Viewports */
@media screen and (min-width: 1921px),
print {

  body {
    background: linear-gradient(#f6eee4, #78593a);
  }

  #wrapper {
    width: 1920px;
    margin: 0 auto;
  }

  main {
    background-color: #f6eee4;
  }

  .grid {
    grid-template-columns: auto auto auto auto;
  }

  aside {
    grid-column: 1 / span 4;
    font-size: 3em;
  }

}

/* Media Query for Print */
@media print {

  body {
    background-color: #fff;
    color: #000;
  }

}