/* Reset Default Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "CustomFont1";
}

/* Body Styling */
body {
    color: #333;
    line-height: 1.6;
}

/* Header */
header {
    background: rgba(255, 255, 255);
    color: black;
    padding: 5px;
    text-align: center;
}

/* Navigation Menu - Flexbox for alignment */
nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 10px 0;
}

nav ul li {
    display: inline;
}

nav ul li a {
    color: black;
    text-decoration: none;
    font-weight: bold;
}

/* Footer */
footer {
    text-align: center;
    margin-top: 20px;
    padding: 10px;
    background: black;
    color: white;
}

/* ----- RESPONSIVE DESIGN ----- */

/* Mobile Screens (max-width: 600px) */
@media (max-width: 600px) {
    body {
        padding: 10px;
    }

    .main-nav{
        display: flex;
        position: relative;
        justify-content: center;
        align-items: center;
        color: white;
    }
    .main-nav a {
        display: none;
    }

    .main-nav ul li {
        padding-top: 0;
    }

    .nav-center {
        display: none;
    }

    footer {
        font-size: 13px;
    }
}

/* Tablet Screens (max-width: 900px) */
@media (min-width: 800px) {

    .main-nav {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 10px 20px;
        background-color: #f4f4f4;
    }
  
    .nav-center {
        display: flex;
        gap: 1.5rem;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .hamburg-button {
        display: none;
    }
    main {
        max-width: 800px;
        margin: 20px auto;
        background: white;
        padding: 20px;
        border-radius: 10px;
    }
    footer {
        margin-top: auto;
    }
}

  .nav-right {
    display: flex;
    align-items: end;
    justify-content: end;
    gap: 15px;
    margin-right: 10px;
    margin-top: 10px;
  }

  .nav-right li {
    list-style: none;
  }

  .hamburg-button button {
    background: none;
    border: none;
    font-size: 22px;
    font-weight: bold;
    color: #333;
  }

  .cart-button button {
    background: none;
    border: none;
    font-size: 15px;
    font-weight: bold;
    color: #333;
  }
  
  /* Style links and buttons */
  .main-nav a, .main-nav button {
    text-decoration: none;
    font-size: 1rem;
    color: #333;
    background: none;
    border: none;
    cursor: pointer;
  }
  
  .main-nav a:hover,
  .main-nav button:hover {
    color: rgb(0, 255, 255);
  }

  header {
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }
  
  #user-email {
    color: #007BFF;
    font-size: 0.9rem;
  }

  .product-card button {
    color: black;
    background: none;
    cursor: pointer;
    font-size: 15px;
    border: 2px solid #333;
    border-radius: 10px;
    padding: 5px 10px;
    margin-top: 5px;
  }

  .product-card {
    border: #333 solid;
    border-radius: 20px;
    padding: 15px;
  }

  .cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

  .cart-close {
    background: none;
    border: 2px solid #333;
    font-size: 20px;
    color: #333;
    cursor: pointer;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 5px;
    padding-top: 2px;
    border-radius: 10px;
    transition: background 0.2s ease, transform 0.1s ease;
  }

.hamburg-btn {
    display: flex;
    justify-content: end;
}

.hamburg-btn li {
    list-style: none;
}

.hamburg-btn button {
    border: none;
    background: none;
    font-size: 22px;
    font-weight: bold;
    margin-right: 10px;
    margin-top: 10px;
    color: #333;
}

.hamburg-menu {
    position: fixed;
    right: 0;
    top: 0;
    width: 300px;
    height: 100%;
    background: #fff;
    border-left: 2px solid #ccc;
    padding: 1rem;
    display: none;
    flex-direction: column;
    box-shadow: -2px 0 8px rgba(0,0,0,0.1);
    z-index: 1001;
}
.hamburg-open {
    display: flex;
}

.hamburg-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
}

.hamburg-header h2 {
    padding: 0px;
    font-size: 25px;
}

.hamburg-items {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    font-weight: bold;
    gap: 10px;
    margin-top: 20px;
    max-height: 90%;
}

.hamburg-items li {
    list-style: none;
}

.hamburg-items a {
    text-decoration: none;
    color: #333;
}

.hamburg-auth {
    margin-top: auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 15px;
    font-weight: bold;
    font-size: 20px;
}

.hamburg-auth li {
    list-style: none;
}

.hamburg-auth a {
    text-decoration: none;
    color: #333;
}

  .hamburg-close {
    background: none;
    border: 2px solid #333;
    font-size: 20px;
    color: #333;
    cursor: pointer;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 5px;
    padding-top: 2px;
    border-radius: 10px;
    transition: background 0.2s ease, transform 0.1s ease;
  }