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

body {
  font-family: "Poppins", sans-serif;
  background: #fff;
  color: #000;
  line-height: 1.6;
  background-color: #fdfcff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3E%3Cg fill='%23d9d9d9' fill-opacity='0.35'%3E%3Cpath fill-rule='evenodd' d='M0 0h4v4H0V0zm4 4h4v4H4V4z'/%3E%3C/g%3E%3C/svg%3E");
}

.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

.menu_container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0px;
  border-bottom: 0px solid #000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0px;
  background-color: #000;
  border-bottom: 1px solid #000;
}

.navbar .logo {
  font-weight: bold;
}

.navbar ul {
  display: flex;
  list-style: none;
  gap: 30px;
}
@media (max-width: 768px) {
  .navbar ul {
    gap: 20px;
  }
}

/* .navbar a {
  text-decoration: none;
  color: #fff;
} */

.navbar a {
  text-decoration: none;
  color: #fff;
  font-size: 1rem;
}
@media (max-width: 768px) {
  .navbar a {
    font-size: 0.85rem;
  }
}

/* .linkedin-link {
  background: #000;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
} */

.hero {
  padding: 80px 0px;
}

/* .hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
} */
.hero-text {
  flex: 1;
  max-width: 600px;
}

.hero-text h1,
.hero-text h2,
.hero-text h3 {
  font-weight: normal;
  font-size: 2rem;
  margin-bottom: 10px;
}

.bold {
  font-weight: 700;
}

.outline {
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px #000;
}
.description {
  color: #666;
  margin-top: 30px;
  font-size: 1rem;
  max-width: 600px;
}
/* .hero-text span {
  font-weight: bold;
} */

/* .hero-text p {
  margin: 20px 0;
  line-height: 1.6;
} */

.social-icons {
  display: flex;
  gap: 20px;
  font-size: 1.5rem;
}

.hero-image img {
  max-width: 350px;
  height: auto;
}

.hero {
  /* background: #fff; */
  color: #000;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;

  margin: 0 auto;
}

.hero-text {
  flex: 1 1 400px;
  max-width: 600px;
}

.hero-text h1,
.hero-text h2,
.hero-text h3 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.hero-text span {
  font-weight: bold;
}

.hero-text p {
  margin: 20px 0;
  line-height: 1.6;
}

.social-icons {
  display: flex;
  gap: 20px;
  font-size: 1.5rem;
}

.hero-image {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image img {
  width: auto;
  height: 100%;
  transform: scale(1); /* ⬅️ Уменьшает картинку, как ты просишь */
  transform-origin: center;
}
@media (max-width: 768px) {
  .hero-image {
    width: 300px;
    height: 300px;
  }

  .hero-image img {
    transform: scale(1); /* отдалим фото */
  }
}

@media (max-width: 768px) {
  .hero-inner {
    flex-direction: column-reverse;
    text-align: center;
  }

  .hero-text h1,
  .hero-text h2,
  .hero-text h3 {
    font-size: 1.5rem;
  }

  .hero-text p {
    font-size: 0.95rem;
  }

  .social-icons {
    justify-content: center;
  }
}

.skills {
  padding: 80px 0;
  text-align: center;
}

@media (max-width: 768px) {
  .skills {
    padding: 0 0 80px 0;
  }
}

.skills h2 {
  font-size: 2rem;
  margin-bottom: 80px;
}

.skills h2 span {
  font-weight: bold;
}

/* .skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
 
  margin: 0 auto;
} */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 карточки */
  gap: 20px;
  margin: 0 auto;
  max-width: 1000px;
  padding: 0 20px;
}
@media (max-width: 992px) {
  .skills-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .skill-card {
    padding: 14px;
  }

  .skill-card img {
    width: 32px;
    height: 32px;
    margin-bottom: 6px;
  }

  .skill-card p {
    font-size: 0.9rem;
  }
}

.skill-card {
  border: 1px solid #000;
  padding: 20px;
  border-radius: 6px;
  transition: all 0.3s ease;
  background-color: #fff;
}

