.devices {
  overflow: hidden;
}

.devices_wrapper__title {
  position: relative;
}

.devices_wrapper__title h1 {
  font-size: 119px;
}

@media (max-width: 768px) {
  .devices_wrapper__title h1 {
    font-size: 39px;
  }
}

.devices_wrapper__title h1 span {
  display: block;
}

.devices_wrapper__title .devices_wrapper__background {
  position: absolute;
  top: 50%;
  right: -10%;
  transform: translate(-50%, -50%);
}

.devices_wrapper__title .devices_wrapper__background img {
  height: 500px;
}

@media (max-width: 768px) {
  .devices_wrapper__title .devices_wrapper__background {
    position: absolute;
    top: 100%;
    right: -70%;
    transform: translate(-50%, -50%);
    opacity: 0.7;
  }
  .devices_wrapper__title .devices_wrapper__background img {
    height: 350px;
  }
}

@media (max-width: 520px) {
  .devices_wrapper__title .devices_wrapper__background {
    top: 80%;
    right: -90%;
  }
}

.bottom_content {
  position: relative;
  margin: 3rem 0;
}

@media (max-width: 768px) {
  .bottom_content {
    margin: 1rem 0 0;
    gap: 24px;
  }
}

.bottom_content .before-title_desc {
  font-size: 21px;
}

.bottom_content .scroll-button {
  display: flex;
  align-items: center;
  gap: 15px;
  text-align: right;
  margin: 0 0 50px auto;
  color: #000000;
  border: 2px solid #000000;
  width: -moz-fit-content;
  width: fit-content;
  padding: 5px 5px 5px 15px;
  border-radius: 30px;
  font-family: "NeueMachina";
  transition: all 0.3s ease-in;
  -webkit-transition: all 0.3s ease-in;
  -moz-transition: all 0.3s ease-in;
  -ms-transition: all 0.3s ease-in;
  -o-transition: all 0.3s ease-in;
}

.bottom_content .scroll-button span {
  position: relative;
  display: block;
  background: #1c1c1c;
  padding: 10px;
  border-radius: 50%;
  width: 45px;
  height: 45px;
}

.bottom_content .scroll-button:hover {
  background: #1c1c1c;
  color: #ffffff;
}

.items_wrapper .tabs-devices {
  justify-content: center;
  gap: 10px;
  border: 0px;
  padding-top: 20px;
  margin-bottom: 55px;
}

.items_wrapper .tabs-devices .nav-link {
  border: 2px solid;
  border-color: #1c1c1c;
  border-radius: 30px;
  color: #1c1c1c;
  padding: 15px 30px;
  min-width: 150px;
  text-align: center;
}

@media (max-width: 768px) {
  .items_wrapper .tabs-devices .nav-link {
    padding: 15px 20px !important;
  }
}

.items_wrapper .tabs-devices .nav-link.active, .items_wrapper .tabs-devices .nav-link:hover {
  background: #1c1c1c;
  color: #ffffff;
  border-color: #1c1c1c;
}

@media (max-width: 768px) {
  .items_wrapper .device-tab {
    flex: 1;
  }
}

.items_wrapper .devices_list {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 15px;
}

.items_wrapper .devices_list .devices_list__item {
  flex: 1 220px;
  border: 2px solid #1c1c1c;
  border-radius: 30px;
  padding: 15px 0;
  box-shadow: 0 5px 7px rgba(0, 0, 0, 0.1);
}

.items_wrapper .devices_list .devices_list__item .image img {
  -o-object-fit: contain;
     object-fit: contain;
  max-height: 210px;
  padding: 15px;
}

.items_wrapper .devices_list .devices_list__item a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #1c1c1c;
  padding: 0 15px;
}

.items_wrapper .devices_list .devices_list__item a h2 {
  text-align: center;
  margin-top: 20px;
  font-size: 16px;
  min-height: 36px;
}

.items_wrapper .devices_list .devices_list__item:hover {
  background: #ececec;
}

@media (max-width: 768px) {
  .items_wrapper .devices_list .devices_list__item {
    flex: 1 150px !important;
    padding: 0px !important;
  }
  .items_wrapper .devices_list .devices_list__item a {
    padding: 0 !important;
  }
  .items_wrapper .devices_list .devices_list__item a img {
    padding: 0px !important;
  }
  .items_wrapper .devices_list .devices_list__item a h2 {
    margin-top: 0px !important;
    font-size: 13px !important;
  }
}
