.bg {
  background-image: url(../pictures/services.jpg);
}

/*----------------------------services-------------------------------*/
.large-container {
  position: absolute;
  z-index: 1;
  margin-top: clamp(220px, calc(30vh - 30px), calc(30vh - 30px));
  margin-left: 15%;
  width: 85%;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 400px);
  grid-template-rows: repeat(1, 320px);
  grid-column-gap: 5%;
  margin-top: 5vh;
  justify-content: center;
}

.grid-container > a {
  all: unset;
}

.grid-container .service {
  height: 100%;
  width: 100%;
  box-shadow: 0px 0px 20px -10px black;
  border: 2px solid rgb(0, 0, 0);
  display: flex;
  flex-direction: column;
  transition: 0.2s linear;
  padding: 0;
  text-align: left;
}

.grid-container > a:nth-of-type(1) > .service {
  background-image: url("../pictures/service1.jpg");
  filter: grayscale(0.3);
  background-size: auto 100%;
  background-repeat: no-repeat;
}

.grid-container > a:nth-of-type(2) > .service {
  background-image: url("../pictures/service2.jpg");
  filter: grayscale(0.3);
  background-size: auto 100%;
  background-repeat: no-repeat;
}

.grid-container > a:nth-of-type(3) > .service {
  background-image: url("../pictures/service3.jpg");
  filter: grayscale(0.3);
  background-size: auto 100%;
  background-repeat: no-repeat;
}

.grid-container .service:hover {
  transform: scale(1.05);
  cursor: pointer;
  transition: transform 0.3s linear;
}

.service-description {
  width: 100%;
  height: 100%;
  margin-top: 62%;
  background-color: rgba(0, 0, 0, 0.8);
}

.service-list {
  font-family: "Inter";
  font-size: 18px;
  display: none;
  color: white;
  font-weight: 300;
  width: 80%;
}

.itemtext {
  font-family: "Inter";
  font-size: 18px;
  color: rgb(255, 255, 255);
  font-style: italic;
  margin-left: 5px;
}

.service-description > .btn {
  color: rgb(19, 192, 183);
  text-decoration: none;
  font-family: "Inter";
  margin-left: 5px;
  display: none;
}

/*------services for mobile-------*/
.splide {
  font-family: "Inter";
  display: none;
  width: 400px;
  height: 340px;
  position: absolute;
  padding-left: 50px;
  padding-right: 50px;
}

.splide__track {
  height: 320px;
  width: 400px;
}

.splide__slide {
  box-shadow: 0px 0px 20px -10px black;
  border: 2px solid rgb(0, 0, 0);
  display: flex;
  flex-direction: column;
  margin-right: 30px;
}

.splide__slide:nth-of-type(1) .service {
  background-image: url("../pictures/service2.jpg");
  filter: grayscale(0.3);
  background-size: auto 100%;
  background-repeat: no-repeat;
}

.splide__slide:nth-of-type(2) .service {
  background-image: url("../pictures/service3.jpg");
  filter: grayscale(0.3);
  background-size: auto 100%;
  background-repeat: no-repeat;
}

.splide__slide:nth-of-type(3) .service {
  background-image: url("../pictures/service1.jpg");
  filter: grayscale(0.3);
  background-size: auto 100%;
  background-repeat: no-repeat;
}

.splide__slide:nth-of-type(4) .service {
  background-image: url("../pictures/service2.jpg");
  filter: grayscale(0.3);
  background-size: auto 100%;
  background-repeat: no-repeat;
}

.splide__slide:nth-of-type(5) .service {
  background-image: url("../pictures/service3.jpg");
  filter: grayscale(0.3);
  background-size: auto 100%;
  background-repeat: no-repeat;
}

.splide__slide:nth-of-type(6) .service {
  background-image: url("../pictures/service1.jpg");
  filter: grayscale(0.3);
  background-size: auto 100%;
  background-repeat: no-repeat;
}

.splide__slide:nth-of-type(7) .service {
  background-image: url("../pictures/service2.jpg");
  filter: grayscale(0.3);
  background-size: auto 100%;
  background-repeat: no-repeat;
}

.slide__block {
  display: flex;
  flex-direction: column;
}

.slide__block > .service {
  height: 100%;
  width: 100%;
  box-shadow: 0px 0px 20px -10px black;
  border: 2px solid rgb(0, 0, 0);
  display: flex;
  flex-direction: column;
  transition: 0.2s linear;
  padding: 0;
  text-align: left;
}