.skill-card img {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
}

.skill-card p {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
}

.skill-card.dark {
  background-color: #000;
  color: #fff;
}

.skill-card.dark img {
  filter: invert(1);
}
.experience {
  padding: 80px 20px;
  background: #0f0f0f;
  color: #f0f0f0;
  text-align: center;
}

.experience h2 {
  font-size: 2rem;
  margin-bottom: 40px;
}

.experience h2 span {
  font-weight: bold;
}

.exp-card {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 20px 25px;
  /* max-width: 800px; */
  margin: 20px auto;
  text-align: left;
  transition: 0.3s ease;
}

.exp-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.exp-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.exp-left img {
  width: auto;
  height: 24px;
}

.exp-card h3 {
  font-size: 1.1rem;
  margin: 0;
}

.exp-card p {
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.5;
}

.exp-date {
  font-size: 0.9rem;
  color: #aaa;
}

.about {
  padding: 80px 0px;
  /* background: #fff; */
  color: #000;
}

.about-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  /* max-width: 1100px; */
  margin: 0 auto;
}

.about-image {
  flex: 1 1 300px;
  max-width: 400px;
}

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

.about-text {
  flex: 1 1 400px;
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.about-text h2 span {
  font-weight: bold;
}

.about-text p {
  margin-bottom: 15px;
  line-height: 1.6;
  font-size: 1rem;
  color: #333;
}
@media (max-width: 768px) {
  .about-inner {
    flex-direction: column;
    text-align: center;
  }

  .about-text {
    text-align: left;
  }
}
.projects {
  background: #0f0f0f;
  color: #fff;
  padding: 80px 20px;
  text-align: center;
}

.projects h2 {
  font-size: 2rem;
  margin-bottom: 40px;
}

.projects h2 span {
  font-weight: bold;
}

.project {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  justify-content: center;
  margin-bottom: 60px;
  text-align: left;
}

.project.reverse {
  flex-direction: row-reverse;
}

.project-image {
  flex: 1 1 400px;
  max-width: 500px;
}

.project-image img {
  width: 100%;
  border-radius: 10px;
}

.project-info {
  flex: 1 1 300px;
}

.project-info h3 {
  font-size: 2rem;
  color: #aaa;
  margin-bottom: 10px;
}

.project-info h4 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.project-info p {
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 10px;
}

.project-info a {
  font-size: 1.2rem;
  color: #fff;
  text-decoration: none;
}
@media (max-width: 768px) {
  .project {
    flex-direction: column !important;
    text-align: center;
  }

  .project-info {
    text-align: center;
  }
}
.contact {
  padding: 80px 0px;
  background: #fff;
  color: #000;
}

.contact-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  /* max-width: 1000px; */
  margin: 0 auto;
  gap: 40px;
}

.contact-icon {
  flex: 1 1 300px;
  text-align: center;
}

.contact-icon img {
  max-width: 200px;
  height: auto;
}

.contact-text {
  flex: 1 1 400px;
}

.contact-text h2 {
  font-size: 2rem;
}

.contact-text h2 span {
  font-weight: bold;
}

.contact-text h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.contact-text p {
  font-size: 1rem;
  margin-bottom: 20px;
  color: #333;
}

.contact-socials {
  display: flex;
  gap: 15px;
  font-size: 1.5rem;
}

.contact-socials img {
  width: 30px;
  height: 30px;
  filter: invert(0);
  transition: 0.3s ease;
}

.contact-socials a:hover img {
  transform: scale(1.1);
}
@media (max-width: 768px) {
  .contact-inner {
    flex-direction: column;
    text-align: center;
  }

  .contact-text {
    text-align: center;
  }
}
.footer {
  text-align: center;
  color: #aaa;
  font-size: 0.85rem;
  padding: 30px 0;
}

.btn-custom {
  display: inline-block;
  background-color: #e91e63;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn-custom:hover {
  background-color: #c2185b;
}

.btn-github-custom {
  display: inline-block;
  background-color: #d66e91;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.please-note {
  color: white;
}
