body {
  font: 14px "Lucida Grande", Helvetica, Arial, sans-serif;
  background-color: #24351e  ;
}
.header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
}

.header h1 {
text-align: center;
font-size: 30px;
color: #e1ad32;
animation: page-header 8s infinite;
animation-iteration-count: 1;
}
.search{
  display: flex; /* 2. display flex to the rescue */
  flex-direction: row;
  justify-content: center;
}
.info{
  display: flex; /* 2. display flex to the rescue */
  flex-direction: row;
  justify-content: space-around;
}
.search input, select{
  display: block; /* 1. oh noes, my inputs are styled as block... */
  margin: 10px;
}
.search select{
  text-align: center;

  appearance: none;
  /* safari */
  -webkit-appearance: none;
  /* other styles for aesthetics */
  width: 35%;
  font-size: 1.15rem;
  padding: 0.675em 6em 0.675em 1em;
  background-color: #b5be9e;
  border: 1px solid #caced1;
  border-radius: 0.25rem;
  color: #000;
  cursor: pointer;
  
}
.search input{
  text-align: center;
  appearance: none;
  /* safari */
  -webkit-appearance: none;
  /* other styles for aesthetics */
  width: 35%;
  font-size: 1.15rem;
  background-color: #b5be9e;
  border: 1px solid #caced1;
  border-radius: 0.25rem;
  color: #000;
  cursor: pointer;
  
}

h3{
  text-align: center;
}

.info a{
  background-color: transparent;
  padding: 15px 60px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 10px;
  border: solid #b5be9e  ;
  color: #b5be9e ;
  border-radius: 3%;
}
/* Footer */

footer {
  width: 100%;
  background-color: #24351e;
  clear: both;
  position: relative;
  height: 200px;

}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.footer-list li {
  display: inline-block;

}

.footer-list li a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
}

.footer-info {
  display: block;
  margin-top: 10px;
  font-size: 14px;
}


.image_footer{
text-align: center;
}
.mexvik_image{
  width: 80px;
  padding-top: 10px;
}
.copyright{
  color: white;
}
.row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 40px;
  text-align: center;
  justify-content: center;
}
.card {
  flex: 0 0 calc(24% - 20px); 
  margin: 10px;
  padding: 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background-color: #fff;
}

.card-content {
  text-align: center;
  word-break: break-all;
}

h2 {
  color: #333;
}

p {
  color: #666;
}
.product_imag{
  width: 270px;
  padding-top: 10px;
}
.header_image{
  text-align: center;
}
.mexvik_image_header{
  width: 140px;
  padding-top: 10px;
  text-align: center;
}
.lang a img{
  width: 40px;
}
@keyframes page-header {
  0% {color: #24351E; transform: scale(0.4);}
  50% {color: #e6b11f; transform: scale(0.8);}

}
@media (min-width: 600px) and (max-width: 992px){
  .card {
    flex-basis: calc(45% - 30px); /* Two cards per row on medium screens */
  }
}


@media (min-width: 250px) and (max-width: 600px){
  .card {
    flex-basis: calc(100% - 30px); /* Single card per row on smaller screens */
  }
}
