/*Fonts:
Headers: font-family: 'Montserrat', sans-serif;
Text: font-family: 'Merriweather', serif;
Special: Quicksand

Dark Mode
Header Background: #1D1D2C
Text in Header: #00BFFF
Buttons in Header: background: #00BFFF, color: #ffffff 2px border: #009acd
Drop-down Menu in Header: bg: #1D1D2C, color: #00BFFF, border 2px: #009acd, options: bg: #1D1D2C, color: #00BFFF
Headers: #00FFFF
Search background: #2A2A3C
Text: #E0E0E0
Buttons: Background: #121212, Text: #ffffff, border: #00FFFF, hover: #00BFFF
Effects Colors: #00FFFF
Text Highlight: ?
Glow: #B0E0E6 #ADD8E6
Mouse Cursor Colors: Blue
Mouse Trail Color: Cyan, Blue
Borders: #00FFFF
Background: #121212
Particles: #87CEFA
Skills Section: backgrounds: #000000 #1D1D2C

Light Mode
Header Background: #1E90FF
Text in Header: #ffffff
Buttons in Header: background: #ffffff, color: #1E90FF 2px border: #B0C4DE 
Drop-down Menu in Header: bg: #1E90FF, color: #ffffff, border 2px: #ffffff, options: bg: #1E90FF, color: #ffffff
Headers: #00FFFF 
	text-shadow: 
        1px 1px 2px #1E90FF,
       -1px -1px 2px #1E90FF,
        1px 1px 0 #1E90FF, 
       -1px -1px 0 #1E90FF,
        1px -1px 0 #1E90FF,
       -1px 1px 0 #1E90FF;
Search background: #B0C4DE
Text: #ffffff
Buttons: Background: #778899, Text: #ffffff, border: #00FFFF, hover: #00BFFF
Effects Colors: #00FFFF
Text Highlight: ?
Glow: #B0E0E6 #ADD8E6
Mouse Cursor Colors: Blue
Mouse Trail Color: Cyan, Blue
Borders: #00FFFF
Background: #778899
Particles (Dots): #00FFFF
Skills Section: backgrounds: #000080 #4682b4

Additional colors:
About this portfolio Green header line: #4caf50

Maybe
Maybe better color for skills/contact: background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
Turquoise (#40E0D0)
Turquoise (#40E0D0)
Dark Purple (#3D0070)
Darker Lavender (#A9A9F5)
Deep Navy (#003366)
Dark Slate Blue (#483D8B)
Soft Mint (#98FF98)
Radiant Orchid (#D94F9E)
Neon Green (#39FF14)
Fuchsia (#FF00FF)
Medium Slate Blue (#7B68EE)
Royal Blue (#4169E1)
Chartreuse (#7FFF00)
Light Steel Blue (#B0C4DE)*/


