/*
Copyright Green Team Consulting 2023
*/

svg{
    width: 8px;
    height: 8px;
}

/*#region Variables*/
:root
{
    --green: #0D4426;
  --axolotl: #6C7D4A;
  --grey-green: #444939;
  --light-axolotl: #E3E6DC;
  --almost-white: #F4F8F3;
  --sage-green: #7F9F77;
  --red: #D84738;
}
/*#endregion Variables*/

/*#region Typography*/
body, a{
  font-family: 'Lato', sans-serif;
  text-decoration: none;
  color: black;
  letter-spacing: 0.5px;
}

.banner-section h1{
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  margin-top: 0.2rem;
  text-align: center;
} 

.banner-section p{
  font-size: 1rem;
  line-height: 1.2rem;
  margin-bottom: 0.7rem;
  text-align: justify;
}

.services-section h2{
  font-size: 1.55rem;
  color: white;
  text-align: center;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 0.5rem;
  margin-bottom: 0.25rem;
}

.services-bar p{
  font-size: 1rem;
  color: white;
  width: 90vw;
  text-align: justify;
}
/*#endregion Typography*/

/*#region Small Screen Size (320-750)*/
.banner-section{
  background-color: var(--light-axolotl);
  padding: 0.75rem;
}

.banner-svg{
  position: absolute;
  max-height: 0vh;
  overflow: hidden;
}

.services-section{
  background-image: url("../img/sm/tree-lake-sm.jpg");
  background-position: left top;
  background-size: cover;
  box-shadow: inset 0 0 0 1000px rgba(0,0,0,.5);
  padding: 0.75rem;
}

.divider{
  width: auto;
  height: 2px;
  background-color: white;
}

.services-bar{
  display: flex;
  justify-content: flex-start;
  margin-bottom: 2rem;
  padding-top: 0.75rem;
  height: fit-content;
}

.services-divider{
  width: 11px;
  height: auto;
  background-color: var(--sage-green);
  margin-right: 0.5rem;
}

.offset-cards{
  display: flex;
  flex-direction: column;
}

.card{
  background-color: #fefefe;
  margin-bottom: 1rem;
  padding: 0.75rem;
}

.card-svg{
  float: right;
  margin-left: 1rem;
}

.card-svg svg{
  width: 78px;
  height: 78px;
}

.card-svg-divider{
  width: auto;
  height: 2px;
  background-color: var(--sage-green);
}

.card:nth-of-type(1) .card-svg-divider{
  margin-top: -0.4rem;
}

