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

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

.card {
  box-sizing: border-box;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 380px;
  padding: 32px;
  background: #141414;
  border-radius: 16px;
  gap: 20px;
}

.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;
    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 {
    box-sizing: border-box;
    height: auto;
    object-fit: cover;
    aspect-ratio: 1/1;
    padding: 32px;
  }
}

@media screen and (max-width: 750px) {
  .card__container {
    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: grid;
    grid-template-columns: 1fr;
    margin-bottom: 40px;
  }

  .card {
    padding: 24px;
  }
}
