body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", sans-serif;
  background-color: #f2f2f2;
  color: #222;
  text-align: center;
}

.container {
  max-width: 600px;
  margin: 50px auto;
  padding: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
}

.avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 4px solid #ffcc00;
}

h1 {
  font-size: 28px;
  margin-bottom: 5px;
}

p {
  font-size: 16px;
  margin-bottom: 20px;
  color: #666;
}

.accordion-btn {
  width: 100%;
  padding: 14px;
  text-align: left;
  font-size: 16px;
  font-weight: bold;
  background: #eee;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 10px;
}

.accordion-btn.active,
.accordion-btn:hover {
  background: #ddd;
}

.panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.project-btn {
  background: #ffd700;
  border: none;
  border-radius: 6px;
  padding: 12px;
  margin: 10px auto;
  width: 90%;
  text-align: center;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.project-btn:hover {
  background: #e6b800;
}

.section-title {
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  display: block;
  color: #333;
}

.contact-btn {
  display: inline-block;
  padding: 10px 20px;
  margin: 10px 8px 6px 0;
  border-radius: 8px;
  background-color: #333;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

.contact-btn:hover {
  background-color: #555;
}

.contact-btn.telegram {
  background-color: #0088cc;
}

.contact-btn.telegram:hover {
  background-color: #007ab8;
}

/* Popup */
.popup-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 10px;
}

.popup-content {
  background: white;
  width: 100%;
  max-width: 800px;
  border-radius: 12px;
  padding: 10px;
  position: relative;
}

.popup-content iframe {
  width: 100%;
  height: 80vh;
  border: none;
  border-radius: 8px;
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: crimson;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 6px 10px;
  cursor: pointer;
}

.popup-close:hover {
  background: darkred;
}

@media (max-width: 480px) {
  .avatar {
    width: 80px;
    height: 80px;
  }

  h1 {
    font-size: 20px;
  }

  .project-btn {
    font-size: 14px;
  }


.popup-content {
  background: white;
  width: 90%;
  max-width: 800px;
  border-radius: 12px;
  padding: 10px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.popup-content iframe {
  width: 100%;
  height: 80vh;
  border: none;
  border-radius: 8px;
}

/* 📱 Адаптивтілік */
@media (max-width: 768px) {
  .popup-content {
    width: 95%;
    padding: 8px;
  }

  .popup-content iframe {
    height: 70vh;
  }
}

@media (max-width: 480px) {
  .popup-content {
    width: 100%;
    border-radius: 0;
    height: 100vh;
    padding: 0;
  }

  .popup-content iframe {
    height: 100vh;
    border-radius: 0;
  }

  .popup-close {
    top: 12px;
    right: 12px;
    z-index: 10;
  }
}