.card-text h3{
  font-size: 1.15rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.card p{
  font-size: 0.8rem;
  line-height: 0.9rem;
}

.card-dropdown-button{
  display: flex;
  align-items: center;
  margin-top: 0.5rem;
  cursor: pointer;
  width: fit-content;
}

.card-dropdown-button:hover{
  text-decoration: underline;
}

.card-dropdown-button p{
  margin-right: 0.3rem;
}

.card-dropdown-button svg{
  transform: rotate(180deg);
  transition: all 0.8s ease;
}

.card-extension{
  position: absolute;
  max-height: 0vh;
  overflow: hidden;
}

.card-extension h4{
  font-size: 0.85rem;
  font-weight: bold;
  margin-bottom: 0.3rem;
}

.card-extension p{
  padding-left: 0.4rem;
  margin-bottom: 0.45rem;
}

.open .card-extension{
  position: initial;
  max-height: 100vh;
  overflow: visible;
  border-top: 1px solid black;
  padding-top: 0.75rem;
  margin-top: 0.5rem;
}

.open .card-dropdown-button svg{
  transform: rotate(0deg);
  transition: all 0.8s ease;
}

.contact-button{
  display: flex;
  align-items: center;
  padding: 0.5rem;
  background-color: var(--red);
  width: fit-content;
  cursor: pointer;
  margin-bottom: 0.4rem;
}

.contact-button:hover{
  background-color: #fefefe;
}

.contact-button:hover p{
  color: var(--red);
}

.contact-button:hover svg path{
  fill: var(--red);
}

.long-contact-text{
  position: absolute;
  max-height: 0vh;
  overflow: hidden;
}

.contact-button p{
  font-size: 1rem;
  color: white;
  margin-right: 0.35rem;
}

.contact-button svg{
  transform: rotate(90deg);
}

.contact-button svg path{
  fill: white;
}
/*#endregion Small Screen Size (320-750)*/

/*#region Medium Screen Size (751-1160)*/
@media only screen and (min-width: 751px)
{
  .services-section{
    background-image: url("../img/md/tree-lake-md.jpg");
  }

  body, a{
    letter-spacing: normal;
  }

  .banner-section .inner-container{
    display: flex;
    padding: 2rem 1rem;
  }

  .banner-svg{
    position: initial;
    max-height: 100vh;
    overflow: visible;
    margin-right: 1.3rem;
  }

  .banner-svg svg{
    width: 160px;
    height: 160px;
  }

  .banner-section h1{
    font-size: 1.16rem;
    text-align: left;
  }

  .banner-section p{
    font-size: 0.92rem;
    margin-right: 0.75rem;
  }

  .services-section h2{
    font-size: 1.8rem;
  }

  .services-section p{
    font-size: 1rem;
    text-align: justify;
  }

  .services-bar p{
    width: 94vw;
    text-align: left;
  }

  .card{
    width: 75vw;
  }

  .card:nth-of-type(even){
    margin-left: auto;
  }

  .card h3{
    font-size: 1.2rem;
  }

  .card p{
    font-size: 0.9rem;
    letter-spacing: normal;
  }

  .card-svg svg{
    width: 70px;
    height: 70px;
  }

  .card:nth-of-type(1) .card-svg-divider{
    margin-top: -.2rem;
  }

  .card-svg-divider{
    margin-top: 0.3rem;
  }

  .short-contact-text{
    position: absolute;
    max-height: 0vh;
    overflow: hidden;
  }

  .long-contact-text{
    position: initial;
    max-height: 100vh;
    overflow: visible;
  }
}
/*#endregion Medium Screen Size (751-1160)*/

/*#region Large Screen Size (1161-1920)*/
@media only screen and (min-width: 1161px)
{
  .services-section{
    background-image: url("../img/lg/tree-lake-lg.jpg");
  }

  .inner-container{
    max-width: 1161px;
    margin: auto;
  }

  .banner-section h1{
    font-size: 1.8rem;
  }

  .banner-section p{
    font-size: 1.25rem;
  }

  .services-section{
    padding: 2rem;
  }

  .services-section h2{
    font-size: 2rem;
  }

  .services-bar p{
    font-size: 1.35rem;
  }

  .card{
    width: 75%;
  }

  .card h3{
    font-size: 1.6rem;
  }

  .card-svg{
    margin-left: 1.5rem;
  }

  .card-svg svg{
    width: 100px;
    height: 100px;
  }

  .card{
    padding: 1.25rem;
  }

  .card p,
  .card h4{
    font-size: 1.2rem;
  }

  .card p{
    line-height: 1.3rem;
    padding-right: 1.5rem;
  }

  .card-dropdown-button{
    margin-top: 1rem;
  }

  .card-dropdown-button p{
    padding-right: 0.2rem;
  }

  .card-extension h4{
    padding-top: 0.75rem;
    margin-bottom: 0.3rem;
  }

  .card-extension p{
    margin-bottom: 0rem;
  }

  .contact-button{
    margin-top: 1rem;
  }

  .contact-button p{
    font-size: 1.25rem;
    margin-right: 0.5rem;
  }

  .card-dropdown-button svg,
  .contact-button svg{
    width: 13px;
    height: 13px;
  }

}
/*#endregion Large Screen Size (1161-1920)*/

/*#region Extra Large Screen Size (1921-3840+)*/
@media only screen and (min-width: 1921px)
{
  .services-section{
    background-image: url("../img/xl/tree-lake-xl.jpg");
  }
}
/*#endregion Extra Large Screen Size (1921-3840+)*/