html {
	background-color: #cf1e11;
	color: white;
	padding-top: 10px;
	text-align: center;
}

body {
	background-color: black;
	color: black;
	font-family: Arial, sans-serif;
	line-height: 1.6;
	margin: 0;
	font-family: "Oswald";
}

article {
	background-color: white;
}

a {
	color: red;
}

menu a {
	color: white;
}

menu a:hover{
	color: red;
}

menu {
	text-align: center;
	background-color: black;
}

ul {
	list-style-position: inside;
}

.center {
	text-align: center;
}

.container {
  display: flex;
  align-items: center; /* Vertically centers the text next to the image */
  gap: 20px; /* Adds space between the image and text */
}

.container figcaption {
	align-items: none;
}

.column-wrapper {
	display: flex;
	gap: 20px;
	align-items: flex-start;
}

.column {
	flex: 1;
	padding: 15px;
	border: 1px solid black;
	border-radius: 8px;
}

.signature {
	font-family: "Brush Script MT", cursive;
	font-size: 2em;
	margin-top: 20px;
	margin-bottom: 0;
}

.col-large { 
flex: 2; border-left: 5px solid #2c3e50; 
}

figure {
  display: inline-block; 
  vertical-align: top;  
  margin: 10px;          
  text-align: center;    
}

.col-small { 
flex: 1; background: #eef; 
}

header {
	background-color: #cf1e11;
	color: white;
	padding-top: 10px;
	text-align: center;
}

header nav a {
	color: white;
	padding-right: 15px;
	padding-left: 15px;
	font-weight: bold;
}

header nav ul {
	list-style-type: none;
}

nav a:hover {
  text-decoration: underline;
}

.header image {
	height: 400px;
}

main {
	padding: 20px;
	margin: auto;
	max-width: 1200px;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}
.gallery img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 2px solid #ccc;
    transition: transform 0.2s;
}
.gallery img:hover {
    transform: scale(1.05);
    border-color: #2c3e50;
}

.flex-gallery {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 20px;
}

.flex-item {
	flex: 1 1 calc(33.33% - 10px);
	box-sizing: border-box;
}

.flex-item img {
	width: 100%;
	display: block;
	border-radius: 8px;
	height: 400px;
}

ul {
	list-style-type: disc;
	padding-left: 20px;
}

.flex-item:hover .image-description {
  background-color: #004466;
  color: white;
  padding: 16px;
  font-size: 16px;
  border: none;
  display: block;
}

.flex-item {
    position: relative;
    width: 300px; 
    display: inline-block; 
}

.image-description {
    display: none; 
    padding: 10px;
    background-color: #f0f0f0;
    text-align: center;
}


/* Dropdown Description Styling */
details {
  margin-top: 10px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
}
summary {
  font-weight: bold;
  cursor: pointer;
}


/* Tablets */
@media (max-width: 900px) {
	.flex-item { flex: 1 1 calc(50% - 10px); }
	.header-img {max-height: 200px; }
	header nav a { font-size: 15px; margin: 5px 10px; }
}

/* Mobile phones */

@media (max-width: 600px) {
	.flex-item { flex: 1 1 100%; }
	header nav { display: flex; flex-direction: column; align-items: center; }
	header nav a { margin: 5px 0; }
	.header-img { max-height: 150px; }
	main { padding: 15px; }
}

footer {
	background-color: #cf1e11;
	color: white;
	padding-top: 10px;
	text-align: center;
}
