/* Global Styles */
body {
background-color: #915f1D;
color: #000000;
font-family: Arial, sans-serif;
}

/* Header Styles */
header {
background-color: #dfceb2;
color: #000000;
padding: 10px;
}

header h1 {
margin: 0;
}

.gallery {
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
gap: 10px;
overflow: hidden; /* Set the overflow property to hidden /
height: auto; / Set a fixed height for the gallery */
}

.gallery img {
width: 250px;
height: 250px;
margin: 10px;
outline: 2px solid #000000;
transition: transform 0.3s;
object-fit: cover; /* Use the object-fit property to crop the image /
border-radius: 50%; / Rounded border to reflect guinea pig appearance /
background-color: #d8a05a; / Set a lighter shade of brown */
}

.gallery img:hover {
transform: scale(1.1);
}

/* Button Styles */
.buttons {
display: flex;
justify-content: center;
margin-top: 20px;
}

.buttons a {
background-color: #dfceb2;
color: #000000;
border: 2px black;
padding: 10px;
margin: 10px;
border-radius: 5px;
text-decoration: none;
}

.buttons a:hover {
background-color: #ffffff;
color: #915f1D;
}

/* Centered Title and Description */
.potato-title {
text-align: center;
}

.potato-description {
text-align: center;
}

/* Home Button Styles */
.home-button {
display: inline-block;
padding: 10px;
background-color: #915f1D;
color: #ffffff;
border: 2px solid #ffffff;
text-decoration: none;
border-radius: 5px;
}

.home-button:hover {
background-color: #ffffff;
color: #000000;
}

/* Image Overlay Styles */
#overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.7);
display: flex;
justify-content: center;
align-items: center;
z-index: 9999;
overflow: hidden;
}

#overlay-image {
max-width: 90%;
max-height: 90%;
}