html::view-transition {
  display: none !important;
}
body {
  box-sizing: border-box;
  font-family: "Cairo", sans-serif;
}
h1,
h2,
h3 {
  font-weight: 700; /* Bold */
}

p,
span,
li {
  font-weight: 400; /* Regular */
}
.gradient-bg {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.card-hover {
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-bg {
  background: linear-gradient(rgba(102, 126, 234, 0.8), rgba(118, 75, 162, 0.8)),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23f0f9ff" width="1200" height="600"/><path fill="%23e0f2fe" d="M0,300 Q300,200 600,300 T1200,300 L1200,600 L0,600 Z"/><circle fill="%23bae6fd" cx="200" cy="150" r="50" opacity="0.5"/><circle fill="%237dd3fc" cx="800" cy="100" r="30" opacity="0.6"/><circle fill="%2338bdf8" cx="1000" cy="200" r="40" opacity="0.4"/></svg>');
  background-size: cover;
  background-position: center;
}

.dark .hero-bg {
  background: linear-gradient(rgba(30, 41, 59, 0.9), rgba(51, 65, 85, 0.9)),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%231e293b" width="1200" height="600"/><path fill="%23334155" d="M0,300 Q300,200 600,300 T1200,300 L1200,600 L0,600 Z"/><circle fill="%23475569" cx="200" cy="150" r="50" opacity="0.5"/><circle fill="%2364748b" cx="800" cy="100" r="30" opacity="0.6"/><circle fill="%2394a3b8" cx="1000" cy="200" r="40" opacity="0.4"/></svg>');
}

.heart-pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.navbar-blur {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
}

.dark .navbar-blur {
  background: rgba(17, 24, 39, 0.95);
  border-bottom: 1px solid rgba(75, 85, 99, 0.8);
}

/* CSS Variables for theme switching */
:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --text-tertiary: #94a3b8;
  --border-color: #e2e8f0;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --navbar-bg: rgba(255, 255, 255, 0.95);
  --navbar-border: rgba(226, 232, 240, 0.8);
}

.dark {
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --bg-tertiary: #334155;
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-tertiary: #94a3b8;
  --border-color: #475569;
  --shadow-color: rgba(0, 0, 0, 0.3);
  --navbar-bg: rgba(15, 23, 42, 0.95);
  --navbar-border: rgba(71, 85, 105, 0.8);
}

/* Apply CSS variables */
body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.bg-theme-primary {
  background-color: var(--bg-primary);
}

.bg-theme-secondary {
  background-color: var(--bg-secondary);
}

.bg-theme-tertiary {
  background-color: var(--bg-tertiary);
}

.text-theme-primary {
  color: var(--text-primary);
}

.text-theme-secondary {
  color: var(--text-secondary);
}

.text-theme-tertiary {
  color: var(--text-tertiary);
}

.border-theme {
  border-color: var(--border-color);
}

.shadow-theme {
  box-shadow: 0 10px 15px -3px var(--shadow-color),
    0 4px 6px -2px var(--shadow-color);
}

.navbar-blur {
  backdrop-filter: blur(10px);
  background: var(--navbar-bg);
  border-bottom: 1px solid var(--navbar-border);
}

.rtl {
  direction: rtl;
}

.ltr {
  direction: ltr;
}

.hidden-lang {
  display: none !important;
}

.service-icon {
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.whatsapp-float {
  animation: whatsapp-pulse 2s infinite;
}

@keyframes whatsapp-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

/* Social Media Icons Styling */
.social-icon {
  position: relative;
  overflow: hidden;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social-icon::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s ease;
}
/* يجعل الخلفية في اللايت أبيض صافي فقط */
html:not(.dark) #qualifications {
  background-color: #ffffff;
}

/* خلفية أنيقة في الدارك مود */
html.dark #qualifications {
  background: linear-gradient(180deg, #0f172a 0%, #1f2937 100%);
}
س
/* ✅ Light Mode */
html:not(.dark) #services {
  background-color: #f9fafb; /* خلفية فاتحة */
}

html:not(.dark) #services h2,
html:not(.dark) #services h3,
html:not(.dark) #services p {
  color: #111827; /* نص غامق للوضوح */
}

/* ✅ Dark Mode */
html.dark #services {
  background-color: #111827;
}

html.dark #services h2,
html.dark #services h3,
html.dark #services p {
  color: #f9fafb; /* نص فاتح */
}

/* ✅ قسم المعرض */
html:not(.dark) #gallery {
  background-color: #ffffff;
}

