:root {

  --green: #2d5016ff;
  --lightgreen: #2d5016aa;
}

* {
  box-sizing: border-box;
}
*::before, *::after {
  box-sizing: border-box;
}

/** about styling mobile **/
  .img_about {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
#quote {
  font-style: italic;
}
.section-heading {
  transform: rotate(0) translateX(0);
}
#map {
	height: 60vh;
}
/** about styling mobile end **/
/** contact styling mobile **/
.contact {
  text-align: center;
}

form { max-width:90vw; margin:50px auto; }

.feedback-input {
  font-weight:500;
  font-size: 2.5rem;
  border-radius: 5px;
  line-height: 4rem;
  border:2px solid var(--green);
  transition: all 0.3s;
  padding: 13px;
  margin-bottom: 15px;
  width:100%;
  box-sizing: border-box;
  outline:0;
}

.feedback-input:focus { border:2px solid var(--green); }

textarea {
  height: 50vh;
  line-height: 150%;
  resize:vertical;
}

[type="submit"] {
  width: 100%;
  background:var(--green);
  border-radius:5px;
  border:0;
  cursor:pointer;
  color:white;
  font-size:4rem;
  padding-top:10px;
  padding-bottom:10px;
  transition: all 0.3s;
  margin-top:-4px;
  font-weight:700;
}
[type="submit"]:hover { background:var(--lightgreen); }

/** contact styling mobile end **/

body {
  font-family: "Barlow", sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.6;
  color: #8d8d8d;
  background: #fff;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

footer {
  padding: 4rem;
  text-align: center;
}

  h1 {
    font-size: 3.25rem;
  }

  h2 {
    font-size: 2.75rem;
  }

  h3 {
    font-size: 2.25rem;
  }

  p {
    font-size: 1.75rem;
}

a {
  color: #8d8d8d;
  text-decoration: none;
}
a:hover {
  color: #232323;
}

nav {
  position: relative;
  z-index: 2;
  padding: 1.25rem 0 1.25rem 0;
}
nav ul {
  line-height: 2.2;
  display: flex;
  justify-content: flex-start;
}
nav ul li {
    font-size: 4rem;
  margin: 0.325rem 0;
}

#logo_img {
	width:75%;
  	object-position: 50% 50%;
	margin:auto;
	padding-top: 2rem;
	display: block;
}


#black {
  color: #232323;
  padding: 4 rem;
}
#highlight {
  color: var(--green);
}