/* === Project tags palette (paste near top of styles or at end) === */
:root {
  --tag-fullstack-bg: linear-gradient(135deg,#06b6d4,#14b8a6);   /* teal → cyan */
  --tag-webdev-bg: linear-gradient(135deg,#60a5fa,#3b82f6);     /* light blue → blue */
  --tag-webdesign-bg: linear-gradient(135deg,#f97316,#ec4899);  /* orange → pink */
  --tag-php-bg: linear-gradient(135deg,#7c3aed,#6d28d9);        /* violet/purple */
  --tag-python-bg: linear-gradient(135deg,#f59e0b,#facc15);     /* amber → yellow */
  --tag-java-bg: linear-gradient(135deg,#ef4444,#f97316);       /* red → orange */
  --tag-cpp-bg: linear-gradient(135deg,#06b6d4,#0ea5a3);        /* cyan → teal */
  --tag-aiart-bg: linear-gradient(135deg,#f472b6,#60a5fa);      /* pink → sky */
  --tag-figma-bg: linear-gradient(135deg,#f97316,#f472b6);      /* orange → pink */
  --tag-wordpress-bg: linear-gradient(135deg,#2563eb,#7c3aed);  /* deep blue → purple */

  --tag-foreground: #071026; /* text color inside tags (dark for contrast with bright gradients) */
  --tag-border-glow: rgba(255,255,255,0.06);
}



* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  user-select: none; /* Prevent text selection */
  margin: 0;
  padding: 0;
  font-family: 'Merriweather', serif;
  line-height: 1.6;
  color: #ffffff;
  background-color: #778899;
  overflow: hidden; /* Prevent scrollbars */
  height: 100vh; /* Full viewport height */
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  color: #00FFFF;
  text-shadow: 
        1px 1px 2px #1E90FF, /* Subtle shadow in Dodger Blue */
       -1px -1px 2px #1E90FF, /* Subtle shadow in Dodger Blue */
        1px 1px 0 #1E90FF, 
       -1px -1px 0 #1E90FF,
        1px -1px 0 #1E90FF,
       -1px 1px 0 #1E90FF; /* Dodger Blue outline */
}

.h7, .h8 {
  font-family: 'Montserrat', sans-serif;
  color: #00FFFF;
  text-shadow: 
        1px 1px 2px #1E90FF, /* Subtle shadow in Dodger Blue */
       -1px -1px 2px #1E90FF, /* Subtle shadow in Dodger Blue */
        1px 1px 0 #1E90FF, 
       -1px -1px 0 #1E90FF,
        1px -1px 0 #1E90FF,
       -1px 1px 0 #1E90FF; /* Dodger Blue outline */
}


h6 {
  font-size: 2.5rem;
}

.h7 {
  font-size: 2rem;
}

.h8 {
  font-size: 1.5rem;
}

h6 {
  border-bottom: 2px solid #00FFFF; /* For H1 */
  padding-bottom: 5px;
}

.h7 {
  border-bottom: 1px solid #00FFFF; /* For H2 */
  padding-bottom: 4px;
  margin-bottom: 15px;
}

.h8 {
  border-bottom: 1px dashed #00FFFF; /* For H3, dashed for subtle distinction */
  padding-bottom: 3px;
  margin-bottom: 15px;
}



/* Style for callouts or special text */
.callout, .quote {
  font-family: 'Quicksand', sans-serif;
  color: #00BFFF;
}

.header {
  position: fixed; /* or position: sticky; */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000; /* Ensure it's above other content */
  background-color: #1E90FF; /* Deep Purple */
  color: #00BFFF;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.5); /* Soft Glow */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-image {
  max-height: 40px; /* Adjust this value based on your logo size */
  width: auto; /* Maintain aspect ratio */
  animation: spinOnLoad 2s linear 1; /* Spin on page load */
}



/* Spin on page load */
@keyframes spinOnLoad {
  0% {
      transform: rotate(0deg);
  }
  100% {
      transform: rotate(1080deg); /* 3 full spins (360 * 3) */
  }
}

/* Spin on hover */
.logo:hover {
  animation: spinOnHover 1s linear;
}

@keyframes spinOnHover {
  0% {
      transform: rotate(0deg);
  }
  100% {
      transform: rotate(360deg); /* 1 full spin on hover */
  }
}



.nav {
  display: flex;
  justify-content: space-between; /* Ensures space between nav items and right-aligned section */
  align-items: center;
  padding: 0;
  margin: 0;
  color: #E6E6FA;
  
}

.nav ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav ul li {
  margin: 0 15px;
}

.nav ul li a {
  text-decoration: none;
  color: #E6E6FA; /* Light Lavender */
  font-size: 18px;
  transition: color 0.3s ease;
}

.nav ul li a:hover {
  color: #1E90FF; /* Electric Blue */
}

.nav-buttons {
  display: flex;
  /*gap: 10px; /* Space between buttons */
}

.nav-btn {
  white-space: nowrap;
}



.btn1 {
  background: none; /* Remove background */
  border: none; /* Remove border */
  color: #ffffff; /* Light Lavender */
  font-size: 18px;
  margin: 0 15px;
  padding: 10px;
  cursor: pointer;
  text-transform: uppercase; /* Optional: Make button text uppercase */
  transition: color 0.3s ease;
  font-family: Arial, sans-serif;
}

.btn1:hover {
  /*color: #1E90FF; Electric Blue */
  text-decoration: underline; /* Optional: Add underline on hover */
}

.btn1:focus {
  outline: none; /* Remove default outline */
}

.logo .btn1:focus {
  outline: none; /* Remove default focus outline */
}

.logo .btn3 {
  background: none; /* Remove default button background */
  border: none; /* Remove default button border */
  padding: 0; /* Remove default button padding */
  cursor: pointer; /* Make cursor a pointer to indicate it's clickable */
  display: flex; /* Ensure the image is centered */
  align-items: center; /* Center align image vertically */
  justify-content: center; /* Center align image horizontally */
  padding: 0; /* Remove padding */
}

#section-search {
  background: #B0C4DE;
  color: #ffffff;
  border-color: #ffffff;
}

#search-results {
  background: #1E90FF;
  color: #ffffff;
}

.search-lang {
  display: flex;
  align-items: center;
}

.search-lang input[type="text"] {
  padding: 8px;
  border: none;
  border-radius: 5px;
  margin-right: 10px;
  outline: none;
}

.search-lang select {
  padding: 8px;
  border: none;
  border-radius: 5px;
  background-color: #1E90FF; /* Light Lavender */
  color: #ffffff; /* Deep Purple */
  outline: none;
}
/*! Created by Jovan Jovanović © 2025 - jovanhq.tech © 2025 jjovan4077@yahoo.com */

.container {
  width: 300vw; /* Enough width to accommodate all sections */
  height: 100vh; /* Full viewport height */
  position: relative;
  z-index: 1; /* Above particles */
  /*pointer-events: auto;  Ensures content is interactable */
}

.section {
  width: 100vw; /* Each section takes full viewport width */
  height: 100vh; /* Full viewport height */
  float: left; /* Ensure sections are positioned next to each other */
  /*background: #fff;*/
  overflow-y: auto; /* Enable vertical scrolling within sections */
  margin-top: 0; /* Ensure there's no extra margin pushing content down */
}

.section .content {
  width: 100%;
}

.nav-button {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: #1E90FF;
  color: white;
  border: none;
  padding: 1rem;
  font-size: 2rem;
  cursor: pointer;
  z-index: 3; /* Ensure buttons are above sections */
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.5); /* Soft Glow */
}

.nav-button.left {
  left: 0rem; 
}

.nav-button.right {
  right: 0rem; 
}



.skills-container {
  display: flex;
  justify-content: space-between;
  max-width: 1500px;
  flex-wrap: wrap;
  margin: auto;
  border-radius: 15px;
}

.skills,
.sub-skills {
  flex: 1;
  margin: 20px;
  border: 2px solid #00FFFF;
  border-radius: 15px;
  background-color: #4682b4;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
  padding: 30px;
}

.skills h2,
.sub-skills h2 {
  font-size: 24px;
  margin-bottom: 20px;
  text-align: center;
}

.skill {
  margin-bottom: 20px;
}

.skill label {
  font-weight: bold;
  margin-bottom: 5px;
  display: block;
  position: relative;
}

.skill-bar {
  background-color: #e0e0e0;
  border-radius: 5px;
  width: 100%;
  height: 20px;
  position: relative;
}

.skill-level {
  height: 100%;
  border-radius: 5px;
  position: absolute;
  top: 0;
  left: 0;
  transition: width 0.3s ease;
}

/* Progress Bar Animations */
@keyframes wave-laravel {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes wave-php {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes wave-react {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes wave-webflow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes wave-figma {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes wave-python {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes wave-tkinter {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes wave-cpp {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes wave-java {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes wave-html {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes wave-css {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes wave-js {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/*maybe junk*/
@keyframes wave-react-js {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes wave-node {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes wave-mysql {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes wave-figma-ui {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes wave-ms-office {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes wave-ai-art {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes wave-blender {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes wave-wordpress {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Skill Bar Progress Colors */
.laravel {
  width: 40%;
  background: linear-gradient(-45deg, #ff4444, #ffbb33, #ff4444, #ffbb33);
  background-size: 400% 400%;
  animation: wave-laravel 8s ease infinite;
}

.php {
  width: 65%;
  background: linear-gradient(-45deg, #6a11cb, #2575fc, #6a11cb, #2575fc);
  background-size: 400% 400%;
  animation: wave-php 8s ease infinite;
}

.react {
  width: 60%;
  background: linear-gradient(-45deg, #61dafb, #1d79fe, #61dafb, #1d79fe);
  background-size: 400% 400%;
  animation: wave-react 8s ease infinite;
}

.webflow {
  width: 75%;
  background: linear-gradient(-45deg, #00c6ff, #007bff, #00c6ff, #007bff);
  background-size: 400% 400%;
  animation: wave-webflow 8s ease infinite;
}

.figma {
  width: 100%;
  background: linear-gradient(-45deg, #f24e1e, #c94f53, #f24e1e, #c94f53);
  background-size: 400% 400%;
  animation: wave-figma 8s ease infinite;
}

/* Skills Specific Colors */
.python {
  width: 92%;
  background: linear-gradient(-45deg, #0047bb, #42aaf5, #0047bb, #42aaf5);
  background-size: 400% 400%;
  animation: wave-python 8s ease infinite;
}

.tkinter {
  width: 50%;
  background: linear-gradient(-45deg, #9b59b6, #f39c12, #9b59b6, #f39c12);
  background-size: 400% 400%;
  animation: wave-tkinter 8s ease infinite;
}

.cpp {
  width: 60%;
  background: linear-gradient(-45deg, #00b894, #0984e3, #00b894, #0984e3);
  background-size: 400% 400%;
  animation: wave-cpp 8s ease infinite;
}

.java {
  width: 86%;
  background: linear-gradient(-45deg, #ff512f, #dd2476, #ff512f, #dd2476);
  background-size: 400% 400%;
  animation: wave-java 8s ease infinite;
}

.html {
  width: 100%;
  background: linear-gradient(-45deg, #ffb347, #ffcc33, #ffb347, #ffcc33);
  background-size: 400% 400%;
  animation: wave-html 8s ease infinite;
}

.css {
  width: 100%;
  background: linear-gradient(-45deg, #2965f1, #6e94db, #2965f1, #6e94db);
  background-size: 400% 400%;
  animation: wave-css 8s ease infinite;
}

.js {
  width: 75%;
  background: linear-gradient(-45deg, #fceabb, #f8b500, #fceabb, #f8b500);
  background-size: 400% 400%;
  animation: wave-js 8s ease infinite;
}

.react-js {
  width: 15%;
  background: linear-gradient(-45deg, #61dafb, #1d79fe, #61dafb, #1d79fe);
  background-size: 400% 400%;
  animation: wave-react-js 8s ease infinite;
}

.node {
  width: 40%;
  background: linear-gradient(-45deg, #8cc84b, #3a873a, #8cc84b, #3a873a);
  background-size: 400% 400%;
  animation: wave-node 8s ease infinite;
}

.mysql {
  width: 70%;
  background: linear-gradient(-45deg, #00758f, #68c4c3, #00758f, #68c4c3);
  background-size: 400% 400%;
  animation: wave-mysql 8s ease infinite;
}

.figma-ui {
  width: 10%;
  background: linear-gradient(-45deg, #f9d423, #ff4e50, #f9d423, #ff4e50);
  background-size: 400% 400%;
  animation: wave-figma-ui 8s ease infinite;
}

/* Language Progress Colors */
.serbian {
  width: 100%;
  background: linear-gradient(-45deg, #2980b9, #6dd5fa, #2980b9, #6dd5fa);
  background-size: 400% 400%;
  animation: wave-python 8s ease infinite;
}

.english {
  width: 100%;
  background: linear-gradient(-45deg, #ff758c, #ff7eb3, #ff758c, #ff7eb3);
  background-size: 400% 400%;
  animation: wave-python 8s ease infinite;
}

.russian {
  width: 70%;
  background: linear-gradient(-45deg, #0000ff, #0073e6, #0000ff, #0073e6);
  background-size: 400% 400%;
  animation: wave-python 8s ease infinite;
}

.french {
  width: 37%;
  background: linear-gradient(-45deg, #005b72, #238ea9, #005b72, #238ea9);
  background-size: 400% 400%;
  animation: wave-python 8s ease infinite;
}

.german {
  width: 25%;
  background: linear-gradient(-45deg, #434343, #000000, #434343, #000000);
  background-size: 400% 400%;
  animation: wave-python 8s ease infinite;
}

.mandarin {
  width: 18%;
  background: linear-gradient(-45deg, #f7971e, #ffd200, #f7971e, #ffd200);
  background-size: 400% 400%;
  animation: wave-python 8s ease infinite;
}

.ms-office {
  width: 100%;
  background: linear-gradient(-45deg, #0078d4, #68a7db, #0078d4, #68a7db);
  background-size: 400% 400%;
  animation: wave-ms-office 8s ease infinite;
}

.ai-art {
  width: 100%;
  background: linear-gradient(-45deg, #ff9a9e, #f77062, #ff9a9e, #f77062);
  background-size: 400% 400%;
  animation: wave-ai-art 8s ease infinite;
}

.blender {
  width: 100%;
  background: linear-gradient(-45deg, #0f0, #004d00, #0f0, #004d00);
  background-size: 400% 400%;
  animation: wave-blender 8s ease infinite;
}

.wordpress {
  width: 100%;
  background: linear-gradient(-45deg, #4e54c8, #8f94fb, #4e54c8, #8f94fb);
  background-size: 400% 400%;
  animation: wave-wordpress 8s ease infinite;
}

/* Customize labels and hover effects */
.skill label:hover::after {
  content: attr(data-info);
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  margin-top: 5px;
  background-color: #1E90FF;
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  white-space: normal;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
  border: 2px solid #00FFFF;
  z-index: 1;
  font-size: 14px;
  width: 400px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.skill label:hover::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-width: 5px;
  border-style: solid;
  border-color: #333 transparent transparent transparent;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.skill label:hover::after,
.skill label:hover::before {
  opacity: 1;
}




.vertical {
  padding-top: 5rem; /* Padding to push content below header */
}



.map {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8rem;
  flex-wrap: wrap; /* This allows the elements to wrap if the screen is too narrow */
  margin: 0 auto;
  text-align: center;
}

.maptext {
  max-width: 600px;
  font-size: 1.2rem;
  align-items: center;
  text-align: center;
}

h4{
  font-size: 2.5rem;

}

.durlan {
  border-radius: 2rem;
  width: 600px;
  height: 450px;
  border: 2px solid #00FFFF;
  transition: 0.3s ease-in-out;
}

.durlan:hover{
  transform: scale(1.1);
}



/* WebKit-based browsers */
::-webkit-scrollbar {
  width: 14px; /* Adjust the width as needed */
  height: 14px; /* For horizontal scrollbars */
}

::-webkit-scrollbar-track {
  background: #f1f1f1; /* Track color */
  border-radius: 10px; /* Optional: rounded corners for the track */
}

::-webkit-scrollbar-thumb {
  background: #888; /* Scrollbar color */
  border-radius: 10px; /* Rounded corners for the scrollbar */
}

::-webkit-scrollbar-thumb:hover {
  background: #555; /* Darker color on hover */
}

::-webkit-scrollbar-corner {
  background: #f1f1f1; /* Background color of the corner where horizontal and vertical scrollbars meet */
}

/* Firefox */
* {
  scrollbar-width: thin; /* Makes the scrollbar thinner */
  scrollbar-color: #888888 #f1f1f1; /* Scrollbar thumb and track color */
}



#cv-download {
  position: relative;
}

#cv-btn {
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
}

#cv-menu {
  position: absolute;
  top: 40px;
  left: 0;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 10px;
  z-index: 1000;
}

.hidden {
  display: none;
}

#cv-menu p {
  margin: 0;
}

#cv-menu button {
  display: block;
  width: 100%;
  padding: 10px;
  margin: 5px 0;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

#cv-menu button:hover {
  background-color: #0056b3;
}

.fullscreen {
  height: 100vh;
  /*width: 100vw;*/
}

.portfolio-item {
  position: relative;
  width: 600px; /* Adjust as needed */
  height: 750px; /* Adjust as needed */
  border: 1px solid #ddd;
  margin: 20px;
  overflow: hidden;
}

.cv-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  overflow: hidden;
  opacity: 1;
  transition: opacity 0.3s;
}

.cv-content iframe {
  width: 100%;
  height: 100%;
}

.button1 {
  display: inline-block;
  background-color: #778899;
  color: #ffffff;
  padding: 15px 30px;
  font-size: 1.2em;
  text-decoration: none;
  border-radius: 8px;
  border: 2px solid #00FFFF;
  /*box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);*/
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.button1:hover {
  background-color: #00BFFF; /* Electric Blue */
  transform: scale(1.1);
}



#projects {
  cursor: url('../../stuff/cursor/cur116.cur'), auto;
  padding-left: 60px;
  padding-right: 60px;
}

#biography {
  cursor: url('../../stuff/cursor/cur116.cur'), auto;
}



#sitemap {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #001F3F;
  padding: 20px;
  border-bottom: 1px solid #6c757d;
}

.radial-container {
  position: relative;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, #4682b4, #001F3F);
  display: flex;
  justify-content: center;
  align-items: center;
}

.radial-center {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: #FFD700;
  color: white;
  font-size: 1.2em;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}
/*! Created by Jovan Jovanović © 2025 - jovanhq.tech © 2025 jjovan4077@yahoo.com */

.radial-items {
  position: relative;
  width: 100%;
  height: 100%;
}

.radial-item {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: #5F9EA0;
  color: white;
  font-size: 0.9em;
  font-weight: bold;
  border: 2px solid #00FFFF;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.radial-item:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.radial-item:nth-child(1) { /* Projects */
  top: 28%;
  left: 45%;
  transform: translate(-50%, -50%);
}

.radial-item:nth-child(2) { /* Biography */
  top: 30%;
  left: 80%;
  transform: translate(-50%, -50%);
}

.radial-item:nth-child(3) { /* About Me */
  top: 65%;
  left: 85%;
  transform: translate(-50%, -50%);
}

.radial-item:nth-child(4) { /* Skills */
  top: 80%;
  left: 65%;
  transform: translate(-50%, -50%);
}

.radial-item:nth-child(5) { /* Professional Memberships */
  top: 85%;
  left: 35%;
  transform: translate(-50%, -50%);
}

.radial-item:nth-child(6) { /* Certificates */
  top: 55%;
  left: 10%;
  transform: translate(-50%, -50%);
}

.radial-item:nth-child(7) { /* CV */
  top: 30%;
  left: 20%;
  transform: translate(-50%, -50%);
}

.radial-item:nth-child(8) { /* My Location */
  top: 12%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.radial-item:nth-child(9) { /* Vision */
  top: 15%;
  left: 75%;
  transform: translate(-50%, -50%);
}

.radial-item:nth-child(10) { /* My Services */
  top: 75%;
  left: 10%;
  transform: translate(-50%, -50%);
}

.radial-item:nth-child(11) { /* Hobbies */
  top: 50%;
  left: 90%;
  transform: translate(-50%, -50%);
}

.radial-item:nth-child(12) { /* Resource Library */
  top: 70%;
  left: 53%;
  transform: translate(-50%, -50%);
}

.radial-item:nth-child(13) { /* About this Portfolio */
  top: 10%;
  left: 20%;
  transform: translate(-50%, -50%);
}

.radial-item:nth-child(14) { /* Contact */
  top: 85%;
  left: 85%;
  transform: translate(-50%, -50%);
}

/* FAQ Button Styling */
.faq-button2 {
  margin-top: 30px;
  padding: 10px 20px;
  background-color: #778899;
  color: white;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  border-radius: 8px;
  transition: background-color 0.3s, box-shadow 0.3s;
}

.faq-button2:hover {
  background-color: #5F9EA0;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}







#about {
  cursor: url('../../stuff/cursor/Sapphire_Normal.cur'), auto;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  /*background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);*/
  padding: 50px;

  /*text-align: center;
  padding-left: 60px;
  padding-right: 60px;*/
  /*margin-top: 50px;*/
  /*font-size: 22px;*/
}

.content-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  max-width: 1200px;
}

/* Profile Section */
.profile-section {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

#profile-pic {
  border-radius: 50%;
  border: 5px solid #00FFFF;
  /*border: 5px solid #fff;*/
  width: 270px;
  height: 360px;
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.5s ease;
}

@keyframes scaleUp {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

#profile-pic.animate {
  animation: scaleUp 0.5s;
}

/*#profile-pic:hover {
  transform: scale(1.15);
}*/

/* About Text Section */
.about-text {
  flex: 2;
  padding-left: 30px;
}

.about-text h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  /*color: #FFD700; /* Golden color for the name */
  letter-spacing: 1px;
}

.about-text p {
  font-size: 1.2rem;
  line-height: 1.8;
  margin: 10px 0;
}

.highlight {
  font-weight: 700;
  /*color: #FFD700; /* Golden color */
}

/* Dynamic Skill Text */
#dynamic-skill {
  font-weight: bold;
  color: #00FFFF;
  /*color: #50C878; /* Bright green for the skill text */
  transition: opacity 0.5s ease-in-out;
}

.textanimation1:hover {
  animation: bounce 0.5s ease-in-out;
  color: #ff4081;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
      transform: translateY(0);
  }
  40% {
      transform: translateY(-20px);
  }
  60% {
      transform: translateY(-10px);
  }
}










#skills {
  cursor: url('../../stuff/cursor/cur410.cur'), auto;
  padding-left: 80px;
  padding-right: 80px;
  font-size: 18px;
  background-color: #000080;
  border-top: 1px solid #6c757d;
  border-bottom: 1px solid #6c757d;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.label:hover {
  cursor: url('../../stuff/cursor/finger.cur'), auto;
}

#memberships {
  /*display: grid;*/
  /*place-items: center;
  align-content: center;*/
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 50px;
  font-size: 18;


  cursor: url('../../stuff/cursor/Sapphire_Normal.cur'), auto;
  padding-left: 80px;
  padding-right: 80px;
  flex-wrap: wrap;
  text-align: center; /* Center text in all child elements */
}

#memberships h2 {
  /*margin-bottom: 10px; /* Adjust the space below the heading if needed */
  flex-basis: 100%; /* Ensure the heading takes up the full width */
  text-align: center; /* Center the heading */
}

.membership {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px; /* Space between the image and the text */
  max-width: 500px;
}

.membership img {
  width: 80px; /* Adjust size of the logos */
  height: auto;
}

.membership p {
  margin: 0;
  text-align: center;
}

@media (max-width: 600px) {
  #memberships {
      flex-direction: column; /* Stack items vertically on small screens */
      align-items: center;
  }

  .membership {
      flex-direction: column;
  }

  .membership img {
      margin-bottom: 10px;
  }

  .membership p {
      text-align: center;
  }
}




#certificates {
  cursor: url('../../stuff/cursor/Sapphire_Normal.cur'), auto;
  padding-left: 60px;
  padding-right: 60px;
  font-size: 18px;
}

#cv {
  cursor: url('../../stuff/cursor/Sapphire_Normal.cur'), auto;
  /*padding-left: 80px;
  padding-right: 80px;*/
}


#cv-section {
  padding: 50px 0;
  background-color: #000080;
  border-top: 1px solid #6c757d;
  border-bottom: 1px solid #6c757d;
}

.container6 {
  width: 80%;
  margin: 0 auto;
}

#cv h2 {
  text-align: center;
  margin-bottom: 30px;
}

.tab-container {
  text-align: center;
  margin-bottom: 20px;
}

.tab-button {
  background-color: #007bff;
  border: none;
  color: #fff;
  padding: 15px 30px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
  margin: 0 10px;
  transition: background-color 0.3s;
}

.tab-button.active, .tab-button:hover {
  background-color: #0056b3;
}

.cv-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cv-preview {
  display: none;
  width: 100%;
  max-width: 800px;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background-color: #fafafa;
}

.cv-preview h3 {
  text-align: center;
  margin: 15px 0;
}

.cv-preview.active {
  display: block;
}

#download-cv-text {
  display: block;
  width: 300px;
  margin: 30px auto;
  padding: 10px;
  font-size: 16px;
  text-align: center;
  color: #fff;
  background-color: #007bff;
  border: none;
  border-radius: 5px;
}










#mapsection {
  cursor: url('../../stuff/cursor/Sapphire_Normal.cur'), auto;
  padding-left: 60px;
  padding-right: 60px;
}

#vision {
  cursor: url('../../stuff/cursor/Sapphire_Normal.cur'), auto;
  padding-left: 80px;
  padding-right: 80px;
  font-size: 18px;
}

/* Container Styles */
.vision-section {
  background: linear-gradient(135deg, #4682b4, #1E90FF);
  border-radius: 15px;
  padding: 30px;
  margin: 20px auto;
  /*max-width: 800px;*/
  color: #fff;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  border: 2px solid #1E90FF;
}

.vision-section::before {
  content: '';
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1), transparent);
  z-index: 0;
  transform: rotate(-15deg);
  animation: pulse 10s infinite;
}

.vision-section h2 {
  font-size: 2.5em;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  font-family: 'Roboto', sans-serif;
  font-weight: bold;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.vision-section p {
  font-size: 1.2em;
  line-height: 1.6;
  margin: 10px 0;
  position: relative;
  z-index: 1;
  font-family: 'Open Sans', sans-serif;
}

/* Keyframes for Animation */
@keyframes pulse {
  0% {
      transform: rotate(-15deg) scale(1);
      opacity: 0.1;
  }
  50% {
      transform: rotate(-15deg) scale(1.1);
      opacity: 0.3;
  }
  100% {
      transform: rotate(-15deg) scale(1);
      opacity: 0.1;
  }
}




#business {
  cursor: url('../../stuff/cursor/Sapphire_Normal.cur'), auto;
  /*padding-left: 80px;
  padding-right: 80px;*/
}

.businessss {
  max-width: 1600px;
  margin: 0 auto;
  padding: 20px;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  /*color: #333;*/
  position: relative;
}

.section-title::after {
  content: '';
  width: 80px;
  height: 4px;
  background: #3498db;
  display: block;
  margin: 20px auto 0;
  border-radius: 2px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.service-item {
  background: #778899;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 2px solid #1E90FF;
  transition: transform 0.3s ease;
}

.service-item:hover {
  transform: translateY(-10px);
  background-color: #6c7a8b;
}

.icon-container {
  font-size: 3rem;
  color: #1E90FF;
  margin-bottom: 20px;
}

.service-item h11 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #00FFFF;
  font-weight: bold;
}

.service-item p {
  font-size: 1rem;
  color: #ffffff;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 1200px) {
  .services-grid {
      grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 992px) {
  .services-grid {
      grid-template-columns: repeat(3, 1fr);
  }
}



.cta-section {
  margin-top: 60px;
  padding: 30px;
  background: linear-gradient(135deg, #4682b4, #1E90FF);
  color: white;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-align: center;
  border: 2px solid #1E90FF;
}

.cta-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 15px;
}

.cta-description {
  font-size: 18px;
  margin-bottom: 25px;
  line-height: 1.4;
}

.cta-button {
  display: inline-block;
  padding: 12px 24px;
  font-size: 18px;
  color: #fff;
  background-color: #007bff;
  border-radius: 30px;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
}

.cta-button:active {
  transform: translateY(0);
}



#hobbies {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 220px;
  
  position: relative;
  cursor: url('../../stuff/cursor/Sapphire_Normal.cur'), auto;
  /*padding-left: 80px;
  padding-right: 80px;*/
  font-size: 18px;

  /*overflow: visible;*/
  /*height: 100vh;*/
  /*display: grid;
  place-items: center;*/
}

#hobbies h2 {
  padding-bottom: 20px;
}

#hobbiestext {
  text-align: center;
  max-width: 630px;
}



#library {
  cursor: url('../../stuff/cursor/Sapphire_Normal.cur'), auto;
}



#lib2 {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 139, 0.2);
  margin-top: 20px;
  margin-bottom: 20px;
}

#lib2 h2 {
  font-size: 32px;
  font-weight: 600;
  /*color: #333;*/
  margin-bottom: 20px;
  text-align: center;
}



.categories {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.category {
  flex: 1 1 calc(25% - 20px); /* 3 columns with gap */
  margin-bottom: 40px;
  background-color: #4682b4;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  padding: 20px;

  transition: transform 0.2s ease;
}

.category:hover {
  transform: translateY(-5px); /* Subtle lift on hover */
}

.category h3 {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 15px;
  /*color: #4caf50; /* Accent color */
  /*color: #800080;*/
  color: #B0E0E6;
  text-shadow: 1px 1px 2px #000080;
}

.resource-card {
  background-color: #1E90FF;
  padding: 15px;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  margin-bottom: 15px;
}

.resource-card h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  /*color: #333;*/
}

.resource-card p {
  font-size: 16px;
  line-height: 1.5;
  color: #f0f8ff;
  margin-bottom: 10px;
}

.resource-card a {
  display: inline-block;
  padding: 8px 12px;
  background-color: #1E90FF;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.resource-card a:hover {
  background-color: #1C77FF; /* Slightly darker blue on hover */
  transform: scale(1.05); /* Slight zoom effect on hover */
}



#thisportfolio2{
  cursor: url('../../stuff/cursor/Sapphire_Normal.cur'), auto;
}

#thisportfolio {

  max-width: 800px; /* Limit the width for better readability */
  margin: 0 auto; /* Center the content */
  padding: 40px 20px; /* Add some padding for breathing room */
  background-color: #000080; /* Light background color for contrast */
  border-radius: 8px; /* Smooth the corners */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
}

#thisportfolio h2 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 20px; /* Space below the heading */
  text-align: center; /* Center-align the heading */
}

#thisportfolio p {
  font-size: 18px;
  line-height: 1.6; /* Improve readability with line spacing */
  margin-bottom: 20px; /* Space between paragraphs */
}

#thisportfolio p:last-child {
  margin-bottom: 0; /* Remove margin on the last paragraph */
}

#thisportfolio p:nth-child(odd) {
  font-weight: 500; /* Emphasize key sections */
}

#thisportfolio p:nth-child(even) {
  margin-left: 20px; /* Indent to create visual hierarchy */
}

#thisportfolio h2::after {
  content: ''; /* Decorative underline */
  display: block;
  width: 50px;
  height: 3px;
  background-color: #4caf50; /* Accent color */
  margin: 10px auto 0 auto; /* Center the underline */
}



#contact {
  cursor: url('../../stuff/cursor/cur410.cur'), auto;
  padding-top: 1rem;
  padding-left: 80px;
  padding-right: 80px;
  padding-bottom: 40px;
  font-size: 18px;
  background-color: #000080;
  border-top: 1px solid #6c757d;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

#header {
  cursor: url('../../stuff/cursor/cur101.cur'), auto;
  padding-left: 60px;
  padding-right: 60px;
}

button:hover {
  cursor: url('../../stuff/cursor/finger.cur'), auto;
}

a:hover {
  cursor: url('../../stuff/cursor/finger.cur'), auto;
}

#theme-toggle:hover {
  cursor: url('../../stuff/cursor/finger.cur'), auto;
}

#music-player-container:hover {
  cursor: url('../../stuff/cursor/finger.cur'), auto;
}

#toggle-button:hover {
  cursor: url('../../stuff/cursor/finger.cur'), auto;
}

#language-selector:hover {
  cursor: url('../../stuff/cursor/finger.cur'), auto;
}

#music-player-toggle:hover {
  cursor: url('../../stuff/cursor/finger.cur'), auto;
}

#genre-select:hover {
  cursor: url('../../stuff/cursor/finger.cur'), auto;
}

#volume-control:hover {
  cursor: url('../../stuff/cursor/finger.cur'), auto;
}

.logo-image:hover {
  cursor: url('../../stuff/cursor/finger.cur'), auto;
}

#profile-pic:hover {
  cursor: url('../../stuff/cursor/finger.cur'), auto;
}

#section-search {
  cursor: url('../../stuff/cursor/cur617.cur'), auto;
}
#sitemap {
  cursor: url('../../stuff/cursor/Sapphire_Normal.cur'), auto;
}



/* Basic styling for dropdown menu */
.dropdown-menu {
  list-style-type: none;
  margin: 0;
  padding: 0;
  /*border: 1px solid #40E0D0;*/
  max-height: 200px;
  overflow-y: auto;
  position: absolute;
  background: #1E90FF; /* White background for dropdown */
  color: #ffffff; /* Dark text color for visibility */
  z-index: 1000;
  margin-top: 70px; /* Add a small margin to ensure it stays within view */
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2); /* Subtle shadow for separation */
}

/* Style for each item in the dropdown */
.dropdown-menu li {
  padding: 8px 12px;
  cursor: pointer;
  font-size: 14px; /* Adjust font size if needed */
}

/* Hover effect for better visibility */
.dropdown-menu li:hover {
  background-color: #e0e0e0; /* Slightly darker background on hover */
  color: #000; /* Dark text color on hover */
}

/* Additional styling for better readability */
.dropdown-menu li {
  transition: background-color 0.3s, color 0.3s; /* Smooth transition for hover effect */
}



#music-player {
  position: absolute;
  top: 50px; /* Adjust as needed */
  left: 0;
  background-color: #1E90FF;
  color: #ffffff;
  border: 1px solid #00FFFF;
  padding: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  width: 350px; /* Adjust as needed */
}

#play-button {
  background-color: #ffffff; /* Light blue color */
  padding: 10px 20px;
  font-size: 16px;
  border: 2px solid #B0C4DE;
  border-radius: 5px;
  color: #1E90FF;
}

#play-button:hover {
  background-color: #B0C4DE;
}

input[type="range"] {
  width: 100px;
}

select {
  padding: 5px;
}

/* Volume control style */
#volume-control {
  /*width: 100px;
  height: 8px;*/
  border-radius: 5px;
  outline: none;
  margin: 0 10px;
}

