    :root {
      --background-color: #121212;
      --text-color: #fff;
      --primary-color: #6200ea;
    }

    body {
      margin: 0;
      font-family: 'Arial', sans-serif;
      background-color: var(--background-color);
      color: var(--text-color);
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 20px;
      transition: background-color 0.3s, color 0.3s;
    }

    header {
      width: 100%;
      display: flex;
      justify-content: flex-end;
      gap: 20px;
      margin-bottom: 30px;
    }

    .switch {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    input[type="checkbox"] {
      width: 50px;
      height: 25px;
      appearance: none;
      background: #c6c6c6;
      outline: none;
      border-radius: 25px;
      transition: background 0.3s;
      cursor: pointer;
      position: relative;
    }
    input[type="checkbox"]:checked {
      background: var(--primary-color);
    }
    input[type="checkbox"]::-webkit-slider-thumb {
      appearance: none;
      width: 25px;
      height: 25px;
      border-radius: 50%;
      background: #fff;
      box-shadow: 0 0 2px rgba(0,0,0,0.5);
      transition: 0.3s;
      position: relative;
    }
    input[type="checkbox"]:checked::-webkit-slider-thumb {
      transform: translateX(25px);
    }	

    h1 {
      margin-top: 0;
    }

    section {
      max-width: 800px;
      width: 100%;
    }

    .profile {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
    }

    .avatar {
      width: 100px;
      height: 100px;
      border-radius: 50%;
      background-color: var(--primary-color);
      margin-bottom: 20px;
    }

    .skills {
      display: flex;
      flex-wrap: wrap;
      gap: 15px;
      justify-content: center;
      margin-top: 20px;
    }

    .skill {
      background: rgba(255,255,255,0.1);
      padding: 10px 20px;
      border-radius: 20px;
    }

    body.light {
      --background-color: #fff;
      --text-color: #000;
      --primary-color: #6200ea;
    }
    /* Стили для контактной карточки */
    .contacts-card {
      background-color: rgba(255, 255, 255, 0.1);
      padding: 20px;
      border-radius: 15px;
      max-width: 400px;
      width: 100%;
      margin-top: 30px;
    }

    .contacts-card h2 {
      margin-top: 0;
      margin-bottom: 15px;
      font-size: 1.5em;
    }

    .contacts-card ul {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .contacts-card li {
      margin-bottom: 10px;
      display: flex;
      align-items: center;
    }

    .contacts-card li i {
      margin-right: 10px;
      font-size: 1.2em;
    }

    .contacts-card a {
      color: var(--primary-color);
      text-decoration: none;
    }

    .contacts-card a:hover {
      text-decoration: underline;
    }
	@media (max-width: 500px) {
	  .contacts-card {
		max-width: 90%;
		padding: 15px;
	  }
	  /* Можно также уменьшить размер шрифта, если нужно */
	  .contacts-card h2 {
		font-size: 1.2em;
	  }
	  .contacts-card li {
		font-size: 0.9em;
	  }
	}
    /* футер */
    footer {
      margin-top: 40px;
      padding: 10px 20px;
      background-color: rgba(255, 255, 255, 0.1);
      border-radius: 10px;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    footer a {
      color: var(--primary-color);
      text-decoration: none;
      font-weight: bold;
    }

    footer a:hover {
      text-decoration: underline;
    }