body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: tan;
    color: darkgreen;
}



/* HEADER */
h1,h2 {
font-family: "https://fonts.googleapis.com/css2?family=Fleur+De+Leah&display=swap", cursive;
font-weight: normal;
margin: 0;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: darkgreen;
}
.title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: #d2b48c;
  font-size: 50px;
  text-align: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 90px;

   filter: brightness(0) saturate(100%) invert(87%) sepia(16%) saturate(825%) hue-rotate(338deg) brightness(88%) contrast(86%);
}

.menu-icon {
    color: black;
    font-size: 60px;
    cursor: pointer;
}


/* PRODUCT SECTIONS */
.hero{
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
}
.hero img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    text-align: center;
    color: white;
}
.hero-text h2 {
    font-size: 40px;
}
.hero-text p {
    font-size: 18px;
    margin-bottom: 20px;
}

main {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 40px;
}

.product {
    width: 250px;
    max-width: 300px;
    text-align: center;

    background-color: white;
    padding: 20px;

    border-radius: 10px;
}

.product img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 10px;
}

.product h2 {
    margin-top: 10px;
}

.product p {
    font-size: 14px;
}




/* BUTTON */

button {
    margin-top: 10px;
    padding: 10px 20px;

    border: none;
    border-radius: 5px;

    background-color: darkgreen;
    color: white;

    font-family: inherit;
    cursor: pointer;
}

button:hover {
    background-color: green;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav a {
    text-decoration: none;
    color: #d2b48c;
    font-weight: bold;
}

nav a:hover {
    color: white;
}
.menu-icon {
        display: none;
}

/* MOBILE */
@media (max-width: 1200px) {
    nav ul {
        display: none; 
    }

    .menu-icon {
        display: block;
        color: black;
        font-size: 40px;
    }

    main {
        flex-direction: column;
        align-items: center;
    }

    .product {
        width: 90%;
        max-width: 400px;
    }
    .hero-text h2 {
        font-size: 28px;
    }

    .hero-text p {
        font-size: 14px;
    }
}

#nav-menu {
    transition: all 0.3s ease;
}

@media (max-width: 1200px) {

    nav {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        z-index: 2000;
        background-color: darkgreen;

        max-height: 0;          
        overflow: hidden;
        transition: max-height 0.4s ease;
    }

    nav.active {
        max-height: 300px;
    }

    nav ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
    }

    .menu-icon {
        display: block;
    }
}
