@charset "UTF-8";
@font-face {
  font-family: "Cruinn";
  src: url("../assets/fonts/Cruinn Regular.woff2") format("woff2"), url("../assets/fonts/Cruinn Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
* {
  box-sizing: border-box;
  color: white;
  font-family: "Cruinn", sans-serif;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  background-color: #000000;
  overflow-x: hidden;
  overflow-y: auto;
  max-width: 100%;
  position: relative;
}

a {
  text-decoration: none;
}

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

p, h1, h2, ul {
  margin: 0;
}

p {
  font-size: 24px;
}

@media (max-width: 1024px) {
  p {
    font-size: 20px;
  }
}
@media (max-width: 768px) {
  p {
    font-size: 18px;
  }
}
@media (max-width: 480px) {
  p {
    font-size: 16px;
  }
}
.container {
  max-width: 1760px;
  padding: 20px;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .container {
    max-width: 960px;
    padding: 20px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 720px;
    padding: 15px;
  }
}
@media (max-width: 480px) {
  .container {
    max-width: 100%;
    padding: 10px;
  }
}
.header {
  margin-bottom: 280px;
}
.header__wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}
.header__logo {
  font-size: 36px;
  text-transform: uppercase;
  transition: color 0.3s ease;
  cursor: pointer;
}
.header__logo:hover {
  color: #ff0000;
}
.header__links {
  display: flex;
  gap: 114px;
  text-transform: uppercase;
  align-items: center;
}
.header__link {
  border-bottom: 1px solid white;
  cursor: pointer;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.header__link a {
  color: inherit;
  text-decoration: none;
  display: block;
}
.header__link:hover {
  border-bottom-color: #ff0000;
  color: #ff0000;
}
.header__link:last-child {
  border-radius: 36px;
  border: 1px solid white;
  padding: 10px;
  transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}
.header__link:last-child:hover {
  border-color: #ff0000;
  background-color: rgba(255, 0, 0, 0.1);
}
.header__link:last-child:hover .header__link--border {
  border-bottom-color: #ff0000;
  color: #ff0000;
}
.header__link--border {
  border-bottom: 1px solid white;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.header__link--border a {
  color: inherit;
  text-decoration: none;
  display: block;
}

@media (max-width: 1024px) {
  .header {
    margin-bottom: 200px;
  }
  .header__wrapper {
    margin-bottom: 20px;
  }
  .header__logo {
    font-size: 28px;
  }
  .header__links {
    gap: 60px;
    font-size: 18px;
  }
  .header__link:last-child {
    padding: 8px;
  }
}
@media (max-width: 768px) {
  .header {
    margin-bottom: 120px;
  }
  .header__logo {
    font-size: 24px;
  }
  .header__links {
    gap: 30px;
    font-size: 16px;
  }
  .header__link:last-child {
    border-radius: 24px;
    padding: 6px;
  }
}
@media (max-width: 480px) {
  .header {
    margin-bottom: 80px;
  }
  .header__logo {
    font-size: 20px;
  }
  .header__links {
    gap: 15px;
    font-size: 14px;
  }
  .header__link:last-child {
    padding: 5px;
  }
}
.line {
  width: 100%;
  height: 1px;
}

.hero {
  margin-bottom: 154px;
}
.hero__text {
  position: relative;
  font-size: 40px;
  margin-bottom: 80px;
}
.hero__text::before {
  content: "";
  position: absolute;
  filter: blur(100.6000061035px);
  background: rgba(252, 1, 5, 0.87);
  transform: rotate(53deg);
  width: 900px;
  height: 900px;
  bottom: -30%;
  left: -20%;
  z-index: -1;
}
.hero__title {
  text-transform: uppercase;
  font-size: 128px;
  font-weight: 200;
  margin-bottom: 316px;
}
.hero__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 80px;
}
.hero__filters {
  display: flex;
  gap: 198px;
}
.hero__filter {
  border-bottom: 1px solid white;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.hero__filter a {
  color: white;
  text-decoration: none;
  display: block;
  transition: color 0.3s ease;
}
.hero__filter:hover {
  border-bottom-color: #ff0000;
}
.hero__filter:hover a {
  color: #ff0000;
}
.hero__filter.active {
  background-color: white;
  color: #000000;
  padding: 5px 15px;
  border-radius: 5px;
  border-bottom: none;
}
.hero__filter.active a {
  color: #000000;
}
.hero__author {
  font-size: 40px;
  position: relative;
}
.hero__author::before {
  content: "";
  position: absolute;
  border-radius: 100%;
  background-color: rgba(85, 1, 252, 0.87);
  filter: blur(100.1999969482px);
  width: 700px;
  height: 700px;
  top: -1300%;
  right: -60%;
  z-index: -1;
}

@media (max-width: 1024px) {
  .hero {
    margin-bottom: 100px;
  }
  .hero__text {
    font-size: 32px;
    margin-bottom: 60px;
  }
  .hero__text::before {
    width: 600px;
    height: 600px;
    filter: blur(80px);
  }
  .hero__title {
    font-size: 90px;
    margin-bottom: 200px;
  }
  .hero__wrapper {
    margin-bottom: 60px;
  }
  .hero__filters {
    gap: 100px;
  }
  .hero__filter {
    font-size: 20px;
  }
  .hero__author {
    font-size: 32px;
  }
  .hero__author::before {
    width: 500px;
    height: 500px;
    filter: blur(80px);
  }
}
@media (max-width: 768px) {
  .hero {
    margin-bottom: 80px;
  }
  .hero__text {
    font-size: 24px;
    margin-bottom: 40px;
    text-align: center;
  }
  .hero__text::before {
    width: 400px;
    height: 400px;
    filter: blur(60px);
  }
  .hero__title {
    font-size: 60px;
    margin-bottom: 120px;
    text-align: center;
  }
  .hero__wrapper {
    flex-direction: column;
    gap: 40px;
    margin-bottom: 40px;
  }
  .hero__filters {
    gap: 40px;
    flex-wrap: wrap;
    display: flex;
    align-items: flex-start;
  }
  .hero__filter {
    font-size: 18px;
  }
  .hero__author {
    font-size: 24px;
  }
  .hero__author::before {
    width: 350px;
    height: 350px;
    filter: blur(50px);
  }
}
@media (max-width: 480px) {
  .hero {
    margin-bottom: 60px;
  }
  .hero__text {
    font-size: 20px;
    margin-bottom: 30px;
    text-align: center;
  }
  .hero__text::before {
    width: 300px;
    height: 300px;
    filter: blur(50px);
  }
  .hero__title {
    font-size: 40px;
    margin-bottom: 80px;
    text-align: center;
  }
  .hero__wrapper {
    gap: 30px;
    margin-bottom: 30px;
  }
  .hero__filters {
    gap: 20px;
    flex-direction: column;
  }
  .hero__filter {
    font-size: 16px;
  }
  .hero__author {
    font-size: 20px;
  }
  .hero__author::before {
    width: 250px;
    height: 250px;
  }
}
.reviews {
  padding: 86px 0 106px;
  position: relative;
  overflow: hidden;
}
.reviews::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(29, 29, 29, 0.83);
  filter: blur(106.5px);
  z-index: -1;
}
.reviews__wrapper {
  display: flex;
  gap: 20px;
  position: relative;
  z-index: 1;
  width: max-content;
  margin-bottom: 20px;
}
.reviews__wrapper:nth-child(odd) {
  animation: scrollLeft 80s linear infinite;
}
.reviews__wrapper:nth-child(even) {
  animation: scrollRight 80s linear infinite;
}
.reviews__client {
  padding: 36px 70px 36px 40px;
  background-color: #262626;
  border: 1px solid #6A00FF;
  border-radius: 72px;
  font-size: 24px;
  white-space: nowrap;
  flex-shrink: 0;
}
.reviews__client:nth-child(3n+1) {
  border-color: #ff0000;
}
.reviews__client:nth-child(5n+2) {
  border-color: #ff00ff;
}
.reviews__client:nth-child(7n+3) {
  border-color: #ffaa00;
}
.reviews__client:nth-child(11n+4) {
  border-color: #00ff00;
}
.reviews__client:nth-child(13n+5) {
  border-color: #00ffff;
}
.reviews__client--red {
  border-color: #ff4444 !important;
  color: #ff4444;
}
.reviews__client--purple {
  border-color: #a855f7 !important;
  color: #a855f7;
}
.reviews__client--green {
  border-color: #4ade80 !important;
  color: #4ade80;
}
.reviews__client--blue {
  border-color: #3b82f6 !important;
  color: #3b82f6;
}

@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-25%);
  }
}
@keyframes scrollRight {
  0% {
    transform: translateX(-25%);
  }
  100% {
    transform: translateX(0);
  }
}
@media (max-width: 1024px) {
  .reviews {
    padding: 60px 0 80px;
  }
  .reviews__wrapper {
    gap: 15px;
    margin-bottom: 15px;
  }
  .reviews__client {
    padding: 28px 50px 28px 30px;
    font-size: 20px;
  }
}
@media (max-width: 768px) {
  .reviews {
    padding: 40px 0 60px;
  }
  .reviews::before {
    filter: blur(80px);
  }
  .reviews__wrapper {
    gap: 12px;
    margin-bottom: 12px;
  }
  .reviews__client {
    padding: 20px 35px 20px 25px;
    border-radius: 50px;
    font-size: 18px;
  }
}
@media (max-width: 480px) {
  .reviews {
    padding: 30px 0 40px;
  }
  .reviews__wrapper {
    gap: 10px;
    margin-bottom: 10px;
  }
  .reviews__client {
    padding: 15px 25px 15px 20px;
    border-radius: 40px;
    font-size: 14px;
  }
}
.about {
  margin-top: 154px;
}
.about .container .line {
  margin-bottom: 229px;
}
.about__title {
  font-size: 40px;
  text-transform: uppercase;
  border-bottom: 1px solid white;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}
