/* Selektor für Klassen (mehrere Tags): Punkt (.) */
.redTitle{
    color:red /* Text-Farbe auf "blue" ändern */
}

/* Selektor für IDs (nur ein Tag): Hashtag (#) */
#blueBg{
    background-color: blue; /* Hintergrundfarbe auf "blue" ändern */
    color:white /* Text-Farbe auf "white" ändern */
}

.box {
  margin-left: 20px;
  margin-right: 20px;
  background-color: #a9d6f05f;
  padding: 20px;
  border-radius: 10px;
}

.center-text {
  text-align: center;
}

.title-box {
  border: 2px solid #007bff;   /* Blue border */
  border-radius: 16px;         /* Rounded corners */
  padding: 16px;               /* Space inside the box */
  display: block;              /* Changed to block */
  margin: 20px auto;           /* Center the box horizontally */
  background: url('https://m.media-amazon.com/images/I/41WzWE5uF5L.jpg') center/cover no-repeat;         /* Optional: light background */
  max-width: 600px;            /* Optional: limits box width */
  position: relative; /* Needed for overlay */
  overflow: hidden;   /* Ensures overlay stays inside rounded corners */
}

/* Overlay for transparency */
.title-box::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.7); /* White with 70% opacity */
  border-radius: 16px;
  z-index: 1;
}

/* Ensure the text is above the overlay */
.title-box > * {
  position: relative;
  z-index: 2;
}

/* Add this to your stylesheet.css */
.popup-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(162, 162, 162, 0.644);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.popup-box {
  background: #fff;
  padding: 32px 24px;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
  text-align: center;
}

.wide-margin{
  margin-left: 20px;
  margin-right: 20px;
}

.center-image {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

body {
  padding-top: 70px; /* Adjust if your navbar is taller or shorter */
}

.centered-small-img {
  display: block;         /* Makes margin auto work for centering */
  margin: 10px auto;      /* 10px margin top and bottom, auto left/right for center */
  width: 750px;           /* Scales image down to 200px wide */
  height: auto;           /* Keeps aspect ratio */
}
