html {
    box-sizing: border-box;
    scroll-behavior: smooth; /* Плавная прокрутка при якорных ссылках */
  }
  
  *, *::before, *::after {
    box-sizing: inherit;
    margin: 0;
    padding: 0;
    transition: all 0.2s ease-in-out; /* Плавные переходы */
  }

  body {
    font-family: sans-serif;
    line-height: 1.5;
    background-color: #fff;
    color: #000;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }


.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
    min-height: 100vh;
    background: linear-gradient(135deg, #1e1e2f, #2c3e50);
    color: #fff;
    text-align: center;
  }
  
  .hero-content h1 {
    font-size: 3rem;
    margin-bottom: 10px;
  }
  
  .hero-content h2 {
    font-size: 1.8rem;
    color: #00d8ff;
    margin-bottom: 20px;
  }
  
  .hero-content p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.5;
    color: #ccc;
  }
  
  .btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1rem;
    color: #1e1e2f;
    background-color: #00d8ff;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    -webkit-tap-highlight-color: transparent;
  }
  
  .btn:hover {
    background-color: #00a8cc;
    transform: scale(1.05);
  }

  .projects {
    padding: 80px 20px;
    background-color: #f9f9f9;
  }
  
  .projects h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
  }
  
  .project-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
  }
  
  .project-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    width: 300px;
    text-align: center;
    transition: transform 0.3s ease;
  }
  
  .project-card:hover {
    transform: translateY(-10px);
  }
  
  .project-card img {
    width: 100%;
    height: auto;
    display: block;
  }
  
  .project-card h3 {
    font-size: 1.25rem;
    margin: 15px 0 5px;
  }
  
  .project-card p {
    font-size: 0.95rem;
    padding: 0 10px;
  }
  
  .project-card a {
    display: inline-block;
    margin: 15px 0 20px;
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
  }
  
  .project-card a:hover {
    text-decoration: underline;
  }
  
  .contact {
    padding: 60px 20px;
    background-color: #f4f4f4;
    text-align: center;
  }
  
  .contact h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #1e1e2f;
  }
  
  .contact p {
    font-size: 1rem;
    margin-bottom: 30px;
    color: #333;
  }
  
  .contact-info {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 400px;
  }
  
  .contact-info li {
    margin: 10px 0;
    font-size: 1rem;
  }
  
  .contact-info a {
    color: #00a8cc;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .contact-info a:hover {
    color: #007a99;
  }

  .footer {
    text-align: center;
    padding: 20px;
    background-color: #f5f5f5;
    font-size: 0.9rem;
    color: #555;
    /*margin-top: 40px;*/
  }