.about__title.animate {
  opacity: 1;
  transform: translateY(0);
}
.about__title:first-of-type {
  display: inline-block;
  margin-bottom: 192px;
}
.about__text {
  font-size: 24px;
  margin-bottom: 245px;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease 0.2s;
}
.about__text.animate {
  opacity: 1;
  transform: translateY(0);
}
.about__text::before {
  content: "";
  position: absolute;
  filter: blur(181.6000061035px);
  background: rgba(252, 1, 14, 0.87);
  transform: rotate(112deg);
  width: 600px;
  height: 600px;
  bottom: -34%;
  right: -20%;
  z-index: -1;
}
.about__wrapper {
  display: flex;
  gap: 115px;
  margin-bottom: 266px;
  position: relative;
}
.about__wrapper::before {
  position: absolute;
  content: "";
  width: 700px;
  height: 700px;
  border-radius: 100%;
  background: rgba(92, 1, 252, 0.87);
  filter: blur(185.1999969482px);
  top: -100%;
  left: -20%;
  z-index: -1;
}
.about__programs {
  display: flex;
  gap: 240px;
}
.about__program {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 70px;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease;
}
.about__program:nth-child(1) {
  transition-delay: 0.3s;
}
.about__program:nth-child(2) {
  transition-delay: 0.5s;
}
.about__program:nth-child(3) {
  transition-delay: 0.7s;
}
.about__program.animate {
  opacity: 1;
  transform: translateY(0);
}
.about__program-img {
  transition: all 0.3s ease;
  filter: grayscale(0.5);
}
.about__program:hover .about__program-img {
  transform: translateY(-10px);
}
.about__program-name {
  transition: color 0.3s ease;
}
.about__program:hover .about__program-name {
  color: #ff0000;
}

