@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@400;700&display=swap");
h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
}

.dialog {
  font-family: "Roboto", sans-serif;
  border: none;
  border-radius: 26px;
  padding: 18px;
}
.dialog .close-dialog {
  position: absolute;
  width: 40px;
  fill: hsl(0, 86%, 49%);
  left: 18px;
  top: 18px;
  z-index: 100;
}
.dialog::backdrop {
  background-color: rgba(0, 0, 0, 0.5);
}
.dialog__description-item {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}
.dialog__title {
  font-size: 44px;
}
.dialog__content {
  display: flex;
  gap: 18px;
  flex-direction: row;
}
.dialog__left-content {
  inline-size: 350px;
  padding-inline: 24px;
  padding-block: 65px;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}
.dialog__form {
  display: flex;
  gap: 12px;
  flex-direction: column;
  position: relative;
}
.dialog__form label {
  font-size: 12px;
  font-weight: 600;
}
.dialog__form__input-email-address {
  height: 40px;
  border-radius: 8px;
  border: 1px solid hsl(0, 0%, 58%);
  padding-inline-start: 16px;
}
.dialog__form__input-email-address--error {
  border: 1px solid hsl(0, 86%, 49%);
  background-color: hsla(0, 86%, 49%, 0.1);
  color: hsl(0, 86%, 49%);
}
.dialog__form button {
  width: 100%;
  background-color: hsl(234, 29%, 20%);
  border: none;
  border-radius: 8px;
  height: 40px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  margin-block-start: 14px;
  cursor: pointer;
}
.dialog__form button:hover {
  background: linear-gradient(to right, #FF5379, #FF673E);
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 30px rgba(255, 83, 121, 0.5), 0 8px 10px rgba(255, 103, 62, 0.3);
  transform: translateY(-2px);
}
.dialog__form-error {
  display: none;
  color: hsl(4, 100%, 67%);
  font-size: 12px;
  font-weight: 600;
  position: absolute;
  inset-inline-end: 0;
  inset-block-start: 0;
}
.dialog__right-content {
  display: flex;
  align-items: center;
}
.dialog__right-content img {
  inline-size: 350px;
  display: block;
  height: auto;
}

.dialog-success {
  font-family: "Roboto", sans-serif;
  border-radius: 18px;
  padding: 38px;
  width: 300px;
  height: 320px;
  border: none;
}
.dialog-success::backdrop {
  background-color: rgba(0, 0, 0, 0.5);
}
.dialog-success__content {
  display: flex;
  gap: 18px;
  flex-direction: column;
  justify-content: space-between;
}
.dialog-success__content button {
  background-color: hsl(234, 29%, 20%);
  border: none;
  border-radius: 8px;
  height: 40px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  width: 100%;
}
.dialog-success__content button:hover {
  background: linear-gradient(to right, #FF5379, #FF673E);
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 30px rgba(255, 83, 121, 0.5), 0 8px 10px rgba(255, 103, 62, 0.3);
  transform: translateY(-2px);
}
.dialog-success__icon-list {
  width: 50px;
}
.dialog-success__title {
  font-size: 42px;
  line-height: 100%;
}
.dialog-success__subtitle span {
  font-weight: 700;
}

@media (max-width: 375px) {
  .dialog {
    width: 100%;
    height: 100%;
    padding: 0;
    border-radius: 0;
    margin: 0;
  }
  .dialog:open {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
  }
  .dialog .close-dialog {
    display: none;
  }
  .dialog__content {
    flex-direction: column-reverse;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    gap: 0;
  }
  .dialog::backdrop {
    display: none;
    background: transparent;
    pointer-events: none;
    visibility: hidden;
    width: 0;
    height: 0;
    position: absolute;
    inset: 0;
    z-index: -1000;
  }
  .dialog__right-content {
    justify-content: space-between;
  }
  .dialog__right-content img {
    max-inline-size: 100%;
    display: block;
    height: auto;
    justify-content: space-between;
  }
  .dialog__left-content {
    inline-size: auto;
    padding-block: 0;
    gap: 24px;
  }
  .dialog__title {
    font-size: 34px;
    line-height: 100%;
  }
  .dialog-success {
    width: 100%;
    height: 100%;
    padding: 0;
    padding-block: 80px;
    padding-inline: 14px;
    border-radius: 0;
    margin: 0;
  }
  .dialog-success :open {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .dialog-success::backdrop {
    display: none;
  }
  .dialog-success__button {
    margin-block-start: 30px;
  }
}/*# sourceMappingURL=style.css.map */