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

/* Base styles */
html, body {
  background-color: #000000 !important;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', sans-serif;
  color: #ffffff;
  background-color: #000000;
}

a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  padding: 2px 4px;
  border-radius: 4px;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
}

a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.images {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
  padding: 0 2.5%;
}

.image {
  max-width: 100%;
  width: 100%;
}

.image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(45, 55, 72, 0.1);
  display: block;
  margin: 0 auto;
  transition: transform 0.3s ease;
}

.image img[src$=".gif"] {
  content: url('data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7');
  cursor: pointer;
}

.image img[src$=".gif"]:hover {
  content: attr(src);
}

.image img:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(45, 55, 72, 0.15);
}

.pdfs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
  padding: 0 2.5%;
}

.pdf {
  width: 100%;
  max-width: 800px;
}

.pdf-preview {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #edf2f7 0%, #e2e8f0 100%);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(45, 55, 72, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid #4a5568;
}

.pdf-preview:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(45, 55, 72, 0.15);
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e0 100%);
}

.pdf-icon {
  font-size: 48px;
  color: #4a5568;
  text-shadow: 0 2px 4px rgba(45, 55, 72, 0.1);
}

.pdf-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(45, 55, 72, 0.95);
  z-index: 1000;
  backdrop-filter: blur(5px);
}

.pdf-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: #f8f4e8;
  padding: 0;
  width: 100%;
  height: 100%;
  position: relative;
  border: none;
  border-radius: 0;
}

.modal-content iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 0;
  background: #f8f4e8;
}

.close-button {
  position: fixed;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #4a5568;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 1001;
}

.close-button:hover {
  color: #e53e3e;
  background: rgba(255, 255, 255, 1);
}

.abstract-link {
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  background: rgba(45, 106, 79, 0.8);
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
}

.abstract-link:hover {
  color: #ffffff;
  background: rgba(45, 106, 79, 0.9);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(45, 106, 79, 0.3);
}

.poster-link {
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  background: rgba(107, 70, 193, 0.8);
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
}

.poster-link:hover {
  color: #ffffff;
  background: rgba(107, 70, 193, 0.9);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(107, 70, 193, 0.3);
}

.presentation-link {
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  background: rgba(197, 48, 48, 0.8);
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
}

.presentation-link:hover {
  color: #ffffff;
  background: rgba(197, 48, 48, 0.9);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(197, 48, 48, 0.3);
}

.video-link {
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  background: rgba(37, 99, 235, 0.8);
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
}

.video-link:hover {
  color: #ffffff;
  background: rgba(37, 99, 235, 0.9);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.3);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  line-height: 1.25;
  margin-top: 1em;
  margin-bottom: 0.5em;
  color: #ffffff;
}

h1 {
  color: #ffffff;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

h2 {
  color: #ffffff;
  border-bottom: 2px solid #ffffff;
  padding-bottom: 10px;
  margin-bottom: 20px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

h3 {
  color: #ffffff;
}

#abstract-content- {
  transition: all 0.3s ease;
  overflow: hidden;
}

.wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  background-color: #f8f4e8 !important;
}

.blob-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  background-color: #f8f4e8 !important;
}

.blob {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.3;
  animation: float 15s ease-in-out infinite;
}

.blob-1 {
  background: #e6c7a9;
  top: -100px;
  left: -100px;
  animation-delay: 0s;
}

.blob-2 {
  background: #d4b996;
  top: 50%;
  right: -100px;
  animation-delay: -5s;
}

.blob-3 {
  background: #c2ab83;
  bottom: -100px;
  left: 50%;
  animation-delay: -10s;
}

.blob-4 {
  background: #b09d70;
  top: 30%;
  left: 30%;
  animation-delay: -15s;
}

@keyframes float {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(30px, -20px) rotate(120deg);
  }
  66% {
    transform: translate(-20px, 20px) rotate(240deg);
  }
  100% {
    transform: translate(0, 0) rotate(360deg);
  }
}

.social-links {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
  justify-content: center;
}

.social-icon {
  color: #ffffff;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0;
}

.social-icon:hover {
  transform: translateY(-3px) scale(1.1);
}

.social-icon i {
  transition: all 0.3s ease;
}

.social-icon:hover i {
  transform: scale(1.1);
}

/* Specific colors for each social icon on hover */
.social-icon[href*="github"]:hover {
  color: #333;
}

.social-icon[href*="linkedin"]:hover {
  color: #0077b5;
}

.social-icon[href*="twitter"]:hover {
  color: #1da1f2;
}

.social-icon[href*="mailto"]:hover {
  color: #ea4335;
}
