/*
 * Original Design Specifications
 * Target: > 1800px
 * Test Resolution: 1920 x 1080
 */
:root {
  --call-to-action-button-width: 100%;
  --call-to-action-button-font-size: 2.2rem;
  --call-to-action-button-border-radius: 1.4rem;
  --call-to-action-button-height: 6rem;
  --call-to-action-button-rounded-border-radius: calc(
    (var(--call-to-action-button-height) * 1.25) / 2
  );
}

/*
 * 2XL Media Query (1536px)
 * Target: 1799px > 1536px
 * Test Resolution: 1536 x 864
 */
@media screen and (max-width: 1799px) {
  :root {
    --call-to-action-button-font-size: 2rem;
    --call-to-action-button-border-radius: 1.25rem;
    --call-to-action-button-height: 5rem;
  }
}

/*
 * XL Media Query (1280px)
 * Target: 1535px > 1280px
 * Test Resolution: 1280 x 720
 */
@media screen and (max-width: 1279px) {
  :root {
    --call-to-action-button-font-size: 1.8rem;
    --call-to-action-button-border-radius: 1.1rem;
    --call-to-action-button-height: 4rem;
  }
}

/*
 * S Media Query (640px)
 * Target: < 767px
 * Test Resolution: 390 x 844
 */
@media screen and (max-width: 767px) {
  :root {
    --call-to-action-button-font-size: 1.5rem;
    --call-to-action-button-rounded-border-radius: 0.9rem;
  }
}

.call-to-action-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--call-to-action-button-width);
  background-color: var(--theme-color-orange);
  color: var(--theme-color-white);
  font-size: var(--call-to-action-button-font-size);
  height: var(--call-to-action-button-height);
  border-radius: var(--call-to-action-button-border-radius);
}

.call-to-action-button-rounded {
  height: calc(var(--call-to-action-button-height) * 1.25);
  border-radius: var(--call-to-action-button-rounded-border-radius);
}