html:not(.dark) #gallery h2,
html:not(.dark) #gallery p {
  color: #111827;
}

html.dark #gallery {
  background-color: #111827;
}

html.dark #gallery h2,
html.dark #gallery p {
  color: #f9fafb;
}
/* Light Mode */
html:not(.dark) #services .card-hover {
  background-color: #ffffff !important; /* أبيض نقي */
  color: #111827; /* نص داكن */
}

html:not(.dark) #services .card-hover h3,
html:not(.dark) #services .card-hover p {
  color: #111827 !important;
}

/* Dark Mode */
html.dark #services .card-hover {
  background-color: #1f2937 !important; /* نفس درجة dark:bg-gray-800 تقريبا */
  color: #f9fafb; /* نص فاتح */
}

html.dark #services .card-hover h3,
html.dark #services .card-hover p {
  color: #f9fafb !important;
}
.social-icon:hover::before {
  left: 100%;
}

.social-icon:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.social-icon i {
  font-size: 20px;
  z-index: 1;
  transition: transform 0.3s ease;
}

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

/* Specific social media colors */
.social-facebook {
  background: linear-gradient(135deg, #1877f2, #42a5f5);
}

.social-facebook:hover {
  background: linear-gradient(135deg, #166fe5, #1976d2);
}

.social-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
}

.social-whatsapp:hover {
  background: linear-gradient(135deg, #20ba5a, #0d7377);
}

.social-youtube {
  background: linear-gradient(135deg, #ff0000, #cc0000);
}

.social-youtube:hover {
  background: linear-gradient(135deg, #e60000, #b30000);
}

.social-email {
  background: linear-gradient(135deg, #6b7280, #4b5563);
}

.social-email:hover {
  background: linear-gradient(135deg, #4b5563, #374151);
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: whatsapp-pulse 3s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.6);
  background: linear-gradient(135deg, #20ba5a, #0d7377);
}

.whatsapp-float i {
  font-size: 28px;
  color: white;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover i {
  transform: scale(1.1);
}

@keyframes whatsapp-pulse {
  0%,
  100% {
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4),
      0 0 0 10px rgba(37, 211, 102, 0.1);
  }
}

/* Reviews Carousel */
.reviews-carousel {
  position: relative;
  overflow: hidden;
  min-height: 230px;
}

.review-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.review-slide.active {
  opacity: 1;
  transform: translateX(0);
}

.review-slide.prev {
  opacity: 0;
  transform: translateX(-30px);
}

.review-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-color) 0px 10px 25px;
  transition: all 0.3s ease;
  position: relative;
}

.review-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 80px;
  color: #3b82f6;
  opacity: 0.2;
}

.review-stars {
  color: #fbbf24;
  margin-bottom: 16px;
}

.review-text {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 24px;
  /* font-style: italic; */
}

.review-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.review-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  font-weight: bold;
}

.review-info h4 {
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 4px;
}

.review-info p {
  color: var(--text-tertiary);
  font-size: 14px;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--text-tertiary);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background: #3b82f6;
  transform: scale(1.2);
}

/* حركة الصورة لأعلى وأسفل */
@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

/* تطبيق الأنيميشن */
.animate-floating {
  animation: float 4s ease-in-out infinite;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* حركة تموج المياه للخلفية */
@keyframes waterFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* أنيميشن ظهور الشارة */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* شارة الخبرة بخلفية مائية متحركة */
.experience-badge {
  position: absolute;
  bottom: -15px; /* أسفل قليلاً من الصورة */
  right: -45px; /* على يسار الصورة */
  background: linear-gradient(135deg, #1e3a8a, #3b82f6, #60a5fa);
  background-size: 200% 200%;
  color: white;
  font-weight: bold;
  padding: 10px 26px;
  border-radius: 50px;
  box-shadow: 0 6px 20px rgba(0, 188, 212, 0.5);
  font-size: 1.1rem;
  animation: fadeUp 1s ease-in-out forwards, waterFlow 6s linear infinite,
    float 4s ease-in-out infinite;
  z-index: 10;
  letter-spacing: 0.5px;
  transform: rotate(-5deg); /* ميل خفيف للشارة لإحساس بالحركة */
}
@media (max-width: 640px) {
  .experience-badge {
    bottom: -30px;
    right: 0px;
  }
  .abou,
  .text-5xl {
    text-align: center;
  }
}

/* تأثير لطيف عند الوقوف بالماوس */
.animate-floating:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.3);
}

/* صورة البروفايل - إطار وظل ناعم */
.profile-container {
  border: 4px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

/* إصلاح تكرار الخلفية في الدارك مود */
.hero-bg {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
/* 🎨 Contact Section - Light & Dark Mode */
html:not(.dark) #contact {
  background-color: #ffffff !important;
  color: #1e293b !important;
}

html:not(.dark) #contact h2,
html:not(.dark) #contact h3,
html:not(.dark) #contact h4,
html:not(.dark) #contact p,
html:not(.dark) #contact label {
  color: #1e293b !important;
}

html.dark #contact {
  background-color: #0f172a !important;
  color: #f1f5f9 !important;
}