@media (max-width: 1024px) {
  .about {
    margin-top: 100px;
  }
  .about .container .line {
    margin-bottom: 150px;
  }
  .about__title {
    font-size: 32px;
  }
  .about__title:first-of-type {
    margin-bottom: 120px;
  }
  .about__text {
    font-size: 20px;
    margin-bottom: 180px;
  }
  .about__text::before {
    width: 450px;
    height: 450px;
    filter: blur(140px);
  }
  .about__wrapper {
    gap: 80px;
    margin-bottom: 180px;
  }
  .about__wrapper::before {
    width: 550px;
    height: 550px;
    filter: blur(140px);
  }
  .about__programs {
    gap: 150px;
  }
  .about__program {
    gap: 50px;
  }
  .about__program-img {
    max-width: 120px;
    height: auto;
  }
}
@media (max-width: 768px) {
  .about {
    margin-top: 80px;
  }
  .about .container .line {
    margin-bottom: 100px;
  }
  .about__title {
    font-size: 28px;
  }
  .about__title:first-of-type {
    margin-bottom: 80px;
  }
  .about__text {
    font-size: 18px;
    margin-bottom: 120px;
  }
  .about__text::before {
    width: 350px;
    height: 350px;
    filter: blur(100px);
  }
  .about__wrapper {
    flex-direction: column;
    gap: 60px;
    margin-bottom: 150px;
  }
  .about__wrapper::before {
    width: 400px;
    height: 400px;
    filter: blur(120px);
  }
  .about__programs {
    gap: 80px;
  }
  .about__program {
    gap: 40px;
  }
  .about__program-img {
    max-width: 100px;
  }
  .about__program-name {
    font-size: 20px;
  }
}
@media (max-width: 480px) {
  .about {
    margin-top: 60px;
    overflow: hidden;
  }
  .about .container .line {
    margin-bottom: 60px;
  }
  .about__title {
    font-size: 24px;
  }
  .about__title:first-of-type {
    margin-bottom: 60px;
  }
  .about__text {
    font-size: 16px;
    margin-bottom: 80px;
  }
  .about__text::before {
    width: 250px;
    height: 250px;
    filter: blur(80px);
    transform: translateY(200%);
  }
  .about__wrapper {
    gap: 40px;
    margin-bottom: 100px;
  }
  .about__wrapper::before {
    width: 300px;
    height: 300px;
    filter: blur(100px);
  }
  .about__programs {
    flex-direction: column;
    gap: 60px;
  }
  .about__program {
    gap: 30px;
  }
  .about__program-img {
    max-width: 80px;
  }
  .about__program-name {
    font-size: 18px;
  }
}
.my-works {
  margin-bottom: 106px;
}
.my-works__title {
  display: inline-block;
  font-size: 40px;
  text-transform: uppercase;
  border-bottom: 1px solid white;
  margin-bottom: 126px;
}
.my-works__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
}
.my-works__filters {
  display: flex;
  gap: 20px;
}
.my-works__filter {
  font-size: 24px;
  border: 1px solid white;
  padding: 20px;
  border-radius: 64px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.my-works__filter:hover {
  background-color: rgba(255, 255, 255, 0.1);
}
.my-works__filter.active {
  background-color: white;
  color: #000000;
}
.my-works__controls {
  display: flex;
  align-items: center;
  gap: 60px;
}
.my-works__adminka {
  display: none;
  align-items: center;
  gap: 60px;
}
.my-works__adminka.visible {
  display: flex;
}
.my-works__add, .my-works__delete {
  border-bottom: 1px solid white;
  cursor: pointer;
  transition: all 0.3s ease;
}
.my-works__add:hover, .my-works__delete:hover {
  border-bottom-color: #ff0000;
  color: #ff0000;
}
.my-works__delete.active {
  color: #ff0000;
  border-bottom-color: #ff0000;
  font-weight: bold;
}
.my-works__container {
  display: flex;
  align-items: center;
  gap: 60px;
}
.my-works__btn {
  background-color: transparent;
  padding: 20px 40px;
  border: 1px solid white;
  border-radius: 64px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 24px;
}
.my-works__btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #ff0000;
}
.my-works__btn svg {
  display: block;
  transition: transform 0.3s ease;
}
.my-works__grids {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 140px;
  grid-auto-flow: dense;
}
.my-works__grid {
  border-radius: 8px;
  width: 100%;
  min-height: 350px;
  border: 1px solid white;
  transition: all 0.3s ease;
  position: relative;
}
.my-works__grid:hover {
  border-color: #ff0000;
  opacity: 0.9;
}
.my-works__grids.delete-mode .my-works__grid {
  cursor: pointer;
}
.my-works__grids.delete-mode .my-works__grid::before {
  content: "×";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 50px;
  height: 50px;
  background: rgba(255, 0, 0, 0.9);
  color: white;
  font-size: 36px;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}
