* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
}
header {
  background-color: #f0f0f0;
  height: 108px;
}

header .header-phone {
  text-decoration: underline;
}
.flash-message {
  position: fixed;
  top: 20px;
  left: 20px;
  width: auto;
  max-width: 100%;
  z-index: 1050;
  display: none;
  padding: 10px;
  border-radius: 4px;
  box-sizing: border-box;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.flash-message.show {
  display: block;
}

.flash-message.fade {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.container-1440 {
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
}
.header-tree {
  width: 127px;
  height: 87px;
  margin-top: 20px;
}
.img-tree {
  padding-left: 224px;
}
.header-link {
  font-family: "Montserrat";
  font-size: 15px;
  display: flex;
  padding-right: 228px;
}
.mobile-menu {
  font-family: "Montserrat";
}
.header-link a {
  color: #000;
  line-height: 21.66px;
  margin-right: 37px;
}

.header-link a:last-child {
  margin-right: 0;
}
.check {
  display: inline-block;
  padding: 6px 16px;
  background-color: #f31313;
  color: #ffffff !important;
  border-radius: 25px;
  font-weight: 400;
  font-size: 15px;
  text-align: center;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  font-family: "Montserrat";
}
.img-phone {
  border-radius: 50%;
  border: 1px solid #000;
  padding: 5px;
  width: 24px;
  height: 24px;
  margin-right: 10px;
}

.hero {
  position: relative;
  overflow: hidden;
}

.container-img {
  max-height: 800px;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

/* Изображение */
.container-img img {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: cover;
  object-position: top;
}

.hero {
  position: relative;
  font-family: "Kaisei Opti";
}

.container-img {
  position: relative;
}

.container-img img {
  width: 100%;
  height: auto;
}

.hero-text {
  max-width: 526px;
  max-height: 234px;
  position: absolute;
  top: 28%;
  left: 65%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #070707;
  padding: 20px;
  border-radius: 10px;
}

.hero-text h1 {
  font-weight: 700;
  font-size: 69px;
  margin: 0;
  display: inline-block;
  line-height: 1.2;
}

.hero-text p {
  font-size: 43px;
  margin-top: 10px;
  font-weight: 700;
}
/* section for-free */
.for-free {
  padding-top: 85px;
}
.for-free-text {
  font-family: "Kaisei Opti";
  font-weight: 500;
  font-size: 39px;
  line-height: 48px;
  color: #f31313;
  padding-bottom: 34px;
}
.free-button {
  font-family: "Kaisei Opti";
  font-size: 39px;
  font-weight: 700;
  line-height: 48px;
  text-align: left;
  display: inline-block;
  padding: 6px 16px;
  color: #000 !important;
  border-radius: 14px;
  text-align: center;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid red;
}
/* section-album */
.album-text {
  font-family: "Kaisei Opti";
  font-weight: 400;
  font-size: 28px;
}
.album-title {
  font-family: "Kaisei Opti";
  font-weight: 700;
  font-size: 29px;
}
.portfolio {
  padding-bottom: 166px;
}
.portfolio-title {
  font-size: 69px;
  font-family: "Kaisei Opti";
  line-height: 78px;
  padding-top: 43px;
  padding-bottom: 102px;
}

:root {
  --gap-width: 20px;
  --slide-width: 279px;
  --slide-height: 279px;
  --slide-bg-color: rgba(18, 92, 251, 0.52);
  --overlay-bg-color: rgba(0, 0, 0, 0.5);
  --overlay-text-color: #fff;
  --overlay-transition: opacity 0.3s ease;
  --border-radius: 20px;
}

.carousel {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  gap: var(--gap-width);
  animation: scroll var(--scroll-duration) linear infinite;
}

.slide {
  background: var(--slide-bg-color);
  flex: 0 0 var(--slide-width);
  height: var(--slide-height);
  position: relative;
  overflow: hidden;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay {
  position: absolute;
  bottom: 0;
  background: var(--overlay-bg-color);
  color: var(--overlay-text-color);
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: var(--overlay-transition);
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide:hover .overlay {
  opacity: 1;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-1 * var(--total-width)));
  }
}
.carousel:hover .carousel-track {
  animation-play-state: paused;
}

.self-promotion {
  font-family: "Kaisei Opti";
}
.self-promotion-contatiner {
  background-color: #070707;
}
.self-promotion-title {
  padding-top: 148px;
  line-height: 66px;
  color: #ffffff;
  font-size: 55px;
}
.self-promotion-description {
  padding-top: 34px;
  font-size: 36px;
  font-weight: 500px;
  line-height: 57px;
  color: #ffffff;
}

/* service-description */

.service-description {
  padding-top: 143px;
  font-family: "Kaisei Opti";
}
.container-item {
  max-width: 1000px;
}
.service-text {
  font-size: 24px;
  line-height: 26px;
}
.container-1200 {
  max-width: 1200px;
}
.number-block {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.number {
  font-size: 71px;
  margin-left: 19px;
}
.number-2 {
  font-size: 71px;
  margin-right: 19px;
}

.line {
  flex-grow: 1;
  height: 1px;
  background-color: black;
}
.black-line {
  height: 100px;
  background-color: #070707;
}
/* Check the date */
.check-the-date {
  padding-bottom: 103px;
}

/* icon */
.icon {
  font-family: "Kaisei Opti";
  padding-bottom: 98px;
}
.icon-item-container {
  padding-bottom: 29px;
}
.icon-item {
  width: 40px;
  height: 40px;
}
.icon-text {
  font-size: 29px;
  font-weight: 500;
  line-height: 34px;
  color: #000000;
  background-color: #d9d9d9;
  padding: 22px 4px 84px 8px;
  max-height: 174px;
  max-width: 234px;
}
/* price */
.price {
  font-family: "Kaisei Opti";
  background-color: #070707;
}
.price-list-title {
  color: #ffffff;
  font-size: 31px;
  font-weight: 500;
  line-height: 48px;
}
.price-title {
  font-size: 62px;
  font-weight: 500;
  line-height: 48px;
  color: #f31313;
  padding-top: 91px;
  padding-bottom: 68px;
}
.price-list {
  list-style-type: none; 
  padding-left: 0; 
  color: #ffffff;
  font-size: 19px;
  font-weight: 500;
  line-height: 24px;
}

.price-list li {
  padding-left: 0;
}
.price-list-container {
  padding: 19px 31px 6px 22px;
  border: 1px solid #ffffff;
  border-radius: 44.5px;
  max-width: 424px;
  max-height: 385px;
}
.button-price-list-container {
  padding-bottom: 34px;
  padding-top: 20px;
}
.button-price-list {
  padding: 4px 31px 6px 22px;
  border: 1px solid #f31313;
  border-radius: 44.5px;
  font-size: 25px;
  font-weight: 500;
  line-height: 48px;
  color: #ffffff;
}
.total-price-container {
  padding-top: 67px;
}
.total-price {
  font-family: "Kaisei Opti";
  font-size: 44px;
  font-weight: 500;
  line-height: 48px;
  color: #ffffff;
}
.total-price {
  display: inline-block;
}

.total-price span {
  position: relative;
  display: inline-block;
}

.total-price span::before,
.total-price span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -5%; 
  width: 120%; 
  height: 2px; 
  background-color: red; 
}

.total-price span::before {
  transform: rotate(20deg); 
}

.total-price span::after {
  transform: rotate(-20deg); 
}
.discounted-price {
  color: #f31313;
  font-family: "Kaisei Opti";
  font-size: 62px;
  font-weight: 500;
  line-height: 48px;
  padding-bottom: 68px;
}
.email {
  font-family: "Montserrat";
  font-size: 18px;
  line-height: 21.94px;
  padding: 7px 40px 7px 40px;
  background-color: red;
  border-radius: 50px;
  color: #ffffff;
}
.email-button {
  padding-bottom: 62px;
}
/* footer */
footer {
  background-color: #d9d9d9;
}
.footer-link {
  text-decoration: underline;
  color: #070707;
  padding-bottom: 118px;
}
.footer-link a {
  color: #070707;
}
.contact {
  font-family: "Kaisei Opti";
  font-size: 49px;
  font-weight: 500;
  line-height: 48px;
  color: #000000;
  padding-top: 100px;
  padding-bottom: 30px;
}
.present {
  background: #d9d9d9;
  max-width: 424px;
  max-height: 385px;
}
.present-title {
  font-family: "Kaisei Opti";
  font-size: 30px;
  font-weight: 500;
  line-height: 36px;
  color: #000000;
  padding-top: 40px;
  padding-bottom: 15px;
}
.present-text {
  color: #020202;
  font-family: "Kaisei Opti";
  font-size: 19px;
  font-weight: 500;
  line-height: 25px;
  padding-bottom: 17px;
}
.present {
  padding: 19px 31px 6px 22px;
  border: 3px solid #f31313;
  border-radius: 44.5px;
}
.present-text-container {
  padding-left: 144px;
  padding-top: 55px;
}
.button-price-present {
  font-family: "Kaisei Opti";
  padding: 5px 31px 7px 23px;
  border-radius: 44.5px;
  font-size: 25px;
  font-weight: 500;
  line-height: 48px;
  color: #fffdfd;
  background: black;
}
.crossed-out {
  padding-bottom: 40px;
}
.present {
  position: relative; 
  overflow: hidden; 
}

.present-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; 
}

.present-text-container {
  position: relative;
  z-index: 1;
}
.header {
  position: relative;
  z-index: 1000;
}

.burger-menu {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 25px;
  height: 25px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.burger-menu .burger-bar {
  width: 28px;
  height: 3px;
  background-color: #d9d9d9;
  border-radius: 5px;
}

.burger-menu.active .burger-bar:nth-child(1) {
  transform: rotate(45deg) translate(8px, 5px);
}

.burger-menu.active .burger-bar:nth-child(2) {
  opacity: 0;
}

.burger-menu.active .burger-bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -4px);
}