#music-player-container {
  position: relative;
}

#music-player-toggle {
  /*background-color: #f0f0f0;
  border: none;
  padding: 10px;
  cursor: pointer;*/

  width: 40px; /* Increase the size of the clickable area */
  height: 40px; /* Increase the size of the clickable area */
  /*background-size: cover;*/
  background-size: 25px 25px; /* Adjust the image size */
  background-position: center;
  background-repeat: no-repeat;
  background-color: #ffffff;
  color: #333333;
  border: 2px solid #B0C4DE; /* Slightly darker shade of #00BFFF */
  cursor: pointer;
  background-image: url('../../stuff/images/bluemusic.png'); /* Default to sun image */
  border-radius: 50%; /* Makes the button circular */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.dark-mode #music-player-toggle {
  background-image: url('../../stuff/images/whitemusic.png'); /* Switch to moon image */
}



#music-visualizer {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  border: 4px solid transparent;
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(173, 216, 230, 0.7);
  opacity: 0.7;
  animation: pulse-ring 1.5s infinite;
  pointer-events: none; /* Ensure visualizer does not block clicks */
  z-index: 1; /* Ensure visualizer is below the button */
  display: none; /* Hide by default */
}

@keyframes pulse-ring {
  0% {
      transform: translate(-50%, -50%) scale(1);
      opacity: 0.7;
  }
  50% {
      transform: translate(-50%, -50%) scale(1.2);
      opacity: 0.5;
  }
  100% {
      transform: translate(-50%, -50%) scale(1);
      opacity: 0.7;
  }
}



