html {
  scroll-behavior: smooth;
}

body {
  font-family: Nunito, Arial, serif;
  font-size: 1rem;
  line-height: 1.5rem;
  margin: 0 auto;
  padding: 0;
  width: 100%;
  color: #163152;
  background-color: #212529;
}

body.menu-open {
  overflow: hidden;
}

/* header */

.header {
  width: 100%;
  margin: 0;
  padding: 20px 0;
  background-color: rgba(111, 66, 193, 0.9);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: center;
  position: sticky;
  top: 0;
  z-index: 10;
}

.header__container {
  width: 90%;
  max-width: 1920px;
}

.menu-list {
  display: flex;
  justify-content: center;
  gap: 45px;
  flex-wrap: wrap;
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.menu-link {
  text-decoration: none;
  color: #dddddd;
  transition: all 0.3s ease-in-out;
  position: relative;
  padding-bottom: 5px;
}

.menu-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #6f42c1, #ff6ec7);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.menu-link:hover {
  color: #ffffff;
}

.menu-link:hover::after {
  width: 100%;
}

/* main */

.main {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 100px;
}

.about-me {
  width: 100%;
  padding: 75px 0 0 0;
  background-image: linear-gradient(
      180deg,
      rgba(33, 37, 41, 0.01),
      rgba(33, 37, 41, 1) 85%
    ),
    radial-gradient(
      ellipse at top left,
      rgba(76, 11, 206, 0.5),
      transparent 50%
    ),
    radial-gradient(
      ellipse at top right,
      rgba(214, 51, 132, 0.5),
      transparent 50%
    ),
    radial-gradient(
      ellipse at center right,
      rgba(76, 11, 206, 0.5),
      transparent 50%
    ),
    radial-gradient(
      ellipse at center left,
      rgba(214, 51, 132, 0.5),
      transparent 50%
    );
  display: flex;
  justify-content: center;
}