.image-holder img {
  width: 100%;
  height: 65vh;
  object-fit: cover;
  object-position: 20% 0%;
}
#service_img {
  width: 100%;
  height: 65vh;
  object-fit: cover;
  object-position: 50% 50%;
}
#brands {
  width: 100%;
  height: 65vh;
  object-fit: contain;
  object-position: 50% 50%;
}
.vertical {
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.intro {
  position: relative;
  z-index: 2;
  opacity: 0;
  animation: fadeIn 0.8s 0.4s ease forwards;
}
.intro .title {
  display: inline-block;
  font-size: 5rem;
  font-weight: 500;
  line-height: 1.1;
  text-decoration: underline;
  color: var(--green);
}
.intro .title .underline {
  color: #232323;
}

.description {
  position: relative;
  z-index: 1;
  margin: 1rem 0 1.5rem 0;
  font-size: 3rem;
  opacity: 0;
  animation: fadeIn 0.8s 0.6s ease forwards;
}

.slider-item {
  display: none;
}
.slider-item.active {
  display: block;
}
.slider-item.active .hide-mobile {
  display: none;
}
.slider-item.active .show-mobile {
  display: block;
  margin: 1rem 0;
}

button {
  position: relative;
  display: inline-block;
  cursor: pointer;
  outline: none;
  border: 0;
  vertical-align: middle;
  text-decoration: none;
  background: transparent;
  margin: 0;
  padding: 0;
  font-size: 100%;
  font: inherit;
  font-size: inherit;
  width: 100px;
  height: 100px;
}

.controls {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  padding: 0.25rem 0 0.25rem 0;
}
.controls .previous {
  border: 1px solid #232323;
}
.controls .next {
  border-top: 1px solid #232323;
  border-right: 1px solid #232323;
  border-bottom: 1px solid #232323;
}
.controls .icon {
  position: relative;
  margin: auto;
  width: 20px;
  height: 1px;
  background-color: currentColor;
}
.controls .icon.arrow-left::before {
  content: "";
  position: absolute;
  left: 1px;
  top: -4px;
  width: 9px;
  height: 9px;
  border-top: solid 1px currentColor;
  border-right: solid 1px currentColor;
  transform: rotate(-135deg);
}
.controls .icon.arrow-right::before {
  content: "";
  position: absolute;
  right: 1px;
  top: -4px;
  width: 9px;
  height: 9px;
  border-top: solid 1px currentColor;
  border-right: solid 1px currentColor;
  transform: rotate(45deg);
}

.previous, .next {
  display: flex;
  align-content: center;
  justify-content: center;
  flex-basis: 15%;
  font-size: 2rem;
  color: #232323;
}
.previous:hover .icon, .next:hover .icon {
  transform: scale(1.5);
}
.previous .icon, .next .icon {
  transition: transform 0.1s ease;
}

.active .image-holder::before {
  position: absolute;
  content: "";
  z-index: 1;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  transform-origin: 100% 50%;
  animation: revealRight 1s cubic-bezier(0.23, 1, 0.75, 1) forwards;
}

@keyframes revealRight {
  0% {
    transform: scaleX(1);
  }
  100% {
    transform: scaleX(0);
  }
}
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes fadeInLeft {
  0% {
    opacity: 0;
    transform: translateX(20%);
  }
  100% {
    opacity: 1;
    transform: translate(0);
  }
}
.toggle-nav {
  display: flex;
  justify-content: flex-end;
  font-size: 3rem;
  line-height: 2.5;
  padding: 0 4rem 0 0;
}
.toggle-nav i {
  font-size: 6rem;
  line-height: 1.3;
  margin: 0 0 0 0.5rem;
}

.flex-nav ul {
  position: absolute;
  z-index: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  display: none;
  width: 100%;
  left: 0;
  padding: 1rem;
  background: #fff;
  text-align: center;
}
.flex-nav ul.active {
  display: flex;
}

@media (min-width: 62rem) {
  nav ul {
    justify-content: flex-end;
  }

#logo_img {
	height:100%;
	width:50%;
  	object-fit: contain;
	margin:0;
	padding-top: 0;
}

  .controls {
    padding: 1.75rem 0 1.75rem 0;
  }

  .intro {
    animation: fadeInLeft 0.8s 0.4s ease forwards;
  }
  .intro .title {
    font-size: 4.25rem;
    padding: 1.5rem 1.5rem 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.7);
  }

  .image-holder img {
    height: 60vh;
    object-fit: cover;
    object-position: 50% 50%;
  }

#brands, #service_img {
  height: 60vh;
}

  .description {
    font-size: 1.25rem;
    margin: 1rem 0 0 0;
  }

  .previous, .next {
    flex-basis: 8.33%;
  }

  .slider-item.active .hide-mobile {
    display: block;
  }

  .slider-item.active .show-mobile {
    display: none;
  }

  .toggle-nav {
    display: none;
  }

  .flex-nav ul {
    display: flex;
    flex-direction: row;
    position: relative;
    padding: 0;
    justify-content: flex-end;
  }

  nav {
    padding: 1.75rem 0 1.75rem 0;
  }
  nav ul {
    line-height: 2.2;
    display: flex;
    justify-content: flex-start;
  }
  nav ul li {
    font-size: 1.5rem;
    text-transform: uppercase;
    margin: 0 2rem 0 0;
  }
  nav ul li:nth-child(3) {
    margin: 0;
  }

/** about styling desktop **/

  .intro_about {
    padding: 1rem;
  }
  .img_about {
    height: 40rem;
  }
  .section-heading {
    position: absolute;
    transform-origin: top left;
    transform: rotate(-90deg) translateX(-100%);
  }

#map {
	width: 100%;
	height: 100%;
}
/** about styling desktop end **/

/** contact styling desktop **/
form { max-width:70vw; margin:50px auto; }

.feedback-input {
  font-size: 1.75rem;
}

textarea {
  height: 30vh;
}

[type="submit"] {
  font-size:2rem;
}
/** contact styling desktop end **/

}

.visually-hidden {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}
