html {
  scroll-behavior: smooth;
}

body
{
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-size: 1.2rem;

  display: flex;
  flex-direction: column;
  line-height: 1.5rem;
  /* gap: 2rem; */

  position: relative;
}


section {
  padding: 2rem 1.2rem;
  overflow: hidden;
  margin-bottom: 3rem;

  h2 {
    font-size: 2rem;
    line-height: 2rem;
    margin-bottom: 3rem;
    font-weight: 600;
  }
}

em {
  font-style: italic;
}

a {
  color: black;
  text-decoration: none;
}

a.button {
  cursor: pointer;
  height: 3rem;
  width: 15rem;
  border: none;
  border-radius: .5rem;
  border-color: black;
  border-width: .15rem;
  border-style: solid;

  font-weight: 600;
  font-size: 1rem;
  
  text-align: center;
  line-height: 3rem;
  display: block;
}



header {
  /* position: absolute; */
  width: 100%;

  /* background-color: rgb(43, 109, 163); */

  height: 4rem;

  font-weight: 600;
  font-size: 1.2rem;

  display: flex;
  justify-content: center;
  align-items: center;

  /* padding: 20px; */
  z-index: 3;

  /* background-color: rgba(256, 256, 256, .7); */
  background-color: rgb(43, 109, 163);
  color: white;
}

#header_span {

  /* width: calc(100% - 20px); */


  display: flex;
  flex-direction: row;
  justify-content: space-between;

  img {
    width: 75px;
  }

  #header_details {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
  }
}



#landing {
  position: relative;
  padding: 0;
  /* padding-left: 1.2rem; */
  display: flex;
  flex-direction: column-reverse;
}


#blurb {
  display: flex;
  flex-direction: column;
  position: relative;

  padding: 2rem 1.2rem;

  span {
    font-weight: 600;
  }
}


#curly {
  position: absolute;
  height: 6rem;
  transform: scaleX(-1) rotate(-90deg);
  left: 11rem;
  top: -1.5rem;
}

#scrollme {
  display: none;
  color: #e3e3e3;
}

#landing_img_container {
  width: 100%;
  overflow: hidden;

  position: relative;

  img {
    object-fit: contain;
    height: 25rem;

    position: relative;
    left: -5rem;
  }
}

#landing_toast {
  position: absolute;
  right: 0;
  top: 4rem;
  background-color: rgb(43, 109, 163);
  color: white;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 600;

  border: 2px solid black;
  border-top-left-radius: 1.5rem;
  border-bottom-left-radius: 1.5rem;
  border-right: 0;
}

#landing_button {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
}


#services {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-left: 0;
  padding-right: 0;
  
  #services_license {
    text-align: center;
    margin-bottom: 2rem;
  }
}


#services_list
{
  display: flex;
  flex-direction: column;

  justify-content: space-between;
  align-items: center;
  gap: 1rem;

  /* margin-bottom: 1.2rem; */

  h3 {
    color: wheat;
  }

  span {
    color: wheat;
    font-weight: 600;
  }

  li {
    position: relative;

    display: flex;
    flex-direction: column;

    background-color: rgb(43, 109, 163);
    /* color: #e3e3e3; */
    color: white;

    padding: 2rem;

    /* height: 3rem; */
    /* width: calc(100% - 2.4rem); */
    width: 75%;
    height: 10rem;

    justify-content: space-between;

    /* border-radius: .5rem; */
    /* border-color: black;
    border-width: .15rem;
    border-style: solid; */

    /* text-align: center;
    font-weight: 600; */

    h3 {
      font-weight: 600;
    }

    img {
      width: 100%;
      height: 5rem;
      margin-top: 1.2rem;
      object-fit: cover;
    }
  }

  li:nth-child(even) {
    border-top-left-radius: 7rem;
    border-bottom-left-radius: 7rem;
    right: calc(-12.5% + 2rem);

    p, h3 {
      margin-left: 3rem;
    }
  }

  li:nth-child(odd) {
    border-top-right-radius: 7rem;
    border-bottom-right-radius: 7rem;
    left: calc(-12.5% + 2rem);
  }
}



