/* Check part */

article.article__products {
  display: flex;
  max-width: 1200px;
  justify-content: space-around;
  margin: 20px auto;
}
article.article__products h2 {
  font-size: 100px;
}

/* Products with slider */

div.div__products {
  min-width: 350px;
  max-width: 350px;
  background-color: #fff;
  border-radius: 2.5%;
  max-height: 500px;
}
.div__products ul li {
  margin: 0;
  padding: 0;
  list-style: none;
}
ul.slider {
  display: flex;
  position: relative;
  max-width: 600px;
  height: 400px;
  align-items: center;
  justify-content: center;
}
ul.slider li {
  display: flex;
  justify-content: center;
  position: absolute;
  opacity: 0;
  height: 350px;
  transition: opacity 0.5s;
}
ul.slider li img {
  width: auto;
  height: auto;
  object-fit: cover;
}
ul.slider li:first-child {
  opacity: 1;
}
ul.slider li:target {
  opacity: 1;
}
.slider-menu {
  text-align: center;
  padding-bottom: 20px;
}
.slider-menu li {
  display: inline-block;
  text-align: center;
}
.slider-menu li a {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  background-color: #489f58;
  padding: 7px;
  width: 40px;
  height: 40px;
  font-size: 20px;
  border-radius: 50%;
}

/* Article with image and description */

article.article__description {
  max-width: 1200px;
  margin: 20px auto;
  background-color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
div.div__article-text {
  display: block;
  padding: 20px 40px;
}
article.article__description h2 {
  font-size: 45px;
}
article.article__description p {
  margin-top: 20px;
  font-size: 20px;
  font-weight: 400;
}
article.article__description img {
  max-height: 300px;
  margin-left: 40px;
}
#img-hoses-002 {
  display: none;
}
.div__article-img {
  display: flex;
  bottom: 0;
}
/* Change image, make display box and change sizes */
@media screen and (max-width: 850px) {
  article.article__description {
    display: inline-block;
  }
  .div__article-img #img-hoses-001 {
    display: none;
  }
  .div__article-img {
    display: flex;
    justify-content: center;
  }
  .div__article-img #img-hoses-002 {
    max-width: 70vw;
    margin: 20px 0;
    display: inline-block;
  }
  article.article__products {
    display: block;
  }
  article.article__products h2 {
    font-size: 40px;
    text-align: center;
  }
  div.div__products {
    margin: 20px auto;
  }
}
/* Change Size slider*/
@media screen and (max-width: 320px) {
  div.div__products {
    min-width: 310px;
  }
  ul.slider li img {
    width: 310px;
    height: 310px;
    object-fit: cover;
  }
  .div__article-img {
    width: 310px;
  }
  div.div__article-text {
    width: 320px;
    max-width: 100%;
  }
}