#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: -1;
  top: 0;
  left: 0;
  /*pointer-events: none;  Prevent particles from blocking content interaction */
}

#theme-toggle {
  width: 40px; /* Increase the size of the clickable area */
  height: 40px; /* Increase the size of the clickable area */
  /*background-size: cover;*/
  background-size: 25px 25px; /* Adjust the image size */
  background-position: center;
  background-repeat: no-repeat;
  background-color: #ffffff;
  color: #333333;
  border: 2px solid #B0C4DE; /* Slightly darker shade of #00BFFF */
  cursor: pointer;
  background-image: url('../../stuff/images/sun.png'); /* Default to sun image */
  border-radius: 50%; /* Makes the button circular */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Dark mode styling */
.dark-mode #theme-toggle {
  background-image: url('moon.png'); /* Switch to moon image */
}



#genre-select {
  background-color: #1E90FF;
  color: white; /* Optional: This changes the text color to white for better contrast */
  border: 2px solid #ffffff;
}

/* Additional styling for specific browsers */
#genre-select option {
  background-color: #1E90FF;
  color: white;
}

#language-selector {
  border: 2px solid #ffffff;
}

.right-controls {
  display: flex;
  align-items: center;
  gap: 20px; /* Space between theme-toggle, music player, and search-lang */
}



#myCanvas {
  position: fixed; /* Fixes the canvas to the viewport */
  top: 0;
  left: 0;
  width: 100vw; /* Full viewport width */
  height: 100vh; /* Full viewport height */
  z-index: 9999; /* On top of all other elements */
  pointer-events: none; /* Allows interaction with underlying content */
}



#toggle-container {
  position: relative;
  display: inline-block;

  /*width: 40px; 
  height: 40px; 
  background-size: 25px 25px; 
  background-position: center;
  background-repeat: no-repeat;
  background-color: #ffffff;
  color: #333333;
  border: 2px solid #B0C4DE; 
  cursor: pointer;
  background-image: url('blue.png');
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;*/
}

#toggle-button {
  /*cursor: pointer;
  font-size: 18px;
  background-color: transparent;
  border: none;
  padding: 8px;*/

  width: 40px; 
  height: 40px; 
  background-size: 25px 25px; 
  background-position: center;
  background-repeat: no-repeat;
  background-color: #ffffff;
  color: #333333;
  border: 2px solid #B0C4DE; 
  cursor: pointer;
  background-image: url('../../stuff/images/blue.png');
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dark-mode #toggle-button {
  background-image: url('../../stuff/images/white.png');
}

#info-window {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #1E90FF;
  color: #ffffff;
  border: 1px solid #00FFFF;
  padding: 10px;
  width: 200px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

#info-window p {
  margin: 5px 0;
  font-size: 16px;
}



.hidden1 {
  opacity: 0;
  filter: blur(5px);
  transform: translateX(-100%);
  transition: all 1s;
}

.show {
  opacity: 1;
  filter:blur(0);
  transform: translateX(0);
}

.move:nth-child(2) {
  transition-delay: 200ms;
}

.hidden2 {
  opacity: 0;
  transition: all 1s;
}

.show2 {
  opacity: 1;
}

.hidden3 {
  opacity: 0;
  filter: blur(5px);
  transform: translateX(-100%);
  transition: all 1s ease-out;
}

.show3 {
  opacity: 1;
  filter: blur(0);
  transform: translateX(0);
}

.lottie-link {
  transition-delay: var(--delay, 0s); /* Default delay is 0s */

  display: inline-block; /* Ensures links and FAQ button are treated similarly */
  vertical-align: middle; /* Aligns with other elements */
}

.faq-button {
  display: inline-block; /* Treat the FAQ button as a similar inline-block element */
  vertical-align: middle; /* Aligns with other elements */
  padding: 10px 20px; /* Add some padding to make it visually balanced */
  margin-left: 10px; /* Adjust margin if needed */
}



.filter-buttons {
  text-align: center;
  margin-bottom: 20px;
}

