* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Segoe UI', sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
header {
    width: 100%;
    background: #35424a;
    color: #ffffff;
    padding: 15px;
    text-align: center;
}
h1 {
    margin: 0;
    font-size: 2.5em;
}
h2 {
    margin: 20px 0;
    font-size: 2em;
}
nav {
    width: 100%;
    margin: 20px 0;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
nav button {
    padding: 10px 15px;
    background: #f4f4f4;
    color: #35424a;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: background 0.3s ease;
}
nav button:hover,
nav .active {
    background: #35424a;
    color: #ffffff;
}
nav button:active {
    background: #35424ac2;
    color: #ffffff;
}
main {
    width: 80%;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}
main .imageContainer {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 8px #35424aab;
}
main img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
main .containerInfo {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #35424a98;
    color: #ffffff;
    width: 100%;
    padding: 10px;
    text-align: center;
    transform: translateY(100%);
    transition: transform .3s ease;
}
.imageContainer:hover .containerInfo {
    transform: translateY(0);
}
footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    background: #35424a;
    color: #ffffff;
    padding: 15px;
    text-align: center;
}
footer p {
    margin: 5px 0;
    font-size: 1.5em;
    font-weight: 700;
}
footer ul {
    list-style: none;
    padding: 5px;
    margin: 5px 0;
    display: flex;
    gap: 20px;
}
footer ul li {
    font-size: 1.2em;
}