@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Krub:wght@300;400;500&display=swap');

:root {
    --color-primary: #F23005;
    --color-secondary: #D96725;
    --color-accent: #F28705;
    --color-highlight: #F2CD5C;

    --color-olive: #5E6F3B;
    --color-forest: #2F4F3A;

    --color-white: #ffffff;
    --color-black: #000000;

    --color-productbg: #f3f3f3;

    --font-title: "Inter", sans-serif;
    --font-text: "Krub", sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    background-color: var(--color-white);
    font-family: var(--font-text);
    padding-top: 82px;
}

header {
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-white);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.header-hidden {
    transform: translateY(-100%);
}

.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.logo img {
    width: 75px;
}

.menu a {
    color: var(--color-black);
}

.menu a:visited {
    color: var(--color-black);
}

.menu a:hover {
    opacity: 0.7;
}

.off-screen-menu {
    background-color: var(--color-white);
    height: 100vh;
    width: 100%;
    max-width: 450px;
    position: fixed;
    top: 0;
    left: -450px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 2rem;
    transition: .3s ease;
}

.off-screen-menu.active {
    left: 0;
}

.no-scroll {
    overflow: hidden;
}

ul li {
    padding: 0.5em;
    border-bottom: 1.5px solid black;
}

nav {
    padding: 1rem;
    display: flex;
    background-color: var(--color-white);
}

.ham-menu {
    height: 50px;
    width: 40px;
    margin-right: auto;
    position: relative;
}

.ham-menu span {
    height: 5px;
    width: 100%;
    background-color: var(--color-black);
    border-radius: 25px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: .3s ease;
}

.ham-menu:hover {
    cursor: pointer;
}

.ham-menu span:nth-child(1) {
    top: 25%;
}

.ham-menu span:nth-child(3) {
    top: 75%;
}

.ham-menu.active span {
    background-color: var(--color-black);
}

.ham-menu.active span:nth-child(1) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

.ham-menu.active span:nth-child(2) {
    opacity: 0;
}

.ham-menu.active span:nth-child(3) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
}

.start {
    display: flex;
    flex-direction: column;
    min-height: 100svh;
}

.hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--color-secondary);
    text-align: center;
    color: var(--color-white);
    padding: 0 1em 0 1em;
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.25);
}

.hero-content h1 {
    font-size: 2.5em;
    padding: 0.8em;
    font-family: var(--font-title);
}

.hero-content h2 {
    margin-bottom: 0.8em;
    font-family: var(--font-title);
}

.hero-content p {
    text-align: justify;
    line-height: 1.7;
    text-indent: 2em;
    font-family: var(--font-text);
    margin: 0 auto 1.5rem;
}

#foto-borboleta {
    height: 200px;
    border-radius: 1rem;
}

.wave1 {
    background-color: var(--color-forest);
}

/* PRODUCTS */

.products {
    position: relative;
    background-color: var(--color-forest);
    padding: 2rem 1rem 2.5rem 1rem;
    z-index: 1;
}

.products::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -40px;
    height: 40px;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.25),
            rgba(0, 0, 0, 0.1),
            transparent);
    pointer-events: none;
}

.products h2 {
    font-family: var(--font-title);
    color: var(--color-white);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    padding: 1rem;
}

.products__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(150px, 1fr));
    gap: 1.5rem 1rem;
    margin: 0 auto;
}

.products__grid>.product:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 220px;
    justify-self: center;
}

.product {
    background: var(--color-white);
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    width: 100%;
}

.product:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
}

.product__link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product__thumb {
    background: var(--color-productbg);
    padding: 1rem;
}

.product__image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.product:hover .product__image {
    transform: scale(1.05);
}

.product__details {
    padding: 1.5rem;
    text-align: center;
}

.product__name {
    font-family: var(--font-title);
    font-size: 1rem;
    margin-bottom: 0.8rem;
}

.product__price {
    font-weight: 600;
}

/* ABOUT */

.about__us {
    background-color: var(--color-white);
    padding: 1.5rem 1rem;
    text-align: center;
}

.about__us h2 {
    margin: 1rem 0 1.5rem;
    font-size: 2.5rem;
    font-family: var(--font-title);
    color: var(--color-black);
    text-align: center;
}

.about__us p {
    color: var(--color-black);
    line-height: 1.7;
    margin: 0 auto 1.5rem;
    text-align: justify;
    text-indent: 2rem;
}

/* FOOTER */

footer {
    background-color: var(--color-productbg);
    text-align: center;
    padding: 1rem;
}