body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #0f0f0f;
  color: #e5e5e5;
  cursor: url('Images/cursor.png'), auto;
}
head {
  background-size: cover;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 10;
}
.hero {
  text-align: center;
  padding: 100px 20px 60px;
}

.hero h1 {
  font-size: 4em;
  margin-bottom: 12px;
}

.hero h3 {
  font-size: 8mm;
}

.hero p {
  font-size: 1.2em;
  color: #aaa;
}
.video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.video-background video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}
.audio-player {
  padding: 5px;
  border-radius: 5px;
  margin: 1px;
  text-align: center;
  transition: all 0.3s ease;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

.container p {
  font-size: 4.5mm;
}

section {
  margin-bottom: 60px;
}

h1 {
  font-size: 8mm;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

h2 {
  font-size: 2.2em;
  border-bottom: 1px solid #333;
  padding-bottom: 10px;
  margin-bottom: 20px;
}


h3 {
  font-size: 2.2em;

}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.project img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 10px;
  background: #222;
  
}

.project img:hover {
  opacity: 1;
  animation: fadeIn 1s ease-in-out forwards;
  transform: rotateX(5deg) rotateY(-5deg) scale(1.02);
  box-shadow: 0 12px 24px rgba(255, 255, 255, 0.1);
}

.showcases-grid:hover {
 width: auto;
 height: auto;
}

.socials {
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 150px;
}

.socials p {
  font-size: 5mm;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #222;
  border: 1px solid #444;
  border-radius: 6px;
  text-decoration: none;
  color: #eee;
  transition: 0.3s;
}

.btn:hover {
  background: #333;
  display: ruby-base;
  filter: drop-shadow(0 0 4px
  #fffdef);
  outline-color: transparent;
  outline-style:solid;
  box-shadow: 0 0 0 4px #0f79aa;
}

footer {
  text-align: center;
  padding: 20px;
  font-size: 0.9em;
  color: #444;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 1s ease-out forwards;
}

.fade-in.delay {
  animation-delay: 0.4s;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: none;
  }
}

#toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #1f1f1f;
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
  font-size: 0.95em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 9999;
}

#toast.show {
  opacity: 1;
}

#toast.hidden {
  opacity: 0;
}


body {
  --sb-track-color: #232e33;
  --sb-thumb-color: #000000;
  --sb-size: 9px;
}

body::-webkit-scrollbar {
  width: var(--sb-size)
}

body::-webkit-scrollbar-track {
  background: var(--sb-track-color);
  border-radius: 6px;
}

body::-webkit-scrollbar-thumb {
  background: var(--sb-thumb-color);
  border-radius: 6px;
  
}

@supports not selector(::-webkit-scrollbar) {
  body {
    scrollbar-color: var(--sb-thumb-color)
                     var(--sb-track-color);
  }
}