html {
  scroll-behavior: smooth;
}
#body {
  background-color: #1e1e1e;
  color: #00ff00;
  font-family: 'Consolas', 'Monaco', 'Lucida Console', monospace;
  padding: 1rem;
}

/* Styling for your "Ettore Junior PW" brand name */
.navbar .container-fluid a {
  text-decoration: none;
  color: #00ffff; /* A vibrant cyan for the links */
  text-shadow: 0 0 3px rgba(0, 255, 255, 0.5); /* Subtle glow effect for links */
  padding: 0.5rem 1rem; /* Maintain Bootstrap's standard padding */
  transition: color 0.2s ease, text-shadow 0.2s ease; /* Smooth transition for hover effects */
}
a{
  color: #00ffff; /* A vibrant cyan for the links */
  text-shadow: 0 0 3px rgba(0, 255, 255, 0.5); /* Subtle glow effect for links */
  padding: 0.5rem 1rem; /* Maintain Bootstrap's standard padding */
  transition: color 0.2s ease, text-shadow 0.2s ease; /* Smooth transition for hover effects */
}

.navbar{
  background-color: #1e1e1e;
}

/* Hover and active states for navigation links */
.navbar-nav a:hover,
.navbar-nav a.active { /* Applies to the active link as well */
  color: #00ff00; /* Changes to bright green on hover/active */
  text-shadow: 0 0 8px rgba(0, 255, 0, 0.9); /* Stronger glow effect on hover/active */
}
/* Styling for the Navbar Toggler (hamburger menu on small screens) */
.navbar-toggler {
  background-color: #333333; /* Dunkleres Grau */
  color: #00ffff; /* Ein leuchtendes Cyan für den Text */
  border: 1px solid #00ffff; /* Cyan-Rand */
  text-shadow: 0 0 5px rgba(0, 255, 255, 0.5); /* Green border for the toggler button */
}
.navbar-toggler:hover,
.navbar-toggler:focus,
.navbar-toggler:active {
  background-color: #007700; /* Etwas helleres Grün beim Hover/Fokus */
  color: #00ff00; /* Text bleibt hellgrün */
  border-color: #00ff00; /* Rand bleibt hellgrün */
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.7); /* Stärkerer Glüheffekt um den Button */
  transform: translateY(-2px); /* Optional: Leichter "Pop-up"-Effekt */
}

/* Changes the color of the lines within the hamburger icon to bright green */
.navbar-toggler-icon {
  filter: invert(65%) sepia(95%) saturate(7000%) hue-rotate(165deg) brightness(100%) contrast(105%);
}

.underline-grow {
  position: relative;
  text-decoration: none;
}

.underline-grow::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px; /* Dicke der Linie */
  background-color: currentColor;
  transition: all 0.2s ease;
  transform: translateX(-50%);
}
.underline-grow:hover::after {
  width: 100%;
}


.btn-primary {
  margin-bottom: 20px;
  background-color: #005500; /* Dunkles Grün als Hintergrund */
  color: #00ff00; /* Leuchtendes Grün für den Text */
  border: 1px solid #00ff00; /* Leuchtend grüner Rand */
  text-shadow: 0 0 5px rgba(0, 255, 0, 0.5); /* Leichter Glüheffekt für den Text */
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: #007700; /* Etwas helleres Grün beim Hover/Fokus */
  color: #00ff00; /* Text bleibt hellgrün */
  border-color: #00ff00; /* Rand bleibt hellgrün */
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.7); /* Stärkerer Glüheffekt um den Button */
  transform: translateY(-2px); /* Optional: Leichter "Pop-up"-Effekt */
}

.btn-secondary {
  background-color: #333333; /* Dunkleres Grau */
  color: #00ffff; /* Ein leuchtendes Cyan für den Text */
  border: 1px solid #00ffff; /* Cyan-Rand */
  text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
  text-decoration: none;/* Leichter Glüheffekt */
  margin-top: 10px;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
  background-color: #007700; /* Etwas helleres Grün beim Hover/Fokus */
  color: #00ff00; /* Text bleibt hellgrün */
  border-color: #00ff00; /* Rand bleibt hellgrün */
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.7); /* Stärkerer Glüheffekt um den Button */
  transform: translateY(-2px); /* Optional: Leichter "Pop-up"-Effekt */
}

a:hover {
  color: #00ffff; /* Text bleibt hellgrün */
  text-decoration: underline; /* Unterstreichung beim Hover */
}

