body {
  font-family: 'Roboto Slab', serif;
  margin: 0;
  padding: 0;
  background-color: #121212;
  color: #eee;
}

.container {
  max-width: 900px;
  margin: 50px auto;
  padding: 30px;
  background-color: #1e1e1e;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(255, 255, 255, 0.1);
}

header {
  margin-bottom: 40px;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.text-content {
  text-align: left;
  flex: 1;
  padding-right: 30px;
}

.profile-pic {
  width: 180px;
  height: 180px;
  border-radius: 15px;
  object-fit: cover;
  border: 3px solid #3498db;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

h1 {
  font-size: 3em;
  margin-bottom: 0.3em;
  color: #3498db;
  font-weight: 700;
}

.contact-info a {
  color: #eee;
  text-decoration: none;
  font-size: 1.2em;
  font-style: italic;
  transition: color 0.2s ease;
}

.linkedin-link:hover {
    color: #3498db;
}

.email-link:hover {
    color: #3498db;
    text-decoration: underline;
}


.separator {
  color: #3498db;
  font-size: 1.2em;
}

.university-info {
    color: #ccc;
    font-size: 1.1em;
    margin-top: 0.5em;
}

.university-link {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

.university-link:hover {
  color: #3498db;
  text-decoration: underline;
}

#about {
  text-align: center;
  margin-bottom: 40px;
  padding: 20px;
  border-top: 2px solid #333;
  border-bottom: 2px solid #333;
}

h2 {
  font-size: 1.8em;
  color: #3498db;
  margin-bottom: 0.5em;
  font-weight: 400;
}

#about p {
  font-size: 1.1em;
  line-height: 1.6;
  color: #ccc;
}

#computerScan {
  text-align: center;
  padding: 30px;
  margin-top: 50px;
}

.disclaimer {
  font-size: 0.9em;
  color: #888;
  margin-bottom: 15px;
}

#scanButton {
  padding: 12px 25px;
  background-color: #3498db;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  margin-bottom: 20px;
}

#scanButton:hover {
  background-color: #2980b9;
}

#scanAnimation {
  position: relative;
  width: 100%;
  height: 200px;
  background-color: #2c3e50;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
}

.scan-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 100%;
  background-color: #3498db;
}

.scan-blip {
  position: absolute;
  width: 8px;
  height: 8px;
  background-color: #f1c40f;
  border-radius: 50%;
  opacity: 0;
}

.blip-appear {
  animation: blipFlash 0.8s ease-in-out forwards;
}

@keyframes blipFlash {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(0.8);
  }
}

.scan-target {
  position: absolute;
  width: 15px;
  height: 15px;
  border: 2px solid #e74c3c;
  border-radius: 50%;
  opacity: 0;
}

.target-pulse {
  animation: targetPulse 4s linear;
}

@keyframes scanLineMove {
  0% {
    left: 0;
  }
  100% {
    left: 100%;
  }
}

@keyframes targetPulse {
  0%, 80% {
    opacity: 0;
    transform: scale(0.5);
  }
  85%, 95% {
    opacity: 1;
    transform: scale(1.2);
  }
  100% {
    opacity: 0;
    transform: scale(0.5);
  }
}

.target1 { top: 20%; left: 40%; }
.target2 { top: 70%; left: 65%; }
.target3 { top: 50%; left: 15%; }

#scanResults {
  font-family: 'Source Code Pro', monospace;
  text-align: left;
  padding-left: 20%;
}

#scanResults p {
  margin: 5px 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

#scanResults p.visible {
  opacity: 1;
  transform: translateY(0);
}

.scan-line-move {
  animation: scanLineMove 8s linear;
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    text-align: center;
  }
  .text-content {
    padding-right: 0;
  }
  .profile-pic {
    margin-top: 20px;
    width: 150px;
    height: 150px;
  }
  h1 {
    font-size: 2em;
  }
  #about {
    padding: 0;
    margin: 20px;
  }
  #scanResults {
    padding-left: 10%;
  }
}