.slide__blockheader {
  text-align: center;
  color: white;
  position: absolute;
}

.splide__pagination__page {
  border-radius: 0;
  height: 3px;
  width: 50px;
}

.splide__pagination__page.is-active {
  transform: scale(1);
  background: rgb(50, 194, 184);
}

/*---------------------------------------------------mediaquery--------------------------------------------------*/
/*-------------------------------mobile phone----------------------------*/

@media screen and (min-device-width: 319px) and (max-device-width: 329px) {
  .nav-container {
    margin-top: 0px;
  }

  section {
    height: clamp(900px, calc(100vh - 30px), calc(100vh - 30px));
  }

  .splide {
    display: block;
    margin-top: clamp(400px, calc(60vh - 30px), calc(60vh - 30px));
    padding-left: 0px;
    padding-right: 0px;
    width: 314px;
  }

  .splide__arrow {
    display: none;
  }

  .splide__track {
    width: 314px;
  }

  .service-description {
    margin-top: 86.3%;
  }

  .itemtext {
    font-size: 17px;
  }

  .large-container {
    display: none;
  }
}

@media screen and (min-device-width: 330px) and (max-device-width: 349px) {
  .nav-container {
    margin-top: 0px;
  }

  section {
    height: clamp(900px, calc(100vh - 30px), calc(100vh - 30px));
  }

  .splide {
    display: block;
    margin-top: clamp(400px, calc(60vh - 30px), calc(60vh - 30px));
    padding-left: 0px;
    padding-right: 0px;
    width: 325px;
  }

  .splide__arrow {
    display: none;
  }

  .splide__track {
    width: 325px;
  }

  .service-description {
    margin-top: 82.5%;
  }

  .large-container {
    display: none;
  }
}

@media screen and (min-device-width: 350px) and (max-device-width: 374px) {
  .nav-container {
    margin-top: 0px;
  }

  section {
    height: clamp(900px, calc(100vh - 30px), calc(100vh - 30px));
  }

  .splide {
    display: block;
    margin-top: clamp(400px, calc(60vh - 30px), calc(60vh - 30px));
    padding-left: 0px;
    padding-right: 0px;
    width: 345px;
  }

  .splide__arrow {
    display: none;
  }

  .splide__track {
    width: 345px;
  }

  .service-description {
    margin-top: 77.7%;
  }

  .large-container {
    display: none;
  }
}

@media screen and (min-device-width: 375px) and (max-device-width: 399px) {
  .nav-container {
    margin-top: 0px;
  }

  section {
    height: clamp(900px, calc(100vh - 30px), calc(100vh - 30px));
  }

  .splide {
    display: block;
    margin-top: clamp(400px, calc(60vh - 30px), calc(60vh - 30px));
    padding-left: 0px;
    padding-right: 0px;
    width: 365px;
  }

  .splide__arrow {
    display: none;
  }

  .splide__track {
    width: 365px;
  }

  .service-description {
    margin-top: 73.4%;
  }

  .large-container {
    display: none;
  }
}

@media screen and (min-device-width: 400px) and (max-device-width: 448px) {
  .nav-container {
    margin-top: 0px;
  }

  section {
    height: clamp(900px, calc(100vh - 30px), calc(100vh - 30px));
  }

  .splide {
    display: block;
    margin-top: clamp(400px, calc(60vh - 30px), calc(60vh - 30px));
    padding-left: 0px;
    padding-right: 0px;
    width: 380px;
  }

  .splide__arrow {
    display: none;
  }

  .splide__track {
    width: 380px;
  }

  .service-description {
    margin-top: 70.4%;
  }

  .large-container {
    display: none;
  }
}

@media screen and (min-device-width: 449px) and (max-device-width: 480px) {
  .nav-container {
    margin-top: 0px;
  }

  section {
    height: clamp(900px, calc(100vh - 30px), calc(100vh - 30px));
  }

  .splide {
    display: block;
    margin-top: clamp(400px, calc(60vh - 30px), calc(60vh - 30px));
    padding-left: 0;
    padding-right: 0;
  }

  .splide__arrow {
    display: none;
  }

  .service-description {
    margin-top: 66.9%;
  }

  .large-container {
    display: none;
  }
}