.filter-btn {
  padding: 10px 20px;
  margin-left: 5px;
  margin-right: 5px;
  margin-top: 10px;
  border: 2px solid #00FFFF;
  border-radius: 5px;
  background-color: #778899;
  color: white;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.filter-btn:hover {
  background-color: #6898c7;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Limit to 2 projects per row */
  gap: 30px;
  transition: opacity 0.5s ease;
}

.project {
  background: linear-gradient(to bottom, #778899, #ffffff); /* Subtle gradient */
  border: 1px solid #00FFFF;
  border-radius: 10px;

  /*background-color: white;
  border: 1px solid #ddd;
  border-radius: 5px;*/
  padding: 40px; /* Increased padding for larger projects */
  text-align: center;

  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Add shadow for depth */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: auto;

  opacity: 1;
  /*transform: scale(1);
  transition: opacity 0.5s ease, transform 0.5s ease;*/
  /*height: 600px;*/
  font-size: 20px; /* Increase font size for larger text */
}


.project:hover {
  transform: translateY(-5px); /* Slight lift on hover */
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15); /* Increase shadow on hover */
}

.project a {
  text-decoration: none;
  color: #007bff;
  font-weight: 600;
}

.project a:hover {
  color: #0056b3;
}

.project h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.project p {
  font-size: 16px;
  color: #666;
  margin: 15px 0;
  line-height: 1.5;
}




.project.hidden {
  opacity: 0;
  transform: scale(0.8);
}



.lottie-container {
  display: inline-block; /* Keep animations next to each other */
  width: 100px; /* Adjust size as needed */
  height: 100px; /* Adjust size as needed */
}

.lottie-link {
  margin-right: 30px; /* Space between animations */
  display: inline-block; /* Keeps them inline */
  text-decoration: none; /* Remove underline from links */
}

.lottie-link:hover .lottie-container {
  transform: scale(1.1); /* Slight zoom effect on hover */
  transition: transform 0.3s ease;
}



.card-groups,
.card-group,
.card {
  aspect-ratio: 5 / 7;
}

.card-groups,
.card-group,
.big-card {  
  width: 30vmin;
}

.card-group {
  position: absolute;
  transition: transform 400ms ease;


  /*top: 50%; /* Center vertically */
  /*left: 50%; /* Center horizontally */
  /*transform: translate(-50%, -50%); /* Center adjustment */
}

.card-group[data-status="unknown"] {
  transform: scale(0);
  transition: none;
}

.card-group[data-status="active"] {
  transition-delay: 300ms;
}

.card-group[data-status="after"] {
  transform: translateX(50%) scale(0);
}

.card-group[data-status="before"] {
  transform: translateX(-50%) scale(0);
}

.card-group[data-status="becoming-active-from-after"] {
  transform: translateX(50%) scale(0);
  transition: none;
}

.card-group[data-status="becoming-active-from-before"] {
  transform: translateX(-50%) scale(0);
  transition: none;
}

.card {
  background-color: rgba(255, 255, 255, 0.05);
  position: absolute;
  transition: transform 800ms cubic-bezier(.05,.43,.25,.95);
  
  background-position: center;
  background-size: cover;
}

.big-card {
  border-radius: 1vmin;
}

.little-card {
  width: 12vmin;
  border-radius: 2vmin;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  box-shadow: -1vmin 1vmin 2vmin rgba(0, 0, 0, 0.25);
  pointer-events: none;
}
/*! Created by Jovan Jovanović © 2025 - jovanhq.tech © 2025 jjovan4077@yahoo.com */

.big-card:nth-child(2) {
  background-image: url("../../stuff/images/fishing.jpg");
  transform: translateX(-10%) rotate(-1deg);
}

.big-card:nth-child(4) {
  background-image: url("../../stuff/images/beach.jpg");
  transform: rotate(2deg);
}

.big-card:nth-child(6) {
  background-image: url("../../stuff/images/code.jpg");
  transform: translateX(-6%) rotate(-3deg);
}

.big-card:nth-child(8) {
  background-image: url("../../stuff/images/skiing.jpg");
  transform: translate(10%, 3%) rotate(5deg);
}

.card-group[data-index="1"] > .big-card:nth-child(6) {
  background-image: url("../../stuff/images/chess.jpg");
}

.card-group[data-index="1"] > .big-card:nth-child(8) {
  background-image: url("../../stuff/images/camping.jpg");
}

.card-group[data-index="2"] > .big-card:nth-child(4) {
  background-image: url("../../stuff/images/guitar.jpg");
}

.card-group[data-index="2"] > .big-card:nth-child(8) {
  background-image: url("../../stuff/images/bike.jpg");
}

.little-card:nth-child(1) {
  background-image: url("../../stuff/images/gaming.jpg");
}

.little-card:nth-child(3) {
  background-image: url("../../stuff/images/music.jpg");
}

.little-card:nth-child(5) {
  background-image: url("../../stuff/images/rubiks.jpg");
}

.little-card:nth-child(7) {
  background-image: url("../../stuff/images/books.jpg");
}

.card-group:hover > .card {  
  box-shadow: -2vmin 2vmin 3vmin rgba(0, 0, 0, 0.4);
}

.card-group:hover > .big-card:nth-child(2) {
  transform: translate(-75%, 16%) rotate(-24deg);
}

.card-group:hover > .big-card:nth-child(4) {
  transform: translate(-25%, 8%) rotate(-8deg);
}

.card-group:hover > .big-card:nth-child(6) {
  transform: translate(25%, 8%) rotate(8deg);
}

.card-group:hover > .big-card:nth-child(8) {
  transform: translate(75%, 16%) rotate(24deg);
}

.card-group:hover > .little-card:nth-child(1) {
  transform: translate(200%, -160%) rotate(-15deg);
}

.card-group:hover > .little-card:nth-child(3) {
  transform: translate(160%, 170%) rotate(15deg);
}

.card-group:hover > .little-card:nth-child(5) {
  transform: translate(-200%, -170%) rotate(15deg);
}

.card-group:hover > .little-card:nth-child(7) {
  transform: translate(-280%, 140%) rotate(-15deg);
}

.card-swiper-buttons {
  margin-top: 8vmin;
  display: flex;
  justify-content: space-around;  
  padding: 0vmin 4vmin;
}

.card-swiper-buttons > button {
  font-size: 2.5vmin;
  border: 0.4vmin solid rgb(200, 200, 200);
  border-radius: 100%;
  color: white;
  background-color: transparent;
  height: 7vmin;
  width: 7vmin;
  display: grid;
  place-items: center;
  cursor: pointer;
}

#right-button {
  color: #00FFFF;
  border-color: #00FFFF
}

#left-button {
  color: #00FFFF;
  border-color: #00FFFF;
}




.border2 {
  border: 2px solid #00FFFF;
  border-radius: 50%;
  background-color: #778899;
}

.lottie-link.move2.hidden3 {
  margin-bottom: 20px; /* Apply consistent margin to all elements */
  margin-top: 20px;
}



.idk {
  /*height: 100vh;*/
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 70px;
}

/* Book */
.book {
  position: relative;
  width: 650px;
  height: 500px;
  transition: transform 0.5s;
}

.paper {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  perspective: 1500px;

}

.front,
.back {
  background: linear-gradient(135deg, #6d46b4, #1E90FF);
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  transform-origin: left;
  transition: transform 0.5s;
}

.front {
  z-index: 1;
  backface-visibility: hidden;
  border-left: 3px solid rgb(177, 194, 241);
  background: linear-gradient(135deg, #4682b4, #1E90FF);
}

.back {
  z-index: 0;
}

.front-content,
.back-content {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.back-content {
  transform: rotateY(180deg)
}

/* Paper flip effect */
.flipped .front,
.flipped .back {
  transform: rotateY(-180deg);
}

/* Controller Buttons */
#certificates button {
  border: none;
  background-color: transparent;
  /*cursor: pointer;*/
  /*margin: 10px;*/
  margin: 0 30px;
  transition: transform 0.5s;
}

#certificates button:focus {
  outline: none;
}

#certificates button:hover i {
  color: #1E90FF;
}

#certificates i {
  font-size: 50px;
  color: #00FFFF;
}

/* Paper stack order */
#p1 { z-index: 5; }
#p2 { z-index: 4; }
#p3 { z-index: 3; }
#p4 { z-index: 2; } /* for future use */
#p5 { z-index: 1; } /* for future use */


/* Image inside the back of the book */
.back-content img {
  width: 100%;
  height: auto;
  max-width: 600px;
  transition: width 0.5s ease;
}

.tall-certificate {
  height: 480px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.idk3 {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}




#right-section{
  overflow: hidden;
}

.contentbio {
  position: relative; /* This ensures the content is above the overlay */
}

.landing-section {
  height: 92vh; /* Full screen height */
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #4e54c8, #8f94fb); /* Stunning gradient background */
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.landing-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay */
  z-index: 0;
}

.headline {
  font-size: 3em;
  font-weight: 700;
  animation: fadeIn 2s ease-out; /* Smooth fade-in */
}

.description {
  font-size: 1.2em;
  margin-top: 20px;
  opacity: 0.8;
  animation: fadeIn 3s ease-out;
}

.cta-button2 {
  display: inline-block;
  margin-top: 30px;
  padding: 15px 40px;
  font-size: 1.1em;
  color: white;
  background-color: #ff8c00; /* Bright orange button */
  border-radius: 30px;
  text-decoration: none;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button2:hover {
  background-color: #e67e00;
  transform: scale(1.05); /* Slight scaling effect on hover */
}

/* Smooth fade-in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}





#hobbiestext p {
  transition: color 0.3s ease, transform 0.3s ease;
}

#hobbiestext p:hover {
  color: #00FFFF;
  transform: scale(1.02);
}



.maptext {
  /*font-family: Arial, sans-serif;*/
  text-align: center;
  font-size: 24px;
  line-height: 1.6; /* Add some breathing room between rows */
}

.maptext p {
  display: inline-block;
  position: relative;
  font-size: 24px;
}

.maptext p .word {
  display: inline-flex; /* Keep letters aligned horizontally */
}

.maptext p span {
  display: inline-block;
  transition: transform 0.3s ease;
  margin-right: 0; /* Reset artificial margins */
  /*letter-spacing: -0.05em; /* Reduce space between letters */
}

.maptext p:hover span {
  animation: wave 0.6s ease forwards;
}

@keyframes wave {
  0% {
      transform: translateY(0);
  }
  20% {
      transform: translateY(-10px);
  }
  40% {
      transform: translateY(10px);
  }
  60% {
      transform: translateY(-5px);
  }
  80% {
      transform: translateY(5px);
  }
  100% {
      transform: translateY(0);
  }
}

/* Apply animation delay for letters */
.maptext p span:nth-child(n) {
  animation-delay: calc(var(--i) * 0.1s);
}


:root {
  --purple: rgb(123, 31, 162);
  --violet: rgb(103, 58, 183);
  --pink: rgb(244, 143, 177);
}

@keyframes background-pan {
  from {
      background-position: 0% center;
  }
  to {
      background-position: -200% center;
  }
}

@keyframes scale {
  from, to {
      transform: scale(0);
  }
  
  50% {
      transform: scale(1);
  }
}

@keyframes rotate {
  from {
      transform: rotate(0deg);
  }
  
  to {
      transform: rotate(180deg);
  }
}

#skills-contentstar {
  font-size: 1.3rem;
  text-align: left;
  margin: 20px;
}

#skills-contentstar > .magic {
  display: inline-block;
  position: relative;
}

#skills-contentstar > .magic > .magic-star {
  --size: clamp(20px, 1.5vw, 30px);
  
  animation: scale 700ms ease forwards;
  display: block;
  height: var(--size);
  left: var(--star-left);
  position: absolute;
  top: var(--star-top);
  width: var(--size);
}

#skills-contentstar > .magic > .magic-star > svg {
  animation: rotate 1000ms linear infinite;
  display: block;
  opacity: 0.7;
}

#skills-contentstar > .magic > .magic-star > svg > path {
  fill: var(--violet);
}

#skills-contentstar > .magic > .magic-text {
  animation: background-pan 3s linear infinite;
  background: linear-gradient(
      to right,
      var(--purple),
      var(--violet),
      var(--pink),
      var(--purple)
  );
  background-size: 200%;
  background-clip: text; /* Add the standard property */
  -webkit-background-clip: text; /* For older WebKit browsers */
  -webkit-text-fill-color: transparent; /* Required for text transparency with -webkit-background-clip */
  color: transparent; /* Ensures transparency for modern browsers */
  white-space: nowrap;
}




/* Basic Hamburger Button Style */
.hamburger-menu {
  display: none;
}

/* Hamburger Button Styling */
.hamburger-btn {
  font-size: 30px;
  cursor: pointer;
  background: none;
  border: none;
  color: #00BFFF; /* Striking blue color for the button */
  transition: transform 0.4s ease;
}

