@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
*{
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    font-family: "Poppins", sans-serif;

}
.header {
  background-color: #ffffff;
  padding: 20px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  display: flex;
  font-family: "Poppins", sans-serif;
  justify-content: space-between;
  align-items: center;
}
.logo img {
  height: 60px;
  width: auto;
  display: block;
}

.nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: 0.3s;
}

.nav a:hover {
  color: orange;
}
main {
    width: 100%;
    height: 100vh;
    position: relative;
}
.item {
    display: none;
    width: 100%;
    min-height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--background);
}
.fruit {
    width: 200px;
    height: auto;
}
.refri{
    width: 800px;
    height: auto;
}

.item.active{
    display: block;
}

.item .tittle{
    font-size: 12rem;
    color: #fff;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: bold;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.item .fruit{
    width: 90%;
    position: absolute;
    top: 0;
    z-index: 3;
}

.item .refri{
    z-index: 2;
    width: 600px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#prev, #next{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: #eee9;
    border: 1px solid #eee9;
    color: #fff;
    font-size: x-large;
    cursor: pointer;
    font-family: monospace;
    z-index: 4;
    border-radius: 50%;
}
#prev{
    left: 30px;
}
#next{
    right: 30px;
}
.about {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 10%;
    gap: 60px;
}
.about-images {
    display: flex;
    gap: 30px;
}

.img-box {
    width: 220px;
    height: 220px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.img-box img {
    width: 80%;
    border-radius: 20%;
}
.about-text {
    max-width: 500px;
    font-family: "Poppins", sans-serif;
}

.about-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.about-text p {
    color: #555;
    margin-bottom: 20px;
}

.features p {
    margin-bottom: 10px;
    font-weight: 500;
}
.products {
    padding: 80px 10%;
    background: #f7f6f4;
}
.products-header {
    display: flex;
    font-family: "Poppins", sans-serif;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.products-header h2 {
    font-size: 32px;
}

.products-header p {
    color: #666;
}

.filters button {
    padding: 8px 18px;
    border: none;
    background: #eee;
    border-radius: 20px;
    cursor: pointer;
    margin-left: 10px;
}

.filters .active {
    background: #f5a623;
    color: white;
}
.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.card {
    background: white;
    padding: 25px;
    border-radius: 25px;
    font-family: "Poppins", sans-serif;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.card img {
    width: 100%;
    border-radius: 20px;
    margin-bottom: 15px;
}

.card h3 {
    margin-bottom: 10px;
}

.card p {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

.price {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price button {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: none;
    background: #f5a623;
    color: white;
    cursor: pointer;
}

.tag {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    color: white;
}

.orange { background: #f5a623; }
.green { background: #2d8f4e; }
.red { background: #e04b4b; }

.footer {
  background: transparent;
  color: #000000;
  padding: 40px 10%;
  align-items: center;
  text-align: center;
  margin-top: 80px;
}

@keyframes toActive{
    from{
        top: 100%;
        opacity: 0;
    }
}

.item.active img.fruit{
    animation: toActive 0.5s ease-in-out 1;
}
.item.active .tittle{
    animation: toActive 0.5s ease-in-out 1;
}