/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

.devices__container {
  padding: 0;
  margin-bottom: 160px;
}

.card__container {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 30px 1fr 30px 1fr;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 80px;
}

.card {
  overflow: hidden;
  z-index: 1;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  height: 380px;
  padding: 32px;
  background: #141414;
  border-radius: 16px;
  gap: 20px;
}

.card:after {
  position: absolute;
  content: "";
  top: 10vw;
  left: 0;
  right: 0;
  z-index: -1;
  height: 66%;
  width: 100%;
  margin: 0 auto;
  -webkit-filter: blur(5vw);
  -moz-filter: blur(5vw);
  -ms-filter: blur(5vw);
  filter: blur(5vw);
  background: radial-gradient(50% 50% at 50% 50%, #212121 0%, rgba(33, 33, 33, 60%) 92.19%);
  background-size: 200% 200%;
}

.card__name {
  margin: 0;
  font-style: normal;
  font-weight: 500;
  font-size: 24px;
  line-height: 100%;
  /* identical to box height, or 24px */

  /* Landing/White */

  color: #ebebeb;

  opacity: 0.8;
}

.card__image {
  width: 62%;
  height: 79%;
  position: absolute;
  top: 14%;
  right: 16%;
}

.card__image_m {
  width: 85%;
  height: 85%;
  position: absolute;
  top: 8%;
  right: 5%;
}

.card__image_l {
  width: 76%;
  height: 70%;
  top: 24%;
  position: absolute;
}

@media screen and (min-width: 1600px) {
  .card__name {
    font-size: 28.8px;
  }

  .card {
    height: 466px;
    padding: 38px;
  }

  .card__container {
    margin-bottom: 96px;
  }

  .devices__container {
    margin-bottom: 192px;
  }
}

@media screen and (max-width: 1279px) {
  .devices__container {
    padding-left: 30px;
    padding-right: 30px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }

  .card {
    padding: 24px;
    height: 318px;
  }

  .card__container {
    gap: 15px;
  }
}

@media screen and (max-width: 1024px) {
  .devices__container {
    padding: 0 20px 0;
    margin-bottom: 120px;
  }

  .card__name {
    font-size: 21px;
  }

  .card {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    height: auto;
    -o-object-fit: cover;
    object-fit: cover;
    aspect-ratio: 1/1;
    padding: 32px;
  }
}

@media screen and (max-width: 750px) {
  .card__container {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    margin-bottom: 60px;
  }

  .card__name {
    font-size: 7.5vw;
  }
}

@media screen and (max-width: 639px) {
  .devices__container {
    padding: 60px 10px 0px;
    margin-bottom: 0;
  }

  .card__name {
    font-size: 6.5vw;
  }


  .card__container {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    margin-bottom: 40px;
  }

  .card {
    padding: 24px;
  }
}