#reviews {
  background-color: rgb(43, 109, 163);
  display: flex;
  flex-direction: column;
  align-items: center;
  /* justify-content: center; */

  padding-bottom: 4.2rem;
  margin-bottom: 0;

  .section_head {
    color: white;
  }

  .Slide {
    width: 100%;

    display: flex;
    flex-direction: column;
    overflow: hidden;
    gap: 2rem;
    position: relative;
    /* justify-content: space-between; */

    button {
      border: none;
      background-color: rgba(0, 0, 0, 0);
      display: block;
      padding: 0;
      margin: 0;
    }

  }

  .slide_button_row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
  }

  #review_slides {
    /* flex-grow: 50; */
    max-width: 100%;
    /* height: 100%; */

    display: flex;
    flex-direction: row;
    /* width: 75vw; */


    align-items: stretch;
    /* display: inline-block; */
    /* display: */

    /* li {
      flex-shrink: 0;
      display: flex;
      align-items: center;

      background-color: rgb(240, 240, 240);

      width: calc(100% - 1rem);
      padding: .5rem;
      height: 350px;

      span {
        width: 100%;
        height: 100%;
      }
    } */

    li {
      min-width: 100%;
    }
  }

 
}



.review {
  display: flex;
  flex-direction: column;

  /* width: 40rem; */
  width: calc(100% - 5rem);
  height: 28rem;
  overflow-y: auto;

  background-color: white;
  border-radius: 1rem;
  padding: 2rem;
  margin: 0 .5rem;


  .review_header {
    height: 5rem;

    display: flex;
    justify-content: space-between;
    align-items: center;

    border-bottom: 1px solid black;
    margin-bottom: 2rem;

    .review_stars {
      display: flex;
      
      p {
        margin-left: 1rem;
        overflow-y: visible;
      }
    }

    h2 {
      margin-bottom: .5rem;
    }

    #yelp_icon > img {
      height: 2rem;
    }

    div {
      margin-bottom: 2rem;
    }
  }

  p {
    display: block;
    overflow-y: auto;
    height: 100%;
    /* font-size: 1.1rem; */
    line-height: 1.75rem;
  }

}


#save {
  overflow: hidden;
  background-color: rgb(43, 109, 163);
  color: white;
  padding-top: 0;

  img {
    position: relative;
    left: -1.2rem;
    /* height: 20rem; */
    width: 100vw;
    object-fit: cover;
    margin-bottom: 2rem;
    /* object-position: top -5rem right 0; */
  }
}



#about {
  overflow: hidden;
  padding-top: 0;

  img {
    position: relative;
    left: -1.2rem;
    height: 30rem;
    width: 100vw;
    object-fit: cover;
    margin-bottom: 2rem;
    object-position: top 0rem right 0;
  }
}


footer {
  background-color: rgb(43, 109, 163);
  /* color: #f7f7f7; */

  padding: 1.2rem;
  padding-top: 2.5rem;

  font-size: 1rem;


  ul {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    /* text-align: center; */

    li > a > p {
      display: inline;
    }
  }

  #yelp_icon {
    display: inline;
  }

  h3 {
    font-weight: 600;
    color: white;
    margin: 1.2rem 0;
  }

  hr {
    position: relative;
    width: 100vw;
    left: -1.2rem;
    border: 0;
    border-top: 1px;
    border-style: solid;
    border-color: rgba(256, 256, 256, .2);
    margin: 2.5rem 0;
  }

  a {
    /* color: #f7f7f7 */
  }
}




/* button {
  cursor: pointer;
  height: 3rem;
  width: 5rem;
  border: none;
  border-radius: .5rem;
  border-color: black;
  border-width: .15rem;
  border-style: solid;

  font-weight: bold;
  font-size: .8rem;
} */


.call_me_button {
  /* background-color: rgba(255, 99, 71, .8); */
  background-color: white;
  /* color: tomato; */
  
  transition: .4s;

  margin-top: 3rem;
  
}

.call_me_button:hover {
  /* background-color: tomato; */
  background-color: wheat;
  /* border-width: .2rem; */
  /* color: white; */
  /* height: 3.1rem;
  width: 5.1rem; */
  box-shadow: 0px 3px 4px 1px rgba(0,0,0,0.25);
  /* -webkit-box-shadow: 5px 6px 4px 1px rgba(0,0,0,0.1);
  -moz-box-shadow: 5px 6px 4px 1px rgba(0,0,0,0.1); */

}


