body {
	background-color: #833a99;
}
h1 {
	font-size: 200%;
	font-family: 'Lato',sans-serif;
}
h2 {
	font-size: 150%;
	font-family: 'Lato',sans-serif;
}
p {
	font-size: 100%;
	font-family: 'Lato',sans-serif;
}
.div1 {
	border: 5px outset #D01BF8;
	background-color: #E882FA;
}
.right-text {
	text-align: right;
}
.flip-horizontal {
	display: inline-block;
	transform: scaleX(-1);
}
.flip-vertical {
	display: inline-block;
	transform: scaleY(-1);
}
.image-container {
  display: flex;         /* Forces children to line up horizontally */
  gap: 10px;             /* Adds space between the two images */
}

.gallery-row {
  display: flex;
  gap: 1px; /* Adds space between the two images */
}
.left-stars {
	width: 10rem;
	height: 10rem;
	float: left;
}
.right-stars {
	width: 10rem;
	height: 10rem;
}
.logo {
	margin-right: -100px;
}
	
/* Optional styling to make sure the images fit nicely */
.gallery-row figure {
	margin: 0;
    padding: 10px 10px;
}

.gallery-row figcaption {
            text-align: center;
            margin-top: 8px;
            font-style: italic;
}
.fifty-percent {
	width: 50%;
	height: auto;
}
.twenty-five-percent {
	width: 25%;
	height: auto;
}
.junibi {
    width: 10vw;
    height: auto;
}
.center-text {
	text-align: center;
}
.center-header {
    padding-bottom: -10rem;
}
td img {
    height: 5rem;
    width: auto;
}
td {
    text-align: center;
    border: 1px solid #000000;
    padding: 1rem;
}
.flex-container {
  display: flex;
  justify-content: center; /* Centers horizontally */
  align-items: center;     /* Centers vertically */
}
/* same as fifty-percent class, but separate so that it can be changed by the JS code */
.gallery-photo {
  width: 50%;
  height: auto;
}
@font-face {
  font-family: 'Lato-Light'; /* Name your font whatever you like */
  src: url('fonts/Lato-Light.woff2') format('woff2'),
       /*url('/resources/fonts/myfontname.woff') format('woff'),*/
       url('/resources/fonts/Lato-Light.ttf') format('truetype'); /* Include the TTF as a fallback */
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Lato'; /* Name your font whatever you like */
  src: url('fonts/Lato-Regular.woff2') format('woff2'),
       /*url('/resources/fonts/myfontname.woff') format('woff'),*/
       url('/resources/fonts/Lato-Regular.ttf') format('truetype'); /* Include the TTF as a fallback */
  font-weight: normal;
  font-style: normal;
}
/* --- THE JUNIDAY MOBILE AUDIO FIX --- */

/* Fix the floating stars layout on mobile screens */
@media (max-width: 600px) {
    /* Stop the stars from floating over the text and player */
    .left-stars {
        float: none !important;
        display: block !important;
        margin: 0 auto 10px auto !important; /* Centers the stars cleanly on mobile */
        width: 6rem !important;  /* Shrinks them slightly so they fit beautifully */
        height: 6rem !important;
    }

    .right-stars {
        display: block !important;
        margin: 0 auto 20px auto !important; /* Centers the right stars too */
        width: 6rem !important;
        height: 6rem !important;
    }

    /* Force the audio player to be completely clear of all headers and float elements */
    audio {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        clear: both !important; /* Crucial: This forcefully pushes the player below the floating stars */
        margin-top: 20px !important;
        margin-bottom: 20px !important;
    }
}
