/* || UPDATED 20200501 16:22:42 */
/* || GENERAL STYLES */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin-top: 0;
  margin-block-start: 0;
  margin-block-end: 0;
  margin-inline-start: 0;
  margin-inline-end: 0;
}
:root {
  background:#9cdf00;
}
body {
  background-color: #ffffff;
  margin-top: 5vh;
  margin-bottom: 3vh;
  border-top: 0.4vh solid #f7732a;
  border-bottom: 0.4vh solid #f7732a;
  padding-top: 3vh;
  color: #000155;
  font-size: 1.3rem;
  line-height: 1.4;
  font-family: 'Roboto', sans-serif;
  font-weight:400;
}

/* || TYPOGRAPHY */

h1,
h2,
h3 {
  line-height: 1.1;
  margin-bottom: 0.4em;
}
h1,
h2,
h3 {
    font-weight: 700;
}
h1 {
  font-size: 2em;
}
h2 {
  font-size: 1.6em;
}
h3 {
  font-size: 1.3em;
  margin-top: 0.6em;
  letter-spacing: 1px;
}
h4 {
  font-size: 1.3em;
  text-transform: uppercase;
  letter-spacing: 1px;
}
p {
  margin-bottom: 1.3em;
}
strong,
b {
  font-weight: 700;
  font-style: normal;
}
em,
i {
  font-weight: 100;
}

/* || LINKS */

a {
  color: #f7732a;
  text-decoration: none;
  font-weight: 700;
}
a:visited {
  color: #f7732a;
}
a:focus,
a:hover {
  color: #cc6211;
  outline-offset: 2px;
  outline: 1px dotted #cc6211;
  border-bottom: none;
  transition: all 0.2s ease;
}

a.currentpage {
  color: #f7732a;
  text-decoration: none;
}

/* || TAGS */

img {
  width: 100%;
  max-width: 360px;
}
article img
/* ,aside img */
{
  border-radius: 1em;
}
img.services {
  border-radius: 2em;
  margin: 1em auto;
}
img.social {
  max-width: 50%;
}
ul {
  margin-block-end: 1em;
  margin-inline-end: 1em;
  margin-bottom: 1em;
}

/* || SEMANTICS */

