:root {
  --primary: #8e05c2;
  --black: #2A313C;
  --white: #b8b2ad;
  --gray: #d6b08f;
}

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

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: var(--white);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--black);
  color: var(--white);
}

.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding: 1.5rem 6rem;
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 10vh;
  z-index: 9999;
  transition: transform 0.3s ease-in-out;
  mix-blend-mode: difference;
}

header .container .content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

header .container .content .logo a {
  font: italic bold 1.5rem "IBM Plex Sans", sans-serif;
  color: var(--white);
}

header .container .content nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
}

header.aos-init.aos-animate.hidden {
  transform: translateY(-100%);
}

header .container .content nav a {
  display: flex;
  flex-direction: column;
  font: 600 1rem "IBM Plex Sans", sans-serif;
  color: var(--white);
  transition: 0.2s linear;
}

header .container .content nav a::after {
  content: "";
  display: block;
  border-bottom: 2px solid #fff;
  transform: scaleX(0);
  transition: 0.2s linear;
}

header .container .content nav a:hover::after {
  transform: scaleX(1);
  transition: 0.2s linear;
}

header .container .content .extra-nav {
  display: flex;
  align-items: center;
}

header .container .content .extra-nav a {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.4rem 2rem;
  border: 2px solid #fff;
  border-radius: 16px;
  font: 500 1rem "IBM Plex Sans", sans-serif;
  color: #fff;
  overflow: hidden;
  mix-blend-mode: difference;
}

header .container .content .extra-nav a::before {
  content: "";
  display: block;
  position: absolute;
  background: var(--white);
  border-radius: 50%;
  padding: 2px;
  transform: scale(0);
  transition: transform 0.1s linear;
}

header .container .content .extra-nav a:hover::before {
  transform: scale(70);
  transition: transform 0.1s linear;
}

header .container .content .extra-nav a span {
  position: relative;
  transition: color 0.3s linear;
}

