body {
	background-image: url(assets/background.png);
	background-repeat: no-repeat;
    background-position:100% bottom;
	background-attachment: fixed;
	background-color:#f4f4f4;
	color:#181818;
	font-family: hack, sans-serif;
	font-size:14px;
	padding:0px;
    line-height:1.25;
	overflow-x: hidden;
}


#feed {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
    font-family: 'Hack', monospace;
    color: #eee;
}

.feed-post {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.feed-header {
    display: flex;               /* main flex container */
    justify-content: space-between; /* push left/right content */
    align-items: center;         /* vertical align center */
    width: 100%;
    overflow: hidden;
    background-color: #00000008;
    margin-bottom: 3px;
    padding: 2px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background-color 0.2s ease, border-image 0.2s ease;
}

.feed-title-wrapper {
    display: flex;       /* inline-flex for title+medium */
    gap: 0.5em;          /* space between title and medium */
    align-items: center; /* vertically aligned */
}

.feed-header-left {
    display: flex;
    align-items: center;
    gap: 0.5em; /* space between title and medium */
}

.feed-header:hover {
    background-color: #00000000;
    border: 1px solid transparent;
    border-image: url("assets/swirlNoiseAlpha.gif") 1 repeat;
}

.dark-mode .feed-header:hover {
    border-image: url("assets/swirlNoiseAlphaDark.gif") 1 repeat !important;
}

.feed-header:active {
    background-color: #00000010;
}

.cmblogttl {
    font-weight: normal;
}

.feed-content {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s ease, opacity 0.25s ease;
    opacity: 0;
    margin-left: 1rem;
    padding: 0 0.5rem;
    pointer-events: none;
	
}

.feed-content.open {
    opacity: 1;
    max-height: 2000px;
    padding-top: 0.2rem;
    animation: fadeIn 0.3s ease;
    pointer-events: auto;
	color: #000;               /* Make content text normal black */
    padding-bottom: 1.5rem;    /* Add breathing room below posts */
    line-height: 1.6;          /* Improve readability */
    font-size: 12px;
    color: #555;
}

.feed-content img {
    display: block;
    max-width: 50%;
    height: auto;
    margin: 0.5rem 0;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive adjustments */
@media (max-width: 600px) {
    #feed { padding: 0 0.5rem; }
    .feed-content { margin-left: 0.5rem; padding: 0 0.25rem; }
}

/* Feed posts look like blog posts */
.feed-post .cmwrap {
    display: flex;
    align-items: center;
    padding: 2px 4px;
    background-color: #00000008;
    text-decoration: none;
    color: #181818;
    transition: background-color 0.2s ease;
}

.feed-post .cmwrap:hover {
	background-color:#00000000;
}

.feed-preview {
    width: 1.5em;
    height: 1.5em;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
    margin-right: 0.5em;
    flex-shrink: 0;
}

.feed-header-flex {
    display: flex;
    align-items: center;
    gap: 0.5em; /* spacing between title, medium, date */
}

.feed-medium {
    font-size: 12px;
    color: #555;
}

.feed-post .cmblogttl {
    font-weight: normal;
}

.feed-date {
    margin-left: auto;
    white-space: nowrap;
    color: #555;
    font-size: 12px;
    pointer-events: none; /* <-- this lets clicks pass through */
}


/* Rainbow text effect */
rtext {
    font-weight: bold; /* Make text bold */
    font-size: inherit; /* Inherit font size */
    font-family: inherit; /* Inherit font family */
    background: linear-gradient(to right, #6666ff, #0099ff, #00ff00, #ff3399, #6666ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: rainbow_animation 6s linear infinite;
    background-size: 200% 100%;
}

@keyframes rainbow_animation {
    0% {
        background-position: -100% 0;
    }
    100% {
        background-position: 100% 0;
    }
}

/* Marquee text */
@-webkit-keyframes marquee {
	0% {
	  -webkit-transform: translate3d(100%, 0, 0);
	  transform: translate3d(100%, 0, 0);
	  visibility: visible;
	}
	100% {
	  -webkit-transform: translate3d(-100%, 0, 0);
	  transform: translate3d(-100%, 0, 0);
	}
  }
  
  @keyframes marquee {
	0% {
	  -webkit-transform: translate3d(100%, 0, 0);
	  transform: translate3d(100%, 0, 0);
	  visibility: visible;
	}
	100% {
	  -webkit-transform: translate3d(-100%, 0, 0);
	  transform: translate3d(-100%, 0, 0);
	}
  }
  
  .marquee-wrap {
	position: relative;
	width: 100%;
	overflow: hidden;
	height: 2rem;
	/*background-color: rgba(0, 0, 0, 0.9);*/ /* Corrected syntax for rgba */
	box-sizing: border-box;
  }
  
  .marquee {
	display: inline-block;
	height: 2rem;
	line-height: 2rem;
	white-space: nowrap;
	-webkit-animation-iteration-count: infinite;
			animation-iteration-count: infinite;
	-webkit-animation-timing-function: linear;
			animation-timing-function: linear;
	-webkit-animation-name: marquee;
			animation-name: marquee;
	-webkit-animation-duration: 22s;
			animation-duration: 22s;
  }
  
  .marquee__item {
	display: inline-block;
	padding: 0 1rem;
	font-size: 1.5rem;
	font-family: "Jacquard 24", system-ui; /* Ensure this font is loaded */
	color: #878787;
  }
  


.grid-container{
	display:flex;
	height:100%;
}

.contentframe {
	width:100%;
	height:100%;
}

a {
	border: 1px solid transparent;
	margin: 0px;
}

a:link {
	color:#e00000;
	text-decoration:none;
}

a:visited {
	color:#e00000;
}

a:hover {
	border: 1px solid transparent;
	border-image: url("assets/swirlNoiseAlpha.gif") 1 repeat;
	background-color: transparent;
}

.dark-mode a:hover {
    border-image: url("assets/swirlNoiseAlphaDark.gif") 1 repeat !important;
}


a:active {
	color:#fff;
}

.cmwrap {
	clear:both;
	display:inline-block;
    width:100%;
	overflow:hidden;
	background-color:#00000008;
	margin-bottom:3px;
    padding:2px;
}

.cmwrap2 {
	clear:both;
	display:inline-block;
	overflow:hidden;
	background-color:#00000020;
	margin-bottom:3px;
	font-size:20px;
    width:700px;
    padding:2px;
}

.cmwrap:hover {
	background-color:#00000000;
}

.cmlink {
	float:left;
	overflow:hidden;
	white-space:nowrap;
	text-overflow: ellipsis;
	max-width:550px;
}

.filename {
	float:left;
	overflow:hidden;
	white-space:nowrap;
	text-overflow: ellipsis;
	max-width:600px;
	margin:0px;
	padding:0px;
}

.cmsize {
	float:right;
	color:#181818 !important;
	font-style:normal;
}

.cmblogttl {
	color:#181818 !important;
	font-style:normal;
}

.sidenav {
	width:160px;
	height:100%;
	padding: 16px;
	top: 0;
	left: 0;
	color:#f4f4f4;
	background-color: #eaeaea;
	background-image: url(assets/sidebarimagesmaller.png);
	background-size: 100% auto;
	background-repeat: repeat-y;
	box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
	overflow-x: hidden;
	font-size:16px;
	display:inline-block;
	position:fixed;
    
}


.sidenav a:link {
	font-size: 16px;
	color:#d33131;
   	text-shadow:
	   -1px -1px 0 #ffffff,  
      1px -1px 0 #ffffff,
      -1px 1px 0 #ffffff,
       1px 1px 0 #ffffff,
	   -2px 2px 0 #000000;
}

.sidenav a:visited {
	font-size: 16px;
	color:#d33131;
   	text-shadow:
	   -1px -1px 0 #ffffff,  
      1px -1px 0 #ffffff,
      -1px 1px 0 #ffffff,
       1px 1px 0 #ffffff,
	   -2px 2px 0 #000000;
}

.sidenav a:hover {
	color:#ffffff;
	text-shadow:
	-1px -1px 0 #000000,  
   1px -1px 0 #000000,
   -1px 1px 0 #000000,
	1px 1px 0 #000000,
	-2px 2px 0 #fff;
}

.sidenav a:active {
	color:#0090e0;
}

.sidenav>hr {
    border-style:dotted;
    border-width:1px 0 0 0; 
	margin:8px 0 8px 0;
}

.sidenav li {
    font-size: inherit; /* Inherit the font size from the parent (.sidenav) */
}

.sidenav img {
    max-width: 100%; /* Scale down to fit the width */
    max-height: 150px; /* Limit the height to 150px */
    height: auto; /* Maintains aspect ratio */
    display: block;
    margin: 0 auto;
	margin-bottom: -15px;
}

.sidenav .title {
    font-family: "Jacquard 24", system-ui; /* Ensure this font is loaded */
    font-size: 35px; /* Adjust size as needed */
    color: rgb(250, 250, 250); /* Text color */
    text-shadow: 
        -1px -1px 0 #d3155b,  
         1px -1px 0 #d3155b,
        -1px  1px 0 #d3155b,
         1px  1px 0 #d3155b, /* Black stroke effect */
		 -2px 2px 0 #000000c8;
    margin: 0; /* Remove any default margin */
	margin-bottom: -20px;
	margin-top: -10px;
    text-align: left; /* Center the text in the sidenav */
}

.sidenav .subtitle {
    font-family: "Jacquard 24", system-ui; /* Ensure this font is loaded */
    font-size: 24px; /* Adjust size as needed */
    color: rgb(250, 250, 250); /* Text color */
    text-shadow: 
        -1px -1px 0 #d3155b,  
         1px -1px 0 #d3155b,
        -1px  1px 0 #d3155b,
         1px  1px 0 #d3155b,
		 -2px 2px 0 #000000c8; /* Black stroke effect */
    margin: 0; /* Remove any default margin */
    text-align: left; /* Center the text in the sidenav */
}

.wave-text {
    color: rgb(255, 255, 255); /* Default white color */
    display: inline-block;
    letter-spacing: 1px;
}

.wave-text span {
    display: inline-block;
    opacity: 1;
    transition: color 0.3s ease; /* Smooth transition for color */
}

#led-container {
    position: fixed;
    bottom: 37px; /* Adjust this to control the distance from the bottom */
    right: 20px;  /* Adjust this to control the distance from the right */
    display: inline-block;
    z-index: 5; /* Ensures the LED stays on top of other elements */
}

#led {
    width: 20px;
    height: 20px;
    background-color: grey; /* Default grey */
    border-radius: 50%;
    box-shadow: inset -3px -3px 8px rgba(0, 0, 0, 0.5), 0px 0px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.green {
    box-shadow: inset -3px -3px 8px rgba(0, 0, 0, 0.35), 0px 0px 20px rgba(0, 255, 0, 0.7) !important;
    animation: pulseGreen 6s infinite; /* Add pulsing animation */
}

/* Keyframes for pulsing effect */
@keyframes pulseGreen {
    0% {
        background-color: rgb(45, 230, 45);
        box-shadow: inset -3px -3px 8px rgba(0, 0, 0, 0.35), 0px 0px 20px rgba(0, 255, 0, 0.7);
    }
    50% {
        background-color: #009f00; /* Brighter green */
        box-shadow: 0px 0px 25px rgba(0, 255, 0, 1);
    }
    100% {
        background-color: rgb(45, 230, 45);
        box-shadow: inset -3px -3px 8px rgba(0, 0, 0, 0.35), 0px 0px 20px rgba(0, 255, 0, 0.7);
    }
}

.grey {
    background-color: grey;
    box-shadow: inset -3px -3px 8px rgba(0, 0, 0, 0.5), 0px 0px 10px rgba(0, 0, 0, 0.2);
}

/* Tooltip styling */
.tooltip-text {
    visibility: hidden;
    width: 140px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%; /* Position above the LED */
    left: -120px;  /* Shift the tooltip to the left so it's fully visible */
    margin-left: 0;
    opacity: 0;
    transition: opacity 0.3s;
}

#led-container:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

.main {
	width:700px;
	padding:12px;
	display:inline-block;
	position:absolute;
	top:0;
	left:194px;
    min-height:calc(100% - 32px);
}

hr {
    border-style:dotted;
    border-width:1px 0 0 0; 
	margin:8px 0 8px 0;
}

h2 {
	margin:0px;
}

.tiny {
	font-size:13px;
	display:inline;
}

iframe {
	border:0px;
	flex:1;
}

entryContent {
	width:500px;
	height:400px;
}

li {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

.headimg {
	margin-left:30px;
	margin-top:-30px;
	margin-bottom:-32px;
	pointer-events:none;
    width:670px;
    height:200px;
}

.darkmodeconvert {
	
}

ul {
	margin:6px 0px 3px 0px;
	padding-left: 30px;
}

ul li {
	margin:0px;
	font-size:12px;
}

.cool {
	margin:0px;
	max-height:0px;
	overflow:hidden;
}

input:checked ~ ul.cool {
	max-height:100%;
	margin:4px 0px 4px 0px;
}

input[type="checkbox"] {
	display: none;
}

label{
	user-select:none;
}

label:hover{
    color:#555555;
}

footer {
    text-align:left;
    font-size:12px;
}

p + .time {
    margin-bottom:16px;
    margin-top:16px;    
}

.time {
    text-align:center;
    font-family: sharppc3k, monospace;
    margin:0px;
    font-size:16px;
    padding:8px 0px 4px 0px;
    background-color:#181818;
    color:#f4f4f4;
    overflow:hidden;
}

.time a {
    padding:6px 0px 0px 0px;
}

.ticker-container {
	width: 100%; /* Take the full width of the window */
	overflow: hidden;
	background-color: #444; /* Ensure background is solid */
	color: #fff;
	padding: 0; /* Remove padding */
	box-sizing: border-box; /* Include padding and border in element's total width and height */
	position: fixed; /* Fix to the bottom of the window */
	bottom: 0; /* Position at the bottom */
	z-index: 5; /* Ensure it appears on top of other content */
	left: 0; /* Align to the left edge */
	visibility: visible;  /* Always keep ticker visible */
	transition: none;     /* Prevent unnecessary transitions */
}

.ticker-text {
	display: inline-block;
	white-space: nowrap;
	padding-left: 100vw; /* Start from the right edge of the window */
	margin: 0; /* Remove margin */
	padding: 0; /* Remove padding */
	width: auto; /* Ensure it takes its natural width */
	visibility: visible;  /* Always keep ticker visible */
	transition: none;     /* Prevent unnecessary transitions */
}

pre {
    margin:0px;
    padding:0px;
    font-family:ibmcga2y, monospace;
}

.annoying {
    color: #fff;
    animation: blink 1s infinite;
}

@keyframes blink {
	0% {color: #fff;}
    100% {color: #0090e0;}
}

.timesmall {
    margin:0px !important;
    font-size:16px;
    text-align:left;
    padding:8px !important;
    font-family:ibmcga2y, monospace;
}

p {
    margin:0px;
}

p + p {
    margin-top:16px;
}

.mono {
    font-family: hack-mono, monospace;
    margin:0px;
}

.sortbox {
    font-size:16px;
	text-align:center;
	padding:8px;
	margin:8px 0px 16px 0px;
	background-color:#00000008;
}

.sortbox-page {
    text-align:center;
    padding:8px;
    margin:0px 0px 8px 0px;
    background-color:#f4f4f4;
    width:684px;
    font-size:14px;
    position:sticky;
    top:-1px;
    z-index:1000;
}

.sortbox-page a {
    font-size:18px;
    padding:0px 6px 0px 6px;
    margin:0px;
}

.titlebar {
	text-align:center;
	padding:8px;
	margin:8px 0px 16px 0px;
    color:#fff;
	background-color:#0090e0;
    font-size:16px;
}

.titlebar a {
    color:#0090e0;
    font-weight:bold;
    padding:1px;
    background-color:#efefef;
}

.titlebar a:hover {
    color:#181818;
    background-color:e6e6e6;
    font-weight:bold;
}


h3 {
    font-size:10px;
    margin:0;
    font-weight:normal;
}

details {
	overflow: hidden;
}

summary {
	display:block;
	text-align:center;
	padding:8px;
	margin:8px 0px 0px 0px;
	background-color:#181818;
	color:#f4f4f4;
	list-style-type: none;
    font-size:16px;
}

summary:hover {
    background-color:#0090e0;
}

details[open] summary:hover {
    background-color:#0090e0;
}

summary:before {
	content:"🞮 click to collapse";
}

details summary::-webkit-details-marker {
	display:none;
}

details[open] + div.content {
    max-height: 0px;
	padding:0px;
}

details[open] summary::before {
	content:"🛈 click for info";
}

details[open] summary {
	background-color:#adadad;
}

div.content { 
	margin:0px 0px 16px 0px;
	overflow: hidden;
	background-color:#00000008;
	max-height: 100%;
	padding:8px;
}

.bottom-left {
    position: fixed;
    bottom: 45px;
    left: 20px;
    z-index: 1;
    border: 2px solid #0000002a;
}

.img2 {
	border: 2px inset #d0d0d0;
	margin-right:12px;
}

.aboutImage {
	width: 270px;
    height: 270px;
    margin-left: 12px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
	border: 2px inset #d0d0d0;
	margin-right:12px;
}

.dark-mode .aboutImage {
	width: 270px;
    height: 270px;
    margin-left: 12px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
	border: 2px inset #d0d0d0;
	margin-right:12px;
	filter: sepia(0.2) grayscale(0.7) brightness(0.9); /* Apply slight sepia, more grey, and darken the image */
}

.main li{
	list-style-type:disc;
	list-style-position:inside;
	padding-left:32px;
}

.main i{
	color:#888;
}

h2 {
	display:inline-block;
}

td, th{
	text-align:left;
	background-color:#00000008;
	padding:4px;
}

.dark-mode td, .dark-mode th {
    text-align: left;
    background-color: #54545411 !important;
    padding: 4px;
}


table{
	width:100%;
	font-size:14px;
}

.htb{
	border-bottom:1px dotted #808080;
}

.iframe-container {
	width: 100%;
	height: 0;
	padding-bottom: 56.25%; /* 16:9 aspect ratio */
	position: relative;
}
.iframe-container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px; /* Adjust the gap between images */
    width: 100%;
    height: 100%; /* Make the container fill the viewport height */
}

/* Apply padding-top: 5px only if there is another container above */
.container + .container {
    padding-top: 10px;
}


.container div {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Hide any overflow */
}

.container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the entire area of the container */
}

/* Image Preview Modal */
.image-preview-modal {
    display: none;
    position: fixed;
    z-index: 10;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.image-preview-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 90%;
    max-width: 80%;
    text-align: center;
}

.image-preview-content img {
    max-width: 100%;
    max-height: 80vh;
    height: auto;
    width: auto;
}

.close, .prev, .next {
    position: absolute;
    top: 50%;
    color: white;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

.close {
    top: 10px;
    right: 25px;
}

.prev, .next {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 16px;
    border-radius: 50%;
    transform: translateY(-50%);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}


/* Prevent text selection on modal and all its children */
.image-preview-modal, 
.image-preview-modal * {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.sidenav-desaturated {
    filter: grayscale(100%);
}

/* Added styles for album photos */
.album-photo {
    display: block;
    margin: 20px auto; /* Increase vertical space between photos */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15); /* Tiny drop shadow */
}

/* PROJECT FEED CSS */

.project-card {
	display: flex;
	flex-direction: row;
	background-color: #f1f1f1;
	margin: 5px;
	width: 100%;
	max-width: 800px;
	overflow: hidden;
	height: 100px;
	align-items: center;
	padding: 0;
	box-sizing: border-box;
	position: relative;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Drop shadow */
	transition: transform 0.2s;
	text-decoration: none;
	color: inherit;
}

.project-card:hover {
	transform: scale(1.02); /* Slight zoom on hover */
}

.project-image {
	width: 100px;
	height: 100px;
	object-fit: cover;
	object-position: center;
	margin-right: 8px;
	margin-left: 0; /* Remove left margin */
	padding: 0; /* Ensure no padding */
}

.project-details {
	display: flex;
	flex-direction: column;
	justify-content: center;
	flex: 1;
	overflow: hidden;
	padding-left: 8px; /* Add left padding to details */
}

.project-title {
	margin: 0;
	font-size: 18px;
	font-weight: bold;
	line-height: 1.2;
	color: black; /* Default color */
	transition: color 0.2s; /* Smooth color transition */
}

.project-description {
	font-size: 14px;
	margin: 2px 0;
	color: black; /* Default color */
	transition: color 0.2s; /* Smooth color transition */
}

.project-date, .project-tags {
	font-size: 12px;
	color: #555;
	margin: 2px 0;
}

.project-card:hover .project-title, .project-card:hover .project-description {
	color: #e00000; /* Color on hover */
}

.project-more {
	position: absolute;
	bottom: 5px;
	right: 5px;
	padding: 5px 10px;
	text-decoration: none;
	font-size: 12px;
}

.project-more:hover {
	color: #555555;
}

.project-content img {
    width: 100%;
    height: auto;
}

/* CONTACT PAGE CSS */

.contact-container {
	display: flex;
}

.email-section {
	margin-right: 10px; /* Adjust as needed for spacing */
}

.contact-content {
	display: flex;
	flex-direction: column;
}

.decoration {
	margin-top: 10px; /* Adjust as needed for spacing */
}

.clearfix::after {
	content: "";
	display: table;
	clear: both;
}

/* PHOTO ALBUMS CSS */
.album-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background-color: #f1f1f1;
	margin: 8px;
	width: 200px; /* Fixed width */
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Drop shadow */
	overflow: hidden;
	align-items: center;
	padding: 10px;
	box-sizing: border-box;
	text-align: left;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease; /* Smooth transitions */
	height: 270px; /* Consistent height */
	will-change: transform;
}

.album-card:hover {
	transform: scale(1.02); /* Slight zoom on hover */
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Slightly larger shadow on hover */
	border: 1px solid transparent;
	border-image: url("assets/swirlNoiseAlpha.gif") 1 repeat;
}

#albums-container {
	display: flex;
	flex-wrap: wrap;
	margin-left: 0px; /* Align with other content */
}

#albums-container > .album-card:nth-child(3n+1) {
	margin-left: 0; /* Remove left margin for the first card in each row */
}

.album-image {
	width: 100%;
	height: 200px;
	object-fit: cover;
}

.album-details {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
	gap: 2px; /* Control the spacing between title and date */
	width: 100%;
}

.album-title {
	margin-top: 7px; /* Remove margin to rely on gap */
	font-size: 18px;
	font-weight: bold;
	line-height: 1.2;
	text-align: left;
}

.album-date {
	margin: 0; /* Remove margin */
	font-size: 12px;
	color: #555;
	text-align: left;
}

.album-more {
	padding: 5px 10px;
	text-decoration: none;
	font-size: 12px;
	color: #e00000;
}

.album-more:hover {
	color: #555555;
	border-image: none;
}

@media (max-width: 768px) {
	.album-card {
		width: calc(50% - 20px); /* Two columns for smaller screens */
	}

	#albums-container > .album-card:nth-child(3n+1) {
		margin-left: 10px; /* Reset margin for smaller screens */
	}
}

@media (max-width: 480px) {
	.album-card {
		width: 100%; /* One column for mobile screens */
		margin: 10px 0; /* Adjust margin for mobile */
	}

	#albums-container {
		margin-left: 0; /* Reset margin for mobile screens */
	}
}