* {
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
}

.container {
    width: 90%;
    margin: 0 auto;
    max-width: 1200px;
}

header {
    background-color: #222;
    color: #fff;
    padding: 20px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li {
    position: relative;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 5px 10px;
}

nav ul li .dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

nav ul li .dropdown-content a {
    color: #000;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

nav ul li .dropdown-content a:hover {
    background-color: #ddd;
}

nav ul li:hover .dropdown-content {
    display: block;
}

.auth a {
    color: #fff;
    margin-left: 20px;
    text-decoration: none;
}

.auth .btn {
    background-color: #007bff;
    padding: 10px 20px;
    border-radius: 5px;
    color: #fff;
}

.hero {
    background-color: #007bff;
    color: #fff;
    padding: 60px 0;
}

.hero-content {
    text-align: center;
}

.hero-content h1 {
    margin-bottom: 20px;
}

.search-box {
    margin-top: 20px;
}

.search-box input {
    padding: 10px;
    width: 60%;
    margin-right: 10px;
    border: none;
    border-radius: 5px;
}

.search-box button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #fff;
    color: #007bff;
    cursor: pointer;
}

/*.categories,*/
/*.featured-code,*/
/*.latest-items,*/
/*.featured-creator,*/
/*.free-items {*/
/*    background-color: #fff;*/
/*    margin: 20px 0;*/
/*    padding: 20px;*/
/*    border-radius: 10px;*/
/*    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);*/
/*}*/

.categories h2,
.featured-code h2,
.latest-items h2,
.featured-creator h2,
.free-items h2 {
    text-align: center;
    margin-bottom: 20px;
}

.category-grid,
.featured-grid,
.latest-grid,
.creator-grid,
.free-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.category-item,
.featured-item,
.latest-item,
.creator-item,
.free-item {
    flex: 1 1 calc(33.333% - 20px);
    text-align: center;
}

.category-item img,
.featured-item img,
.latest-item img,
.creator-item img,
.free-item img {
    width: 100%;
    border-radius: 10px;
}

footer {
    background-color: #222;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

.slide-wrapper {
    display: inline-block;
    margin: 1em;
  }
  
  .slide-wrapper img {
    display: block;
  }
  
  .slide-wrapper .content {
    background: white;
    padding: 2rem;
    display: inline-block;
    min-width: 100%;
    width: 0;
  }
  
  * {
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}

section {
    padding: 20px;
}

.slide-wrapper {
    margin-bottom: 20px;
/*    position: relative;*/
/*    overflow: hidden;*/
/*    border: 1px solid #ddd;*/
/*    border-radius: 10px;*/
/*    transition: transform 0.3s ease, box-shadow 0.3s ease;*/
/*}*/
}

.slide-wrapper:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.photo {
    width: 100%;
    transition: transform 0.3s ease, filter 0.3s ease;
    /*border-bottom: 1px solid #ddd;*/
}

.slide-wrapper:hover .photo {
    transform: scale(1.1);
    filter: brightness(0.8);
}

.content {
    padding: 20px;
}

.content h2 {
    margin-top: 0;
    transition: color 0.3s ease;
}

.slide-wrapper:hover .content h2 {
    color: #000000;
}

.content p {
    transition: color 0.3s ease;
}

.slide-wrapper:hover .content p {
    color: #333;
}

.content a {
    text-decoration: none;
    color: #000000;
    transition: color 0.3s ease;
}

.content a:hover {
    color: #000000;
}

button {
    padding: 10px 20px;
    border: none;
    background-color: #007bff;
    color: #fff;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #0056b3;
}

@import url(https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css);
@import url(https://fonts.googleapis.com/css?family=Raleway:400,500,600);
figure.snip1278 {
  font-family: 'Raleway', Arial, sans-serif;
  position: relative;
  overflow: hidden;
  margin: 10px;
  min-width: 230px;
  max-width: 310px;
  width: 100%;
  background: #1a1a1a;
  color: #ffffff;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
}
figure.snip1278 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.35s cubic-bezier(0.25, 0.5, 0.5, 0.9);
  transition: all 0.35s cubic-bezier(0.25, 0.5, 0.5, 0.9);
}
figure.snip1278 .image {
  background-color: #000000;
  width: 100%;
  overflow: hidden;
}
figure.snip1278 .image:after {
  background-color: rgba(0, 0, 0, 0.85);
  position: absolute;
  content: '';
  top: 0;
  right: 0;
  left: 50%;
  bottom: 0;
}
figure.snip1278 img {
  max-width: 100%;
  vertical-align: top;
}
figure.snip1278 figcaption {
  position: absolute;
  width: 50%;
  right: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  padding: 10px 25px;
}
figure.snip1278 h4,
figure.snip1278 p,
figure.snip1278 .price {
  margin: 0 0 8px;
}
figure.snip1278 h4 {
  position: absolute;
  width: 50%;
  top: 10px;
  text-transform: uppercase;
  font-weight: 400;
  color: #ffffff;
  letter-spacing: 1px;
  z-index: 1;
}
figure.snip1278 p {
  font-size: 0.7em;
  font-weight: 500;
  line-height: 1.6em;
}
figure.snip1278 .rating {
  position: absolute;
  width: 50%;
  line-height: 44px;
  color: #ffffff;
  left: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.3);
}
figure.snip1278 .price {
  color: #ffffff;
  font-size: 1.3em;
  opacity: 0.8;
}
figure.snip1278 .price s {
  display: inline-block;
  padding: 0 8px 0 0;
  font-size: 0.85em;
  color: #f39c12;
}
figure.snip1278 .add-to-cart {
  text-decoration: none;
  position: absolute;
  bottom: 0;
  right: 0;
  font-weight: 600;
  width: 50%;
  background-color: rgba(0, 0, 0, 0.2);
  line-height: 44px;
  font-size: 0.75em;
  text-transform: uppercase;
  color: #ffffff;
}
figure.snip1278:hover img,
figure.snip1278.hover img {
  opacity: 0.6;
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}
figure.snip1278:hover .add-to-cart,
figure.snip1278.hover .add-to-cart {
  background-color: rgba(0, 0, 0, 0.5);
}

        /* Base styles for dropdown */
        .dropdown {
            position: relative;
            display: inline-block;
        }

        .dropdown-content {
            display: none;
            position: absolute;
            background-color: #f9f9f9;
            box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
            z-index: 1;
        }

        .dropdown-content a {
            color: black;
            padding: 12px 16px;
            text-decoration: none;
            display: block;
        }

        .dropdown-content a:hover {
            background-color: #f1f1f1;
        }

        .dropdown:hover .dropdown-content {
            display: block;
        }

        /* Additional dropdown styles */
        .sub-dropdown {
            position: relative;
        }

        .sub-dropdown-content {
            left: 100%;
            top: 0;
            display: none;
            position: absolute;
            background-color: #f9f9f9;
            box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
            z-index: 1;
        }

        .sub-dropdown:hover .sub-dropdown-content {
            display: block;
        }

        .card {
            box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
            max-width: 300px;
            margin: auto;
            text-align: center;
            font-family: arial;
          }
          
          .price {
            color: grey;
            font-size: 22px;
          }
          
          .card button {
            border: none;
            outline: 0;
            padding: 12px;
            color: white;
            background-color: #000;
            text-align: center;
            cursor: pointer;
            width: 100%;
            font-size: 18px;
          }
          
          .card button:hover {
            opacity: 0.7;
          }

          .cards-container {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 20px; /* space between cards */
        }

        .card {
            background-color: white;
            border: 1px solid #ddd;
            border-radius: 4px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
            margin: 10px;
            width: 300px;
            text-align: center;
        }

        .card img {
            width: 100%;
            border-top-left-radius: 4px;
            border-top-right-radius: 4px;
        }

        .card h1,.card button {
            margin: 10px 0;
        }

        .card button {
            background-color: #4CAF50;
            color: white;
            border: none;
            padding: 10px 20px;
            cursor: pointer;
            border-radius: 4px;
        }

        .card button:hover {
            background-color: #45a049;
        }
        .cards-container {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 20px; /* space between cards */
        }

        .card {
            background-color: white;
            border: 1px solid #ddd;
            border-radius: 4px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
            margin: 10px;
            width: 300px;
            text-align: center;
            transition: transform 0.3s, box-shadow 0.3s;
        }

        .card:hover {
            transform: scale(1.05);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        }

        .card img {
            width: 100%;
            border-top-left-radius: 4px;
            border-top-right-radius: 4px;
        }

        .card h1, .card button {
            margin: 10px 0;
        }

        .card button {
            background-color: #4CAF50;
            color: white;
            border: none;
            padding: 10px 20px;
            cursor: pointer;
            border-radius: 4px;
        }

        .card button:hover {
            background-color: #45a049;
        }
        .cart {
            position: relative;
            margin-left: 20px;
            font-size: 24px;
        }

        .cart-count {
            position: absolute;
            top: -10px;
            right: -10px;
            background-color: red;
            color: white;
            border-radius: 50%;
            padding: 2px 6px;
            font-size: 14px;
        }
        .cards-container {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 20px; /* space between cards */
            row-gap: 20px;
            column-gap: 20px;
        }
        .cards-container {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 20px; /* space between cards */
        }

        .card {
            background-color: white;
            border: 1px solid #ddd;
            border-radius: 4px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
            margin: 10px;
            width: 300px;
            text-align: center;
            transition: transform 0.3s, box-shadow 0.3s;
        }

        .card:hover {
            transform: scale(1.05);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        }

        .card img {
            width: 100%;
            border-top-left-radius: 4px;
            border-top-right-radius: 4px;
        }

        .card h1,.card button {
            margin: 10px 0;
        }

        .card button {
            background-color: #4CAF50;
            color: white;
            border: none;
            padding: 10px 20px;
            cursor: pointer;
            border-radius: 4px;
        }

        .card button:hover {
            background-color: #45a049;
        }
        body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        section {
            background-color: #f4f4f4;
            text-align: center;
        }


        .boxes-container {
            display: flex;
            justify-content: space-around;
            gap: 20px;
        }

        .box {
            position: relative;
            background-color: white;
            border: 1px solid #ddd;
            border-radius: 8px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
            width: 300px;
            height: 300px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }

        .box:first-child {
            width: 400px;
            height: 400px;
        }

        .box text {
            font-size: 24px;
            color: #333;
        }

        .box button {
            position: absolute;
            padding: 10px 20px;
            border: none;
            border-radius: 4px;
            background-color: #4CAF50;
            color: white;
            cursor: pointer;
            transition: background-color 0.3s;
        }

        .top-left {
            top: 10px;
            left: 10px;
        }

        .top-right {
            top: 10px;
            right: 10px;
        }

        .bottom-left {
            bottom: 10px;
            left: 10px;
        }

        .bottom-right {
            bottom: 10px;
            right: 10px;
        }

        .box button:hover {
            background-color: #45a049;
        }
        .a{
            margin-left:20%;
        }
        .btn{
        margin-right:8%;
            
        }
        .btn1{
             margin-left:10%;
        }
        #navbar{
  
            background-color:#9933ff;
           }
        /*   .categories {*/
        /*    padding: 50px 0;*/
        /*    background-color: #f8f9fa;*/
        /*}*/
        .photo {
            width: 100%; /* Ensure images fill their parent container */
            max-width: 100%; /* Ensure images do not exceed their parent container */
            height: auto; /* Maintain aspect ratio */
            border-radius: 8px; /* Rounded corners for images */
            margin-bottom: 20px; /* Spacing between images */
        }
        .slide-wrapper {
            list-style-type: none; /* Remove default list styling */
            margin: 0;
            padding: 0;
        }