/* =====================
   Font Import
   ===================== */
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap');

/* =============
   Base Elements
   ============= */
html {
  box-sizing: border-box;
}

body {
  background-color: white;
  font-family: 'Quicksand', sans-serif;
  font-size: 18px;
  margin: 0;
  padding: 0;
}

a {
  color: #1772d0;
  text-decoration: none;
}

a:focus,
a:hover {
  color: #f09228;
  text-decoration: none;
}

hr {
  border: none;
  border-top: 1px solid #e0e0e0;
  margin: 12px 0;
}

strong {
  font-family: 'Quicksand', sans-serif;
  font-size: 18px;
}

h2 {
  margin: 0;
  font-weight: 700;
  font-family: 'Quicksand', sans-serif;
  font-size: 26px;
}

.papertitle {
  font-family: 'Quicksand', sans-serif;
  font-size: 18px;
  font-weight: 700;
}

.name {
  padding-top: 20px;
  margin: 0;
  font-family: 'Quicksand', sans-serif;
  font-size: 32px;
}

/* =====================
   Layout & Components
   ===================== */
.layout-container {
  display: flex;
  min-height: 100vh;
}

.profile-sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: 280px;
  height: 100vh;
  background-image: url('../images/profile2.JPG');
  background-size: auto 185%;
  background-position: 55% center;
  background-repeat: no-repeat;
  padding: 50px 50px;
  overflow-y: auto;
  border-right: 1px solid #e0e0e0;
  z-index: 10;
}

.profile-sidebar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, 
    rgba(255, 255, 255, 0.9) 0%,
    rgba(255, 255, 255, 0.7) 15%,
    rgba(255, 255, 255, 0.25) 30%,
    rgba(255, 255, 255, 0.25) 100%);
  z-index: -1;
}

.profile-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.profile-image {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 10;
}

.profile-image:hover {
  transform: scale(1.05);
}

.profile-name {
  font-family: 'Quicksand', sans-serif;
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 10px 0;
  color: #333;
}

.profile-title {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 0 0 20px 0;
}

.profile-info {
  width: 100%;
  margin: 20px 0;
  font-size: 14px;
  color: #555;
}

.profile-info p {
  margin: 8px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.icon {
  font-size: 16px;
  filter: grayscale(100%);
}

.profile-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin-top: 20px;
}

.profile-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  color: #1772d0;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s ease;
  border-radius: 4px;
}

.profile-link:hover {
  background-color: #e8f0fe;
  color: #f09228;
}

.link-icon {
  width: 22px;
  height: 22px;
}

.main-content {
  margin-left: 360px;
  padding: 60px 80px;
  max-width: 900px;
  width: 100%;
}

@media (max-width: 1200px) {
  .profile-sidebar {
    position: relative;
    width: 100%;
    height: auto;
    padding: 40px 20px;
  }
  
  .main-content {
    margin-left: 0;
    padding: 40px 20px;
  }
  
  .layout-container {
    flex-direction: column;
  }
}

.one {
  width: 160px;
  height: 160px;
  position: relative;
}

.two {
  width: 160px;
  height: 160px;
  position: absolute;
  transition: opacity .2s ease-in-out;
  -moz-transition: opacity .2s ease-in-out;
  -webkit-transition: opacity .2s ease-in-out;
}

.fade {
  transition: opacity .2s ease-in-out;
  -moz-transition: opacity .2s ease-in-out;
  -webkit-transition: opacity .2s ease-in-out;
}

span.highlight {
  background-color: #ffffd0;
}

.publication-image {
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.publication-image:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.colored-box {
  color: black;
  padding: 20px;
  display: inline-block;
  border-radius: 10px;
}

/* =====================
   Blinking Star Effect
   ===================== */
.blinking-star {
  position: absolute;
  width: 10px;
  height: 10px;
  background: linear-gradient(to bottom, #c18be2, #9669b2);
  border-radius: 50%;
  box-shadow: 0 0 8px 2px #9669b2;
  opacity: 0.8;
  animation: blink 5s infinite alternate, rotate 10s linear infinite;
  z-index: 1;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

@keyframes blink {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }

  50% {
    opacity: 0.8;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(0.5);
  }
}