/*------------------overige viewports------------------*/

@media screen and (min-device-width: 481px) and (max-device-width: 560px) {
  .nav-container {
    margin-top: 0px;
  }

  section {
    height: clamp(900px, calc(100vh - 30px), calc(100vh - 30px));
  }

  .splide {
    display: block;
    margin-top: clamp(400px, calc(60vh - 30px), calc(60vh - 30px));
    padding-left: 0;
    padding-right: 0;
  }

  .splide__arrow {
    display: none;
  }

  .service-description {
    margin-top: 66.9%;
  }

  .large-container {
    display: none;
  }
}

@media screen and (min-device-width: 561px) and (max-device-width: 767px) {
  .nav-container {
    margin-top: 0px;
  }

  section {
    height: clamp(900px, calc(100vh - 30px), calc(100vh - 30px));
  }

  .splide {
    display: block;
    margin-top: clamp(400px, calc(60vh - 30px), calc(60vh - 30px));
  }

  .service-description {
    margin-top: 66.9%;
  }

  .large-container {
    display: none;
  }
}

@media screen and (min-device-width: 768px) and (max-device-width: 900px) {
  .nav-container {
    margin-top: 0px;
  }

  section {
    height: clamp(900px, calc(100vh - 30px), calc(100vh - 30px));
  }

  .splide {
    display: block;
    margin-top: clamp(400px, calc(60vh - 30px), calc(60vh - 30px));
  }

  .service-description {
    margin-top: 66.9%;
  }

  .large-container {
    display: none;
  }
}

@media screen and (min-device-width: 901px) and (max-device-width: 1023px) {
  .nav-container {
    margin-top: 0px;
  }

  section {
    height: clamp(700px, calc(100vh - 30px), calc(100vh - 30px));
  }

  .splide {
    display: block;
    margin-left: 40%;
    margin-top: clamp(200px, calc(30vh - 30px), calc(30vh - 30px));
  }

  .service-description {
    margin-top: 66.9%;
  }

  .large-container {
    display: none;
  }
}

/*------------------laptop------------------*/

@media screen and (min-device-width: 1024px) and (max-device-width: 1269px) {
  section {
    height: clamp(700px, calc(100vh - 30px), calc(100vh - 30px));
  }

  .splide {
    display: block;
    margin-left: 45%;
    margin-top: clamp(200px, calc(30vh - 30px), calc(30vh - 30px));
  }

  .service-description {
    margin-top: 66.9%;
  }

  .large-container {
    display: none;
  }
}

@media screen and (min-device-width: 1270px) and (max-device-width: 1399px) {
  section {
    height: clamp(840px, calc(100vh - 30px), calc(100vh - 30px));
  }

  .large-container {
    margin-top: clamp(400px, calc(50vh - 30px), calc(50vh - 30px));
    margin-left: 0%;
    width: 100%;
    transform: scale(0.9);
  }
}

@media screen and (min-device-width: 1400px) and (max-device-width: 1529px) {
  section {
    height: clamp(840px, calc(100vh - 30px), calc(100vh - 30px));
  }

  .large-container {
    margin-top: clamp(400px, calc(50vh - 30px), calc(50vh - 30px));
    margin-left: 0%;
    width: 100%;
  }
}

@media screen and (min-device-width: 1530px) and (max-device-width: 1659px) {
  section {
    height: clamp(840px, calc(100vh - 30px), calc(100vh - 30px));
  }

  .large-container {
    margin-top: clamp(400px, calc(50vh - 30px), calc(50vh - 30px));
    margin-left: 0%;
    width: 100%;
  }
}

@media screen and (min-device-width: 1660px) and (max-device-width: 1789px) {
  section {
    height: clamp(700px, calc(100vh - 30px), calc(100vh - 30px));
  }

  .large-container {
    margin-top: clamp(220px, calc(30vh - 30px), calc(30vh - 30px));
    margin-left: 20%;
    width: 80%;
    transform: scale(0.91);
  }
}

@media screen and (min-device-width: 1790px) and (max-device-width: 1919px) {
  section {
    height: clamp(700px, calc(100vh - 30px), calc(100vh - 30px));
  }

  .large-container {
    margin-top: clamp(220px, calc(30vh - 30px), calc(30vh - 30px));
    margin-left: 20%;
    width: 80%;
  }
}