header .container .content .extra-nav a:hover span {
  color: var(--black);
  transition: color 0.3s linear;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.hero .container .content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero .container .content .shape-1 {
  position: absolute;
  width: 200px;
  height: 200px;
  background-color: #fff;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 30%;
  animation: shape-1 60s infinite;
}

.hero .container .content .shape-2 {
  position: absolute;
  width: 300px;
  height: 50px;
  background-color: #fff;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 30%;
  animation: shape-2 120s infinite;
}

.hero .container .content .line {
  position: absolute;
  width: 100%;
  height: 4%;
  transform: rotate(45deg);
  background-color: #fff;
  top: 0;
  right: -100%;
  filter: blur(50px);
  animation: line 50s infinite;
}

@keyframes line {
  from {
    right: -100%;
    top: 0;
    opacity: 30%;
  }

  to {
    right: 100%;
    top: 100%;
    opacity: 0;
  }
}

@keyframes shape-1 {
  0% {
    left: 0;
    top: 0;
  }
  25% {
    left: 50%;
    top: 50%;
  }
  50% {
    left: 30%;
    top: 80%;
  }
  75% {
    left: 20%;
    top: 50%;
  }
  100% {
    left: 0;
    top: 0;
  }
}

@keyframes shape-2 {
  0% {
    left: 0;
    top: 0;
  }
  25% {
    left: 40%;
    top: 70%;
  }
  50% {
    left: 20%;
    top: 50%;
  }
  75% {
    left: 50%;
    top: 100%;
  }
  100% {
    left: 0;
    top: 0;
  }
}

.hero .container .content .text {
  display: flex;
  flex-direction: column;
  margin-bottom: 2rem;
}

.hero .container .content .text h1 {
  font: bolder 8rem "IBM Plex Sans", sans-serif;
  line-height: 8rem;
}

.hero .container .content .text .row-2 {
  margin-left: -7rem;
}

.hero .container .content .text .row-2 {
  color: var(--black);
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: var(--white);
}

.hero .container .content .arrow {
  position: absolute;
  bottom: 4rem;
  cursor: pointer;
  border: 2px solid var(--white);
  border-radius: 50%;
  fill: var(--white);
  width: 75px;
  height: 75px;
  animation: arrow 2s infinite alternate;
  transition: 0.2s linear;
  z-index: 10;
}

.hero .container .content .arrow:hover {
  background-color: var(--white);
  fill: var(--black);
  transition: 0.2s linear;
}

@keyframes arrow {
  from {
    transform: translateY(0px);
    opacity: 0;
  }

  to {
    transform: translateY(1.5rem);
    opacity: 1;
  }
}

.hero .container .content .short-info {
  position: absolute;
  bottom: 5rem;
  padding: 0 6rem;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 5;
}

.hero .container .content .short-info .left-side,
.hero .container .content .short-info .right-side {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.hero .container .content .short-info .left-side h1 {
  font-size: 1.2rem;
}

.hero .container .content .short-info .left-side p {
  color: var(--gray);
  font: bold 0.9rem "IBM Plex Sans", sans-serif;
}

.hero .container .content .short-info .right-side p {
  color: var(--gray);
  font-weight: bold;
}

.hero .container .content .short-info .right-side h1 {
  display: flex;
  align-items: center;
  height: 25px;
  gap: 0.2rem;
  font: bold 0.9rem "IBM Plex Sans", sans-serif;
}

.hero .container .content .short-info .right-side h1 .pulse {
  position: relative;
  width: 6px;
  height: 20px;
  background: #ff6a00;
  border-radius: 6px;
}

.hero .container .content .short-info .right-side h1 .pulse::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 20px;
  background: #ff6a00;
  border-radius: 6px;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

.about {
  position: relative;
  margin: 4rem 0;
  min-height: 100vh;
  overflow: hidden;
}

.about .container .content {
  display: flex;
  align-items: start;
  height: 100vh;
  width: 100%;
}

.about .container .content .title {
  display: flex;
  flex-direction: column;
  width: 25%;
  height: 100%;
}

.about .container .content .title h2 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 2.5rem;
  color: var(--gray);
  margin-top: 6rem;
}

.about .container .content .title h2 hr {
  width: 90px;
  padding: 2px;
  border: none;
  background-color: var(--gray);
  margin-top: 4px;
}

.about .container .content .title h1 {
  font: italic bold 3.5rem "IBM Plex Sans", sans-serif;
}

.about .container .content .profile-container {
  width: 50%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about .container .content .profile-container .profile {
  width: 100%;
  height: 75%;
  display: flex;
  align-items: end;
  background: var(--gray);
  border-radius: 64px;
  overflow: hidden;
}

.about .container .content .profile-container .profile img {
  width: 100%;
  height: 100%;
}

.about .container .content .about-me {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding-left: 4rem;
  width: 25%;
  height: 100%;
}

.about .container .content .about-me p {
  font-weight: 500;
  font-style: italic;
  line-height: 1.4rem;
}

.about .container .content .about-me button {
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  width: 45%;
  padding: 12px;
  background-color: var(--black);
  border: 2px solid #fff;
  border-radius: 32px;
  font-weight: bold;
  color: var(--white);
  transition: all 0.2s linear;
}

.about .container .content .about-me button:hover {
  color: var(--black);
  background-color: var(--white);
}

.about .container .content .about-me button .arrow {
  width: 20px;
  transform: rotate(135deg);
  fill: var(--white);
  transition: all 0.2s linear;
}

.about .container .content .about-me button:hover .arrow {
  transform: rotate(180deg);
  fill: var(--black);
  transition: all 0.2s linear;
}

.about .container .content .text-wrapper {
  position: absolute;
  bottom: 2rem;
  left: 0;
  display: flex;
  gap: 2rem;
}

.about .container .content .text-wrapper .text {
  display: flex;
  flex-shrink: 0;
  gap: 2rem;
  animation: marquee 8s linear infinite;
}

.about .container .content .text-wrapper .text h1 {
  font: italic bold 9rem "IBM Plex Sans", sans-serif;
  white-space: nowrap;
}

.about .container .content .text-wrapper .text h1 span {
  color: transparent;
  -webkit-text-stroke-width: 2px;
  -webkit-text-stroke-color: var(--white);
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.project,
.contact {
  margin: 4rem 0;
  min-height: 100vh;
  overflow: hidden;
}

.project .container .content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.project .container .content .header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.project .container .content .header button {
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  width: 15%;
  padding: 12px;
  background-color: var(--black);
  border: 2px solid #fff;
  border-radius: 32px;
  font-weight: bold;
  color: var(--white);
  transition: all 0.2s linear;
}

.project .container .content .header button:hover {
  color: var(--black);
  background-color: var(--white);
}

.project .container .content .header button .arrow {
  width: 20px;
  transform: rotate(135deg);
  fill: var(--white);
  transition: all 0.2s linear;
}

.project .container .content .header button:hover .arrow {
  transform: rotate(180deg);
  fill: var(--black);
  transition: all 0.2s linear;
}

.project .container .content .header .title {
  display: flex;
  flex-direction: column;
  align-items: end;
  font: italic bold 1.5rem "IBM Plex Sans", sans-serif;
}

.project .container .content .header .title .row-1 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-align: end;
  color: var(--gray);
}

.project .container .content .header .title .row-1 hr {
  width: 75px;
  padding: 2px;
  border: none;
  background-color: var(--gray);
  margin-top: 4px;
}

.project .container .content .header .title .row-2 {
  font-size: 3rem;
}

.project .container .content .project-area {
  position: relative;
  display: flex;
  height: 650px;
  gap: 1rem;
}

.project .container .content .project-area:hover .projects:not(:hover) img {
  filter: brightness(100%);
  transition: 0.3s linear;
}

.project .container .content .project-area .projects {
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 33%;
  height: 100%;
  background: var(--gray);
  border-radius: 64px;
  overflow: hidden;
}

.project .container .content .project-area .projects img {
  filter: brightness(100%);
  width: 100%;
  height: 100%;
  transition: 0.3s linear;
}

.project .container .content .project-area .projects:hover img {
  filter: brightness(30%);
}

.project .container .content .project-area .projects .desc {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.2s linear;
}

.project .container .content .project-area .projects .desc h1 {
  font: italic bold 4rem "IBM Plex Sans", sans-serif;
   color: #ffffff;
}

.project .container .content .project-area .projects .desc p {
  text-align: center;
  width: 75%;
   color: #ffffff;
}

.project .container .content .project-area .projects:hover .desc {
  opacity: 1;
  transition: opacity 0.2s linear;
}

.contact .container .content {
  display: flex;
  flex-direction: column;
  height: 100vh;
  gap: 2rem;
}

.contact .container .content .title {
  text-align: center;
  font: italic bold 1.3rem "IBM Plex Sans", sans-serif;
}

.contact .container .content .title h2 {
  color: var(--gray);
}

.contact .container .content .title h1 {
  font-size: 3rem;
}

.contact .container .content .contact-area {
  display: flex;
  height: 80%;
}

.contact .container .content .contact-area .left-side {
  width: 50%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact .container .content .contact-area .left-side h1 {
  font: 500 4rem "IBM Plex Sans", sans-serif;
  margin-top: .5rem;
  transform: scale(1, 1.5);
}

.contact .container .content .contact-area .left-side h1:nth-child(2) {
  margin-left: 30%;
}


.contact .container .content .contact-area .right-side {
  width: 40%;
  height: 100%;
}

.contact .container .content .contact-area .right-side form {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.contact .container .content .contact-area .right-side form input {
  padding: 1rem;
  border: none;
  border-bottom: 2px solid var(--white);
  outline: none;
  color: var(--white);
  font-size: 1.2rem;
  background: transparent;
}

.contact .container .content .contact-area .right-side form input::placeholde,
.contact .container .content .contact-area .right-side form textarea::placeholder {
  font-size: 1.2rem;
  font-weight: bold;
}

.contact .container .content .contact-area .right-side form textarea {
  resize: none;
  height: 150px;
  padding: 1rem;
  border: none;
  border-bottom: 2px solid var(--white);
  outline: none;
  color: var(--white);
  font-size: 1.2rem;
  background: transparent;
}

.contact .container .content .contact-area .right-side form button {
  cursor: pointer;
  padding: .7rem;
  margin-bottom: 1rem;
  border: 2px solid var(--white);
  border-radius: 16px;
  font: bold 1.2rem "IBM Plex Sans", sans-serif;
  background: var(--black);
  color: var(--white);
  transition: .2s linear;
}

.contact .container .content .contact-area .right-side form button:hover {
  background-color: var(--white);
  color: var(--black);
  transition: .2s linear;
}

footer {
  min-height: 20vh;
}

footer .container .content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

footer .container .content h1 {
  font: italic bold 1.5rem "IBM Plex Sans", sans-serif;
}

footer .container .content .social {
  display: flex;
  align-items: center;
  gap: 1rem;
}

footer .container .content .social .logo {
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: var(--black);
  border: 2px solid var(--white);
  border-radius: 50%;
  fill: var(--white);
  transition: 0.2s linear;
}

footer .container .content .social .logo:hover {
  background-color: var(--white);
  fill: var(--black);
  transition: 0.2s linear;
}

footer .container .content .social p {
  font-weight: bold;
}
/* ========================================= */
/* МОБИЛЬНАЯ АДАПТАЦИЯ (ТОЛЬКО ДЛЯ ТЕЛЕФОНОВ) */
/* ========================================= */

@media only screen and (max-width: 768px) {
  /* Общие исправления */
  .container {
    padding: 0 15px !important;
  }
  
  body {
    font-size: 14px;
    line-height: 1.5;
    overflow-x: hidden;
  }

  /* Шапка */
  header .container .content {
    flex-direction: column;
    gap: 15px;
    padding: 10px 0;
  }
  
  header .container .content nav {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  /* Герой-секция */
  .hero {
    padding: 90px 0 40px !important;
    min-height: 95vh;
    position: relative;
  }
  
  .hero .container .content .text h1 {
    font-size: 3.5rem !important;
    line-height: 1.2;
    text-align: center;
  }
  
  .hero .container .content .text .row-2 {
    margin-left: 0;
  }
  
  /* Горизонтальное расположение информации */
  .hero .container .content .short-info {
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 0 15px;
    bottom: auto;
    margin-top: 25px;
    width: 100%;
  }
  
  .hero .container .content .short-info > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: auto;
    min-width: 160px;
    text-align: center;
  }
  
  .hero .container .content .short-info .left-side h1,
  .hero .container .content .short-info .right-side h1 {
    font-size: 0.95rem !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.6;
    margin: 0;
  }
  
  /* Фикс для пульсирующего элемента */
  .hero .container .content .short-info .right-side h1 {
    position: relative;
    padding-left: 18px;
  }
  
  .hero .container .content .short-info .right-side h1 .pulse {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: block;
    width: 8px;
    height: 8px;
    background: #ff6a00;
    border-radius: 50%;
  }
  
  .hero .container .content .short-info .right-side h1 .pulse::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: #ff6a00;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
    box-shadow: 0 0 0 0 rgba(255, 106, 0, 0.7);
  }
  
  @keyframes pulse {
    0% {
      transform: scale(1);
      opacity: 1;
    }
    70% {
      transform: scale(2.5);
      opacity: 0;
    }
    100% {
      transform: scale(1);
      opacity: 0;
    }
  }
  
  /* Стрелка опущена ниже */
  .hero .container .content .arrow {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
  }
  
  /* Изменение часового пояса */
  .hero .container .content .short-info .right-side h1 span:last-child::before {
    content: "+7";
  }
  
  /* Секция "Обо мне" */
  .about {
    margin: 80px 0 40px !important;
  }
  
  .about .container .content {
    flex-direction: column;
    height: auto;
    gap: 25px;
    position: relative;
  }
  
  .about .container .content .title,
  .about .container .content .profile-container,
  .about .container .content .about-me {
    width: 100% !important;
    height: auto;
  }
  
  .about .container .content .title {
    margin-top: 0;
    text-align: center;
  }
  
  .about .container .content .title h1 {
    font-size: 2.5rem !important;
  }
  
  /* Бежевый фон и обводка вокруг изображения */
  .about .container .content .profile-container .profile {
    height: 350px;
    border-radius: 32px;
    background: #e0c9a6 !important;
    border: 2px solid #e0c9a6;
    overflow: hidden;
    padding: 10px;
    box-sizing: border-box;
  }
  
  .about .container .content .profile-container .profile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 25px;
  }
  
  /* Убираем черный квадрат вокруг текста */
  .about .container .content .about-me {
    padding: 0;
    text-align: center;
    background: transparent !important;
  }
  
  .about .container .content .about-me p {
    margin-bottom: 20px;
    line-height: 1.6;
    padding: 0 10px;
  }
  
  .about .container .content .about-me button {
    width: auto;
    padding: 10px 25px;
    margin: 0 auto;
    background: transparent;
    border: 2px solid var(--white);
    border-radius: 32px;
    color: var(--white);
    transition: all 0.3s ease;
  }
  
  .about .container .content .about-me button:hover {
    background: var(--white);
    color: var(--black);
  }
  
  /* Бегущая строка - увеличена и поднята выше */
  .about .container .content .text-wrapper {
    position: relative;
    bottom: auto;
    margin-top: -20px;
    order: 5;
    z-index: 2;
  }
  
  .about .container .content .text-wrapper .text h1 {
    font-size: 7.5rem !important;
    line-height: 0.8;
    white-space: nowrap;
    margin-top: -20px;
  }
  
  /* Проекты */
  .project {
    margin: 40px 0 !important;
  }
  
  .project .container .content .project-area {
    flex-direction: column;
    height: auto;
  }
  
  .project .container .content .project-area .projects {
    width: 100%;
    height: 280px;
    margin-bottom: 20px;
  }
  
  /* Фикс для кнопки "See All Projects" */
  .project .container .content .header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 25px;
  }
  
  .project .container .content .header .title {
    flex: 1;
    text-align: right;
  }
  
  .project .container .content .header button {
    width: auto;
    padding: 10px 20px;
    white-space: nowrap;
    font-size: 0.95rem;
    background: transparent;
    border: 2px solid var(--white);
    border-radius: 32px;
    color: var(--white);
    transition: all 0.3s ease;
  }
  
  .project .container .content .header button:hover {
    background: var(--white);
    color: var(--black);
  }
  
  /* Контакты */
  .contact {
    margin: 40px 0 !important;
  }
  
  .contact .container .content {
    height: auto;
  }
  
  .contact .container .content .contact-area {
    flex-direction: column;
    height: auto;
    gap: 40px;
  }
  
  .contact .container .content .contact-area .left-side,
  .contact .container .content .contact-area .right-side {
    width: 100%;
    height: auto;
  }
  
  .contact .container .content .contact-area .left-side h1 {
    font-size: 2.5rem !important;
    transform: none !important;
    text-align: center;
    line-height: 1.3;
  }
  
  .contact .container .content .contact-area .left-side h1:nth-child(2) {
    margin-left: 0;
  }
  
  /* Форма контактов */
  .contact-form {
    max-width: 500px;
    margin: 0 auto;
  }
  
  /* Футер */
  footer .container .content {
    padding: 30px 0;
  }
}

@media only screen and (max-width: 480px) {
  /* Дополнительные исправления для маленьких экранов */
  .hero .container .content .text h1 {
    font-size: 2.5rem !important;
  }
  
  .hero .container .content .text .row-2 {
    margin-left: 0;
  }
  
  .hero .container .content .short-info > div {
    min-width: 140px;
  }
  
  .hero .container .content .short-info .left-side h1,
  .hero .container .content .short-info .right-side h1 {
    font-size: 0.85rem !important;
  }
  
  .about .container .content .profile-container .profile {
    height: 280px;
  }
  
  .about .container .content .text-wrapper .text h1 {
    font-size: 5.5rem !important;
    margin-top: -15px;
  }
  
  .project .container .content .project-area .projects {
    height: 240px;
  }
  
  .contact .container .content .contact-area .left-side h1 {
    font-size: 2rem !important;
  }
  
  /* Навигация */
  header .container .content nav a {
    font-size: 0.9rem;
    padding: 5px 8px;
  }
  
  /* Уменьшаем отступы */
  .hero {
    padding: 80px 0 30px !important;
  }
  
  .about, .project, .contact {
    margin: 30px 0 !important;
  }
  
  /* Финалная настройка кнопки */
  .project .container .content .header button {
    padding: 8px 15px;
    font-size: 0.9rem;
  }
  
  /* Центрирование статуса */
  .hero .container .content .short-info .right-side {
    align-items: center;
  }
}

/* ================================================= */
/* АДАПТАЦИЯ ДЛЯ ГОРИЗОНТАЛЬНОЙ ОРИЕНТАЦИИ ТЕЛЕФОНА */
/* ================================================= */

@media only screen and (max-width: 768px) and (orientation: landscape) {
  /* Общие стили для горизонтальной ориентации */
  body {
    font-size: 13px;
  }
  
  /* Шапка */
  header .container .content {
    flex-direction: row;
    padding: 5px 0;
  }
  
  /* Герой-секция */
  .hero {
    padding: 70px 0 20px !important;
    min-height: 85vh;
  }
  
  .hero .container .content .text h1 {
    font-size: 3rem !important;
  }
  
  .hero .container .content .short-info {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
  }
  
  .hero .container .content .short-info > div {
    width: auto;
    min-width: 180px;
  }
  
  .hero .container .content .arrow {
    bottom: 30px;
  }
  
  .hero .container .content .short-info .left-side h1,
  .hero .container .content .short-info .right-side h1 {
    font-size: 0.9rem !important;
  }
  
  /* Фикс для пульсирующего элемента в горизонтальной ориентации */
  .hero .container .content .short-info .right-side h1 {
    padding-left: 18px;
    position: relative;
  }
  
  .hero .container .content .short-info .right-side h1 .pulse {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
  }
  
  /* Секция "Обо мне" */
  .about .container .content {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .about .container .content .title {
    width: 100% !important;
  }
  
  .about .container .content .profile-container {
    flex: 1;
    min-width: 45%;
  }
  
  .about .container .content .about-me {
    flex: 1;
    min-width: 45%;
    text-align: left;
    padding: 0 10px;
  }
  
  .about .container .content .profile-container .profile {
    height: 250px;
    background: #e0c9a6 !important;
    border: 2px solid #e0c9a6;
    padding: 8px;
  }
  
  .about .container .content .profile-container .profile img {
    border-radius: 22px;
  }
  
  .about .container .content .text-wrapper .text h1 {
    font-size: 4.5rem !important;
    margin-top: -15px;
  }
  
  /* Проекты */
  .project .container .content .project-area {
    flex-direction: row;
    flex-wrap: wrap;
  }
  
  .project .container .content .project-area .projects {
    width: calc(50% - 10px);
    height: 200px;
    margin-bottom: 15px;
  }
  
  /* Контакты */
  .contact .container .content .contact-area {
    flex-direction: row;
    gap: 30px;
  }
  
  .contact .container .content .contact-area .left-side,
  .contact .container .content .contact-area .right-side {
    flex: 1;
    min-width: 45%;
  }
  
  .contact .container .content .contact-area .left-side h1 {
    font-size: 1.8rem !important;
    line-height: 1.4;
  }
  
  /* Форма контактов */
  .contact-form {
    max-width: 100%;
  }
}

@media only screen and (max-width: 768px) and (orientation: landscape) and (max-height: 400px) {
  /* Дополнительные стили для очень коротких экранов */
  .hero {
    padding: 50px 0 15px !important;
    min-height: 80vh;
  }
  
  .hero .container .content .text h1 {
    font-size: 2.2rem !important;
  }
  
  .hero .container .content .short-info .left-side h1,
  .hero .container .content .short-info .right-side h1 {
    font-size: 0.8rem !important;
  }
  
  .about .container .content .profile-container .profile {
    height: 200px;
  }
  
  .project .container .content .project-area .projects {
    height: 150px;
  }
  
  .about .container .content .text-wrapper .text h1 {
    font-size: 3.5rem !important;
    margin-top: -10px;
  }
}
