@charset "UTF-8";
/* Переменные цветов */
@import 'node_modules/animate.css/animate.css';

* {
  margin: 0;
  padding: 0;
  font-family: "Lobster", sans-serif;
  font-weight: 400;
  font-style: normal;
}

body {
  margin: 0;
  font-family: Helvetica, sans-serif;
  background: #fff;
  font-size: 20px;
}

a {
  color: #000000;
}

.container {
  width: 60%;
  margin: 0 auto;
}

.btn {
  background-color: #FF1F58;
  border: none;
  padding: 20px;
  border-radius: 10px;
  color: #fff;
}
.btn:hover {
  background-color: #d8000c;
}

.link-pink {
  cursor: pointer;
}
.link-pink:hover {
  color: #FF1F58;
}

.btn-pink {
  color: #FF1F58;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.header {
  background-color: #fff;
  /* position: fixed; */
  position: relative; /* Убрано фиксированное позиционирование */
  top: 0; /* Располагаем header в самом верху страницы */
  left: 0;
  width: 100%;
  z-index: 9999; /* Высокий z-index для header */
  height: 100px;
  padding: 10px 0;
  /* menu */
  /* menu icon */
  /* menu btn */
}
.header__menu {
  margin-top: 10px;
  padding: 0;
  list-style: none;
  overflow: hidden;
  background-color: #fff;
  z-index: 9999; /* Высокий z-index для меню */
}
.header img {
  height: 50px;
  width: auto;
}
.header__link a {
  display: block;
  padding: 20px;
  text-decoration: none;
  font-size: 20px;
}
.header__link a:hover {
  background-color: #FF1F58;
  border-radius: 10px;
  color: #FFFFFF;
}
.header__logo {
  display: block;
  float: left;
  padding: 10px 20px;
  text-decoration: none;
  margin-top: 3px;
}
.header__menu {
  clear: both;
  max-height: 0;
  transition: max-height 0.2s ease-out;
  z-index: 9999; /* Высокий z-index для меню */
}
.header__menu-icon {
  cursor: pointer;
  padding: 28px 20px;
  position: relative;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  float: right;
  z-index: 10000; /* Высокий z-index для иконки меню */
}
.header__navicon {
  background: #CCCCCC;
  display: block;
  height: 2px;
  position: relative;
  transition: background 0.2s ease-out;
  width: 18px;
}
.header__navicon:before, .header__navicon:after {
  background: #CCCCCC;
  content: "";
  display: block;
  height: 100%;
  position: absolute;
  transition: all 0.2s ease-out;
  width: 100%;
}
.header__navicon:before {
  top: 5px;
}
.header__navicon:after {
  top: -5px;
}
.header__menu-btn {
  display: none;
}
.header__menu-btn:checked ~ .header__menu {
  max-height: 400px;
}
.header__menu-btn:checked ~ .header__menu-icon .header__navicon {
  background: transparent;
}
.header__menu-btn:checked ~ .header__menu-icon .header__navicon:before {
  transform: rotate(-45deg);
}
.header__menu-btn:checked ~ .header__menu-icon .header__navicon:after {
  transform: rotate(45deg);
}
.header__menu-btn:checked ~ .header__menu-icon:not(.steps) .header__navicon:before, .header__menu-btn:checked ~ .header__menu-icon:not(.steps) .header__navicon:after {
  top: 0;
}
.header__language-switcher-flag {
  display: inline;
}
.header__language-switcher-flag a {
  color: #FF1F58;
}
.header .header-img {
  position: absolute; /* Изменение позиционирования */
  top: 80px; /* Смещение вниз (высота header) */
  z-index: 1; /* z-index для изображения */
  /* При активном бургер-меню смещаем .header-img вниз на высоту меню */
}
.header__menu-btn:checked ~ .header .header-img {
  top: calc(80px + 100%); /* Смещение вниз на высоту header + высоту .header__menu */
}
.header__link button {
  display: block;
  padding: 20px;
  text-decoration: none;
  background: none;
  border: none;
  font-size: 20px;
}
.header__link button:hover {
  background-color: #FF1F58;
  border-radius: 10px;
  color: #FFFFFF;
}
.header__link img.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
}

/* Стили для заголовка */
.header-up {
  background-color: #fff;
  padding: 10px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  animation: fadeInDown 0.5s;
  z-index: 9998; /* Понижаем z-index, чтобы header-up был ниже header */
  /* position: fixed; */
  position: relative; /* Убрано фиксированное позиционирование */
  top: 0; /* Располагаем header-up в самом верху страницы */
  width: 100%;
}
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.header-up__menu {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  z-index: 9999; /* Высокий z-index для меню */
}
.header-up__menu__link {
  margin: 0 10px;
}
.header-up__menu__link a {
  color: #000000;
  text-decoration: none;
  padding: 20px;
  display: block;
  border-radius: 10px;
  transition: background-color 0.2s ease;
}
.header-up__menu__link a:hover {
  background-color: #FF1F58;
}
.header-up__menu__link a.active {
  background-color: #FF1F58;
}

