html {
    overflow-y: scroll;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-image: url(/images/page_backgrounds/generic_background.png);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    overflow-x: hidden;
}

/* =========================
   HEADER
========================= */

header {
    background-color: #e3c5f2;
    width: 100%;
    height: 100px;
    position: fixed;
    top: 0;
    left: 0;

    display: flex;
    justify-content: space-between;
    align-items: center;

    z-index: 1000;
    transition: all 0.4s ease;
}

header.shrink {
    height: 60px;
}

/* =========================
   LOGO
========================= */

header .logo img {
    height: 80px;
    border-radius: 20%;
    transition: all 0.4s ease;
  	margin-left: 20px;
}

header.shrink .logo img {
    height: 50px;
}

/* =========================
   NAVBAR (DESKTOP)
========================= */

nav.navbar {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);

    display: flex;
    gap: 20px;
    font-size: 25px;

    transition: all 0.4s ease;
}

header.shrink nav.navbar {
    transform: translateX(-50%) scale(0.9);
}

.navbar a {
    color: #d19aef;
    background-color: #f4efd3;
    border-radius: 15px;
    padding: 10px 16px;
    width: 120px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.navbar a:hover {
    background-color: #fff4b7;
    transform: translate(-2px, -2px);
    box-shadow: 2px 2px #7f7f7f;
}

/* =========================
   HAMBURGER MENU
========================= */

header .menu_icon {
	display: none;

    position: absolute;
    top: 0;
    right: 0;

    height: 100%;
}

.dropdown_button {
    height: 100%;
    width: 90px; /* adjust width as desired */

    background-color: #AEAEAE;
    color: white;

    border: none;
    font-size: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    transition: all 0.3s ease;
}

header.shrink .dropdown_button {
    font-size: 28px;
}

/* =========================
   DROPDOWN MENU
========================= */

.dropdown_links {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;

    flex-direction: column;
    background-color: #f1f1f1;
    min-width: 200px;

    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 2000;
}

.dropdown_links.show {
    display: flex;
}

.dropdown_links a {
    display: block;
    padding: 12px;
    text-decoration: none;
    color: black;
    text-align: center;
}

.dropdown_links a:hover {
    background-color: #ddd;
}

/* =========================
   CART BUTTON
========================= */

.cart_button {
    position: relative;
    display: inline-block;
    padding: 8px 14px;
}

.cart_badge {
    position: absolute;
    top: -6px;
    right: -8px;

    background-color: red;
    color: white;

    font-size: 12px;
    font-weight: bold;

    padding: 2px 6px;
    border-radius: 50px;
    min-width: 18px;
    text-align: center;
}

.cart_badge:empty {
    display: none;
}

/* =========================
   PAGE SECTIONS
========================= */

section {
    max-width: 1000px;
    margin: 120px auto 0 auto; /* pushes content below fixed header */
    background-color: #f4f4f4;
    box-sizing: border-box;
}

/* =========================
   FOOTER
========================= */

footer {
    width: 100%;
    text-align: center;
    color: #656565;
    background-color: #e3c5f2;
    padding: 20px 0;
}

footer section,
footer p,
footer a {
    background-color: #e3c5f2;
}

footer a {
    color: inherit;
    text-decoration: none;
}

footer a:hover {
    text-shadow: 1px 1px #7f7f7f;
}

/* =========================
   RESPONSIVE BREAKPOINT
========================= */

@media (max-width: 1250px) {

    nav.navbar {
        display: none;
    }

    header .menu_icon {
        display: block;
    }
}