html.dark #contact h2,
html.dark #contact h3,
html.dark #contact h4,
html.dark #contact p,
html.dark #contact label {
  color: #f1f5f9 !important;
}

/* تحسين حقول الإدخال */
html:not(.dark) #contact input,
html:not(.dark) #contact textarea {
  background-color: #ffffff !important;
  color: #1e293b !important;
  border-color: #d1d5db !important;
}

html.dark #contact input,
html.dark #contact textarea {
  background-color: #1e293b !important;
  color: #f8fafc !important;
  border-color: #475569 !important;
}

/* الزر */
html:not(.dark) #contact button {
  background-color: #2563eb !important;
  color: #ffffff !important;
}
html:not(.dark) #contact button:hover {
  background-color: #1d4ed8 !important;
}

html.dark #contact button {
  background-color: #3b82f6 !important;
}
html.dark #contact button:hover {
  background-color: #2563eb !important;
}

/* 🎨 Footer Section */
html:not(.dark) footer {
  background-color: #0f172a !important;
  color: #f8fafc !important;
}

html:not(.dark) footer h3,
html:not(.dark) footer p,
html:not(.dark) footer a {
  color: #f1f5f9 !important;
}

html.dark footer {
  background-color: #020617 !important;
  color: #e2e8f0 !important;
}

html.dark footer h3,
html.dark footer p,
html.dark footer a {
  color: #cbd5e1 !important;
}

/* Hover Links in Footer */
footer a:hover {
  color: #60a5fa !important;
  transition: color 0.3s ease;
}
/* Contact Form Light/Dark Mode */
form {
  background-color: #ffffff; /* Light mode */
  color: #1f2937;
  transition: all 0.3s ease;
}
.dark form {
  background-color: #374151; /* Dark gray */
  color: #f9fafb;
}

/* Footer Light/Dark Mode */
footer {
  background-color: #f9fafb; /* Light mode footer */
  color: #1f2937;
  transition: all 0.3s ease;
}
.dark footer {
  background-color: #111827; /* Deep dark for dark mode */
  color: #f3f4f6;
}

/* Footer text/link adjustments */
footer a {
  color: inherit;
  transition: color 0.3s ease;
}
footer a:hover {
  color: #2563eb; /* blue hover */
}
.icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease;
}
.qualification-card {
  transition: all 0.4s ease;
}
.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.qualification-card:hover .icon-circle {
  transform: scale(1.15);
}

/* Animation for zoom effect */
@keyframes zoom-in {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.animate-zoom-in {
  animation: zoom-in 0.4s ease forwards;
}

/* Smooth pulse for hover (optional aesthetic effect) */
@keyframes pulse-slow {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.6);
  }
}
.review-card {
  background: white;
  color: #333;
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.5s ease;
}

.dark .review-card {
  background: #1e293b;
  color: #f1f5f9;
}

.review-stars {
  color: #fbbf24;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.review-text {
  font-size: 1.1rem;
  line-height: 1.7;
  /* font-style: italic; */
}

.review-slide {
  display: none;
  opacity: 0;
  transition: opacity 1s ease;
}

.review-slide.active {
  display: block;
  opacity: 1;
  animation: fadeIn 1s ease;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 1.5rem;
}

.indicator {
  width: 12px;
  height: 12px;
  background: #bbb;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.indicator.active {
  background: #2563eb;
  transform: scale(1.2);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-slow {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.6);
  }
}

.animate-pulse-slow {
  animation: pulse-slow 2.5s infinite;
}
.hidden-lang {
  display: none !important;
}
.gradient-text {
  font-weight: bold;
  background: linear-gradient(135deg, #60a5fa, #2563eb, #1e3a8a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (max-width: 640px) {
  .fa-heartbeat {
    display: none !important;
  }
  .con {
    margin: 0 !important;
  }
  .name {
    font-size: 20px !important;
  }
}

/* Theme Toggle */

/* From Uiverse.io by RiccardoRapelli */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch #input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #2196f3;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  z-index: 0;
  overflow: hidden;
}

