/* Main stylesheet */

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
	background-color: #34a893;
	font-family: Tahoma, Arial, sans-serif;
	font-size: 16px;
	color: #000000;
	margin: 0;
	padding: 0;
}

.header {
	background: linear-gradient(to right, #010081, #1C82FF);
	width: 100%;
	height: auto;
	color: white;
	margin: 0 auto;
	box-shadow:
        inset 4px 4px 0 #d5d5d5,
        inset -4px 0 0 #646464;
}

h1 {
	padding: 10px 10px 10px 10px;
	    display: block;
    font-size: 1rem;
    margin-block-start: 0px;
    margin-block-end: 0px;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: normal;
    unicode-bidi: isolate;
	letter-spacing: 0.5px;
}

h2 {
	font-size: 1rem;
	letter-spacing: 0.5px;
}

a {
  color: #0d11fd;
  text-decoration: underline;
}

a:hover {
  color: #ffffff;
}

.container {
	width: 50%;
	max-width: 650px;
	background-color: #9ca6a4;
	margin: 0 auto;
	margin-top: 15px;
}

.maincontent {
	margin: 0 auto;
	box-sizing: border-box;
	align-content: center;
	padding: 12px;
	box-shadow:
        inset 4px 0 0 #d5d5d5,
        inset -4px -4px 0 #646464;
	text-align: center;
}

.submissions {
	white-space: pre-wrap;      /* Wrap text and respect whitespace */
  word-wrap: break-word;
	line-height: 1.2;
}

.about {
	line-height: auto;
	margin-bottom: 20px;
}

details .about {
	margin-top: 6px;
}

.captionflex {
	display: flex;
	align-items: center;
}

.caption {
	font-size: 0.9rem;
	font-weight: normal;
	font-style: italic;
	line-height: 1rem;
	text-align: left;
	width: 50%;
}

.date {
	font-size: 0.8rem;
	line-height: 1rem;
	text-align: right;
	width: 50%;
}

.nav {
	margin-top: 0.5rem;
	margin-bottom: 0.5rem;
}

form {
  display: flex;
  flex-direction: column;  /* Stack children vertically */
  max-width: 400px;        /* Optional: limit form width */
  margin: 0 auto;          /* Center form horizontally */
  gap: 5px;               /* Space between items */
}

form input[type="text"],
form textarea,
form button,
form .g-recaptcha {
  width: 100%;             /* Make inputs, button and captcha full width */
  box-sizing: border-box;  /* Include padding/border in width */
  font-size: 1rem;
  padding: 8px 10px;
	margin: 0 0 0 0;
}

form textarea {
  resize: vertical;        /* Allow vertical resizing */
  min-height: 100px;       /* Give it some initial height */
}

form button {
  cursor: pointer;
  background-color: #007BFF;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 10px;
  font-weight: bold;
}

form button:hover {
  background-color: #0056b3;
}

.copy {
	font-size: .9rem;
	font-style: italic;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .container {
	width: 90%;
	padding: 0;
	  margin: 0 auto;
	margin-top: 15px;
  }
	
}

img {
  max-width: 100%;
	margin-bottom: 5px;
}

.image-tiles1 {
  display: inline-grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
	margin-bottom: 0.5rem;
	max-width: 600px;
}

.image-tiles1 img {
  object-fit: cover;
  display: block;
  margin: 0;
  padding: 0;
}