.buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 50px;
    gap: 10px;
}

.buttons button {
    flex: 1 1 calc(50% - 20px);
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
    background-color: #031D6A;
    color: white;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.buttons button:hover {
    background-color: #B82A23;
}

#product-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.product-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
    max-width: 300px;
    display: none;
    text-align: center;
    transition: transform 0.3s, opacity 0.3s, box-shadow 0.3s;
    opacity: 0;
    cursor: pointer;
}

.product-card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.product-card img {
    width: 100%;
    height: 150px;
    object-fit: contain;
}

.product-card h3 {
    margin: 10px 0;
    font-size: 18px;
}

.product-card p {
    padding: 0 10px 10px;
    color: #555;
}

.product-card.show {
    display: block;
    animation: shuffleIn 0.5s ease-in-out forwards;
}

.product-card.hide {
    animation: shuffleOut 0.5s ease-in-out forwards;
}

@keyframes shuffleIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes shuffleOut {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(0.8);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .buttons button {
        flex: 1 1 calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .buttons button {
        flex: 1 1 100%;
    }
}

.modal {
	display: none;
	position: fixed;
	z-index: 1;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.6);
}

.modal-content {
	background-color: #fff;
	margin: 10% auto;
	padding: 20px;
	border: 1px solid #888;
	width: 80%;
	max-width: 600px;
	text-align: center;
}

.modal-close {
	color: #aaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
	cursor: pointer;
}

.modal-close:hover, .modal-close:focus {
	color: #000;
	text-decoration: none;
}

.modal-download {
    display: inline-block;
    padding: 8px 16px;
    background-color: #131e4a;
    color: #B82A23;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.3s;
    cursor: pointer;
}

.modal-download:hover {
    background-color: #B82A23;
    color: #131e4a;
    transform: translateY(-2px);
}

.modal-download:active {
    background-color: #B82A23;
    transform: translateY(0);
}