body {
    background-color: #0b0e0cf1;
    margin: 0;
    font-family: Arial, sans-serif;
    color: white;
}

a {
    text-decoration: none;
    color: #138004;
}

a:hover {
    color: #1ccc05;
}

a:visited {
    color: #0a4702;
}

header {
    background-color: #02290e;
    padding: 10px;
    display: flex;
    align-items: center; /* Center logo vertically */
}

.logo img {
    max-width: 100px;
    margin-right: 20px;
}

main {
    display: flex;
    align-items: center; /* Center items vertically */
    padding: 20px;
}

.search-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

#searchBar {
    width: 100%;
    padding: 10px;
    font-size: 16px;
}

.items-container {
    flex: 3;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.item {
    width: calc(20% - 20px);
    height: 250px;
    margin-bottom: 20px;
    text-align: center;
}

.item img {
    max-width: 200px;
    max-height: 180px;
    width: auto;
    height: auto;
}

footer {
    background-color: #02290e;
    color: white;
    text-align: center;
    padding: 10px;
    position: fixed;
    bottom: 0;
    width: 100%;
}

.footer-Images {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.footer-Images a {
    display: inline-block;
    margin: 0 10px;
}

.footer-Images img {
    width: 25px;
    height: 25px;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-overlay img {
    max-width: 80%;
    max-height: 80%;
}

.modal-overlay a {
    display: block;
    margin-top: 10px;
    text-align: center;
    color: white;
    text-decoration: none;
}

/* Media queries for responsiveness */

@media screen and (max-width: 1920px) {
    .item {
        width: calc(20% - 20px);
    }
}

@media screen and (max-width: 1440px) {
    .item {
        width: calc(25% - 20px);
    }
}

@media screen and (max-width: 768px) {
    .item {
        width: calc(50% - 20px);
    }
    .tag-bar {
        display: none;
    }
}
