/* ---------------------
      slider component
  ----------------------- */
.beforeAfterContainer {
  padding: 0 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.beforeAfterContainer .slider-wrapper {
  flex-basis: 28em;
}

.beforeAfterContainer #comparison {
  width: 100%;
  height: 60vw;
  max-height: 400px;
  margin: 0px auto;
  padding: 3vh 10px;
}

.beforeAfterContainer #comparison .before {
  background-color: black;
  background-size: cover;
  position: relative;
  font-size: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  box-shadow: 0 5px 10px -2px rgba(0, 0, 0, 0.3);
  border: 1px solid grey;
}

.beforeAfterContainer #comparison figure > img {
  position: relative;
  width: 100%;
}

.beforeAfterContainer #comparison .after {
  background-color: var(--accent-color);
  background-size: cover;
  background-position: center;
  position: absolute;
  width: 0%;
  box-shadow: 0 5px 10px -2px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  bottom: 0;
  height: 100%;
  border: 1px solid grey;
}

input[type=range] {
  -webkit-appearance: none;
  -moz-appearance: none;
  position: relative;
  top: -2rem;
  left: -2%;
  background-color: rgba(255, 255, 255, 0.5);
  width: 102%;
  height: 15px;
}

input[type=range]:focus {
  outline: none;
}

input[type=range]:active {
  outline: none;
}

input[type=range]::-moz-range-track {
  -moz-appearance: none;
  height: 15px;
  width: 102%;
  right: 2%;
  background-color: rgba(255, 255, 255, 0.5);
  position: relative;
  outline: none;
}

input[type=range]::active {
  border: none;
  outline: none;
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 25px;
  height: 25px;
  background: var(--accent-color);
  border-radius: 50%;
  border: 6px solid #ffffff;
}

input[type=range]::-moz-range-thumb {
  -moz-appearance: none;
  width: 25px;
  height: 25px;
  background: var(--accent-color);
  border: 6px solid #ffffff;
  border-radius: 50%;
}

input[type=range]:focus::-webkit-slider-thumb {
  background: var(--accent-color);
}

input[type=range]:focus::-moz-range-thumb {
  background: var(--accent-color);
}

/* ---------------------
        toggler component
  ----------------------- */
.switchContainer {
  display: flex;
  justify-content: end;
}

.switchContainer p {
  padding: 0 5px;
}

/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.toggler {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
}

.toggler:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
}

input:checked + .toggler {
  background-color: var(--accent-color);
}

input:focus + .toggler {
  box-shadow: 0 0 1px var(--accent-color);
}

input:checked + .toggler:before {
  transform: translateX(26px);
}

/* Rounded sliders */
.toggler.round {
  border-radius: 34px;
}

.toggler.round:before {
  border-radius: 50%;
}

.maincontent {
  display: block;
  max-width: 1350px;
  margin: 0 auto;
  padding: 50px 0;
}

.h2-heading {
  text-align: center;
  margin-top: 50px;
}

.portfolio-gallery + hr {
  border-top: 1px solid var(--accent-color);
}

.portfolio-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0 15px;
  margin-bottom: 70px;
}

.portfolio-gallery-item {
  position: relative;
  box-sizing: border-box;
  overflow: hidden;
  margin: 1%;
  width: 23%;
  max-height: 250px;
  border-radius: 5px;
}

.portfolio-gallery-item img {
  width: auto;
  height: 100%;
}

.portfolio-gallery-item img.vertical-img {
  width: 100%;
  height: auto;
}

.portfolio-gallery-item i {
  position: absolute;
  top: 45%;
  left: 50%;
  font-size: 3.5em !important;
  border-radius: 50%;
  margin: -41px 0 0 -41px;
  padding: 10px;
  color: #000;
  opacity: 0;
  transition: all 0.25s;
}

.portfolio-gallery-item:hover i {
  top: 50%;
  opacity: 1;
}

.portfolio-gallery-item:hover img {
  opacity: 0.6;
}

.portfolio-text {
  position: absolute;
  bottom: -10px;
  width: 100%;
  padding: 5px;
  text-align: center;
  background: var(--accent-color);
  color: #fff;
}