.active {
  background-color: #FF1F58;
  border-radius: 10px;
}
.active a {
  color: #fff;
}
.active:hover {
  background-color: #d8000c !important;
}

.dropdown .dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  border-radius: 10px;
}
.dropdown .dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}
.dropdown .dropdown-content a:hover {
  background-color: #FF1F58;
  color: #fff;
}
.dropdown:hover .dropdown-content {
  display: block;
}
.dropdown .dropbtn {
  background-color: transparent;
  border: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  position: relative;
}
.dropdown .dropbtn::after {
  content: "▼";
  font-size: 10px;
  margin-left: 5px;
}

.main__body {
  background-color: #FFFFFF;
}
.main__info {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff; /* Цвет текста */
}
.main__info h1 {
  font-size: 24px;
  margin-bottom: 10px;
}
.main__info p {
  font-size: 16px;
}
.main__more a {
  margin-top: 20px;
  display: block;
  padding: 20px;
  text-decoration: none;
  color: #fff;
}
.main__about {
  position: relative;
  height: 400px; /* Высота блока по вашему желанию */
  background-image: url("../img/about.jpg"); /* Путь к изображению */
  background-size: cover;
  background-position: center;
  overflow: hidden; /* Обрезаем все, что выходит за пределы блока */
}
.main__about h1 {
  color: #000000;
  font-size: 40px;
}
.main__about p {
  color: #000000 !important;
  font-size: 20px;
}
.main__recent-posts {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}
.main__recent-posts .post {
  position: relative;
  width: 300px;
  height: 200px;
  margin-bottom: 20px;
  border-radius: 5px;
  overflow: hidden;
  text-decoration: none;
  background-size: cover;
  background-position: center;
}
.main__recent-posts .post-info {
  position: absolute;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.6);
  padding: 10px;
  color: #fff;
  transition: 0.5s ease;
  opacity: 1;
  width: 100%;
  box-sizing: border-box;
  text-align: left;
  z-index: 1; /* добавляем z-index */
}
.main__recent-posts .post:hover .post-info {
  bottom: -50px;
}
.main__recent-posts .delete-form {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2; /* устанавливаем z-index поверх .post-info */
}
.main__recent-posts .delete-button {
  background: #FF1F58;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 20px;
  cursor: pointer;
  z-index: 100;
}
.main__recent-posts .delete-button:hover {
  background: #d8000c;
}
.main__recent-posts .post-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0; /* устанавливаем z-index ниже .post-info */
}
.main__recent-posts .delete-form {
  position: absolute;
  top: 10px; /* Расстояние от верхнего края */
  right: 10px; /* Расстояние от правого края */
}
.main__recent-posts .delete-button {
  background: #FF1F58;
  color: white;
  border: none;
  font-size: 20px;
  cursor: pointer;
}

