* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: linear-gradient(135deg, black, black);
  color: white;
  min-height: 100vh;
}

.container {
  background: linear-gradient(90deg, rgb(199, 45, 45), rgb(243, 64, 64));
  color: white;
  padding: 18px 30px;
  font-size: 15px;
  font-weight: bold;
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 1000;
}

.menu a {
  color: white;
  text-decoration: none;
  margin-left: 20px;
  font-size: 16px;
}

.menu a:hover {
  text-decoration: underline;
}

.john {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  min-height: 100vh;
  padding: 120px 40px 40px;
}
.pork {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  min-height: 100vh;
  padding: 120px 40px 40px;
}

.profile-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.profile-block2{
  display: flex;
  flex-direction: column;
  align-items: justify content;
  background: rgba(255, 255, 255, 0.06);
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.picture img {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid white;
  box-shadow: 0 8px 20px rgba(255, 77, 77, 0.25);
}
.picture2 img {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid white;
  box-shadow: 0 8px 20px rgba(255, 77, 77, 0.25);
}


.intro {
  max-width: 420px;
  text-align: left;
}

.greeting {
  color: red;
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.intro h2 {
  font-size: 32px;
  margin: 0 0 12px;
}

.intro-text p {
  font-size: 18px;
  line-height: 1.7;
  color: whitesmoke;
}

.btn {
  margin-top: 15px;
  padding: 12px 24px;
  background: linear-gradient(90deg, rgb(38, 38, 231), rgb(35, 32, 233));
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.3);
}

.about-box {
  max-width: 700px;
  margin: 140px auto 40px;
  padding: 24px 30px;
  border: 3px solid red;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 15px rgba(255, 77, 77, 0.2);
}

.about-box h3 {
  margin-top: 0;
  margin-bottom: 10px;
  text-align: center;
}

.about-box p {
  line-height: 1.6;
  margin: 0;
}

.image-frame {
  margin: 16px auto;
  padding: 8px;
  border-radius: 10px;
  display: block;
  width: fit-content;
  background: rgba(255, 255, 255, 0.05);
}

.image-frame img {
  display: block;
  width: 240px;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
}

.contact-info {
  border: 2px solid red;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 16px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.contact-info h2 {
  margin-top: 0;
  margin-bottom: 10px;
  color: rgb(255, 64, 64);
}

.contact-info p {
  margin: 6px 0;
  line-height: 1.6;
}

.more-links {
  margin: 12px auto 0;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  text-align: center;
  width: fit-content;
  max-width: 100%;
}

.more-links p {
  margin: 0 0 6px;
  font-size: 15px;
}

.more-links a {
  display: inline-block;
  margin: 0 6px;
  color: rgb(255, 64, 64);
  text-decoration: none;
  font-weight: bold;
}

.more-links a:hover {
  text-decoration: underline;
}

.hobby-section {
  text-align: center;
}

.hobby-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.hobby-link {
  display: inline-block;
}

.hobby-link img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid white;
}
#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.projects-page {
  padding: 140px 20px 80px;
  max-width: 1100px;
  margin: 0 auto;
}

.projects-header {
  text-align: center;
  margin-bottom: 40px;
}

.project-detail {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
  align-items: start;
}

.project-images {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.project-image {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.project-image p {
  margin: 12px;
  color: whitesmoke;
  text-align: center;
  font-size: 14px;
}

.project-info {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
  text-align: center;
}

.project-info h3 {
  margin-top: 0;
}

.project-info .btn {
  display: block;
  margin: 24px auto 0;
}

.project-info ul {
  margin: 18px 0;
  padding-left: 20px;
  line-height: 1.75;
}
  .guild-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    background: #e8e8e8;
    border: 2px solid #bfbfbf;
    padding: 10px 15px;

    text-decoration: none;
    color: black;

    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 18px;

    transition: 0.2s;
    justify-content: left 50px;
}

.guild-btn img {
    width: 50px;
    height: 50px;
}

.guild-btn:hover {
    background: white;
    transform: scale(1.05);
}

.guild-btn span {
    line-height: 1.2;
}
.header-left{
    display: flex;
    align-items: center;
    gap: 25px; /* space between logo and button */
}

@media (max-width: 860px) {
  .project-detail {
    grid-template-columns: 1fr;
  }
}
.profile-block2 a {
  margin-top: 15px;
  padding: 12px 24px;
  background: linear-gradient(90deg, rgb(38, 38, 231), rgb(35, 32, 233));
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
  justify-content: center;
}