.ad-manager-custom-ad-sizes {
  max-width: var(--max-screen-width);
  margin: 5rem auto;
  background-image: url('/assets/custom-ad-sizes.svg');
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 13.5rem 2rem;
  box-sizing: border-box;
}

.ad-manager-custom-ad-sizes-title {
  color: var(--main-text-color);
}

.ad-manager-custom-ad-sizes-text {
  color: var(--main-text-color);
  font-size: var(--font-size-xxl);
  line-height: 2.625rem;
  max-width: 48rem;
  text-align: center;
}

/* Responsive */
@media only screen and (max-width: 1366px) {
  .ad-manager-custom-ad-sizes {
    margin-inline: 3rem;
  }
}

@media only screen and (max-width: 1200px) {
  .ad-manager-custom-ad-sizes {
    max-height: 30rem;
    margin-inline: 1.5rem;
  }
}

@media only screen and (max-width: 1080px) {
  .ad-manager-custom-ad-sizes {
    max-height: 25rem;
  }
}

@media only screen and (max-width: 960px) {
  .ad-manager-custom-ad-sizes {
    max-height: 25rem;
    width: calc(100% - 3rem);
    padding: 10rem 5rem;
  }
}

@media only screen and (max-width: 767px) {
  .ad-manager-custom-ad-sizes {
    margin-inline: 0;
    width: 100%;
    max-height: 32rem;
  }

  .ad-manager-custom-ad-sizes-text {
    max-width: 30rem;
  }

  .ad-manager-custom-ad-sizes-title {
    text-align: center;
    font-size: var(--font-size-40);
    line-height: 3rem;
  }
}

@media only screen and (max-width: 480px) {
  .ad-manager-custom-ad-sizes {
    background-image: none;
    background-color: var(--main-bg-color);
    padding: 3rem 1.5rem;
    max-height: 100%;
    height: 100%;
    padding-inline: 1rem;
  }
}