.my-works__grids.delete-mode .my-works__grid:hover::before {
  background: rgb(255, 0, 0);
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.8);
}
.my-works__grids.delete-mode .my-works__grid:hover::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  pointer-events: none;
}
.my-works__grid-4x4 {
  grid-row: span 2;
  grid-column: span 2;
}
.my-works__grid-2x1 {
  grid-row: span 2;
}
.my-works__grid-1x2 {
  grid-column: span 2;
}
.my-works__btn-center {
  display: flex;
  margin: 0 auto 140px;
  padding: 20px 66px;
  transition: all 0.3s ease;
}
.my-works__btn-center:hover {
  border-color: #ff0000;
  background-color: rgba(255, 0, 0, 0.1);
  color: #ff0000;
}
@keyframes deleteIcon {
  from {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
  }
  to {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}

.delete-mode-hint {
  background: rgba(255, 0, 0, 0.1);
  border: 2px solid #ff0000;
  border-radius: 16px;
  padding: 20px;
  color: #ff0000;
  text-align: center;
  font-size: 20px;
  margin-bottom: 30px;
  animation: hintAppear 0.3s ease;
}

@keyframes hintAppear {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 1024px) {
  .my-works {
    margin-bottom: 80px;
  }
  .my-works__title {
    font-size: 32px;
    margin-bottom: 80px;
  }
  .my-works__wrapper {
    margin-bottom: 40px;
  }
  .my-works__filter {
    font-size: 20px;
    padding: 16px;
  }
  .my-works__controls {
    gap: 40px;
  }
  .my-works__adminka {
    gap: 40px;
  }
  .my-works__container {
    gap: 40px;
  }
  .my-works__text {
    font-size: 20px;
  }
  .my-works__btn {
    padding: 16px 32px;
    font-size: 20px;
  }
  .my-works__grids {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 100px;
  }
  .my-works__grid {
    min-height: 250px;
  }
  .my-works__btn-center {
    margin-bottom: 100px;
    padding: 16px 50px;
  }
  .delete-mode-hint {
    font-size: 18px;
    padding: 16px;
  }
}
@media (max-width: 768px) {
  .my-works {
    margin-bottom: 60px;
  }
  .my-works__title {
    font-size: 28px;
    margin-bottom: 60px;
  }
  .my-works__wrapper {
    flex-direction: column;
    gap: 30px;
    margin-bottom: 30px;
  }
  .my-works__filters {
    flex-wrap: wrap;
    gap: 12px;
  }
  .my-works__filter {
    font-size: 18px;
    padding: 14px;
    border-radius: 40px;
  }
  .my-works__controls {
    flex-wrap: wrap;
    gap: 20px;
  }
  .my-works__adminka {
    gap: 20px;
  }
  .my-works__container {
    gap: 20px;
  }
  .my-works__text {
    font-size: 18px;
  }
  .my-works__btn {
    padding: 14px 28px;
    font-size: 18px;
  }
  .my-works__grids {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 80px;
  }
  .my-works__grid {
    min-height: 180px;
  }
  .my-works__grid::before {
    width: 40px;
    height: 40px;
    font-size: 28px;
  }
  .my-works__btn-center {
    margin-bottom: 80px;
    padding: 14px 40px;
  }
  .delete-mode-hint {
    font-size: 16px;
    padding: 14px;
    margin-bottom: 20px;
  }
}
@media (max-width: 480px) {
  .my-works {
    margin-bottom: 40px;
  }
  .my-works__title {
    font-size: 24px;
    margin-bottom: 40px;
  }
  .my-works__wrapper {
    gap: 20px;
    margin-bottom: 20px;
  }
  .my-works__filters {
    gap: 8px;
  }
  .my-works__filter {
    font-size: 14px;
    padding: 10px 16px;
    border-radius: 30px;
  }
  .my-works__controls {
    flex-direction: column;
    gap: 15px;
  }
  .my-works__adminka {
    gap: 15px;
  }
  .my-works__container {
    gap: 15px;
    font-size: 14px;
  }
  .my-works__text {
    font-size: 14px;
  }
  .my-works__btn {
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 40px;
  }
  .my-works__grids {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 60px;
  }
  .my-works__grid {
    width: 100%;
    min-height: 250px;
  }
  .my-works__grid::before {
    width: 35px;
    height: 35px;
    font-size: 24px;
  }
  .my-works__grid-4x4, .my-works__grid-2x1, .my-works__grid-1x2 {
    grid-row: span 1;
    grid-column: span 1;
  }
  .my-works__btn-center {
    margin-bottom: 60px;
    padding: 12px 30px;
  }
  .delete-mode-hint {
    font-size: 14px;
    padding: 12px;
    margin-bottom: 15px;
  }
}
.contacts {
  position: relative;
}
.contacts__title {
  position: relative;
  display: inline-block;
  font-size: 40px;
  text-transform: uppercase;
  border-bottom: 1px solid white;
  margin-bottom: 185px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}
.contacts__title.animate {
  opacity: 1;
  transform: translateY(0);
}
.contacts__title::before {
  content: "";
  position: absolute;
  width: 765px;
  height: 765px;
  filter: blur(181.6000061035px);
  background: rgba(92, 1, 252, 0.87);
  transform: rotate(-2deg) translate(-50%, -50%);
  z-index: -1;
  pointer-events: none;
}
.contacts__text {
  position: relative;
  z-index: 1;
  margin-bottom: 130px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease 0.2s;
}
.contacts__text.animate {
  opacity: 1;
  transform: translateY(0);
}
.contacts__wrapper {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 280px;
}
.contacts__tel, .contacts__email {
  position: relative;
  border-bottom: 1px solid white;
  transition: all 0.3s ease;
  cursor: pointer;
  opacity: 0;
  transform: translateY(30px);
}
.contacts__tel.animate, .contacts__email.animate {
  opacity: 1;
  transform: translateY(0);
}
.contacts__tel:hover, .contacts__email:hover {
  border-bottom-color: #ff0000;
  color: #ff0000;
}
.contacts__email::before {
  content: "";
  position: absolute;
  border-radius: 100%;
  background-color: rgba(92, 1, 252, 0.87);
  filter: blur(185.1999969482px);
  height: 700px;
  width: 700px;
  transform: translate(-75%, -75%);
  z-index: -1;
  pointer-events: none;
}
.contacts__tel.animate {
  transition: all 0.3s ease;
}
.contacts__email.animate {
  transition: all 0.3s ease;
}
.contacts__tg {
  padding: 20px 66px;
  border: 1px solid white;
  border-radius: 64px;
  transition: all 0.3s ease;
  cursor: pointer;
  opacity: 0;
  transform: translateY(30px);
}
.contacts__tg.animate {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.3s ease;
}
.contacts__tg:hover {
  border-color: #ff0000;
  background-color: rgba(255, 0, 0, 0.1);
  color: #ff0000;
}

@media (max-width: 1024px) {
  .contacts__title {
    font-size: 32px;
    margin-bottom: 120px;
  }
  .contacts__title::before {
    width: 550px;
    height: 550px;
    filter: blur(140px);
  }
  .contacts__text {
    font-size: 20px;
    margin-bottom: 100px;
  }
  .contacts__wrapper {
    margin-bottom: 200px;
  }
  .contacts__tel, .contacts__email {
    font-size: 20px;
  }
  .contacts__email::before {
    width: 550px;
    height: 550px;
    filter: blur(140px);
  }
  .contacts__tg {
    padding: 16px 50px;
    font-size: 20px;
  }
}
@media (max-width: 768px) {
  .contacts__title {
    font-size: 28px;
    margin-bottom: 80px;
  }
  .contacts__title::before {
    width: 400px;
    height: 400px;
    filter: blur(100px);
  }
  .contacts__text {
    font-size: 18px;
    margin-bottom: 80px;
  }
  .contacts__wrapper {
    flex-direction: column;
    gap: 30px;
    margin-bottom: 150px;
  }
  .contacts__tel, .contacts__email {
    font-size: 18px;
  }
  .contacts__email::before {
    width: 400px;
    height: 400px;
    filter: blur(120px);
  }
  .contacts__tg {
    padding: 14px 40px;
    border-radius: 50px;
    font-size: 18px;
  }
}
@media (max-width: 480px) {
  .contacts__title {
    font-size: 24px;
    margin-bottom: 60px;
  }
  .contacts__title::before {
    width: 300px;
    height: 300px;
    filter: blur(80px);
  }
  .contacts__text {
    font-size: 16px;
    margin-bottom: 60px;
  }
  .contacts__wrapper {
    gap: 20px;
    margin-bottom: 100px;
  }
  .contacts__tel, .contacts__email {
    font-size: 16px;
  }
  .contacts__email::before {
    width: 300px;
    height: 300px;
    filter: blur(100px);
  }
  .contacts__tg {
    padding: 12px 30px;
    border-radius: 40px;
    font-size: 16px;
  }
}
.footer {
  margin: 44px 0 0;
  position: relative;
}
.footer__blur {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 1552px;
  height: 466px;
  z-index: -1;
  overflow: visible;
  transform: translateX(-50%);
}
.footer__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}
.footer__text {
  position: relative;
}
.footer__text:nth-child(2) {
  border-bottom: 1px solid white;
  transition: all 0.3s ease;
  cursor: pointer;
}
.footer__text:nth-child(2):hover {
  border-bottom-color: #ff0000;
  color: #ff0000;
}
.footer__link {
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 1px solid white;
}
.footer__link:hover {
  color: #ff0000;
  border-bottom-color: #ff0000;
}
.footer__link::before {
  content: "";
  position: absolute;
  border-radius: 100%;
  background-color: rgba(252, 1, 1, 0.87);
  filter: blur(185.1999969482px);
}
.footer__link--margin {
  margin-right: 140px;
}