.slider {
  position: relative;
  width: 100%;
  overflow: hidden; /* Скрываем всё, что выходит за пределы слайдера */
}
.slider .slides {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 1s ease;
}
.slider .slides .slide {
  min-width: 100%;
  height: 100%;
}
.slider .slides .slide img {
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.blocks {
  display: flex;
  flex-wrap: wrap; /* Разрешаем перенос элементов на новую строку */
  justify-content: space-around; /* Равномерно распределяем элементы по контейнеру */
  gap: 20px; /* Пространство между блоками */
  padding: 20px;
}
.blocks .block {
  flex: 0 1 calc(33.33% - 20px); /* Ширина каждого блока - максимум 33.33% минус пространство между ними */
  margin-bottom: 20px; /* Пространство между блоками */
  text-align: center;
}
.blocks .block img {
  width: 50px;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
}
.blocks .block h2 {
  font-size: 30px;
  margin: 10px 0;
  color: #000000;
  font-weight: bold;
}
.blocks .block p {
  font-size: 20px;
  color: #666;
}

.footer {
  background-color: #FF1F58;
  width: 100%;
  color: #fff;
}
.footer__body {
  padding: 50px 0;
}
.footer__title, .footer__info {
  text-align: center;
}
.footer__title {
  margin-bottom: 10px;
}

@media (min-width: 1080px) {
  .header {
    z-index: 999;
  }
  .header__link {
    float: left;
  }
  .header__link a {
    padding: 20px 30px;
  }
  .header__menu {
    clear: none;
    float: right;
    max-height: none;
    margin-left: 0;
  }
  .header__menu-icon {
    display: none;
  }
}
@media (max-width: 1081px) {
  .container {
    width: 90%;
    margin: 0 auto;
  }
  .header__menu {
    flex-direction: column;
    align-items: center;
    z-index: 9999; /* Высокий z-index для меню */
  }
  .header__link {
    margin: 5px 0;
  }
    .header__menu-btn:checked ~ .header__menu {
    max-height: 600px;
  }
}
/* 48em = 768px */
@media (max-width: 768px) {
  .container {
    width: 90%;
    margin: 0 auto;
  }
  .main__about {
    height: 400px;
  }
  .header__menu-btn:checked ~ .header__menu {
    max-height: 600px;
  }
}
@media (max-width: 480px) {
  .container {
    width: 95%;
    margin: 0 auto;
  }
  .about-container {
    width: 95%;
    margin: 0 auto;
  }
  .header__menu-btn:checked ~ .header__menu {
    max-height: 100vh;
  }
  .header__logo img {
    width: 200px;
    height: auto;
    margin-top: 5px;
  }
  .header-up__menu a {
    font-size: 16px;
  }
  .about {
    font-size: 12px !important;
  }
  .main__more a {
    font-size: 16px;
  }
  .main__body .block img {
    width: 30px;
    height: auto;
  }
  .main__body .block a {
    font-size: 10px;
  }
  .main__body .block p {
    font-size: 15px;
  }
  .main__body .block h3 {
    font-size: 13px;
  }
  .main__about {
    height: 600px !important;
  }
  .main__about P {
    font-size: 16px;
  }
  .footer {
    font-size: 16px;
  }
  .form-container {
    font-size: 16px;
  }
  .container-login {
    height: 100% !important;
    padding: 50px 0 !important;
  }
  .images {
    font-size: 16px;
  }
  .images .tab {
    font-size: 16px;
  }

  .price {
    font-size: 16px !important;
    height: 100% !important;
  }
  .price .about-container {
    margin-top: 400px !important;
  }
}
.main-404 {
  padding-top: 100px;
}
.main-404__body {
  background-color: #FFFFFF;
  height: 600px;
  width: 70%;
  border-radius: 10px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column; /* Размещаем элементы в столбце */
}
.main-404__body h1, .main-404__body p {
  margin-bottom: 20px;
}

/* Переменные цветов */
/* Общие стили */
.container-login {
  font-family: "Roboto", sans-serif;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

.container-form {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  max-width: 400px;
  width: 100%;
}

.login-form {
  display: flex;
  flex-direction: column;
}

.login-form__title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #FF1F58;
  text-align: center;
}

.login-form__error {
  background: #ffa5aa;
  color: #d8000c;
  border: 1px solid #d8000c;
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 1rem;
}

.login-form__email,
.login-form__password {
  width: 100%;
  padding: 12px 15px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  box-sizing: border-box;
}

.login-form__email:focus,
.login-form__password:focus {
  border-color: #FF1F58;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(219, 19, 128, 0.25);
}

small {
  color: #d8000c;
  margin-top: -10px;
  margin-bottom: 10px;
}

.login-form__button {
  background: #FF1F58;
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s ease;
}

.login-form__button:hover {
  background: #eb003c;
}

p {
  text-align: center;
  margin-top: 1rem;
}

.login-form__register-a {
  font-size: 14px;
  color: #FF1F58;
  text-decoration: none;
}

.login-form__register-a:hover {
  text-decoration: underline;
}

/* Стили для кастомного загрузчика файла */
.custom-file-upload {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  border: 2px dashed #DB1380;
  border-radius: 5px;
  padding: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin: 10px 0;
  text-align: center;
}
.custom-file-upload:hover {
  background-color: rgba(219, 19, 128, 0.1);
}
.custom-file-upload img {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}
.custom-file-upload span {
  font-size: 16px;
  color: #DB1380;
}

.login-form__avatar {
  display: none;
}

small {
  color: #d8000c;
  margin-top: -10px;
  margin-bottom: 10px;
}

.images {
  position: relative;
  background-image: url("../img/portfolio.jpg"); /* Путь к изображению */
  background-size: cover;
  background-position: center;
  overflow: hidden; /* Обрезаем все, что выходит за пределы блока */
  padding: 20px;
}

.tab input {
  position: absolute;
  opacity: 0;
  z-index: -1;
}
.tab__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.tab__content .main__recent-posts {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
}
input:checked ~ .tab__content {
  max-height: 100% !important;
}
.tab__label, .tab__close {
  display: flex;
  color: white;
  background: #FF1F58;
  cursor: pointer;
}
.tab__label {
  justify-content: space-between;
  padding: 1rem;
  font-size: 30px;
  color: #000000;
}
.tab__label::after {
  content: "❯";
  width: 1em;
  height: 1em;
  text-align: center;
  transform: rotate(90deg);
  transition: all 0.35s;
}
input:checked + .tab__label::after {
  transform: rotate(270deg);
}
.tab__content p {
  margin: 0;
  padding: 1rem;
}
.tab__close {
  justify-content: flex-end;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
}
.tab .post {
  margin: 20px !important;
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 5px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  height: 200px;
}
.tab .post .post-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.6);
  padding: 10px;
  color: white;
  transition: 0.5s ease;
}
.tab .post:hover .post-info {
  bottom: -50px;
}
.tab .post img {
  width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
}
.tab .post .delete-form {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
}
.tab .post .delete-button {
  background: #FF1F58;
  color: white;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 12px;
  cursor: pointer;
  z-index: 100;
}
.tab .post .delete-button:hover {
  background: #d8000c;
}
.tab .post .post-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
input:not(:checked) + .tab__label:hover::after {
  animation: bounce 0.5s infinite;
}
@keyframes bounce {
  25% {
    transform: rotate(90deg) translate(0.25rem);
  }
  75% {
    transform: rotate(90deg) translate(-0.25rem);
  }
}

