h1,
.h1 {
  font-size: 36px;
  line-height: 1.2;
}
@media (max-width: 799.98px) {
  h1,
  .h1 {
    font-size: 28px;
  }
}
h2,
.h2 {
  font-size: 28px;
  line-height: 1.32;
}
@media (max-width: 799.98px) {
  h2,
  .h2 {
    font-size: 22px;
  }
}
.link {
  color: #da2e91;
  text-decoration: underline;
  text-underline-position: under;
  text-decoration-style: dashed;
}
* {
  padding: 0;
  margin: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  font-family: "Mulish", sans-serif;
  line-height: 1.4;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  background-color: #fff;
  color: #333;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  max-width: 100%;
  min-height: 100dvh;
  overflow: hidden auto;
}
body.scroll-blocked {
  overflow: hidden!important;
  max-height: 100vh;
  -ms-touch-action: none;
      touch-action: none;
}
.header {
  margin-bottom: 30px;
}
@media (min-width: 800px) {
  .header {
    margin-bottom: 60px;
  }
}
.header__wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 15px;
  padding: 15px 0;
  margin-bottom: 10px;
}
.header__wrap h1 {
  color: #da2e91;
  margin-bottom: 0;
}
@media (max-width: 574.98px) {
  .header__wrap h1 {
    font-size: 24px;
  }
}
.header__logo {
  width: auto;
  height: 50px;
}
@media (min-width: 800px) {
  .header__logo {
    height: 80px;
  }
}
@media (max-width: 574.98px) {
  .header__logo {
    margin-bottom: auto;
  }
}
.header__sub-title {
  font-size: 20px;
  line-height: 1.5;
  font-weight: 400;
  max-width: 920px;
}
@media (max-width: 799.98px) {
  .header__sub-title {
    font-size: 18px;
  }
}
.header__sub-title .link {
  font-size: 20px;
  white-space: nowrap;
}
@media (max-width: 799.98px) {
  .header__sub-title .link {
    font-size: 18px;
  }
}
.footer {
  width: 100%;
  max-width: 1200px;
  padding-right: 15px;
  padding-left: 15px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 30px;
}
.footer__wrap {
  padding: 15px 0;
}
.container {
  width: 100%;
  max-width: 1200px;
  padding-right: 15px;
  padding-left: 15px;
  margin-left: auto;
  margin-right: auto;
}
.main-block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 20px;
  width: 100%;
}
@media (max-width: 799.98px) {
  .main-block {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}
.main-block__base {
  width: 100%;
  max-width: calc(100% - 400px - 20px);
  position: relative;
  z-index: 1;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
@media (max-width: 799.98px) {
  .main-block__base {
    max-width: 100%;
  }
}
.main-block__img-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  width: 100%;
  border-radius: 10px;
  border: 2px solid #e7e7e7;
  overflow: hidden;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  -ms-touch-action: none;
      touch-action: none;
  cursor: crosshair;
}
.main-block__img-container img {
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 500px;
  margin: auto;
  -o-object-fit: contain;
     object-fit: contain;
}
@media (max-width: 799.98px) {
  .main-block__img-container img {
    max-height: 350px;
  }
}
.main-block__side {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 15px;
  max-width: 400px;
  position: relative;
}
@media (max-width: 799.98px) {
  .main-block__side {
    max-width: 100%;
  }
}
.main-block__zoom {
  position: fixed;
  left: -10px;
  top: -135px;
  border-radius: 50%;
  pointer-events: none;
}
@media (max-width: 799.98px) {
  .main-block__zoom {
    left: -60px;
    top: -132px;
  }
}
.palette {
  margin-bottom: 14px;
  border: 2px solid #e7e7e7;
  border-radius: 10px;
  padding: 8px 15px 15px;
}
.palette__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  border-radius: 6px;
  overflow: hidden;
}
.palette__item {
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  width: auto;
  height: 40px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  cursor: pointer;
  position: relative;
}
.palette__item.active::before {
  content: "";
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #da2e91;
  border: 2px solid #e7e7e7;
  position: absolute;
  left: calc(50% - 4px);
  top: calc(50% - 4px);
}
.palette__colors {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 30px;
  margin-top: 15px;
}
input,
label,
button {
  border: none;
  outline: none;
}
input[type="file"] {
  display: none;
}
.btn {
  display: block;
  font-size: 18px;
  background-color: #da2e91;
  color: #fff;
  text-align: center;
  padding: 10px;
  border-radius: 10px;
  cursor: pointer;
}
.btn.accent {
  -webkit-animation: 1.6s ease-in accentAnim;
          animation: 1.6s ease-in accentAnim;
}
@-webkit-keyframes accentAnim {
  0% {
    -webkit-box-shadow: 0 0 0 0 rgba(218, 46, 145, 0.5);
            box-shadow: 0 0 0 0 rgba(218, 46, 145, 0.5);
  }
  50% {
    -webkit-box-shadow: 0 0 5px 10px rgba(218, 46, 145, 0.5);
            box-shadow: 0 0 5px 10px rgba(218, 46, 145, 0.5);
  }
  100% {
    -webkit-box-shadow: 0 0 0 0 rgba(218, 46, 145, 0.5);
            box-shadow: 0 0 0 0 rgba(218, 46, 145, 0.5);
  }
}
@keyframes accentAnim {
  0% {
    -webkit-box-shadow: 0 0 0 0 rgba(218, 46, 145, 0.5);
            box-shadow: 0 0 0 0 rgba(218, 46, 145, 0.5);
  }
  50% {
    -webkit-box-shadow: 0 0 5px 10px rgba(218, 46, 145, 0.5);
            box-shadow: 0 0 5px 10px rgba(218, 46, 145, 0.5);
  }
  100% {
    -webkit-box-shadow: 0 0 0 0 rgba(218, 46, 145, 0.5);
            box-shadow: 0 0 0 0 rgba(218, 46, 145, 0.5);
  }
}
#custom-alert {
  -webkit-transform: scale(0);
          transform: scale(0);
  -webkit-transition: 0.5s;
  transition: 0.5s;
  -webkit-transform-origin: center;
          transform-origin: center;
  background-color: rgba(218, 46, 145, 0.2);
  color: #da2e91;
  text-align: center;
  padding: 0.5em;
  position: absolute;
  left: 0;
  top: -38px;
  width: 100%;
  border-radius: 10px;
}
@media (max-width: 799.98px) {
  #custom-alert {
    top: -20px;
    z-index: 2;
  }
}
.hide {
  display: none!important;
}
@media (max-width: 799.98px) {
  .hide-mobile {
    display: none;
  }
}
#error {
  color: #ff725a;
  text-align: center;
}
.result-color {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 15px;
  margin: 15px 0;
}
@media (max-width: 574.98px) {
  .result-color {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 10px;
  }
}
.result-color__select-color {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  display: block;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  border: 1px solid #e7e7e7;
}
@media (max-width: 574.98px) {
  .result-color__select-color {
    width: 100px;
    height: 100px;
  }
}
@media (max-width: 799.98px) {
  .result-color__wrap {
    width: 100%;
  }
}
.result-color__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  border: 1px solid #e7e7e7;
  border-radius: 10px;
  padding: 5px 10px;
  font-size: 16px;
}
.result-color__item + .result-color__item {
  margin-top: 10px;
}
.result-color__item span {
  font-weight: 700;
}
.result-color__item input {
  width: 100%;
  font-size: 16px;
  padding: 0px 3px;
}
.result-color__item button {
  background-color: transparent;
  cursor: pointer;
}
.result-color__item button:hover i {
  color: #da2e91;
}
.result-color__item i {
  color: #333;
  font-size: 18px;
  line-height: 1;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.input-url {
  border: 2px solid #e7e7e7;
  border-radius: 10px;
  padding: 10px;
  width: 100%;
}
@media (min-width: 800px) {
  .input-url {
    max-width: 400px;
  }
}
.input-url label {
  display: block;
  font-size: 16px;
  margin-bottom: 10px;
}
.input-url input {
  width: 100%;
  border: 1px solid #e7e7e7;
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 16px;
}
.input-url .btn {
  margin-top: 10px;
  width: 100%;
  padding: 5px 10px;
}
.btn--secondary {
  background-color: #f0f0f0;
  color: #333;
  font-size: 14px;
}
.btn--secondary:hover {
  background-color: #e7e7e7;
}
.url-loading {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 14px;
  color: #666;
}
.url-loading__spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid #e7e7e7;
  border-top-color: #da2e91;
  border-radius: 50%;
  -webkit-animation: url-loading-spin 0.8s linear infinite;
          animation: url-loading-spin 0.8s linear infinite;
}
@-webkit-keyframes url-loading-spin {
  to {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}
@keyframes url-loading-spin {
  to {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}
.color-history {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e7e7e7;
}
.color-history__label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}
.color-history__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 5px;
}
.color-history__item {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 2px solid #e7e7e7;
  cursor: pointer;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  -webkit-transition: -webkit-transform 0.15s ease, -webkit-box-shadow 0.15s ease;
  transition: -webkit-transform 0.15s ease, -webkit-box-shadow 0.15s ease;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  transition: transform 0.15s ease, box-shadow 0.15s ease, -webkit-transform 0.15s ease, -webkit-box-shadow 0.15s ease;
}
.color-history__item:hover {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
  -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
          box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.mobile-alert {
  font-size: 18px;
}
@media (min-width: 800px) {
  .mobile-alert {
    display: none;
  }
}
.content-block {
  margin-top: 50px;
}
.content-block .h2 {
  margin-bottom: 20px;
}
.content-block__item {
  margin-top: 30px;
  font-size: 17px;
}
.content-block__item p {
  max-width: 820px;
}
