.devices {
  padding: 40px 0;
}

.devices-inner {
  background-color: var(--color-bg-secondary);
  border-radius: var(--radius-lg);
  padding: 30px 20px;
  overflow: hidden;
  background-image: url("./../images/devices-bg.png");
  background-size: cover;
  background-position: center;
}
.devices-wrapper {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1;
}
.devices-wrapper .btn-primary {
  margin: 20px auto 0 auto;
  display: block;
  width: fit-content;
  border-color: var(--color-white);
}
.devices-title {
  font-family: var(--font-primary);
  font-weight: var(--fw-black);
  font-size: 60px;
  color: var(--color-white);
  text-align: center;
}
.devices-subtitle {
  text-align: center;
  max-width: 400px;
  margin: 1rem auto 1rem auto;
  color: var(--color-white);
}
.device-name {
  font-family: var(--font-primary);
  font-weight: var(--fw-regular);
  font-size: 20px;
  color: var(--color-white);
  margin-bottom: 4px;
}

.device-description {
  font-family: var(--font-primary);
  font-weight: var(--fw-medium);
  font-size: 16px;
  color: var(--color-text-light);
  line-height: 1.2;
}

@media (max-width: 1024px) {
  .devices-title {
    font-size: 45px;
  }
}

@media (max-width: 768px) {
  .devices-inner {
    padding: 30px 20px;
  }

  .devices-title {
    font-size: 32px;
  }
}

@media (max-width: 480px) {
  .devices-title {
    font-size: 26px;
  }
}

@media (min-width: 1024px) {
  .devices-inner {
    height: 400px;
    display: flex;
    align-items: center;
  }
}
