body, html {
  font-family: 'Rubik', sans-serif;
  color: white;
  min-height: 100vh;
}

.background {
  position: absolute;
  top: 0; 
  left: 0;
  width:  100%;
  height: 120%;
  filter: blur(0.8px);

  background: 
    linear-gradient( rgba(33,33,33,0.5), rgba(33, 33, 33, 0.9)),
    url(images/background.jpg) center/cover no-repeat;
  z-index: -1;
}

.personal-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 80px;
}

.personal-flex {
  display: flex;
  flex-direction: column;
  align-items: left;
  justify-content: center;
  width: 40%;
}

.border {
  width: fit-content;
  padding: 7px;
  border: 3px solid rgba(255, 255, 255, 0.397);
  border-radius: 45px;
}

.profile-image {
  width: 180px;
  height: 180px;
  background-image: url(images/FarukSevük_Pic.png);
  background-size: cover;
  background-position: center;
  border-radius: 35px;
  filter: blur(8px);
  transition: 0.7s ease;
}

.profile-image:hover {
  filter: blur(0);
}

.personal-text {
  display: flex;
  flex-direction: column;
}

.personal-text h4 {
  color: #ffd700;
  font-family: 'Pirata One', system-ui;
  font-size: 22px;
  letter-spacing: 3px;
  word-spacing: 5px;
}

.personal-text h1 {
  font-family: 'Griffy', system-ui;
  font-size: 120px;
  letter-spacing: 10px;
  margin-top: 5px;
  margin-bottom: 5px;
}

.personal-text p {
  color: rgb(177, 177, 177);
  font-family: 'Metal Mania', system-ui;
  font-size: 30px;
  text-align: left;
}

.social-icons {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.icon {
  width: 70px;
  height: 70px;
  border-radius: 25px;
  display: inline-block;
  background-repeat: no-repeat;
  background-position: center;
  transition: 0.3s;
}

.linkedin { background-color: #ffffff; background-size:50px ;background-image: url('icons/linkedin.png'); }
.github { background-color: #5610a7; background-size: 70px ;background-image: url('icons/github_icon.png'); }
.cv { background-color: #b10202; background-size: 60px; background-image: url('icons/cv_icon.png');}
.mail { background-color: #24d3aa; background-size: 60px;background-image: url('icons/email_icon.png');}

.icon:hover {
  transform: scale(1.3);
  filter: brightness(1.4);
}

.footer {
  position: absolute;
  margin-top: 250px;
  left: 0;
  width: 100%;
  text-align: center;
  background: 
    linear-gradient(rgba(33, 33, 33, 0.9), rgba(33,33,33,0.5)),
    #4c2d19;
}

.footer h1 {
  font-family: 'Metal Mania', system-ui;
  color: #ffd700;
  font-size: 30px;
}

.footer p {
  font-family: 'Pirata One', system-ui;
  font-size: 15px;
  opacity: 0.7;
  color: white;
  margin-top: 70px;
}

/* js designs */
#matrix {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  pointer-events: none;
}

.particle {
  position: absolute;
  background: radial-gradient(circle, #ffd700, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
  opacity: 1;
  animation: sparkle 1.2s ease-out forwards;
  z-index: 9999;
}

@keyframes sparkle {
  0% {
    opacity: 1;
    transform: scale(1);
    filter: brightness(1.8) blur(0.2px);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.2);
  }
  100% {
    opacity: 0.1;
    transform: scale(1.8);
    filter: blur(1px);
  }
}

/* Responsive Design */
@media (max-width: 900px) {
  .personal-flex {
    width: 80%;
  }
  .personal-text h1 {
    font-size: 60px;
  }
  .personal-text p {
    font-size: 22px;
  }
  .profile-image {
    width: 120px;
    height: 120px;
  }
  .icon {
    width: 50px;
    height: 50px;
    border-radius: 18px;
    background-size: 36px !important;
  }
}

@media (max-width: 600px) {
  .personal-container {
    margin-top: 30px;
  }
  .personal-flex {
    flex-direction: column;
    align-items: center;
    width: 98%;
  }
  .border {
    padding: 3px;
    border-radius: 30px;
  }
  .profile-image {
    width: 90px;
    height: 90px;
    border-radius: 18px;
  }
  .personal-text h1 {
    font-size: 32px;
    letter-spacing: 2px;
    margin-top: 2px;
    margin-bottom: 2px;
    text-align: center;
  }
  .personal-text h4 {
    font-size: 15px;
    letter-spacing: 1px;
    text-align: center;
  }
  .personal-text p {
    font-size: 15px;
    text-align: center;
  }
  .social-icons {
    gap: 10px;
    margin-top: 18px;
  }
  .icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background-size: 22px !important;
  }
  .footer h1 {
    font-size: 15px;
  }
  .footer p {
    font-size: 10px;
    margin-top: 30px;
  }
  .footer {
    margin-top: 80px;
    padding-bottom: 10px;
  }
  .background {
    height: 100%;
    min-height: 100vh;
  }
}