.mobile-menu {
  position: absolute;
  top: 1px;
  left: 0;
  right: 0;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mobile-menu a {
  padding: 10px 0;
  color: #333;
  text-decoration: none;
}

.d-none {
  display: none;
}
.form-title {
  font-family: "Kaisei Opti";
  font-size: 47px;
  font-weight: 700;
  line-height: 78px;
}
.label-text {
  font-family: "Kaisei Opti";
  font-size: 23px;
  font-weight: 700;
  line-height: 23px;
}
.warning {
  font-family: "Kaisei Opti";
  font-size: 20px;
  font-weight: 700;
  line-height: 31px;
  padding-left: 164px;
  padding-right: 164px;
  padding-bottom: 26px;
}
.form-container {
  border-radius: 42px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #000000;
}
.send {
  font-family: "Kaisei Opti";
  font-size: 21px;
  font-weight: 700;
  padding: 0px 27px;
  padding-bottom: 4px;
}
.custom-alert {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 9999;
  max-width: 360px;
  width: auto;
}
@media (min-width: 1400px) {
  .header-link {
    padding-right: 215px!important;
    gap: 0px;
  }
}
@media (min-width: 1200px) {
  .header-link {
    padding-right: 211px;

  }
}

@media (min-width: 1200px) {
  .container-item-icon {
    max-width: 1000px;
  }
}
@media (max-width: 1200px) {
  .header-link {
    padding-right: 0px;
  }
  .self-promotion-button {
    padding-bottom: 35px;
  }
  .self-promotion-description {
    padding-top: 11px;
    font-size: 30px;
  }
  .self-promotion-title {
    padding-top: 38px;
    font-size: 39px;
  }
  .portfolio {
    padding-bottom: 28px;
  }
  .hero-text h1 {
    font-size: 45px;
  }
  .hero-text p {
    font-size: 30px;
  }
  .hero-text {
    top: 30%;
    left: 65%;
  }
  .self-promotion-item {
    background-color: #070707;
  }
  .present-title {
    font-size: 30px;
    font-weight: 500;
    line-height: 36px;
    padding-top: 30px;
    padding-left: 25px;
  }
  .present-text {
    font-size: 22px;
    font-weight: 500;
    line-height: 25px;
    padding-top: 10px;
    padding-left: 26px;
  }
  .button-price-present {
    font-size: 24px;
    line-height: 48px;
    font-weight: 500;
  }
  .present-text-container {
    padding-left: 112px;
  }
  .img-tree {
    padding-left: 0px;
  }
}

@media (max-width: 992px) {  
  .number
  {
    font-size: 53px;
  }
  .number-2
  {
    font-size: 53px;
  }
  .header-tree {
    padding-left: 10px;
  }
  .free-button-container {
    padding-bottom: 43px;
  }
  .service-description {
    padding-top: 50px;
  }
  .icon {
    padding-bottom: 30px;
  }
  .check-the-date {
    padding-bottom: 50px;
  }
  .warning {
    font-size: 18px;
    line-height: 22px;
    padding-left: 58px;
    padding-right: 58px;
  }
  .self-promotion-contatiner {
    max-width: 697px !important;
  }
  .portfolio-title {
    font-size: 40px;
    font-family: "Kaisei Opti";
    line-height: 78px;
    padding-top: 37px;
    padding-bottom: 20px;
  }
}
@media (max-width: 768px) {
  .for-free {
    padding-top: 26px;
  }
  .hero-text h1 {
    font-size: 35px;
  }
  .hero-text p {
    font-size: 30px;
  }
  .service-description {
    padding-top: 40px;
  }
}

@media (max-width: 576px) {
  .flash-message {
    top: 20px;
    left: 50%;
    transform: translateX(-50%); 
    padding: 15px; 
  }
  header .check {
    margin-right: 0px;
    font-size: 14px;
    padding: 6px 10px;
  }
  .hero-text h1 {
    font-size: 30px;
    font-weight: 700;
  }
  .hero-text p {
    font-size: 28px;
  }
  .hero-text {
    top: 70%;
    left: 54%;
  }
  .number-block {
    font-size: 53px;
  }
  .service-text {
    font-size: 18px;
    font-weight: 400;
    line-height: 22px;
  }
  .price-title {
    font-size: 47px;
    font-weight: 500;
    line-height: 48px;
  }
  .present-title {
    padding-bottom: 0px;
  }
  .present-text {
    margin-bottom: 0px;
    padding-bottom: 0px;
  }
  .present-text-container {
    padding-left: 107px;
  }
  .service-description {
    padding-top: 10px;
  }
  .header-link {
    gap: 14px;
  }
  .icon-text 
  {
    font-size: 21px;
    max-height: 111px;
    max-width: 149px;
    padding: 14px 4px 53px 4px;
    line-height: 27px;
  }
  .free-button-container {
    padding-left: 42px;
  }
}