@media (max-width: 1024px) {
  .footer {
    margin: 30px 0 0;
  }
  .footer__blur {
    width: 1200px;
    height: 360px;
  }
  .footer__text {
    font-size: 20px;
  }
  .footer__link--margin {
    margin-right: 100px;
  }
}
@media (max-width: 768px) {
  .footer {
    margin: 20px 0 0;
  }
  .footer__blur {
    width: 900px;
    height: 270px;
  }
  .footer__wrapper {
    flex-wrap: wrap;
    gap: 20px;
  }
  .footer__text {
    font-size: 18px;
  }
  .footer__link--margin {
    margin-right: 60px;
  }
}
@media (max-width: 480px) {
  .footer {
    margin: 15px 0 0;
  }
  .footer__blur {
    width: 400px;
    height: 120px;
    left: 50%;
    transform: translateX(-50%) translateY(50%);
  }
  .footer__wrapper {
    flex-direction: column;
    gap: 15px;
  }
  .footer__text {
    font-size: 14px;
  }
}
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(5px);
}

.modal-overlay.active {
  display: flex;
}

.modal {
  width: 604px;
  height: 860px;
  border: 1px solid white;
  padding: 76px 68px;
  background-color: #262626;
  border-radius: 40px;
  position: relative;
  animation: modalAppear 0.3s ease;
}