.portfolio-text a {
  display: block;
  color: #fff;
}

.portfolio-text a:hover {
  text-decoration: none;
}

@media (max-width: 1000px) {
  .portfolio-gallery-item {
    width: 31%;
  }
}
@media (max-width: 800px) {
  .portfolio-gallery-item {
    width: 48%;
  }
  .portfolio-gallery-item img {
    height: 110%;
  }
}
@media (max-width: 550px) {
  .portfolio-gallery-item {
    width: 100%;
    margin: 2% 0;
    max-height: none;
  }
  .portfolio-gallery-item img {
    width: 100%;
    height: auto;
  }
}
/* -------------------------
    box gallery component
  -------------------------- */
.box-gallery {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  width: 100%;
  position: relative;
}
.box-gallery .box-title {
  width: 100%;
  text-align: center;
  margin-top: 2rem;
}
.box-gallery .box-gallery-item {
  position: relative;
  height: 250px;
  margin: 0.5%;
  overflow: hidden;
  transition: all 0.2s ease-in-out;
  border: #000000 1px solid;
  border-radius: 5px;
}
.box-gallery .box-gallery-item i {
  position: absolute;
  bottom: 40%;
  left: 50%;
  margin: 0 0 -28px -28px;
  font-size: 2em !important;
  border-radius: 50%;
  padding: 10px;
  background: var(--accent-color);
  color: #fff;
  opacity: 0;
  transition: all 0.25s;
}
.box-gallery .box-gallery-item:hover {
  filter: drop-shadow(4px 4px 6px gray);
  transform: scale(1.05);
}
.box-gallery .box-gallery-item:hover i {
  bottom: 50%;
  opacity: 1;
}
.box-gallery .box-gallery-item:hover figure {
  opacity: 0.6;
}
.box-gallery .box-gallery-item figure {
  width: 100%;
  height: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  background-size: cover;
}
.box-gallery .box-gallery-item figure:hover {
  filter: drop-shadow(4px 4px 6px gray);
  transform: scale(1.05);
}

.maincontent {
  display: block;
  max-width: 1350px;
  margin: 0 auto;
  padding: 50px 0;
}

.h2-heading {
  text-align: center;
  margin-top: 50px;
}

.portfolio-gallery + hr {
  border-top: 1px solid var(--accent-color);
}

.portfolio-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0 15px;
  margin-bottom: 70px;
}

.portfolio-gallery-item {
  position: relative;
  box-sizing: border-box;
  overflow: hidden;
  margin: 1%;
  width: 23%;
  max-height: 250px;
  border-radius: 5px;
}

.portfolio-gallery-item img {
  width: auto;
  height: 100%;
}

.portfolio-gallery-item img.vertical-img {
  width: 100%;
  height: auto;
}

.portfolio-gallery-item i {
  position: absolute;
  top: 45%;
  left: 50%;
  font-size: 3.5em !important;
  border-radius: 50%;
  margin: -41px 0 0 -41px;
  padding: 10px;
  color: #000;
  opacity: 0;
  transition: all 0.25s;
}

.portfolio-gallery-item:hover i {
  top: 50%;
  opacity: 1;
}

.portfolio-gallery-item:hover img {
  opacity: 0.6;
}

.portfolio-text {
  position: absolute;
  bottom: -10px;
  width: 100%;
  padding: 5px;
  text-align: center;
  background: var(--accent-color);
  color: #fff;
}

.portfolio-text a {
  display: block;
  color: #fff;
}

.portfolio-text a:hover {
  text-decoration: none;
}

@media (max-width: 1000px) {
  .portfolio-gallery-item {
    width: 31%;
  }
}
@media (max-width: 800px) {
  .portfolio-gallery-item {
    width: 48%;
  }
  .portfolio-gallery-item img {
    height: 110%;
  }
}
@media (max-width: 550px) {
  .portfolio-gallery-item {
    width: 100%;
    margin: 2% 0;
    max-height: none;
  }
  .portfolio-gallery-item img {
    width: 100%;
    height: auto;
  }
}/*# sourceMappingURL=portfolio.css.map */