/* Full-Screen Overlay Menu Styling */
.overlay-menu {
  height: 100%;
  width: 0;
  position: fixed;
  top: 0;
  left: 0;
  background: linear-gradient(45deg, #1D3C6A, #2A5298);
  overflow-x: hidden;
  transition: width 0.6s ease, opacity 0.4s ease;
  z-index: 1000;
  opacity: 0; /* Initially hidden */
  color: #E0E0E0; /* Light Gray Text */
  padding-top: 50px; /* Add top padding to give space for the close button */
  border-right: 3px solid #00BFFF; /* Add border to the right to frame the menu */
  box-shadow: 4px 0px 15px rgba(0, 0, 0, 0.5); /* Adds shadow for depth */
}

/* Navigation Links in the menu */
.overlay-menu .nav-btn7 {
  padding: 20px;
  text-align: center;
  font-size: 24px;
  display: block;
  color: #E0E0E0;
  text-decoration: none;
  transition: 0.3s;
  transform: translateY(-40px); /* Positioning off-screen for animation */
  opacity: 0; /* Initially invisible */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Subtle line between nav buttons */
}

/* Menu Links Hover Effect */
.overlay-menu .nav-btn7:hover {
  background-color: #ADD8E6; /* Soft blue background */
  color: #000000; /* Dark text color when hovered */
  transform: scale(1.1); /* Slight zoom effect */
  border-bottom: 1px solid #00BFFF; /* Blue border on hover */
}

/* Close button's styling */
.overlay-menu .close-btn {
  font-size: 36px;
  position: absolute;
  top: 5px; /* Close button at the top */
  left: 20px; /* Positioned away from the edges */
  color: #E0E0E0; /* Close button color */
  text-decoration: none;
  transition: transform 0.3s ease;
  cursor: url('../../stuff/cursor/finger.cur'), auto; /* Make it obvious it's clickable */
  z-index: 2000; /* Ensure it is clickable and above the menu content */
  margin: 0; /* Remove any extra margin */
  padding: 0; /* Remove any extra padding */
}

/* Hover effect for the close button */
.overlay-menu .close-btn:hover {
  transform: rotate(180deg); /* Rotation animation on hover */
  color: #00BFFF; /* Blue color for hover effect */
}

/* Making the menu slide and show the links */
.overlay-menu.open {
  width: 250px;
  opacity: 1; /* Make the menu fully visible */
}

/* Animate links appearing one after another */
.overlay-menu.open .nav-btn7 {
  animation: fadeInLinks 0.4s forwards;
  animation-delay: calc(0.1s * var(--i)); /* Each link delays based on its index */
}

/* Keyframes for Link Fade-in animation */
@keyframes fadeInLinks {
  to {
      opacity: 1;
      transform: translateY(0);
  }
}












/* MEDIA QUERIES FOR RESPONSIVENESS */

/*STAYS FOR SURE*/

@media (max-width: 1400px) {
  #header-content1 {
    display: none;
  }

}

@media (max-width: 1300px) {
  #header-content3 {
    display: none;
  }
}

@media (max-width: 1200px) {
  #section-search {
    display: none;
  }
}

@media (max-width: 1000px) {
  #header-content4 {
    display: none;
  }
}


@media (max-width: 768px) {

  .header {
    /*flex-direction: column;*/
    /*align-items: flex-start;*/
    padding: 10px;
  }
  #header {
    padding-left: 20px;
    padding-right: 20px;
  }

  body {
    font-size: 14px;
  }

  #myCanvas {
    display: none;
  }

  .container {
    flex-direction: column;  /*Stack sections vertically*/
    width: 100%;
  }
  
  .right-controls {
    /*margin-top: 10px;*/
    display: flex;
    align-items: center;
    /*align-items: flex-start;*/
    /*width: 100%;*/
    justify-content: space-between;
  }

  .skills-container {
    flex-direction: column;
    align-items: center;
    max-width: 100%;
    margin: 10px;
    
  }

  .skills,
  .sub-skills {
    flex: 1 1 100%; /* Take full width */
    margin: 10px 0;
    padding: 20px;
  }

  .skills h2,
  .sub-skills h2 {
    font-size: 20px; /* Smaller font size */
    text-align: center;
  }

  .skill-bar {
    height: 15px; /* Smaller skill bar */
  }

  .skill-level {
    height: 100%;
    border-radius: 5px;
    position: absolute;
    top: 0;
    left: 0;
    transition: width 0.3s ease;
  }
  
  /* Adjust header size */
  #skills-heading {
    font-size: 22px; /* Make heading font size smaller */
    text-align: center;
    margin-top: 20px;
  }

  /* Adjust skill text section */
  #skills-contentstar {
    font-size: 14px;
    text-align: center;
    padding: 0 20px;
  }
  
  .nav-buttons {
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 15px;
  }

  .nav-btn7 {
    font-size: 14px;
    padding: 8px;
  }

  .search-lang {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .search-lang input[type="text"], 
  .search-lang select {
    width: 100%;
    margin: 0;
  }


  #about {
    scroll-margin-top: 50px;
  }
  #about.vertical{
    padding-top: 0%;
  }
  .fullscreen {
    height: auto;
    /*width: 100vw;*/
  }
  .content-container {
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }

  #profile-pic {
    width: 200px; /* Smaller profile picture */
    height: 260px;
    margin-bottom: 20px;
  }

  .about-text {
    text-align: center;
    padding-left: 0;
  }

  .projects-grid {
    grid-template-columns: 1fr; /* Single column for projects */
    gap: 20px; /* Smaller gaps */
  }

  #dynamic-skill {
    font-size: 18px; /* Smaller text for dynamic skill */
  }

  .filter-buttons {
    flex-wrap: wrap; /* Wrap buttons on smaller screens */
    gap: 8px; /* Add spacing between filter buttons */
    justify-content: center;
  }

  .filter-btn {
    padding: 8px 12px;
    font-size: 12px;
  }

  .radial-container {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    gap: 15px;
  }

  .radial-items {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    gap: 10px;
    justify-content: center;
  }

  .radial-item {
    padding: 6px;
    font-size: 12px; /* Reduce font size */
  }

  #sitemap-heading {
    font-size: 18px; /* Smaller font for the sitemap heading */
  }


  /*???*/
  .container {
    justify-content: center; /* Center main-section */
    overflow-x: hidden; /* Prevent horizontal scrolling */
  }

  .left-section {
    display: none; /* Hide left section visually, but content is untouched */
  }

  .right-section {
    display: none; /* Hide right section visually */
  }

  .main-section {
    width: 100%; /* Full width on small screens */
  }


  .left-section,
  .right-section {
    display: block;
  }


  .hamburger-menu {
    display: block;
  }
  .overlay-menu .nav-btn7 {
      font-size: 22px;
      padding: 20px 15px;
  }





}


@media (max-width: 480px) {

  .header {
    align-items: center;
    padding: 5px;
  }
  #header {
    padding-left: 10px;
    padding-right: 10px;
  }
  #myCanvas {
    display: none; /* Optional: Hide canvas on very small screens for performance */
  }
  #toggle-container {
    display: none;
  }
  #music-player-container {
    display: none;
  }
  #theme-toggle {
    background-size: 20px 20px; /* Adjust the image size */
  }
  .logo img {
    height: 40px;  /* Set a fixed height for the logo to control its size */
    max-height: 40px; /* Ensure the logo does not grow larger */
  }
  .nav-button {
    display: none;
  }

  body {
    font-size: 12px;
  }
  #about {
    padding-left: 0px;
    padding-right: 0px;
  }

   #skills {
    padding-left: 0px;
    padding-right: 0px;
  }
  .skill label:hover::after {
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    width: 200px;
  }
  h6 {
    font-size: 18px; /* Make the headings smaller */
  }
  /*! Created by Jovan Jovanović © 2025 - jovanhq.tech © 2025 jjovan4077@yahoo.com */
  .h7 {
    font-size: 16px; /* Make the headings smaller */
  }
  .h8 {
    font-size: 14px; /* Make the headings smaller */
  }
  #skills {
    font-size: 14px;
  }

  #section-search {
    display: none;
  }

  .skills h2,
  .sub-skills h2 {
    font-size: 18px; /* Reduce the title font size */
  }

  .skill-bar {
    height: 12px; /* Smaller skill bars */
  }

  .skill-level {
    border-radius: 3px;
  }

  #skills-contentstar {
    font-size: 12px; /* Make content font smaller */
    padding: 0 10px;
  }

  #skills-heading {
    font-size: 18px; /* Further reduce the heading size */
  }

  .skills, .sub-skills {
    padding: 15px; /* Less padding to save space */
  }

  .skill {
    margin-bottom: 10px; /* Reduced margin between skill items */
  }

  .nav-buttons {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .nav-btn7 {
    font-size: 12px;
    padding: 6px;
  }

  .search-lang {
    gap: 5px;
  }

  .search-lang input[type="text"], 
  .search-lang select {
    padding: 6px;
    font-size: 12px;
  }

  #toggle-button,
  #music-player-toggle,
  #theme-toggle {
    width: 30px;
    height: 30px;
  }


  #profile-pic {
    width: 200px; /* Even smaller profile picture */
    height: 260px;
  }

  .about-text h1 {
    font-size: 20px; /* Adjusted for small phones */
  }

  .about-text p {
    font-size: 14px; /* Smaller font for readability */
  }

  .projects-grid {
    gap: 10px; /* Tighter gaps for compactness */
  }

  #dynamic-skill {
    font-size: 16px; /* Fit within small screens */
  }

  .radial-container {
    width: 300px;
    height: 300px;
    gap: 10px;
  }
  .radial-item {
    font-size: 10px; /* Minimalist design for phones */
  }
  .radial-item {
    width: 50px;
    height: 50px;
    font-size: 0.7em;
  }
  .radial-center {
    width: 60px;
    height: 60px;
    font-size: 1em;
  }
  .faq-button2 {
    font-size: 1em;
  }

  .filter-btn {
    font-size: 10px;
    padding: 6px;
  }

  .project {
    padding: 20px; /* Compact project cards */
    font-size: 16px;
  }

  .project h3 {
    font-size: 18px;
  }

  .project p {
    font-size: 14px;
  }


  .overlay-menu .nav-btn7 {
    font-size: 18px;
    padding: 15px 10px;
  }
   
}


/*IDK YET*/



@media (max-width: 768px) {
  .membership {
    flex-direction: column;
    text-align: center; /* Align items in a column for smaller screens */
  }

  #memberships-heading {
    font-size: 20px; /* Smaller heading for small screens */
  }

  .membership img {
    width: 60px; /* Reduce logo size further */
  }

  .membership p {
    font-size: 13px; /* Smaller text size for small screens */
  }
}

@media (max-width: 480px) {
  #memberships {
    padding-left: 5px;
    padding-right: 5px;
  }
  #memberships-heading {
    font-size: 18px; /* Adjust heading size for very small screens */
  }

  .membership img {
    width: 50px; /* Smallest logo size */
  }

  .membership p {
    font-size: 12px; /* Smallest text size */
  }
}



/* Responsive design for smaller screens */
@media screen and (max-width: 768px) {
  .book {
    width: 250px;
    height: 350px;
  }

  i {
    font-size: 40px;
  }

  button {
    margin: 5px;
  }

  .back-content img {
    max-width: 230px;
  }
  .front-content img {
    max-width: 230px;
  }

  .tall-certificate {
    height: auto;
    max-height: 340px;
  }
}

@media screen and (max-width: 480px) {
  .book {
    width: 200px;
    height: 280px;
  }

  i {
    font-size: 30px;
  }

  button {
    margin: 2px;
  }

  .idk {
    flex-direction: column;
  }

  .back-content img {
    max-width: 180px;
  }
  .front-content img {
    max-width: 180px;
  }

  .tall-certificate {
    height: auto;
    max-height: 270px;
  }
}

