* {
    box-sizing: border-box;
    padding: 0;
    margin:0;
    font-family: 'Jost';
}

a {
    text-decoration: none;
    color: black;
}

li {
    list-style: none;
}

/* Header */


/* Top Navigation */
.topnav {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 30px;
    background-image: url('africandesign.png');
    color: white;
    top:0px;
    font-weight: bolder;
    position: fixed;
    width: 100%;
    z-index: 100;
}

.topnav h4 {
    font-size: 0.9rem;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    background-color: white;
    position: fixed;
    top: 38px;
    width: 100%;
    z-index: 99;
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-link:hover {
    color: black;
}

.brand {
    display:flex;
    justify-content: center;
    align-items: center;
    padding:10px;
}

.brand img {
    height:90px;
    width:90px;
    border-radius: 50%;
    display:flex;
    justify-content: center;
    align-items: center;
    
}
@media(max-width:350px) {
    .brand img {
        height:80px;
        width:80px;
    }
}

.hamburger {
    display: none;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: black;
}

/* For screens smaller than 400px */
@media (max-width: 400px) {
    .topnav {
        text-align: center;
        color: white;
        font-weight: bolder;
        font-size: 0.5rem;
        background-color: white;
    }
    .navbar {
        top:40px;
    }
}

@media (max-width: 320px) {
    .navbar {
        top: 60px;
    }   
}

@media (max-width:350px) {
    .navbar {
        top:60px;
    }
}

/* Media Queries */
@media (max-width: 768px) {
    .navbar {
        padding: 0 15px;
    }

    .hamburger {
        display: block;
        cursor: pointer;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu {
        flex-direction: column;
        background-color: #ca7733;
        width: 100%;
        text-align: center;
        position: fixed;
        left: -100%;
        top: 120px;
        transition: 0.3s;
        gap: 10px;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 10px 0;
       /* position:relative; /*Push other links further below*/
    }

    .nav-link {
        color: white;
    }
}



/* General container styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    margin-top: 150px;
    font-size: 20px;
}

/* Title styling */
.container h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: bold;
}

/* Category title styling */
.category-title {
    font-size: 1.8rem;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
    color: #472101;
    text-align: center;
}

/* Blog post card styling */
.product-card {
    margin-bottom: 30px;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    background-color: #f9f9f9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.product-card:hover {
    transform: translateY(-5px);
}

/* Image styling */
.blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Blog title and description styling */
.product-card h6 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.product-card p {
    font-size: 1rem;
    color: #555;
}

footer {
    background-color: #ca7733;
    color:white;
    text-align: center;
    padding:20px;
    height:auto;
}

footer p {
    display: flex;
    justify-content: center;
    align-items: center;
}

/*Cookie Banner*/
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #ca7733;
    color: #fff;
    padding: 15px;
    text-align: center;
    display: none;
    z-index: 1000;
    font-size: 20px;
}