Spaces:
Running
Running
body { | |
font-family: Arial, sans-serif; | |
margin: 20px; | |
background-color: #fdfdfd; | |
color: #333; | |
} | |
h1 { | |
text-align: center; | |
margin-bottom: 10px; | |
font-size: 28px; | |
} | |
.grid { | |
display: grid; | |
grid-template-columns: repeat(4, 1fr); | |
gap: 15px; | |
padding: 0 20px; | |
} | |
.grid img { | |
width: 100%; | |
height: auto; | |
border-radius: 8px; | |
transition: transform 0.2s ease; | |
box-shadow: 0 2px 8px rgba(0,0,0,0.1); | |
} | |
.grid img:hover { | |
transform: scale(1.03); | |
box-shadow: 0 4px 12px rgba(0,0,0,0.2); | |
} | |
.modal { | |
display: none; | |
position: fixed; | |
z-index: 999; | |
left: 0; | |
top: 0; | |
width: 100%; | |
height: 100%; | |
background-color: rgba(0,0,0,0.9); | |
} | |
.modal img { | |
display: block; | |
max-width: 90%; | |
max-height: 90%; | |
margin: 5vh auto 0; | |
border-radius: 10px; | |
} | |
.button-row { | |
display: flex; | |
flex-wrap: wrap; | |
justify-content: center; | |
gap: 10px; | |
margin: 40px 0; | |
} | |
.nav-button { | |
background: black; | |
color: white; | |
padding: 10px 20px; | |
border-radius: 6px; | |
text-decoration: none; | |
font-size: 16px; | |
font-weight: bold; | |
flex: 1 1 auto; | |
max-width: 280px; | |
text-align: center; | |
} | |