main {
  margin: 0 auto;
  background-image: url('/images/car-watermark-bg.jpg');
  background-position: top 25vh center;
  background-size: 67%;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
header,
nav,
aside,
footer {
  text-align: center;
}
header {
  padding: 1em;
}
nav,
article,
section,
aside,
footer {
  padding: 1em;
  margin-bottom: 1em;
}
header p {
  margin-bottom: 0.4rem;
}
figcaption {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  margin: 1rem 0 0 0;
}
figcaption.cte {
  font-size: 0.6rem;
  margin: 0 0 1rem 0;
}

/* || NAV */

nav a,
nav a:visited {
  font-family: "Roboto Slab", serif;
  color: #0090ff;
  font-size: 1.2em;
  padding: 0.3em 0.6em;
  border-bottom: 0;
}
nav a:hover,
nav a:focus {
  color: #f7732a;
}
nav li {
  padding: 0.7em 0;
  line-height: 1.6;
  margin:0 1em 1em;
}
nav ul {
  list-style-type: none;
  padding-left: 0;
  margin-block-end: 0;
  margin-inline-end: 0;
  margin-bottom: 0;
}

/* || UTILITIES */

.visually-hidden {
  position: absolute;
  top: auto;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  width: 1px;
  height: 1px;
  white-space: nowrap;
}
::selection {
  background-color: rgba(100%, 100%, 100%, 0.1);
  color: #ff8b00;
}

/* || SPECIALTY */
.email {
  font-size: 1rem;
}
.page-indicator {
  font-family: "Roboto Slab", serif;
  font-size: 1.4em;
  letter-spacing: 1px;
  color: #0090ff;
}
.headline {
  text-align: center;
  color: #ffffff;
  background: url("/images/desert-bg-light.jpg");
  background-position: left top;
  background-size: cover;
  border-radius: 1em;
  margin: 0.6em 0;
  padding:0.6em;
}
.headline h1, .headline h2, .headline h3 {
  text-shadow: 4px 4px 4px rgba(11%, 11%, 33%, 55%);
}
.contact-buttons {
  display: flex;
  align-content: space-around;
  margin: 0.6em 0;
}
.tel,
.sms,
nav li {
  border-radius: 1em;
  box-shadow: 6px 6px 8px #666666, -3px -2px 4px #bbbbbb;
}
.tel,
.sms {
  text-transform: uppercase;
  font-size: 1.6rem;
  margin: auto;
  padding: 0.6em 1em;
  font-weight: 700;
}
.tel a,
.sms a {
  text-decoration: none;
  border-bottom: none;
}
.tel a {
  color: #9cdf00;
}
.sms a {
color: #f06620;
}
.copyright {
  font-size: 0.7em;
}
.testimonial {
  font-size: 1.1rem;
  text-align: left;
  padding: 1.6em 1em;
}
.testimonial p {
  margin-bottom: 0.6em;
}
.testimonial-date {
  font-weight: 100;
  font-size: 0.8em;
  letter-spacing: 1px;
}
.testimonial-name {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.8em;
  font-weight: 700;
}
aside.bbb {
  display: grid;
  grid-gap: 0.4em;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  grid-template-areas:
  "yp yp"
  "gl gl"
  "bb bb"
  "fb ig"
  ;
}
.fb {
  grid-area: fb;
}
.ig {
  grid-area: ig;
}
.yp {
  grid-area: yp;
}
.gl {
  grid-area: gl;
}
.bb {
  grid-area: bb;
}
/* || ANIMATION */

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  90% {
    transform: scale(1.11);
  }
  100% {
    transform: scale(1.07);
  }
}

/* || MEDIA QUERIES */

@media (min-width: 700px) {
  main {
    display: grid;
    grid-template-columns: repeat(auto-fill, 50%);
    grid-template-rows: auto;
    grid-gap: 0.6em;
    font-weight: 400;
  }
  header {
    grid-area: header;
    padding: 0;
    padding-top: 1em;
  }
  nav {
    grid-area: nav;
    margin-bottom: 0;
    box-shadow: 3px 4px 7px rgba(1%, 1%, 3%, 11%);
    border-radius: 1rem;
  }
  nav ul {
    flex-wrap: wrap;
    flex-direction: row;
  }
  nav li {
    box-shadow: none;
    width: 100%;
    margin: 0;
  }
  nav ul li a {
    font-size: 1.4em;
    letter-spacing: 1px;
    font-weight: 400;
  }
  article {
    grid-area: article;
  }
  footer {
    grid-area: footer;
  }
  h1, h2, h3, h4 {
    margin-top: 0;
    font-weight: 700;
  }
  h1 {
    font-size: 3em;
  }
  h2 {
    font-size: 2.6em;
  }
  h3 {
  font-size: 2em;
  }
  h4 {
  font-size: 1.3em;
  }
  .bbb {
    grid-area: bbb;
  }
  img {
    max-width: 96vw;
  }
  .section1 {
    grid-area: section1;
  }
  .section2 {
    grid-area: section2;
  }
  .section3 {
    grid-area: section3;
    text-align: center;
  }
  .t1 {
    grid-area: t1;
  }
  .t2 {
    grid-area: t2;
  }
  .t3 {
    grid-area: t3;
  }
  .headline {
    background-size: cover;
    background-position:  right top;
  }
  .contact-buttons {
    display: none;
  }
  article,
  section,
  aside,
  footer {
    margin-bottom: 1em;
  }
}

@media (min-width: 700px) and (orientation: landscape) {
  .contact-buttons {
    display: flex;
  }
}

@media (min-width: 900px) {
  main {
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 1em;
    max-width: 1000px;
  }
  img {
    max-width: 800px;
  }
  .contact-buttons {
    display: none;
  }
}
