body {
    background-color: rgb(254, 255, 230);
    width: 96vw;
    text-decoration: none;
}

@font-face {
  font-family: 'Centra';
  src: url('fonts/CentraNo1-Bold.ttf') format('truetype');
  font-weight: bold;
}

@font-face {
  font-family: 'Centra';
  src: url('fonts/CentraNo1-Medium.ttf') format('truetype');
  font-weight: normal;
}

a {
    text-decoration: none;
    font-family: Centra, sans-serif;
    color: #426b45;
}

.content {
    width: fit-content;
}

h1 {
    font-family: Centra;
    font-weight: bold;
}

p {
    font-family: Centra;
    font-weight: normal;
}

/* Header Styles*/

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #6baf6f;
    color: rgb(254, 255, 230);
    padding: 2%;
    margin: 0;
    font-family: Centra;
    font-weight: bolder;

}

.snacklins img {
    max-width: 200px;
}

.links {
    display: flex;
    gap: 30px; /* spacing between links */
    font-family: Centra, sans-serif;
    font-size: 20px;
    text-decoration-line: none;
}

.links a {
    color: white;
    text-decoration: none;

}

.links:click {
    color: white;
    text-decoration: none;
}

/* .Product Styles*/

.products {
    position: relative;
    width: 100%;
    margin: 18% 0 14% 0;
    height: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
}

.products img {
    position: absolute;
    width: 700px;
    transition: transform 0.3s ease;
}

.prod1 {transform: translateX(-250px); z-index: 1; }
.prod2 {transform: translateX(-150px); z-index: 2; }
.prod3 {transform: translateX(-50px); z-index: 3; }
.prod4 {transform: translateX(50px); z-index: 4; }
.prod5 {transform: translateX(150px); z-index: 5; }
.prod6 {transform: translateX(250px); z-index: 6; }

.prod1:hover {transform: translateX(-250px) scale(1.1) rotate(3deg); }
.prod2:hover {transform: translateX(-150px) scale(1.1) rotate(3deg); }
.prod3:hover {transform: translateX(-50px) scale(1.1) rotate(3deg); }
.prod4:hover {transform: translateX(50px) scale(1.1) rotate(3deg); }
.prod5:hover {transform: translateX(150px) scale(1.1) rotate(3deg); }
.prod6:hover {transform: translateX(250px) scale(1.1) rotate(3deg); }

.products img:active {
    z-index: 20;
}


/* OurStory Style */
.ourstory {
    display: flex;
    align-items: center;
    gap: 40px;
    width: 100%;
}

.story {
    width: 50%;
}

.taglines {
    width: 50%;
    margin-left: 10%;
}
.story img {
    width: 100%;
}

.taglines {
    width: 30%;
    position: relative;
    height: 50px;
    font-family: Centra;
    font-size: 2.5rem;
    margin-left: 2%;
    margin-bottom: 10%;
}

.tag1 {animation: taglineCycle 15s 1; animation-delay: 0s; }
.tag2 {animation: taglineCycle 15s 1; animation-delay: 15s;}
.tag3 {animation: taglineCycle 15s 1; animation-delay: 30s;}
.tag4 {animation: taglineCycle 15s 1; animation-delay: 45s;}
.tag5 {animation: taglineCycle 15s 1; animation-delay: 60s;}

.taglines p {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    margin: 0;
    opacity: 0;

}

@keyframes taglineCycle {
    0% {
        opacity: 0;
    }

    10% {
        opacity: 100;
    }

    89% {
        opacity: 100;
    }

    90% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

.tag1 {color: #f6643e;}
.tag2 {color: #f9c357;}
.tag3 {color: #8d1434;}
.tag4 {color: #b11aaa;}
.tag5 {color: #0080e1;}


/* Gallery Style */

.icons {
    width: 60%;
    margin: 0 auto;
    overflow: hidden;
}

.image-row {
    overflow: hidden;
    width: 20%;
    margin: 0 auto;
    position: relative;
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
}

.image-row::before {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}

.image-row::after {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}

.track {
    display: flex;
    gap: 50px;
    width: max-content;
    animation: scroll 10s linear infinite;
}

.track img {
    width: 80px;
    height: 95px;
    flex-shrink: 0;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .track {
        animation-duration: 15s;
    }
}

@media (min-width: 1200px) {
    .track {
        animation-duration: 35s;
    }
}


/* Footer Styles */

.footer {
    display: flex;
    flex-direction: column;
    background-color: #6baf6f;
    padding: 2%;
}

.footer img {
    display: flex;
    width: 15%;
}

.footer h2 {
    font-family: Centra;
    font-weight: bolder;
    color: #426b45;
    font-size: 10pt;
}

.footer p {
    font-family: Centra;
    font-weight: bolder;
    color: #426b45;
    font-size: 8pt;
    margin: 0;
}