#copyright {
  /* font-size: .8rem; */
  /* color: darkgray; */
}


@media screen and (min-width: 720px)
{
  #services {
    padding: 2rem 1.2rem;
  }

  #services_list {
    flex-direction: row;
    gap: 1rem;

    flex-wrap: wrap;
    justify-content: center;
    align-content: stretch;

    li {
      width: 15rem;
      margin: 0;
      /* border-radius: 0; */
      border-radius: .5rem;
      height: 11rem;
      max-height: 11rem;
      /* padding: 1rem 3rem; */
      text-align: left;
      align-items: stretch;

      display: block;
      /* flex-direction: column; */
      /* justify-content: space-between; */
      padding: 2rem;
      gap: .5rem;
      flex-grow: 1;

      h3 {
        margin-bottom: 2rem;
      }
    }

    li:nth-child(even) {
      left: 0;
      border-top-left-radius: .5rem;
      border-bottom-left-radius: .5rem;

      p, h3 {
        margin-left: 0;
      }
    }

    li:nth-child(odd) {
      left: 0;
      border-top-right-radius: .5rem;
      border-bottom-right-radius: .5rem;
    }
  }

  .review {
    height: 30rem;
  }

  #save {
    img {
      width: min(55vw, 55vh);
      height: min(55vw, 55vh);
      border-radius: 1rem;
      margin-top: 2rem;
      position: relative;
      left: 50%;
      transform: translateX(-50%);
    }
  }


  #about {
    img {
      /* height: 45rem; */
      left: auto;
      width: min(55vw, 55vh);
      height: min(55vw, 55vh);
      border-radius: 1rem;
      margin-top: 2rem;
      object-position: initial;
      /* width: 100%; */
      /* border: 2px solid black; */
      border-radius: 1rem;

      position: relative;
      left: 50%;
      transform: translateX(-50%);

    }
  }
}


/* tablet styling */
@media screen and (min-width: 430px)
{
  body {
    /* background-color: red; */
  }

  #landing_img_container {
    img {
      width: 100vw;
      height: 40vh;
      object-fit: cover;
      /* height: auto; */
      left: 0;
    }
  }

  #curly {
    left: 14rem;
  }

  #services_list {
    width: 100%;
  }

  footer {
    text-align: center;
  }

  

}



