html, body {
    height: 100%;
    margin: 0;
    font-family: Helvetica;
}

header {
    padding: 15px 1rem; 
    background-color: grey;
}

h1 {
    text-align: center;
    font-size: 50px;
}

h2 {
    font-size: 30px;
    margin: 20px;
}

h3 {
    font-size: 25px;
}

button {
    padding: 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 25px;

}

footer {
    background-color: grey;
    padding: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

a {
    color: black;
    font-size: 20px
}

body {
    background-color: rgb(199, 199, 199);
}

.container {
    display: grid;
    grid-template-areas: 
    "header"
    "menu";
    grid-template-columns: auto;
    gap: 3px;
    padding: 5px;
    background-color: black;
    margin: 20px;
}

.container div {
    padding: 10px;
    background-color: rgb(199, 199, 199);
}

.container div.header {
    font-size: 25px;
    grid-area: header;
    text-align: center;
    font-family: Helvetica ;
}

.container div.menu {
    font-size: 20px;
    grid-area: menu;
    text-align: center;
    font-family: Helvetica ;
}

.card {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    transition: 0.3s;
    width: calc(23% - 20px); 
    border-radius: 8px;
    overflow: hidden;
    margin: 20px;
    height: auto;
}

.card img {
    object-fit: cover;
    width: 100%;
}

.card_container {
    padding: 2px 16px
}

.card_display{
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.text_box     {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    transition: 0.3s;
    width: calc(50% - 40px);
    border-radius: 8px;
    overflow: hidden;
    margin: 20px;
    height: auto;
    background-color: white;
    font-size: 25px;
    padding: 10px 16px;
}

.text_box a {
    font-size: 25px;
}

br {
    display: block; 
    margin-top: 20px;
} 

header input {
    float: right;
    padding: 6px;
    border: none;
    margin-top: 8px;
    margin-right: 16px;
    font-size: 17px;
    width: 30%;
    height: 60px;
    font-size: 25px;
}

.item_card_display{
    display: flex;
    align-items: flex-start;
}

.item_card {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    transition: 0.3s;
    width: calc(50% - 40px); 
    border-radius: 8px;
    overflow: hidden;
    margin: 20px;
    height: auto;
}

.item_card img {
    object-fit: cover;
    width: 100%;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 30px 0;
}

.filter-buttons button {
    background-color: #f8f9fa;
    color: #333;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 20px;
    font-weight: 600;
}

.filter-buttons button:hover {
    background-color: #333;
    color: white;
    border-color: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.filter-buttons button.active {
    background-color: #333;
    color: white;
    border-color: #333;
}

.hero-image {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("img/hero.jpg");
    height: 85%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.hero-text {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
}

.grid-header {
    text-align: center;
    padding: 32px;
}

.column {
    float: left;
    width: calc(51% - 40px);
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
}

.column img {
    margin-top: 12px;
    align-items: center;
    width: 100%;
    height: 50%;
}

.row:after {
    content: "";
    display: table;
    clear: both;
}

.modal {
    display: none; 
    position: fixed; 
    z-index: 9999; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}