/* Grundlegendes Styling */
body {
    background-color: #121212;
    color: #e0e0e0;
    font-family: 'Roboto', sans-serif;
    display: flex;
    margin: 0;
    min-height: 100%;
    height: 100%;

    flex-direction: column;
    align-items: center;
}

.blog-img {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.blog-img img {
    max-width: 40%;
    margin: 10px;
    border-radius: 10px;
}

.blog-tb{
  padding: 10px;
}

.blog-container{
  padding: 10px;
  background-color: #2f2f2f;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  margin: 15px 0;
}

.artworks{
  width: 90% !important;
  max-width: 1280px !important;
}

.admin {
  flex-direction: row;
  justify-content: center;
  height: unset !important;
}

.admin-control {
  display: flex;
  flex-direction: column;
  padding: unset !important;
}


.hidden {
  opacity: 0;
  pointer-events: none;
}

button {
            display: block;
            margin: 10px auto;
            padding: 10px 20px;
            cursor: pointer;
            background-color: #007BFF;
            color: white;
            border: none;
            border-radius: 5px;
}

.angebot {
  padding: 20px;
  display: flex;
justify-content: space-evenly;
align-items: center;
}

.inhalte {
  padding: 10px;
}

.overall {
  display: flex;
  height: 100%;
  border-radius: 10px;
  align-items: center;
  justify-content: space-evenly;
  width: 100%;
  margin: 20px 0 0 0;
  max-width: 1280px;
}

.stream-container {
  width: 70%;
  max-height: 720px;
}

.stream{
  border-radius: 20px;
  border: 0px solid rgba(75, 0, 130, 1); /* Lila Rahmen */
    box-shadow: 0 0 10px 10px rgba(75, 0, 130, 0.6),  /* Weicher Schatten nach außen */
                0 0 20px 20px rgba(75, 0, 130, 0.4),
                0 0 30px 30px rgba(75, 0, 130, 0.2),
                0 0 40px 40px rgba(75, 0, 130, 0.1);

                width: 100%;
                height: 100%;
                max-height: 720px;
    max-width: 1280px;
}

.aspect-ratio-16-9 {
    position: relative;
    width: 100%; /* Breite des div wird immer 100% des übergeordneten Elements sein */
    padding-top: 56.25%; /* 16:9 Verhältnis: 9 / 16 = 0.5625 = 56.25% */
    max-height: 720px;
}

.aspect-ratio-16-9 > .content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-height: 720px;
}

.main-container {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  height: 100%;
}

html {
  height: 100%;
}

.link-container {
  display: flex;
  height: 100%;
  padding: 0 20px;
  border-radius: 10px;
  align-items: center;
}

.links {
    text-align: center;
}

.links a {
    display: block;
    color: #fff; /* Weiße Textfarbe */
    text-decoration: none;
    padding: 10px 20px;
    margin: 5px;
    border: 2px solid #fff; /* Weißer Rahmen um Links */
    border-radius: 5px; /* Abgerundete Ecken für den Rahmen */
    transition: background-color 0.3s, border-color 0.3s;
}

.links a:hover {
    background-color: #555; /* Hintergrundfarbe ändern beim Hover */
    border-color: #555; /* Rahmenfarbe ändern beim Hover */
}


/* Für Webkit-basierte Browser */
::-webkit-scrollbar {
  width: 8px;
  /* Breite des Scrollbalkens */
  height: 8px;
  /* Höhe des horizontalen Scrollbalkens */
}

::-webkit-scrollbar-track {
  background: #c0c0c5;
  /* Hintergrund des Scrollbereichs */
  border-radius: 10px;
  /* Abgerundete Ecken für den Track */
}

::-webkit-scrollbar-thumb {
  background: #909095;
  /* Hintergrund der Scrollbar-Knöpfe */
  border-radius: 10px;
  /* Abgerundete Ecken für die Thumb */
  border: 2px solid #f0f0f5;
  /* Optional: kleiner Rand um den Scrollbalken */
}

::-webkit-scrollbar-thumb:hover {
  background: #707075;
  /* Dunklerer Hintergrund beim Hover-Effekt */
}

/* Bildgalerie */
.image-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.image-item {
    max-width: 200px;
}

.image-item img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    transition: transform 0.3s;
}

.image-item img:hover {
    transform: scale(1.05);
}


/* Container für zentrierte Anzeige */
.container {
    width: 80%;
    max-width: 800px;
    padding: 20px;
    background-color: #1f1f1f;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    margin: 20px;
}

/* Überschrift */
h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #00bcd4;
}

h2 {
    margin-bottom: 20px;
    color: #00bcd4;
}

/* Formular Styling */
form {
    display: flex;
    flex-direction: column;
}

label {
    margin-bottom: 5px;
    color: #00bcd4;
}

strong {
    margin-bottom: 5px;
    color: #00bcd4;
}

input[type="text"], input[type="email"], select, textarea, input[type="file"], input[type="password"] {
    background-color: #2c2c2c;
    border: 1px solid #393939;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 15px;
    color: #e0e0e0;
}

textarea {
    min-height: 100px;
    height: 100px;
    resize: vertical;
    overflow: auto;
}

input[type="submit"] {
    background-color: #00bcd4;
    border: none;
    color: #121212;
    padding: 10px 15px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
    font-weight: bold;
}

input[type="submit"]:hover {
    background-color: #0097a7;
}

/* Tabellen Styling */
.table-wrapper {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 8px;
    overflow: hidden;
    background-color: #2c2c2c;
    transition: opacity 0.5s ease-in-out;
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #393939;
}

th {
    background-color: #333;
    color: #00bcd4;
}

td {
    color: #e0e0e0;
}

/* Hover-Effekt für Zeilen */
tr:hover {
    background-color: #393939;
}

/* Link Styling */
a {
    color: #00bcd4;
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
}

p {
  word-wrap: break-word;
  /* word-break: break-all; */
}

.status_d {
    display: flex;
    justify-content: flex-end;
    align-content: center;
}

/* Mobile Anpassungen */
@media screen and (max-width: 768px) {

  .blog-img {
    flex-direction: column;
  }
  .blog-img img{
    max-width: 70%;
  }

  .admin {
    flex-direction: column;
  }

  .admin-control {
    border-radius: 0px;
    flex-direction: unset;
    padding: 10px !important;
  }

  .link-container {
    width: 90%;
    height: auto;
  }

  .links {
    width: 90%;
  }

  .tree {
    display: flex;
    justify-content: center;
    width: 100%;
  }

.overall {
	flex-direction: column;
  justify-content: flex-start;
}

.angebot {
  flex-direction: column-reverse;
}

.b-inhalte {
  display: flex;
  width: 100%;
}

  .stream-container {
    width: 100%;
  }

  .stream {
    border-radius: 0px;
  }

    .container {
        padding: 10px;
    }

    .tablehead {
      display: none;
    }

  .container.orders-page table,
  .container.orders-page th,
  .container.orders-page td {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
  }

    tr {
      /*  margin-bottom: 10px;
        display: block; */
    }

    th {
        background-color: #333;
        font-size: 16px;
        padding: 10px;
    }

    td {
      /*  text-align: right;
        padding: 10px;
        position: relative; */
    }

    td:before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        font-weight: bold;
        text-align: left;
    }

    td:last-child {
        /* border-bottom: none; */
    }

    input[type='submit'] {
        width: 100%;
        padding: 8px;
        margin-top: 5px;
    background-color: #00bcd4;
    color: #121212;
        border: none;
        cursor: pointer;
    }

    select {
        width: 100%;
        padding: 8px;
    }
}
