@media all and (orientation:portrait) {
	.main-page {background-image:url('test_v1.jpg');}
	.header{font-size: 2vw;}
	.header-edge{width: 3%;}
	.header{top: 1vh;}
	.social-icons{width: 2.6vw;}
}
/* todo: add smaller mobile version with hamburger menu */

@media all and (orientation:landscape) {
	.main-page {background-image:url('test_h1.jpg');}
	.header{font-size: 1.3vw;}
	.header-edge{width: 6%;}
	.header{top: 2vh;}
	.social-icons{width: 1vw;}
}

.main-page {
		background-size: cover; /* Make it cover the table */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Prevent tiling */
}

/* todo:  much more exotic cases than this, especially for landscape*/
@media screen and (max-width: 768px) {
		.social-icons{width: 7vw;}
		.header{font-size: 4vw;}
    .desktop-only {
        display: none; /* Hide on mobile */}
}
@media screen and (min-width: 769px) {
    .mobile-only {
        display: none; /* Hide on desktop */}
}

body {
  background-repeat:no-repeat;
  background-attachment: fixed;
  background-position: center center;
  background-size:cover;
  padding: 0;
  margin: 0;
  background-color: #1A1A1A;
  color: #808080;
  a:link{color: #808080;}
  a:visited{color: #808080;}
  a:hover{color: #808080;}
  a:active{color: #808080;}
}

.dark-link {
  a:link{color: #252525;}
  a:visited{color: #252525;}
  a:hover{color: #252525;}
  a:active{color: #252525;}
  font-size:4em; 
  text-align: right;
}

table {
	cellpadding:  0;
	cellspacing:  0;
	border:  0;
}

a {
	text-decoration: none;
}

.main-holder {
		height: 100vh;
		width:  100vw;
		/*grid-template-rows: 1fr auto;*/
		/*display: grid;*/
}

.right-aligned {
    position: fixed; /* or absolute */
    right: 0;
    top: 0; /* Adjust as needed */
    background-color: lightblue; /* Just for visibility */
}

.header {
	/*style="height:1.5vh;"*/
	/*position: fixed;*/
}

.page-content {
	height:  100%;
}

.footer {
		width:  100%;
		height:  10vh;/*18*/
    text-align: center;
    vertical-align: top;
}

.title {
	font-family: "Ambroise Std Firmin", "Didot LT Pro","Trirong", "Cormorant Garamond", Cormorant, "Book Antiqua", serif;
	font-style: bold;
	text-shadow: 2px 2px #303030;
}

.top-choices {
	font-family: "Ambroise Std Firmin", "Didot LT Pro","Trirong", "Cormorant Garamond", Cormorant, "Book Antiqua", serif;
	font-style: bold;
	text-shadow: 2px 2px #303030;
}

.menu-choices {
	position: fixed;
	font-family: "Ambroise Std Firmin", "Didot LT Pro","Trirong", "Cormorant Garamond", Cormorant, "Book Antiqua", serif;
	font-style: bold;
	/*text-shadow: 2px 2px #303030;*/
	font-size: 2.5vw;
	line-height: 2.2;
}

.social-icons {
	filter: brightness(70%);
}

.album-preview {
	background-color: #252525; 
	padding: 10px; 
	margin: 10px;
}

.portfolio-image{
	display: block;
  margin-left: auto;
  margin-right: auto;
	max-width:  90vw;
	max-height: 80vh;
}

.copyright{
	width:  100%;
	text-align:  center;
	font-size: 0.1vw;
	font-stretch: expanded;
}

/* Diagonal gradient orange placeholder */
.image-placeholder {
    width: 400px;
    height: 400px;
    background: linear-gradient(-45deg,  #000000, #742700,  #ff8235);
    background-size: 200% 200%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

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

/* Image container with placeholder */
.image-container {
    position: relative;
    height: 400px;
    display: inline-block;
    margin: 10px;
}

.image-container img {
    height: 400px;
    width: auto;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.image-container img.loaded {
    opacity: 1;
}

.image-container img.loaded + .image-placeholder {
    display: none;
}


