* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: #f5f5f5;
  background-color: #121212;
  text-align: center;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.hero {
  position: relative;
  background: url('/mine/background-image.jpg') no-repeat center center/cover;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero .welcome-image img {
  max-width: 30%;
  max-height: 30%;
  margin: 0 auto;
  display: block;
  position: relative;
  z-index: 1;
}

.hero .fade-effect {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, #121212 100%);
}

.scroll-arrow {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  color: #f5f5f5;
  text-decoration: none;
  transition: transform 0.3s ease, color 0.3s ease;
}

.scroll-arrow:hover {
  transform: translateX(-50%) scale(1.2);
  color: #a78bfa;
}

.toolbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 55px;
  background: rgba(0, 0, 0, 0.5);
  color: #f5f5f5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  /*box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);*/
  z-index: 1000;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.toolbar.hidden {
  transform: translateY(-100%);
  opacity: 0;
}

.toolbar-title-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.toolbar-title-icon {
  width: 35px;
  height: 35px;
}

.toolbar-title {
  font-size: 1rem;
  font-weight: 700;
}

.toolbar-menu {
  position: relative;
}

.toolbar-menu-icon {
  width: 15px;
  height: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  margin: auto 0;
}

.toolbar-menu-icon:hover {
  filter: brightness(0.5) sepia(1) hue-rotate(250deg) saturate(5);
  transition: filter 0.3s ease;
}

.toolbar-links {
  display: none;
}

.toolbar-links a {
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: bold;
  color: #f5f5f5;
  padding: 6px 5px;
  border-radius: 5px;
  transition: background-color 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

.toolbar-links a:hover {
  background-color: rgba(167, 139, 250, 0.2);
  transform: scale(1.1);
  color: #a78bfa;
}

.dropdown-menu {
  position: fixed;
  top: 55px;
  left: 0;
  width: 100vw;
  border-radius: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  transform: translateY(-20px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 0;
}

.dropdown-menu.open {
  pointer-events: auto;
  transform: translateY(0);
  opacity: 1;
}

.dropdown-menu li {
  padding: 10px 20px;
  text-align: left;
  color: #ffffff;
  border-bottom: 1px solid rgba(200, 200, 200, 0.2);
}

.dropdown-menu li a {
  color: #f5f5f5;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
}

.dropdown-menu li:last-child {
  border-bottom: none;
}

.dropdown-menu li:hover {
  background: rgba(167, 139, 250, 0.2);
}

.mybio {
  background: rgba(0, 0, 0, 0.0);
  text-align: center;
  padding: 20px 10px;
  margin: 20px auto;
  width: 90%;
}

.mybio .profile-image img {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  margin: 30px auto 15px auto;
  display: block;
}

.mybio h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #f5f5f5;
}

.mybio .campus {
  font-family: 'Liberation', sans-serif;
  font-size: 0.9rem;
  color: #bbbbbb;
}

.divider {
  width: 84%;
  height: 1px;
  background: #444;
  margin: 20px auto;
}

.divider2 {
  width: 64%;
  height: 1px;
  background: #444;
  margin: 20px auto;
}

.introduction {
  padding: 20px 15px;
  color: #dddddd;
  font-size: 1rem;
  background: #1e1e1e;
  border-radius: 8px;
  margin: 20px auto;
  width: 90%;
}

.soft-purple-link {
  color: #a78bfa;
  text-decoration: none;
  transition: color 0.3s ease;
}

.soft-purple-link:hover {
  color: #c4b5fd;
}

.social-media {
  margin: 20px 0;
}

.social-media a img {
  display: inline-block;
  margin: 0 10px;
}

.projects {
  padding: 40px 20px;
  background: #1e1e1e;
  color: #f5f5f5;
  border-radius: 8px;
  margin: 20px auto;
  width: 90%;
}

.projects h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #f5f5f5;
}

.project-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 20px;
}

.project-item {
  background: #2b2b2b;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.5);
  text-align: left;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.project-item:hover {
  background: #ffffff;
  color: #000000;
  box-shadow: 0px 2px 5px rgba(255, 255, 255, 0.8);
}

.project-item * {
  transition: color 0.3s ease;
}

.project-item:hover * {
  color: #000000;
}

.project-thumbnail {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 10px;
}

.project-content h3 {
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: #f5f5f5;
}

.project-icon {
  width: 23px;
  height: 23px;
}

.project-content p {
  font-size: 0.9rem;
  color: #bbbbbb;
}

.project-badges {
  display: flex;
  gap: 8px;
  margin-top: 15px;
}

.project-badges .badge {
  width: auto;
  height: 16px;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
}

.project-badges .badge:hover {
  transform: scale(1.1);
}

footer {
  padding: 10px 0;
  font-size: 0.7rem;
  color: #666;
  background: none;
}

html {
  scroll-behavior: smooth;
}

.linearlayout {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-left: 10vw;
  height: 100vh;
  width: 100vw;
  color: white;
}

.textview {
  font-size: 2rem;
  font-weight: bold;
  margin: 0.5rem 0;
  color: white;
  text-align: left;
}

.divid {
  background-color: white;
  height: 1px;
  width: 25vw;
  margin-top: 1.5rem;
}

.typewriter::after {
  content: "|";
  display: inline;
  animation: blink 1s infinite;
}

.impressions-container {
  padding: 40px 20px;
  background: #1e1e1e;
  color: #f5f5f5;
  border-radius: 8px;
  margin: 20px auto;
  width: 90%;
}

.impressions-container h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #f5f5f5;
  text-align: center;
}

.viewpager {
  display: flex;
  flex-wrap: wrap;
  gap: 0px;
  justify-content: center;
  margin-top: 30px;
}

.impression-card {
  background: linear-gradient(135deg, #1e1e1e, #2196f3);
  padding: 0;
  width: 100%;
  max-width: 300px;
  overflow: visible;
  position: relative;
  transition: background-color 0.3s ease;
  z-index: 1;
  margin: 5px auto;
  border-radius: 5px;
}

.impression-card::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: linear-gradient(135deg, rgba(30, 30, 30, 0.5), rgba(33, 150, 243, 0.5));
  filter: blur(20px);
  z-index: -1;
  border-radius: 5px;
}

.card-content {
  padding: 30px;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
  height: 100%;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0);
  border-radius: 5px;
}

.card-content:hover {
  background-color: rgba(0, 0, 0, 0.8);
  border-color: rgba(255, 255, 255, 0.5);
}

.card-content img {
  width: 22%;
  height: auto;
  border-radius: 50%;
  align-self: flex-start;
  object-fit: cover;
}

.card-content h3 {
  font-size: 1.1rem;
  font-weight: bold;
  color: white;
}

.card-content .divider {
  width: 30%;
  height: 3px;
  background-color: white;
  margin: 0;
}

.card-content p {
  font-size: 1rem;
  color: white;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
}

@keyframes blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@media screen and (min-width: 400px) {

  .toolbar {
    height: 65px;
  }

  .toolbar-menu-icon {
    display: none;
  }

  .toolbar-links {
    display: flex;
    gap: 15px; 
  }
  
}