/* desktop styling */
@media screen and (min-width: 1200px)
{
  section {
    /* padding-left: 15rem;
    padding-right: 15rem; */


    padding: 5rem 5rem;
  }

  header {
    /* display: none; */
    /* background-color: rgb(43, 109, 163); */
    visibility: hidden;
    height: 0;
    /* border-bottom: 1px solid black; */
  }


  #hero {
    display: flex;
    flex-direction: row-reverse;
  }

  #landing {
    height: 100vh;
    background-color: rgb(43, 109, 163);
    width: 100vw;

    display: flex;
    flex-direction: row;
    position: relative;
    justify-content: space-between;
    margin-bottom: 0;
  }

  #landing_img_container {
    width: fit-content;
    height: 100%;

    /* object-fit: contain; */
    position: relative;
    right: 0;

    img {
      /* width: 100%; */
      height: 100%;
      width: auto;
      object-fit: contain;
      object-position: bottom 0rem left -8rem;
      left: 0;
      /* top: 0; */
      /* top: 5rem; */
    }
  }

  #landing_button {
    display: none;
  }

  #landing_toast {
    top: 25vh;
    font-size: 1.2rem;
  }

  #blurb-greeting {
    text-align: center;
    position: relative;
    margin-bottom: 5rem;
  }

  #curly {
    position: absolute;
    height: 10rem;
    transform: scaleX(-1) rotate(180deg);
    left: 9rem;
    top: 2rem;
  }
  
  #scrollme {
    display: block;
    position: absolute;
    bottom: .5rem;

    animation: pulse 900ms ease-in-out infinite alternate;

    span {
      display: flex;
      flex-direction: column;

      img {
        transform: rotate(-90deg);
        height: 2rem;
      }

      p {
        /* color: white; */
        font-weight: 400;
      }
    }
  }

  #blurb {
    /* position: absolute; */

    flex-direction: column;
    justify-content: space-around;
    align-items: center;

    background-color: rgb(43, 109, 163);

    height: calc(100vh - 12rem);
    padding: 6rem 6rem;

    flex-grow: 4;

    h2 {
      font-size: 4rem;
      line-height: 4rem;
      margin: 0;
      color: white;
    }
  }

  #blurb-greeting {
    margin: 0;
  }

  #blurb-content {
    width: 30vw;

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    color: #e3e3e3;

    span {
      font-weight: 600;
      color: wheat;

      a {
        color: inherit;
      }
    }
  }

  #services {
    /* width: 60vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%); */

    h2 {
      font-size: 2rem;
    }
  }

  #services_list {
    flex-direction: row;

    flex-wrap: wrap;
    justify-content: center;
    align-content: stretch;

    li {
      width: 15rem;
      margin: 0;
      /* border-radius: 0; */
      border-radius: .5rem;
      height: 18rem;
      /* padding: 1rem 3rem; */
      text-align: left;

      display: block;
      /* flex-direction: column; */
      /* justify-content: space-between; */
      padding: 2rem;
      gap: .5rem;
      flex-grow: 1;

      h3 {
        margin-bottom: 2rem;
      }
    }

    li:nth-child(even) {
      left: 0;
      border-top-left-radius: .5rem;
      border-bottom-left-radius: .5rem;

      p, h3 {
        margin-left: 0;
      }
    }

    li:nth-child(odd) {
      left: 0;
      border-top-right-radius: .5rem;
      border-bottom-right-radius: .5rem;
    }
  }


  /* #reviews {
    background-color: rgb(243, 243, 243);

    div {
      flex-direction: row;
      background-color: #f7f7f7;

      border-radius: 1rem;
      border-style: solid;
      border-color: rgb(43, 109, 163);
      border-width: 1px;

      padding: 2rem;
    }
  } */

  /* #review_slides
  {
    width: 100rem;
    overflow: hidden;
  } */
  #reviews {
    .Slide {
      width: 96rem;
    }

    .slide_button_row {
      /* position: absolute; */
      /* left: -2rem; */
      /* right: 2rem; */
      /* top: 25rem;
      left: -.5rem;
      width: 97rem; */
      display: flex;
      /* justify-content: space-between; */

      button > img{
        height: 3rem;
        cursor: pointer;
      }
    }

    .section_head {
      color: white;
    }
  }


  #save {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 5rem;
    padding-top: 5rem;
    background-color: wheat;
    color: black;


    img {
      width: min(40vw, 40vh);
      height: min(40vw, 40vh);
      margin: 0;
    }
  }


  #about {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    gap: 5rem;
    padding-top: 5rem;

    img {
      width: min(40vw, 40vh);
      height: min(40vw, 40vh);
      margin: 0;

      left: initial;
      right: 50%;
      transform: translateX(50%);
    }
  }


  #about-text {
    /* text-align: center; */
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    justify-content: center;
    /* max-width: 30rem; */
  }


  #reviews {
    padding-left: 0;
    padding-right: 0;

    .Slide {
      width: 100vw;
    }

    #review_slides {
      align-items: center;
  
      li {
        width: 50%;
        min-width: auto;

        iframe {
          min-height: 100%;
        }
      }
    }
  }

  .review
  {
    margin: 0 2rem;
    /* margin: 0; */
    width: calc(50vw - 8rem);
  }
}


@media screen and (min-width: 1600px) {
  section {
    margin-bottom: 8rem;
  }

  body {
    /* background-color: red; */
    font-size: 1.5rem;
    line-height: 2rem;

  }

  h2 {
    font-size: 4rem;
    line-height: 4rem;
  }

  #landing_img_container {
    img {
      object-position: left 0 bottom 0;
    }
  }

  #services {
    width: 60vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
  }

  #services_list {
    gap: 2rem;

    li {
      height: 20rem;
      max-height: 20rem;
    }
  }

  #reviews {
    .Slide {
      width: 70vw;
    }
  }

  .review {
    width: calc(35vw - 8rem);
    height: 40rem;
  }

  #about, #save {
    padding-left: 25vw;
    padding-right: 25vw;

    img {
      width: min(50vw, 50vh);
      height: min(50vw, 50vh);
    }
  }

  #about {
    padding-top: 8rem;
  }
}


@keyframes pulse {
  from { transform: translateY(0); }
  to   { transform: translateY(-10px); }
}