.sun-moon {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: yellow;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

#input:checked + .slider {
  background-color: black;
}

#input:focus + .slider {
  box-shadow: 0 0 1px #2196f3;
}

#input:checked + .slider .sun-moon {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
  background-color: white;
  -webkit-animation: rotate-center 0.6s ease-in-out both;
  animation: rotate-center 0.6s ease-in-out both;
}

.moon-dot {
  opacity: 0;
  transition: 0.4s;
  fill: gray;
}

#input:checked + .slider .sun-moon .moon-dot {
  opacity: 1;
}

.slider.round {
  border-radius: 34px;
}

.slider.round .sun-moon {
  border-radius: 50%;
}

#moon-dot-1 {
  left: 10px;
  top: 3px;
  position: absolute;
  width: 6px;
  height: 6px;
  z-index: 4;
}

#moon-dot-2 {
  left: 2px;
  top: 10px;
  position: absolute;
  width: 10px;
  height: 10px;
  z-index: 4;
}

#moon-dot-3 {
  left: 16px;
  top: 18px;
  position: absolute;
  width: 3px;
  height: 3px;
  z-index: 4;
}

#light-ray-1 {
  left: -8px;
  top: -8px;
  position: absolute;
  width: 43px;
  height: 43px;
  z-index: -1;
  fill: white;
  opacity: 10%;
}

#light-ray-2 {
  left: -50%;
  top: -50%;
  position: absolute;
  width: 55px;
  height: 55px;
  z-index: -1;
  fill: white;
  opacity: 10%;
}

#light-ray-3 {
  left: -18px;
  top: -18px;
  position: absolute;
  width: 60px;
  height: 60px;
  z-index: -1;
  fill: white;
  opacity: 10%;
}

.cloud-light {
  position: absolute;
  fill: #eee;
  animation-name: cloud-move;
  animation-duration: 6s;
  animation-iteration-count: infinite;
}

.cloud-dark {
  position: absolute;
  fill: #ccc;
  animation-name: cloud-move;
  animation-duration: 6s;
  animation-iteration-count: infinite;
  animation-delay: 1s;
}

#cloud-1 {
  left: 30px;
  top: 15px;
  width: 40px;
}

#cloud-2 {
  left: 44px;
  top: 10px;
  width: 20px;
}

#cloud-3 {
  left: 18px;
  top: 24px;
  width: 30px;
}

#cloud-4 {
  left: 36px;
  top: 18px;
  width: 40px;
}

#cloud-5 {
  left: 48px;
  top: 14px;
  width: 20px;
}

#cloud-6 {
  left: 22px;
  top: 26px;
  width: 30px;
}

@keyframes cloud-move {
  0% {
    transform: translateX(0px);
  }

  40% {
    transform: translateX(4px);
  }

  80% {
    transform: translateX(-4px);
  }

  100% {
    transform: translateX(0px);
  }
}

.stars {
  transform: translateY(-32px);
  opacity: 0;
  transition: 0.4s;
}

.star {
  fill: white;
  position: absolute;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  animation-name: star-twinkle;
  animation-duration: 2s;
  animation-iteration-count: infinite;
}

#input:checked + .slider .stars {
  -webkit-transform: translateY(0);
  -ms-transform: translateY(0);
  transform: translateY(0);
  opacity: 1;
}

#star-1 {
  width: 20px;
  top: 2px;
  left: 3px;
  animation-delay: 0.3s;
}

#star-2 {
  width: 6px;
  top: 16px;
  left: 3px;
}

#star-3 {
  width: 12px;
  top: 20px;
  left: 10px;
  animation-delay: 0.6s;
}

#star-4 {
  width: 18px;
  top: 0px;
  left: 18px;
  animation-delay: 1.3s;
}

@keyframes star-twinkle {
  0% {
    transform: scale(1);
  }

  40% {
    transform: scale(1.2);
  }

  80% {
    transform: scale(0.8);
  }

  100% {
    transform: scale(1);
  }
}
html:not(.dark) #gallery h2,
html:not(.dark) #gallery p {
  color: #ffffff !important;
}

html:not(.dark) #gallery h2,
html:not(.dark) #gallery p {
  color: #111827 !important;
}