@media screen and (max-width: 400px) {
  .book {
    width: 130px;
    height: 190px;
  }

  button {
    margin: 2px;
  }

  .idk {
    flex-direction: column;
  }

  .back-content img {
    max-width: 120px;
  }
  .front-content img {
    max-width: 120px;
  }
  #certificates-heading {
    font-size: 10px;
  }

  .tall-certificate {
    height: auto;
    max-height: 180px;
  }
}




/* Responsive Design for Medium Screens (Tablets) */
@media screen and (max-width: 768px) {
  .container6 {
    padding: 15px;
    max-width: 90%;
  }

  .tab-button {
    font-size: 14px;
    padding: 8px 16px;
  }

  #cv iframe {
    height: 400px;
  }

  #download-cv-text {
    font-size: 14px;
  }
}

/* Responsive Design for Small Screens (Phones) */
@media screen and (max-width: 480px) {
  .container6 {
    padding: 10px;
  }

  .tab-button {
    font-size: 12px;
    margin: 3px;
    padding: 6px 12px;
  }

  .tab-container {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  /*.cv-preview iframe {
    height: 300px;
  }*/

  #download-cv-text {
    font-size: 12px;
    margin-top: 10px;
    width: 150px;
    margin: 20px auto;
  }
}



/* Responsive Design for Medium Screens (Tablets) */
@media screen and (max-width: 768px) {
  #mapsection {
    padding: 15px 20px;
  }

  .map {
    max-width: 90%;
    gap: 2rem;
  }

  .maptext h4 {
    font-size: 20px;
  }

  .maptext p {
    font-size: 14px;
  }

  iframe.durlan {
    height: 350px;
  }
}

/* Responsive Design for Small Screens (Phones) */
@media screen and (max-width: 480px) {
  #mapsection {
    padding: 10px;
  }
  .map {
    gap: 2rem;
  }

  .maptext h4 {
    font-size: 18px;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .maptext p {
    font-size: 14px;
  }

  iframe.durlan {
    height: 250px;
    max-width: 90%;
    /*width: 600px;*/
  }

  .maptext .word span {
    font-size: 14px;
  }
  .durlan:hover {
    transform: none;
  }
}



/* Responsive Styles */
@media screen and (max-width: 768px) {
  #vision {
    padding: 30px;
  }

  .vision-section {
    padding: 10px;
  }

  #vision-heading {
    font-size: 2rem; /* Adjust heading size */
    margin-bottom: 15px;
  }

  #vision-content,
  #vision-content1,
  #vision-content2 {
    font-size: 1rem; /* Adjust paragraph size */
    line-height: 1.5;
    margin-bottom: 10px;
  }
}

@media screen and (max-width: 480px) {
  #vision {
    padding: 20px;
  }

  #vision-heading {
    font-size: 1.75rem; /* Smaller heading size for narrow screens */
  }

  #vision-content,
  #vision-content1,
  #vision-content2 {
    font-size: 0.9rem; /* Smaller text size for phones */
    line-height: 1.4;
  }
}



/* Responsive Styles */
@media screen and (max-width: 768px) {

  #business.vertical {
    padding-top: 0%;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    display: block;
  }

  h11 {
    font-size: 1.3rem;
  }

  p {
    font-size: 0.9rem;
  }

  .cta-title {
    font-size: 1.5rem;
  }

  .cta-description {
    font-size: 0.9rem;
  }

  .cta-button {
    font-size: 0.9rem;
    padding: 8px 16px;
  }

  .service-item {
    margin-bottom: 10px;
  }
}

@media screen and (max-width: 480px) {
  .services-grid {
    display: block;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  h11 {
    font-size: 1.2rem;
  }

  p {
    font-size: 0.85rem;
  }

  /*.cta-title {
    font-size: 15px;
  }*/

  .cta-description {
    font-size: 0.85rem;
  }

  .cta-button {
    font-size: 0.85rem;
    padding: 8px 12px;
  }
  .service-item {
    border-radius: 8px;
    padding: 30px;
  }
  .icon-container {
    font-size: 2rem;
    margin-bottom: 10px;
  }
  #business h2 {
    font-size: 20px;
  }
}



/* Responsive Styles */
@media screen and (max-width: 768px) {
  #hobbies {
    gap: 50px;
  }
  #hobbies.vertical {
    padding-top: 20px;
  }
  #hobbiestext {
    padding: 15px;
  }

  #hobbiestext h2 {
    font-size: 24px;
  }

  #hobbiestext p {
    font-size: 14px;
  }
  #hobbies i {
    font-size: 15px;
  }

  #hobbies i {
    font-size: 25px;
  }
}

@media screen and (max-width: 480px) {
  #hobbiestext {
    padding: 10px;
  }

  #hobbiestext h2 {
    font-size: 22px;
  }

  #hobbiestext p {
    font-size: 13px;
    line-height: 1.4;
  }

  #hobbies i {
    font-size: 15px;
  }
}



/* Responsive Styles */
@media screen and (max-width: 768px) {
  #thisportfolio2 {
    padding: 15px;
  }

  #thisportfolio h2 {
    font-size: 24px;
  }

  #thisportfolio p {
    font-size: 16px;
    line-height: 1.6;
  }

  #thisportfolio p[id*="content1"],
  #thisportfolio p[id*="content3"] {
    font-size: 18px;
  }
}

@media screen and (max-width: 480px) {
  #thisportfolio2 {
    padding: 10px;
  }

  #thisportfolio h2 {
    font-size: 20px;
  }

  #thisportfolio p {
    font-size: 14px;
    line-height: 1.5;
  }

  #thisportfolio p[id*="content1"],
  #thisportfolio p[id*="content3"] {
    font-size: 16px;
  }
}



/* Responsive styles */
@media screen and (max-width: 768px) {
  #contact {
    padding: 20px;
    padding-bottom: 70px;
    scroll-margin-top: 370px;
  }

  #contact-heading {
    font-size: 24px;
  }

  #contact-content {
    font-size: 16px;
  }

  .lottie-container {
    width: 65px;
    height: 65px;
  }

  .faq-button {
    font-size: 14px;
    padding: 10px 16px;
  }

  #contact a {
    font-size: 16px;
  }
}

@media screen and (max-width: 480px) {
  #contact {
    padding: 10px;
    padding-bottom: 70px;
  }

  #contact-heading {
    font-size: 20px;
  }

  #contact-content {
    font-size: 14px;
  }

  .lottie-link {
    margin-right: 10px;
  }
  .lottie-container {
    width: 70px;
    height: 70px;
  }

  .faq-button {
    font-size: 12px;
    padding: 8px 12px;
  }

  #contact a {
    font-size: 14px;
  }
}



@media (max-width: 768px) {
  .container {
    /*display: flex;*/
    /*flex-direction: column;  /* Stack sections vertically */
    height: 100vh; /* Make the container span the full height of the viewport */
    overflow: hidden; /* Prevent the container itself from scrolling */
  }

  .mobiletest {
    flex-shrink: 0; /* Prevent sections from shrinking */
    /*height: 20%; /* Top and bottom sections take up a small portion of the height */
    /*! Created by Jovan Jovanović © 2025 - jovanhq.tech © 2025 jjovan4077@yahoo.com */
    overflow: hidden; /* No scrolling here */
  }

  .mobiletest1 {
    flex-grow: 1; /* Middle section grows to fill the remaining height */
    overflow-y: auto; /* Enable scrolling for just the middle section */
  }

  .mobiletest2 {
    flex-grow: 1; /* Middle section grows to fill the remaining height */
    overflow-y: auto; /* Enable scrolling for just the middle section */
  }
}



/* Responsive styles */
@media screen and (max-width: 768px) {
  .landing-section {
    height: 100vh;
    padding-left: 8px;
    padding-right: 8px;
  }
  #biography.vertical {
    padding-top: 0; /* Remove padding-top for smaller screens */
  }
  #biography-heading {
    font-size: 28px;
  }

  #biography-content {
    font-size: 16px;
  }

  .cta-button2 {
    font-size: 14px;
    padding: 10px 16px;
  }
}

@media screen and (max-width: 480px) {
  #biography-heading {
    font-size: 24px;
  }

  #biography-content {
    font-size: 14px;
  }

  .cta-button2 {
    font-size: 12px;
    padding: 8px 12px;
  }
}



/* Make it responsive for smaller screens */
@media screen and (max-width: 768px) {
  #library.vertical {
    padding-top: 0%;
  }
  .categories {
    gap: 0px;
  }

  /* Change grid to a single column for tablet and mobile devices */
  #projects {
    padding-left: 0%;
    padding-right: 0%;
  }
  .projects-grid {
    grid-template-columns: 1fr;
    padding-left: 20px;  /* Optional: Reduces padding for smaller screens */
    padding-right: 20px;
  }

  /* Adjust button padding and margins */
  .filter-btn {
    font-size: 14px;  /* Smaller text on smaller screens */
    padding: 8px 16px;
    margin-left: 2px;
    margin-right: 2px;
  }
  
  /* Further adjustments to the project card padding */
  .project {
    padding: 20px; /* Less padding for smaller screens */
    font-size: 18px; /* Smaller font size */
  }

  /* Reduce the h3 font size in project cards for better readability on smaller screens */
  .project h3 {
    font-size: 20px;
  }

  .nav {
    display: none;
  }
  #toggle-container {
    display: none;
  }
  #music-player-container {
    display: none;
  }
  #section-search {
    display: none;
  }
  .nav-button.right {
    display: none;
  }
  .nav-button.left{
    display: none;
  }
}

/* Further responsiveness for very small screens (max-width: 480px) */
@media screen and (max-width: 480px) {
  .filter-btn {
    font-size: 12px;  /* Smaller text for very small screens */
    padding: 6px 12px;
    margin-left: 2px;
    margin-right: 2px;
  }

  /* Make text inside project cards more compact */
  .project {
    padding: 15px;
    font-size: 16px;  /* Further reduce font size */
  }

  .project h3 {
    font-size: 18px; /* Adjust heading size */
  }

  .project p {
    font-size: 14px;  /* Smaller paragraph size */
  }


}

/*#contact > div[style*="margin-top: 20px;"] {
  padding-bottom: 30px;
}*/


@media (max-width: 768px) {
  div.copyright-container {
      margin-top: 15px;
      padding-bottom: 15px;
      text-align: center; /* Center-align for better readability */
  }
  div.copyright-container small {
      font-size: 12px; /* Slightly smaller font */
  }
}

/* Mobile Devices (Up to 480px) */
@media (max-width: 480px) {
  div.copyright-container {
      margin-top: 10px;
      text-align: center;
      padding: 0 10px; /* Add padding for better spacing */
  }
  div.copyright-container small {
      font-size: 10px; /* Smallest readable font */
  }
}






/* =======================
PROJECTS - 10× UPGRADE
If something broke something its this code, used chatgpt so maybe all sucks...
======================= */
:root{
  --proj-bg:#0f1b2d;
  --proj-card:rgba(14,25,44,.6);
  --proj-stroke:rgba(0,255,255,.22);
  --proj-glow:rgba(0,255,255,.35);
  --proj-blue:#1E90FF;
  --proj-cyan:#00FFFF;
  --proj-text:#e8f1ff;
  --proj-muted:#a0b2c7;
  --proj-shadow:0 10px 30px rgba(0,0,0,.35);
  --proj-radius:16px;
  --proj-gap:clamp(16px,2vw,28px);
  --proj-border-w:1.2px;
}

