/* CSS Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  color: #333;
  width: 100%;
}

/* Reset for common elements */
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: normal;
}

ul, ol {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

button {
  border: none;
  outline: none;
  background: none;
  cursor: pointer;
}

input, select, textarea {
  border: 1px solid #ccc;
  outline: none;
  font-family: inherit;
  font-size: inherit;
}

/* Optional: You can set a base font size for body */
body {
  font-size: 16px;
}

.header {
  height: 80px;
  width: 100%;
background-color: #71ee58;
}

.header ul {
  height: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header ul li {
  font-size: 28px;
  color: rgb(241, 241, 241);
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.header ul li:hover {
  background-color: rgb(62, 245, 17);
  color: #000;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}


.img{
  height: 500px;
  width: 100%;
  background-image: url(../images/kem4.jpg);
  background-size:cover ;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
}

.about{
  position: relative;
  height: 300px;
  width: 100%;
  background-color: #f4f4f4;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display:flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.introduce{
  position: absolute;
  margin: 32px auto;
  height: auto;
  width: 80%;
  font-weight: 700;
  color: #000;
}

.introduce h1{
  margin-bottom: 32px;
  color: blue;
  font-size: 42px;
}

.container__product{
  width: 100%;
  margin: 24px auto;
  display: flex;
  justify-content: center;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 20px;
  /* background-image: url(../images/unnamed\ \(2\).png); */
  background-color: rgb(80, 207, 80);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.img_item img{
  max-width: 380px;
  max-height: 300px;
}

.img_item img:hover{
  padding: 12px;
}

.product{
  margin: 24px;
  width: calc(30% - 20px);
 
}

.nam .title{
  color: #fff;
}

.product:hover{
  width: calc(30% - 20px);

}

.product img{
  border-radius: 8px;
}

.product .title{
  font-size: 14px;
  font-weight: 600;
}

.product .price{
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  color: rgb(51, 255, 0);
}

.ngoc{
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.buy{
  padding: 8px 16px;
  background-color:rgb(51, 255, 0) ;
  border-radius: 8px;
}

.buy:hover{
  padding: 4px;
}


.news_container{
  padding: 24px;
  width: 100%;
  height: auto;
  background-color: #000;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  background-color: #8b6565;

}



.footer{
 height: auto;
width: 100%;
background-color: #0d1a00;
display: flex;
align-items: flex-start;
justify-content: center;
}

.frame{
  padding: 24px;
  max-width: 25%;
  height: auto;
  color: #fff;
  display: flex;
  flex-direction: column;

  justify-content: center;
  
}

.frame .title{
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.frame .describe{
  font-size: 16px;
  font-weight: 400;
  display: flex;
  flex-direction: column;
  gap: 10px;
}


.card {
  background: white;
  max-width: 700px;
  width: 90%;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  height: 800px;
  display: flex;
  flex-direction: column;
  gap: 42px;
}

.card img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
}

.card-content {
  padding: 20px;
}

.card-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}

.card-description {
  font-size: 16px;
  line-height: 1.6;
  color: #666;
}

.card img:hover{
  padding: 12px;
}
