/*   marlonivo.xyz minimal dark    */
/*                                 */
/* ############################### */
/* #########    TAGS     ######### */
/* ############################### */

body {
margin: 0px;
margin-bottom: 50px;
font-family: serif;
min-height: 100vh;
}

a:link,
a:visited {
color: blue;
text-decoration: none; /* oder underline je nach Wunsch */
}


header a {
position: absolute;
top: 1rem;
left: 1rem;
font-weight: bold;
font-size: 1.5rem;
text-decoration: none;
color: #000;
}

footer {
position: fixed;
bottom: 0;
left: 0;
width: 100%;
text-align: center;
font-size: 0.9rem;
}

p {
margin: 0px;
white-space: pre;
}

li, ol {
list-style-position: inside;
padding-left: 11px;
margin-top: 5px;
}

h1 {
font-size: 2em;
}

h2 {
font-size: 1.3em;
padding-bottom: 3px;
}

h1, h2 {
margin-bottom: 0px;
}

h2::after {
content: "";
display: block;
width: 100%;
height: 1px; /* Dicke des Strichs */
background-color: #000; /* Farbe des Strichs */
margin-top: 0em; /* Abstand zum Text */
}

/* ############################### */
/* #########  CLASSES  ########### */
/* ############################### */

.center-section {
display: flex;
justify-content: flex-start;
align-items: center;
flex-wrap: wrap;
gap: 1.5rem;
padding: 2rem 1rem;
}

.table-row {
display: flex;
align-items: stretch;
flex-wrap: nowrap;
}

.table-column {
flex: 1;
}

.flex-column {
flex: 0 1 auto;
padding-right: 20px;
display: inline-block;
}

.container {
width:90%;
margin:5px auto;
padding:10px;
max-width:1200px;
background: white;
border-radius: 8px;
}

.center-section a {
text-decoration: none;
color: inherit;
padding: 0.2rem 1rem;
border: 1px solid currentColor;
border-radius: 4px;
transition: 0.2s;
}

.center-section a:hover {
background: rgba(255, 255, 255, 0.1);
}

.content-wrapper {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 2rem;
padding: 2rem;
padding-top: 0px;
}

.rss-section {
width: 65%;
}

.image-section {
width: 30%;
display: flex;
justify-content: flex-end;
padding: 0;
}

.image-section img {
max-width: 100%;
height: auto;
border-radius: 12px;
}

.footer-left,
.footer-right {
white-space: nowrap;
}

.gallery-item {
position: relative;
width: 100%;
aspect-ratio: 1 / 1;
max-width: 400px;
max-height: 400px;
overflow: hidden;
cursor: pointer;
background-color: #111;
}

.gallery-item img,
.single-image,
.carousel-image {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
user-select: none;
pointer-events: auto;
}

.carousel-prev,
.carousel-next {
position: absolute;
top: 50%;
transform: translateY(-50%);
background: rgba(255, 255, 255, 0.8);
border: none;
font-size: 30px;
cursor: pointer;
padding: 5px 10px;
border-radius: 3px;
z-index: 20;
user-select: none;
}

.carousel-prev {
left: 10px;
}

.carousel-next {
right: 10px;
}

.gallery-item img:hover {
filter: brightness(1.1);
transition: filter 0.3s ease;
}

.modal-overlay {
position: fixed;
inset: 0;
background: rgba(0,0,0,0.6);
z-index: 999;
cursor: pointer;
}

.header-col {
display: flex;
align-items: center;
justify-content: center;
}

/* ############################### */
/* #########    ID's     ######### */
/* ############################### */

#header-h1 {
color:black;
}

#header-container {
display: flex;
justify-content: space-between;
font-size: 0.9em;
background-color: #f0f0f0;
border-bottom: 1px solid #ccc;
}

#footer-container {
display: flex;
justify-content: space-between;
font-size: 0.9em;
background-color: #f0f0f0;
border-top: 1px solid #ccc;
padding: 5px;
}

#footer-container a {
text-decoration: none !important;
color: inherit !important;
}

#header-columns {
display: grid;
grid-template-columns: 0.1fr 1fr 1fr;
align-items: center;
padding: 1.3rem;
}

#col-left {
justify-content: flex-start;
}

#col-right {
justify-content: flex-end;
gap: 1rem;
}

#col-right select {
margin-left: 1rem;
}

#feedContainer {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 15px;
padding: 10px;
}

#imageModal {
display: none;
position: fixed;
top: 0; left: 0; right: 0; bottom: 0;
background: rgba(0, 0, 0, 0.85);
justify-content: center;
align-items: center;
z-index: 1000;
}

#imageModal .modal-content {
position: relative;
max-width: 90vw;
max-height: 90vh;
}

#imageModal img {
max-width: 90vw;
max-height: 90vh;
width: auto;
height: auto;
display: block;
margin: 0 auto;
object-fit: contain;
}

#modalClose {
position: absolute;
top: 10px;
right: 15px;
cursor: pointer;
font-size: 28px;
color: white;
user-select: none;
}