/* Backdrop */
#projects{ position:relative; isolation:isolate; }
#projects::before{
  content:""; position:absolute; inset:-2px; z-index:-1;
  background:
    radial-gradient(500px 300px at 5% 10%, rgba(30,144,255,.08), transparent 60%),
    radial-gradient(600px 380px at 95% 20%, rgba(0,255,255,.08), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,0));
}

/* ------- FILTER CHIPS ------- */
#projects .filter-buttons{
  display:flex; flex-wrap:wrap; justify-content:center; gap:10px;
}
#projects .filter-btn{
  position:relative; appearance:none; outline:0;
  padding:10px 14px; border-radius:999px;
  font-weight:700; letter-spacing:.2px; color:var(--proj-text);
  background:rgba(2,28,42,.45);
  border:1px solid rgba(0,234,255,.25);
  box-shadow: inset 0 0 0 1px rgba(0,234,255,.15);
  transition: transform .2s ease, box-shadow .3s ease, background .3s ease, border-color .3s ease;
  cursor:url("../../stuff/cursor/finger.cur"), pointer;
}
#projects .filter-btn:hover{ transform:translateY(-1px); }
#projects .filter-btn.is-active{
  border:2px solid #00eaff;
  background:linear-gradient(135deg, rgba(0,255,255,.15), rgba(30,144,255,.2));
  box-shadow:
    inset 0 0 0 2px rgba(110,247,255,.9),
    0 0 22px rgba(110,247,255,.65),
    0 10px 24px rgba(0,0,0,.4);
}
#projects .filter-btn::after{
  content:""; position:absolute; inset:0; border-radius:inherit; pointer-events:none;
  background:radial-gradient(120px 120px at var(--mx,50%) var(--my,50%), rgba(255,255,255,.25), transparent 60%);
  opacity:0; transition:opacity .35s ease;
}
#projects .filter-btn.btn-ripple::after{ opacity:.35; }

/* ------- GRID ------- */
#projects .projects-grid{
  display:grid; grid-template-columns:repeat(auto-fit, minmax(330px,1fr));
  gap:var(--proj-gap); margin-top:10px; perspective:1200px;
}

/* ------- CARD ------- */
#projects .project{
  position:relative; overflow:hidden; border-radius:var(--proj-radius);
  padding:22px; text-align:left; color:var(--proj-text);
  background:var(--proj-card); box-shadow:var(--proj-shadow);
  border:var(--proj-border-w) solid rgba(255,255,255,.06);
  transform-style:preserve-3d; will-change:transform;
}
/* animated gradient border */
#projects .project::before{
  content:""; position:absolute; inset:-1px; border-radius:inherit; padding:1.2px;
  background:conic-gradient(from var(--a,0deg), #39f5ff, #5aa8ff, #9dc4ff, #39f5ff);
  -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite:xor; mask-composite:exclude;
  filter:drop-shadow(0 0 26px rgba(0,255,255,.35));
  animation:spin 8s linear infinite paused; pointer-events:none; z-index:1;
}
#projects .project:hover::before{ animation-play-state:running; }
@keyframes spin{ to{ --a:360deg; } }

/* spotlight glow (toggled by JS via .card-glow) */
#projects .project::after{
  content:""; position:absolute; inset:-25%; border-radius:inherit; pointer-events:none;
  background:radial-gradient(600px 400px at var(--mx,50%) var(--my,50%), var(--proj-glow), transparent 60%);
  opacity:0; transition:opacity .35s ease; z-index:0;
}
#projects .project.card-glow::after{ opacity:1; }

/* Title + sweep underline */
#projects .project h3{
  font-size:clamp(20px,2.2vw,26px); line-height:1.25; margin:0 0 10px;
  background:linear-gradient(92deg, var(--proj-cyan), #bfe7ff 40%, var(--proj-blue));
  -webkit-background-clip:text; background-clip:text; color:transparent;
  text-shadow:0 0 12px rgba(0,255,255,.18);
  position:relative;
}
#projects .project h3::after{
  content:""; position:absolute; left:0; bottom:-6px; height:2px; width:0%;
  background:linear-gradient(90deg, rgba(0,255,255,0), #88f6ff, rgba(0,255,255,0));
  box-shadow:0 0 10px rgba(136,246,255,.7);
  transition:width .6s cubic-bezier(.2,.7,.2,1);
}
#projects .project:hover h3::after{ width:100%; }

/* Body text */
#projects .project p, #projects .project li{ color:#d7ecff; }
#projects .project p strong{ color:#f2fbff; }
#projects .project ul{ margin:8px 0 0 1.2rem; }
#projects .project li{ margin:2px 0; }

/* Category chips (auto-injected) *//*
.project-tags{ display:flex; flex-wrap:wrap; gap:8px; margin:8px 0 14px; }
.project-tag{ padding:6px 10px; border-radius:999px; font-size:12px; font-weight:700; letter-spacing:.2px; color:#0b1323; }
.project-tag[data-t="python"]{ background:#a5d3ff; }
.project-tag[data-t="c++"]{ background:#b9ffa5; }
.project-tag[data-t="java"]{ background:#ffc5a5; }
.project-tag[data-t="fullstack"]{ background:#ffdba5; }
.project-tag[data-t="webdesign"]{ background:#d6b5ff; }
.project-tag[data-t="wordpress"]{ background:#ffe9a5; }
.project-tag[data-t="figma"]{ background:#ffb5c9; }
.project-tag[data-t="guidevelopment"]{ background:#b5fff3; }
.project-tag[data-t="aiart"]{ background:#ffb5ff; }*/

/* Decorative layers */
#projects .project .bg-dots{ position:absolute; inset:0; border-radius:inherit; pointer-events:none;
  background:
    radial-gradient(2px 2px at 10% 20%, rgba(0,255,255,.18), transparent 60%),
    radial-gradient(2px 2px at 80% 30%, rgba(91,167,255,.15), transparent 60%),
    radial-gradient(2px 2px at 30% 80%, rgba(0,255,255,.12), transparent 60%),
    radial-gradient(2px 2px at 70% 70%, rgba(91,167,255,.12), transparent 60%);
  animation:drift 12s linear infinite; opacity:.45; z-index:0;
}
@keyframes drift{ 0%{transform:translateY(0)} 50%{transform:translateY(-6px)} 100%{transform:translateY(0)} }

#projects .project .sheen{ pointer-events:none; position:absolute; inset:-1px; border-radius:inherit;
  background:linear-gradient(120deg, transparent 40%, rgba(255,255,255,.18) 50%, transparent 60%);
  transform:translateX(-120%); transition:transform .8s cubic-bezier(.2,.7,.2,1); z-index:3;
}
#projects .project:hover .sheen{ transform:translateX(120%); }

#projects .project .runner{ position:absolute; inset:-1px; box-sizing:border-box; border-radius:inherit; pointer-events:none;
  padding:2px; background:conic-gradient(from var(--run,0deg), transparent 0 96%, rgba(106,250,255,.98) 96% 100%);
  -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite:xor; mask-composite:exclude;
  filter:drop-shadow(0 0 12px rgba(106,250,255,.6)); animation:runner-rot 4.2s linear infinite; opacity:.9; z-index:2;
}
@keyframes runner-rot{ to{ --run:360deg; } }
#projects .project:hover .runner{ animation-duration:2.2s; }

#projects .project .scanline{ position:absolute; inset:-1px; border-radius:inherit; pointer-events:none;
  background:linear-gradient(180deg, transparent, rgba(255,255,255,.06), transparent);
  transform:translateY(-120%); animation:scan 12s linear infinite; mix-blend-mode:screen; opacity:.4; z-index:2;
}
#projects .project:hover .scanline{ animation-duration:7s; }
@keyframes scan{ to{ transform:translateY(120%); } }

/* Show/hide + reveal */
.project.is-hidden{ pointer-events:none; opacity:0; transform:scale(.92) translateY(8px); filter:saturate(.4) blur(.6px); transition:opacity .28s, transform .28s, filter .28s; }
.project.is-visible{ opacity:1; transform:translateY(0) scale(1); filter:none; transition:opacity .35s, transform .35s, filter .35s; }
.reveal{ opacity:0; transform:translateY(16px); }
.reveal.is-in{ opacity:1; transform:translateY(0); transition:opacity .6s, transform .6s; }

/* Reduced motion */
@media (prefers-reduced-motion:reduce){
  #projects .project, #projects .project::before, #projects .project::after{ transition:none !important; animation:none !important; }
}


/* Thin cyan neon border around every project card */
#projects .project{
  --neon: rgba(0, 238, 255, .38);
  border: 1px solid var(--neon) !important;                 /* crisp line */
  box-shadow:
    inset 0 0 0 1px rgba(0, 238, 255, .22),                 /* inner rim */
    0 0 12px rgba(0, 238, 255, .18);                        /* soft outer glow */
}

/* (optional) make it pop a bit more on hover */
#projects .project:hover{
  box-shadow:
    inset 0 0 0 1px rgba(0, 238, 255, .28),
    0 0 16px rgba(0, 238, 255, .26);
}



/* Let the browser interpolate our angles */
@property --run { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@property --a   { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

/* Use full turns for clarity */
@keyframes runner-rot { to { --run: 1turn; } }
@keyframes spin       { to { --a:   1turn; } }




.cv-mobile { display: none; }

@media (max-width: 900px) {
    .cv-mobile { display: block; }
}



.cv-preview {
    width: 100%;
    box-sizing: border-box;
}

/* Only show the active preview */
.cv-preview:not(.active) {
    display: none;   /* completely remove from layout */
}

/* Center the active preview container */
#cv-desktop-container {
    width: 100%;
    max-width: 900px;      /* optional, keep content from stretching too wide */
    margin: 0 auto;        /* center horizontally */
}









/* Generic tag style used by generated project-tag spans */
.project-tag {
  display: inline-block;
  padding: 0.28rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 999px;
  color: var(--tag-foreground);
  margin-right: 0.45rem;
  margin-bottom: 0.35rem;
  box-shadow: 0 6px 18px rgba(2,6,23,0.6), 0 1px 0 var(--tag-border-glow) inset;
  border: 1px solid rgba(255,255,255,0.03);
  text-transform: none;
  letter-spacing: 0.02em;
  transition: transform .14s ease, box-shadow .14s ease, opacity .12s ease;
  background-size: 200% 200%;
}

/* individual tag colors (attribute selectors) */
.project-tag[data-t~="fullstack"]     { background: var(--tag-fullstack-bg); }
.project-tag[data-t~="webdevelopment"]{ background: var(--tag-webdev-bg); }
.project-tag[data-t~="webdesign"]     { background: var(--tag-webdesign-bg); }
.project-tag[data-t~="phpp"]          { background: var(--tag-php-bg); } /* your phpp tag */
.project-tag[data-t~="php"]           { background: var(--tag-php-bg); } /* optional alias */
.project-tag[data-t~="python"]        { background: var(--tag-python-bg); color: #071026; }
.project-tag[data-t~="java"]          { background: var(--tag-java-bg); }
.project-tag[data-t~="c++"]           { background: var(--tag-cpp-bg); }
.project-tag[data-t~="aiart"]         { background: var(--tag-aiart-bg); }
.project-tag[data-t~="figma"]         { background: var(--tag-figma-bg); }
.project-tag[data-t~="wordpress"]     { background: var(--tag-wordpress-bg); }

/* small hover/interaction */
.project-tag:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(2,6,23,0.6);
  opacity: 0.98;
}
