@tailwind base;
@tailwind components;
@tailwind utilities;

#hero {
  position: fixed;
  top: 72px;
  left: 0;
  width: 100%;
  height: 150vh;
  background-image: url('hero-image.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}


/* Ensure content scrolls over the hero image */
main {
  position: relative;
  z-index: 1;
}

/* Adjust other sections to have a white background and proper spacing */
#services,
#portfolio,
#about,
#contact {
  background-color: white;
  position: relative;
  z-index: 1;
}

/* Custom styles for better readability */
.text-shadow {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Tech Keywords styles */
.tech-keywords-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 32px;
}

.tech-keyword {
  background-color: color(green-100);
  color: rgba(5, 150, 105, var(--tw-bg-opacity));
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.tech-keyword:hover {
  background-color: rgba(5, 150, 105, var(--tw-bg-opacity));
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 102, 204, 0.1);
}

#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #f0f0f0;
  padding: 20px;
  text-align: center;
  z-index: 1000;
  /* Ensure it's on top */
  border-top: 1px solid #ccc;
}

#cookie-banner p {
  margin-bottom: 10px;
}

 

#cookie-policy {
  display: none;
  /* Initially hidden */
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 20px;
  border: 1px solid #ccc;
  z-index: 1001;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 95%;
}

#cookie-policy h2 {
  margin-top: 0;
}

#overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  /* Semi-transparent black */
  z-index: 1000;
}