.about-me__container {
  width: 90%;
  max-width: 1920px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.photo {
  width: 350px;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 14px 25px rgba(0, 0, 0, 0.8);
  transition: all 0.3s ease-in-out;
  transform-style: preserve-3d;
}

.photo:hover {
  filter: brightness(1.1) contrast(1.1);
  box-shadow: 0 14px 25px rgba(0, 0, 0);
}

.personal-info__container {
  padding: 15px 0;
  max-width: 1280px;
}

.page-title {
  padding: 0;
  margin: 0;
  font-size: 4rem;
  line-height: 6rem;
  text-align: center;
  background: linear-gradient(90deg, #6f42c1, #ff6ec7, #6f42c1);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 3s linear infinite;
}

.about-me__text {
  color: #dddddd;
}

h2 {
  font-size: 28px;
  padding-bottom: 20px;
  padding-top: 20px;
}

.education {
  border-top: 1px solid #ffffff;
  padding-left: 30px;
  padding-bottom: 25px;
}

.work {
  border-bottom: 1px solid #abcef8;
}

.skills-lang-achievements {
  width: 90%;
  max-width: 1920px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 40px 0;
  margin: 0 auto;
}

.skills__container,
.lang__container,
.achievements__container {
  background: #2b3035;
  border-radius: 10px;
  padding: 30px;
  height: 100%;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  transition: border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.skills__container::before,
.lang__container::before,
.achievements__container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 8px;
  padding: 2px;
  background: linear-gradient(45deg, #6f42c1, #ff6ec7);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.skill-list,
.language-list,
.achievements-list {
  width: 100%;
  padding: 0;
  margin: 0;
  list-style: none;
}

.skills-item,
.language-item,
.achievements-item {
  width: 100%;
  background: linear-gradient(145deg, #343a40, #3e444a);
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 15px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.skills-item::before,
.language-item::before,
.achievements-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.05),
    transparent
  );
  transition: 0.5s;
}

.skills-item:hover::before,
.language-item:hover::before,
.achievements-item:hover::before {
  left: 100%;
}

.skills-item:hover,
.language-item:hover,
.achievements-item:hover {
  transform: translateY(-3px);
  background: linear-gradient(145deg, #3e444a, #454c53);
  border-color: rgba(111, 66, 193, 0.3);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.skill-info {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
}

.skill-text {
  flex-grow: 1;
}

.skill-icon,
.flag-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.skill,
.language,
.achievement {
  color: #ffffff;
  margin: 0;
  font-size: 1.1rem;
  font-weight: 500;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  line-height: 1.5;
}

.skill-lvl,
.lang-lvl,
.achievement-date {
  color: #adb5bd;
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.8;
}

.stars {
  color: #ffd700;
  font-size: 1.2rem;
  letter-spacing: 2px;
  margin-left: auto;
  text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
  transition: all 0.3s ease;
}

.skills-item:hover .stars {
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}

.proficiency-bar {
  width: 100%;
  height: 6px;
  background: rgba(73, 80, 87, 0.5);
  border-radius: 3px;
  overflow: hidden;
}

.proficiency-level {
  height: 100%;
  background: linear-gradient(90deg, #6f42c1, #ff6ec7);
  border-radius: 3px;
  transition: width 0.3s ease;
  box-shadow: 0 0 10px rgba(111, 66, 193, 0.3);
}

.language-item:hover .proficiency-level {
  background: linear-gradient(90deg, #8250d5, #ff8ed4);
  box-shadow: 0 0 15px rgba(111, 66, 193, 0.5);
}

.achievements-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.achievement-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.code-example {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 0;
}

.code-list {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  list-style-type: none;
}

.code-item {
  margin-top: 25px;
}

.spoiler-title {
  width: 100%;
  display: flex;
  align-items: flex-start;
  padding: 15px;
  background: linear-gradient(135deg, #6f42c1, #d87eff);
  color: #ffffff;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.spoiler-title.active {
  background: linear-gradient(135deg, #ff6ec7, #ff88e4);
}

.spoiler-title:hover {
  background: linear-gradient(135deg, #8b59e0, #ff88e4);
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.button-text {
  font-size: 1.3rem;
  line-height: 1.8rem;
  margin-right: auto;
}

.button-icon__container {
  width: 30px;
  height: 30px;
  margin-left: 30px;
  transition: all 0.3s ease-in-out;
}

.button-icon {
  width: 30px;
  height: auto;
  filter: invert(1);
}

.spoiler-title.active .button-icon__container {
  transform: rotate(180deg);
}

.code-snippet {
  max-height: 0;
  opacity: 0;
  padding: 0 15px;
  margin: 0;
  background-color: #2b3035;
  color: #dddddd;
  overflow: hidden;
  border-bottom: 2px solid #ff6ec7;
  white-space: pre-wrap;
  word-wrap: break-word;
  transition: all 0.3s ease-in-out;
}

.code-snippet.active {
  max-height: 600px;
  opacity: 1;
  padding: 15px;
}

.code {
  font-family: Consolas, 'Courier New', monospace;
}

.keyword {
  color: #569cd6;
  font-weight: bold;
}

.variable {
  color: #9cdcfe;
}

.parameter {
  color: #dcdcaa;
}

.function,
.method {
  color: #c586c0;
}

.number {
  color: #b5cea8;
}

.string {
  color: #ce9178;
}

.operator,
.dot,
.comma,
.semicolon {
  color: #d4d4d4;
}

.parenthesis,
.brace {
  color: #d4d4d4;
}

.projects {
  width: 100%;
  overflow: hidden;
  margin: 0 auto;
  padding: 20px 0;
}

.projects-slider {
  display: flex;
  align-items: center;
}

.projects-list {
  display: flex;
  padding: 0;
  margin: 0;
  scroll-behavior: smooth;
  list-style: none;
  overflow: hidden;
}

.projects-item {
  min-width: 50%;
  width: 50%;
  flex-shrink: 0;
  position: relative;
}

.project-img__container {
  position: relative;
  overflow: hidden;
}

.project-img {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(1);
  transition: all 0.3s ease-in-out;
}

.project-details {
  position: absolute;
  width: 36%;
  height: 64%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease-in-out;
  z-index: 1;
}

.project-details::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(43, 48, 53, 0.7);
  transform: rotate(45deg);
  transform-origin: center;
  z-index: -1;
  transition: all 0.3s ease-in-out;
}

.projects-item:hover .project-details::after {
  background: rgba(111, 66, 193, 0.7);
  transform: rotate(0deg) scale(1.1);
}

.projects-item:hover .project-img {
  filter: grayscale(0);
}

.project-title {
  font-size: 2.5rem;
  line-height: 3.5rem;
  margin: 0;
  text-align: center;
}

.project-info {
  font-size: 1rem;
  line-height: 1.5rem;
  margin: 0;
  text-align: center;
  opacity: 0;
  display: none;
  transition: all 0.3s ease;
}

.projects-item:hover .project-info {
  opacity: 1;
  display: block;
}

.slider-controls {
  display: flex;
  justify-content: center;
  margin-top: 15px;
  gap: 50px;
}

.scroll-left,
.scroll-right {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 2rem;
  cursor: pointer;
  margin-top: 20px;
  padding: 20px;
  border-radius: 8px;
  transition: all 0.3s ease-in-out;
  position: relative;
  overflow: hidden;
}

.scroll-left::before,
.scroll-right::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 8px;
  padding: 2px;
  background: linear-gradient(45deg, #6f42c1, #ff6ec7);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.scroll-left:hover::before,
.scroll-right:hover::before {
  background: linear-gradient(45deg, #ff6ec7, #6f42c1);
}

.scroll-left.disabled,
.scroll-right.disabled {
  pointer-events: none;
  opacity: 0.2;
}

.contacts {
  width: 90%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  align-self: center;
}

.projects-title,
.contacts-title,
.code-title,
.experience-title {
  font-size: 3rem;
  line-height: 4.5rem;
  color: #ffffff;
  text-align: center;
  margin-bottom: 30px;
}

.contacts-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-card {
  min-width: 200px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 10px;
  padding: 40px 30px;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  position: relative;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 8px;
  padding: 2px;
  background: linear-gradient(45deg, #6f42c1, #ff6ec7);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.contacts-item:hover .contact-card {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.contacts-item:hover .contact-card::before {
  background: linear-gradient(45deg, #ff6ec7, #6f42c1);
}

.contact-logo {
  width: 96px;
  height: auto;
  margin-bottom: 20px;
  transition: all 0.3s ease-in-out;
}

.contacts-item:hover .contact-logo {
  transform: scale(1.2) rotate(360deg);
}

.contact-alias {
  font-size: 1.2rem;
  color: #1f51ff;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

.contacts-item:hover .contact-alias {
  color: #ff6ec7;
}

.contact-source {
  font-size: 1rem;
  margin: 20px 0 0;
  color: #dddddd;
}

.language-info {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
  margin-bottom: 12px;
}

.language-text {
  flex-grow: 1;
}

.experience {
  width: 90%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 20px 0;
  position: relative;
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}

.experience-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  position: relative;
}

.experience-column {
  background: linear-gradient(145deg, #2b3035, #343a40);
  border: 2px solid transparent;
  border-radius: 10px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.experience-column::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 8px;
  padding: 2px;
  background: linear-gradient(45deg, #6f42c1, #ff6ec7);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.column-title {
  color: #ffffff;
  font-size: 1.8rem;
  margin-bottom: 30px;
  text-align: center;
}

.experience-cards {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.experience-card {
  background: #2b3035;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 25px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.experience-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.experience-card:hover .logo-container {
  background: rgba(255, 255, 255, 0.1);
}

.experience-card:hover .company-logo {
  filter: brightness(1) grayscale(0);
}

.logo-container {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.company-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0.9) grayscale(0.5);
  transition: all 0.3s ease;
}

.position-info {
  flex-grow: 1;
}

.position-info h4 {
  color: #ffffff;
  margin: 0 0 10px 0;
  font-size: 1.2rem;
  position: relative;
  display: inline-block;
}

.position-info h4::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #6f42c1, #ff6ec7);
  transition: width 0.3s ease;
}

.experience-card:hover .position-info h4::after {
  width: 100%;
}

.company {
  color: #adb5bd;
  margin: 0 0 5px 0;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.experience-card:hover .company {
  color: #ff6ec7;
}

.location {
  color: #adb5bd;
  font-size: 0.9rem;
  margin: 0;
}

.date {
  color: #ff6ec7;
  font-size: 0.9rem;
  padding: 5px 10px;
  background: rgba(111, 66, 193, 0.1);
  border-radius: 15px;
  transition: all 0.3s ease;
}

.experience-card:hover .date {
  background: rgba(111, 66, 193, 0.2);
  box-shadow: 0 0 10px rgba(255, 110, 199, 0.3);
}

.responsibilities {
  max-height: 0;
  opacity: 0;
  transition: all 0.3s ease;
  overflow: hidden;
  margin: 0;
  padding: 0;
  list-style: none;
}

.responsibilities.active {
  max-height: 300px;
  opacity: 1;
  margin-top: 15px;
}

.responsibilities li {
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s ease;
  color: #dddddd;
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.responsibilities li::before {
  content: '•';
  color: #6f42c1;
  position: absolute;
  left: 0;
}

.responsibilities.active li {
  transform: translateY(0);
  opacity: 1;
}

.responsibilities.active li:nth-child(1) {
  transition-delay: 0.1s;
}
.responsibilities.active li:nth-child(2) {
  transition-delay: 0.2s;
}
.responsibilities.active li:nth-child(3) {
  transition-delay: 0.3s;
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.hidden {
  display: none;
}

.details-wrapper {
  position: relative;
  margin-top: 20px;
  overflow: hidden;
}

.details-toggle {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #ffffff;
  padding: 12px 20px;
  margin: 15px 0;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-width: 140px;
}

.details-toggle::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 10px;
  padding: 2px;
  background: linear-gradient(45deg, #6f42c1, #ff6ec7);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.details-toggle:hover::before,
.details-toggle.active:hover::before {
  background: linear-gradient(45deg, #ff6ec7, #6f42c1);
}

.toggle-icon {
  font-size: 20px;
  font-weight: bold;
  transition: transform 0.3s ease;
  display: inline-block;
  line-height: 1;
  z-index: 2;
  position: relative;
}

.toggle-text {
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  z-index: 2;
  position: relative;
}

.details-toggle.active .toggle-icon {
  transform: rotate(45deg);
}

.details-toggle.active .toggle-text {
  font-weight: 600;
}

.card-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  margin-bottom: 20px;
}

/* footer */

.footer {
  width: 100%;
  display: flex;
  justify-content: center;
  background-color: #2b3035;
  padding: 40px 0;
  margin: 0;
}

.footer__container {
  width: 90%;
  max-width: 1920px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.copyright {
  margin: 0;
  padding: 0;
  color: #dddddd;
}

.footer-link {
  text-decoration: none;
  color: #1f51ff;
  transition: all 0.3s ease-in-out;
}

.footer-link:hover {
  color: #ff6ec7;
}

/* Burger Menu */
.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1000;
  outline: none;
}

.burger-line {
  width: 100%;
  height: 3px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

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

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

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

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(33, 37, 41, 0.95);
  backdrop-filter: blur(10px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu-item {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.mobile-menu-overlay.active .mobile-menu-item {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu-item:nth-child(1) {
  transition-delay: 0.1s;
}
.mobile-menu-item:nth-child(2) {
  transition-delay: 0.2s;
}
.mobile-menu-item:nth-child(3) {
  transition-delay: 0.3s;
}
.mobile-menu-item:nth-child(4) {
  transition-delay: 0.4s;
}
.mobile-menu-item:nth-child(5) {
  transition-delay: 0.5s;
}
.mobile-menu-item:nth-child(6) {
  transition-delay: 0.6s;
}
.mobile-menu-item:nth-child(7) {
  transition-delay: 0.7s;
}
.mobile-menu-item:nth-child(8) {
  transition-delay: 0.8s;
}

.mobile-menu-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 10px 20px;
}

.mobile-menu-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #6f42c1, #ff6ec7);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.mobile-menu-link:hover::after {
  width: 100%;
}

.mobile-menu-link:hover {
  color: #ff6ec7;
  transform: scale(1.1);
}

@media (max-width: 1280px) {
  .header__container {
    width: 85%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .main-menu {
    display: none;
  }

  .burger-menu {
    display: flex;
  }

  .experience-container {
    grid-template-columns: 1fr;
  }

  .skills-lang-achievements {
    padding-top: 20px;
    grid-template-columns: 1fr;
    gap: 100px;
  }

  .projects-item {
    min-width: 100%;
    width: 100%;
  }

  .contacts-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .about-me {
    padding: 40px 0 0;
  }

  .about-me__container {
    gap: 25px;
  }

  .page-title {
    font-size: 2rem;
    line-height: 2.5rem;
    margin-bottom: 15px;
  }

  .photo {
    width: 200px;
    height: 200px;
  }

  .about-me__text {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .experience {
    padding: 15px 0;
  }

  .experience-container {
    gap: 30px;
  }

  .experience-title {
    font-size: 2rem;
    margin-bottom: 20px;
  }

  .card-header {
    grid-template-columns: 1fr;
  }

  .column-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }

  .experience-cards {
    gap: 0;
  }

  .experience-card {
    padding: 15px;
    text-align: center;
  }

  .card-header {
    justify-items: center;
    text-align: center;
  }

  .logo-container {
    justify-self: center;
  }

  .position-info {
    text-align: center;
  }

  .position-info h4 {
    font-size: 1.1rem;
    text-align: center;
  }

  .company,
  .location {
    font-size: 0.9rem;
    text-align: center;
  }

  .date {
    max-width: 100px;
    font-size: 0.85rem;
    text-align: center;
    justify-self: center;
  }

  .details-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .responsibilities li::before {
    content: '';
  }

  .details-toggle {
    margin: 0 auto;
  }

  .skills-lang-achievements {
    gap: 70px;
  }

  .skills__container,
  .lang__container,
  .achievements__container {
    padding: 20px;
  }

  .skill,
  .language,
  .achievement {
    font-size: 1rem;
  }

  .skill-lvl,
  .lang-lvl,
  .achievement-date {
    font-size: 0.85rem;
  }

  .stars {
    justify-self: center;
  }

  .proficiency-bar {
    margin: 0 auto;
  }

  .projects-title,
  .code-title,
  .contacts-title {
    font-size: 2rem;
    line-height: 2.5rem;
  }

  .project-title {
    font-size: 1.5rem;
    line-height: 2rem;
  }

  .projects-item:hover .project-info {
    opacity: 0;
    display: none;
  }

  .scroll-left,
  .scroll-right {
    padding: 10px;
  }

  .contacts-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