@keyframes modalAppear {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.modal__close {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  color: white;
  font-size: 30px;
  cursor: pointer;
  transition: transform 0.3s ease;
  padding: 0;
  line-height: 1;
}

.modal__close:hover {
  transform: rotate(90deg);
}

.modal__wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
  height: 100%;
}

.modal__img {
  background-color: #1C1C1C;
  width: 100%;
  height: 281px;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.modal__img:hover {
  background-color: #2a2a2a;
}
.modal__img:hover::after {
  content: "Изменить изображение";
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.modal__img:hover::after {
  opacity: 1;
}

.modal__img input[type=file] {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.modal__text {
  color: #808080;
  font-size: 18px;
  text-align: center;
  pointer-events: none;
}

.modal__input {
  width: 100%;
  padding: 20px 24px;
  background-color: #1C1C1C;
  border: 1px solid #404040;
  border-radius: 16px;
  color: white;
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s ease;
  font-family: inherit;
}

.modal__input::placeholder {
  color: #808080;
}

.modal__input:focus {
  border-color: white;
}

.modal__input[type=date] {
  position: relative;
  color-scheme: dark;
}

.modal__input[type=date]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  filter: invert(1);
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.modal__input[type=date]::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
}

.modal__tags {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.modal__tag {
  padding: 16px 24px;
  background-color: #1C1C1C;
  border: 1px solid #404040;
  border-radius: 16px;
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal__tag:hover {
  background-color: #2a2a2a;
  border-color: white;
}

.modal__tag.active {
  background-color: white;
  color: #000000;
  border-color: white;
}

.modal__buttons {
  display: flex;
  gap: 20px;
  margin-top: auto;
}

.modal__button {
  flex: 1;
  padding: 20px 24px;
  border: 1px solid white;
  border-radius: 16px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.modal__button--primary {
  background-color: white;
  color: #000000;
}

.modal__button--primary:hover {
  background-color: #f0f0f0;
}

.modal__button--secondary {
  background-color: transparent;
  color: white;
}

.modal__button--secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.modal__error {
  background-color: rgba(255, 0, 0, 0.1);
  border: 1px solid #ff0000;
  border-radius: 12px;
  padding: 16px 20px;
  color: #ff0000;
  font-size: 14px;
  text-align: center;
  animation: errorAppear 0.3s ease;
  margin-top: auto;
}

.modal__error.fade-out {
  animation: errorFadeOut 0.3s ease forwards;
}

@keyframes errorAppear {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes errorFadeOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}
@media (max-width: 1024px) {
  .modal {
    width: 500px;
    height: 700px;
    padding: 60px 50px;
  }
  .modal__close {
    width: 35px;
    height: 35px;
    font-size: 26px;
  }
  .modal__img {
    height: 220px;
  }
  .modal__text {
    font-size: 16px;
  }
  .modal__input {
    padding: 16px 20px;
    font-size: 14px;
  }
  .modal__tag {
    padding: 14px 20px;
    font-size: 14px;
  }
  .modal__button {
    padding: 16px 20px;
    font-size: 14px;
  }
}
@media (max-width: 768px) {
  .modal {
    width: 90%;
    max-width: 450px;
    height: auto;
    max-height: 90vh;
    padding: 40px 30px;
    overflow-y: auto;
  }
  .modal__close {
    width: 30px;
    height: 30px;
    font-size: 24px;
    top: 20px;
    right: 20px;
  }
  .modal__wrapper {
    gap: 20px;
  }
  .modal__img {
    height: 180px;
  }
  .modal__text {
    font-size: 14px;
  }
  .modal__input {
    padding: 14px 18px;
    font-size: 14px;
  }
  .modal__tags {
    gap: 12px;
  }
  .modal__tag {
    padding: 12px 18px;
    font-size: 14px;
  }
  .modal__buttons {
    gap: 15px;
  }
  .modal__button {
    padding: 14px 18px;
    font-size: 14px;
  }
  .modal__error {
    padding: 12px 16px;
    font-size: 13px;
  }
}
@media (max-width: 480px) {
  .modal {
    width: 95%;
    padding: 30px 20px;
    border-radius: 24px;
  }
  .modal__close {
    width: 28px;
    height: 28px;
    font-size: 22px;
    top: 15px;
    right: 15px;
  }
  .modal__wrapper {
    gap: 15px;
  }
  .modal__img {
    height: 150px;
    border-radius: 16px;
  }
  .modal__text {
    font-size: 13px;
  }
  .modal__input {
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 13px;
  }
  .modal__tags {
    gap: 10px;
  }
  .modal__tag {
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 13px;
  }
  .modal__buttons {
    flex-direction: column;
    gap: 10px;
  }
  .modal__button {
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 13px;
  }
  .modal__error {
    padding: 10px 14px;
    font-size: 12px;
  }
}