/* Optional: Konsolen-Text-Stil für Überschriften oder wichtige Elemente */
h1, h2, h3, h4, h5, h6{
  color: #00ff00; /* Oder ein leicht helleres Grün für Überschriften */
  text-shadow: 0 0 5px rgba(0, 255, 0, 0.7); /* Leichter Glüheffekt */
}


.header{
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero {
  background-image: url("../img/background/PortfolioHeroSectionBackGroundCover2.png");
  background-repeat: no-repeat;
  height: 100vh;
  text-shadow: 1px 1px 4px rgb(0, 0, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.tech-icon {
  font-size: 2rem;
}
@media (max-width: 600px) {
  #print {
    font-size: 14px; /* oder jede gewünschte Größe */
  }
  #myText{
    font-size: 14px;
  }
  .card-text{
    font-size: 14px;
  }
}

h1 {
  opacity: 0;               /* Start: unsichtbar */
  animation: fadeIn 1s ease forwards;
  animation-delay: 2s;      /* Warte 2 Sekunden, bevor Animation startet */
}

@keyframes fadeIn {
  to {
    opacity: 1;             /* Am Ende: voll sichtbar */
  }
}

.typing-effect-hero {
  overflow: hidden; /* verhindert Überlauf */
  white-space: nowrap; /* damit alles in einer Zeile bleibt */
  border-right: .10em solid #09f41b; /* blinkender Cursor */
  width: 0;
  animation: typing-hero 1s steps(12) forwards, blink-hero 0.7s step-end infinite;
}

@keyframes typing-hero {
  from { width: 0 }
  to { width: 45ch } /* ch = Anzahl der Zeichen */
}

@keyframes blink-hero {
  50% { border-color: transparent }
}
#buttonsField{
  margin: 3rem;
}

.aboutMe {
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

}
#aboutMe {
  padding-top: 6rem;
  scroll-margin-top: 80px;
}

@media (min-width: 768px) {
  #aboutMe {
    padding-top: 4rem;
  }
}
.aboutMe img{
  height: 50vh;
}
#myAbout{
  height: 100vh;
}
img{
  opacity: 90%;
}
#featured-project{
  padding-top: 8rem;
}
#q-manager{
  padding-top: 8rem;
}

.projects{
  background-size: cover;
  background-position: center;
}
#p-p{
  margin-bottom: 30px;
}
.btn-section{
  display: flex;
  margin: 10px;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
#projects{
  padding-top: 8rem;
}
.project-card {
  background-color: #1c1c1c; /* oscuro, consistente con tu estilo */
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.project-card img {
  border-radius: 8px;
  object-fit: cover;
  height: 200px;
  width: 100%;
}

.tech-icons i,
.tech-icons img {
  transition: transform 0.2s ease;
}

.tech-icons i:hover,
.tech-icons img:hover {
  transform: scale(1.2);
}

#tech-skills{
  padding-top: 8rem;
}
.skillsGrid{
  background-size: cover;
  background-position: center;
  align-content: center;
  text-align: center;
}
.title{
  align-content: center;
}
.colum{
  justify-content: center;
}
.project-grid{
  justify-content: center;
}

h3:hover{
  text-shadow: 0 0 30px rgba(0, 255, 0, 0.7);
}
.cardS {
  background-color: #2a2a2a; /* Etwas helleres Dunkelgrau für Kartenhintergrund */
  border: 1px solid #005500; /* Dunkelgrüner Rand */
  color: #00ff00; /* Grüner Text für Karteninhalt */
  padding: 1rem;
  max-width: 400px;
}

.cardSkills:hover {
  scale: 110%;
}
.contact{
  background-size: cover;
  background-position: center;
}
#contact{
  padding-top: 4rem;
}
#contactSection{
  height: 100vh;
}
#einstellen-p {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
  white-space: nowrap;
  overflow: hidden;
  border-right: 0.1em solid #09f41b;
  width: 0;
}

#einstellen-p.visible {
  opacity: 1;
  transform: translateY(0);
  animation: typing-contact 2s steps(30) forwards, blink-contact 0.7s step-end infinite;
}

@keyframes typing-contact {
  from { width: 0 }
  to { width: 38ch } /* Passt die Länge an deinen Satz an */
}

@keyframes blink-contact {
  50% { border-color: transparent }
}

.opacity-90{
  opacity: 80%;
}