.hidden-post{
  display: none !important;
}

.accordion {
  color: #FF1F58;
  border: 2px solid;
  border-radius: 0.5rem;
  overflow: hidden;
  margin-top: 20px !important;
}

/* Стили для формы */
.form-container {
  max-width: 700px;
  margin: 0 auto;
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.form-title {
  color: #FF1F58;
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 5px;
}

.form-input,
.form-file,
.form-select {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
}

.form-button {
  background-color: #FF1F58;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
}

.little-button {
  width: 100px;
  margin: 10px 0;
}

.form-button:hover {
  background-color: #d8000c;
}

.error {
  color: red;
}

.delete-category-form {
  display: inline;
}

.delete-category-title {
  margin-top: 20px;
}

.delete-category-button {
  background-color: #FF1F58;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  width: 100px;
}

.main-post {
  position: relative;
  background-image: url("../img/portfolio.jpg"); /* Путь к изображению */
  background-size: cover;
  background-position: center;
  overflow: hidden; /* Обрезаем все, что выходит за пределы блока */
  padding: 20px;
}
.main-post__post-body {
  padding: 20px;
}
.main-post__media {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
.main-post__media img {
  width: 300px;
  height: auto;
}
.main-post__media video {
  width: 300px;
  height: auto;
}
.main-post .media-item {
  position: relative;
}
.main-post .delete-form {
  position: absolute;
  top: 5px;
  right: 5px;
}
.main-post .delete-button {
  background: #FF1F58; /* Цвет кнопки */
  color: white; /* Цвет текста на кнопке */
  border: none;
  border-radius: 50%; /* Круглая форма */
  width: 30px;
  height: 30px;
  font-size: 12px;
  cursor: pointer;
  z-index: 100; /* Перекрытие */
}
.main-post .delete-button:hover {
  background: #d8000c; /* Цвет при наведении */
}
.main-post .upload-form {
  margin-top: 20px;
}
.main-post .upload-form label {
  display: block;
  margin-bottom: 10px;
}

.about {
  background-image: url("../img/about-page.jpg") !important;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  padding: 20px; /* Добавляем отступы, чтобы текст не прилипал к краям */
  position: relative;
  color: #000000 !important;
  font-size: 25px;
  word-spacing: 20px !important;
}
.about p {
  text-align: left;
}
.about h2{
    text-align: center;
} 

.about-container {
  width: 80%;
  margin: 0 auto;
}


.price {
  background-image: url("../img/price.jpg") !important; /* Путь к изображению */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  color: #000000 !important;
  font-size: 40px;
  height: 100vh;
}
.price h1 {
  margin-bottom: 20px;
  text-align: center;
}
.price .about-container {
  width: 60%;
  margin-top: 50px;
}

.prices {
  display: flex;
  justify-content: space-between;
}
.prices__price-item {
  background-color: transparent;
  border-radius: 10px;
  text-align: left;
}
.prices__price-item h2 {
  margin-bottom: 10px;
  font-size: 25px;
}
.prices__price-item p {
  margin-bottom: 15px;
  text-align: left;
  font-size: 25px;
}
.prices__price-item span {
  font-weight: bold;
  font-size: 25px;
}

.flex-space-between {
  display: flex;
  justify-content: space-between;
}

.flex-space-around {
  display: flex;
  justify-content: space-around;
}

.flex-start {
  display: flex;
  justify-content: flex-start;
}

.flex-end {
  display: flex;
  justify-content: flex-end;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}


.show-more-btn{
  background-color: #d8000c !important;
  height: 50px !important;
  width: 300px !important;
  color: #fff;
  padding: 10px;
  border-radius: 0 10px 0 0;
  cursor: pointer;
}



/*# sourceMappingURL=style.css.map */