@charset "UTF-8";

body{
	font-family:Arial, sans-serif;
	-webkit-font-smoothing:antialiased;
	background-color:#eee;
    background-image: url(../img/imga.jpg);
    min-height:20vh;
}

/*
#top{
    background-image: url(../img/imga.jpg);
    min-height:20vh;
}*/



#wrapper{
	max-width:800px;
	margin:0 auto;
	
}

/* --- FIX: Set bigbox to handle centering --- */
.bigbox {
display:flex;
flex-direction: column; 
align-items: center; /* Centers the list below */
filter: drop-shadow(4px 6px 10px black)

}

h1{
text-align: center;
font-size:40px;text-shadow: 4px 4px 6px #999;
margin: 50px 0;
	color: red;
    text-align: center;
    font-size:85px;
 font-family: "Audiowide", sans-serif;
  font-weight: 500px;
  font-style: normal;
text-shadow: 4px 4px 6px mediumpurple;
}

/* --- Ensure buttons are centered by parent container --- */
#buttons {
	text-align: center;
	width: 100%;
}

button{font-family: "Audiowide", sans-serif;
	font-size:1.2em;
	margin-right:10px;
	margin-bottom: 10px;
	display:inline-block; /* Changed from 'block' to 'inline-block' for horizontal centering */
	color:#eee;
	padding:10px 15px;
	background:red;
	border-radius:0px;
	border:none;
	cursor:pointer;
}

#buttons button:last-child{
	margin-right:0;
}

button:focus{
	outline:none;
}

button:hover{
	background:mediumpurple;
}

/* --- FIX: Updated #list to use Flexbox --- */
#list{
	display: flex;
	flex-wrap: wrap; 
	justify-content: center; /* Centers images horizontally */
	padding-top:50px;
	margin: 0; /* Removed margin-right:-20px; */
	list-style-type:none;
	width: 100%;
}

/* --- FIX: Updated #list li to remove float and set margins --- */
#list li{
	margin: 15px 15px; /* Even spacing between images */
	width:150px;
	height:150px;
	list-style-type:none;
	/* float:left; was removed */
	
	/* Added hover styles */
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    cursor: pointer;
}

#list li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#list li:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

footer {
padding: 10px;
background-color: #d2691e;
text-align: center;
}