@charset "UTF-8";
/*Navigation Bar*/

*{
    margin: 0;
    padding: 0;
}
html, body{
    overflow-y: scroll;
    overflow-x: hidden;
    height: 100%;
}


.logo{
    display: flex;
width:45%;
z-index: 1;
}

h1 {
    display: flex;
    align-content: center;
    font-size: 4em;
    font-family:Magnolia;
    color:white;
    text-align: center;
    width:30em;
}
.navbar{
	display: flex;
	min-height: 10em;
    background-color: #22352D;
	padding: 10px;
	justify-content: space-between;
	align-items: center;
	z-index: 3;
}

.nav-links{
	display: flex;
	justify-content: space-between;
	list-style:none;
    text-align: center;
	gap:8px;
	margin: 0;
	padding: 0;
	color: aliceblue;
}
.nav-links li{
	display: inline;
	 font-size: 1.5em;
    font-family:Magnolia;
    font-weight: bold;
}
.nav-links li a{
    color:#f6eee4;
    padding: 0.5em 2em;
    text-decoration: none;
	font-size: 1em;
}
.nav-link:hover{
	color: #ffdc7f;
	
}
.nav-link a:active{
	color: #ffdc7f;
}
.nav-link{
	transition: 0.7s ease;
}

@media(max-width:768px){
	.hamburger{
		display: block;
		
	}
	.hamburger:active .bar:nth-child(2){
		transform: translateY(-8px)rotate(-45deg);
	}
		.hamburger:active .bar:nth-child(1){
		transform: translateY(8px)rotate(45deg);
	}
	.nav-links{
		position: fixed;
		left: -100%;
		top: 70px;
		gap:0;
		flex-direction: column;
		background-color:#191825;
		width: 100%;
		text-align: center;
		transition: 0.3s;
	}
	.nav-item{
		margin: 16px 0;
	}
	.nav-links.active{
		left: 0;
	}
	.content{
	background-color:#ffdc7f;
	width: 200px;
	height: 200px;

	}
/* Tablet view */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

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

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

    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        gap: 0;
        flex-direction: column;
        background-color: #191825;
        width: 100%;
        text-align: center;
        transition: 0.3s;
    }

    .nav-item {
        margin: 16px 0;
    }

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

}

@media (min-width: 1000px) {
    .hamburger {
        display: block;
    }

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

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

    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        gap: 0;
        flex-direction: column;
        background-color: #191825;
        width: 100%;
        text-align: center;
        transition: 0.3s;
    }

    .nav-item {
        margin: 16px 0;
    }

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

.cart-icon img{
    position: relative; /* Allows for positioning child elements (like cart-count) absolutely */
    width: 2rem;
    cursor: pointer; /* Change cursor to pointer */
}


.cart-count {
    position: absolute; /* Positions the count relative to the cart-icon */
    top: 60px; /* Initial position above the cart icon */
    right: 50px; /* Initial position to the right of the cart icon */
    background-color: #91CF98; /* Sets the background color of the count bubble */
    color: black; /* Sets the text color of the count */
    border-radius: 50%; /* Makes the count bubble circular */
    padding: 5px 10px; /* Adds space inside the count bubble */
    font-size: 12px; /* Sets the default font size for the count text */
    transition: all 0.3s ease; /* Smooth transition for hover effects */
}
.cart-icon:hover {
    opacity: 0.8;
    transition: opacity 0.3s;
}

.cart-popup {
    display: none;
    position: absolute;
    top: 50px;
    right: 0;
    background-color: #22352D;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.cart-popup.show {
    display: block;
}
.cart-modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5); /* Black with transparency */
    font-family: "Academy Engraved LET Plain:1.0", "American Typewriter", "American Typewriter Bold", "American Typewriter Condensed", "American Typewriter Condensed Bold", "American Typewriter Condensed Light", "American Typewriter Light", "American Typewriter Semibold";
    color: white;
    word-spacing: inherit;
}

.cart-modal-content {
    background-color: #22352D;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    font-family: "Academy Engraved LET Plain:1.0", "American Typewriter", "American Typewriter Bold", "American Typewriter Condensed", "American Typewriter Condensed Bold", "American Typewriter Condensed Light", "American Typewriter Light", "American Typewriter Semibold";
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.cart-total {
    margin-top: 20px;
}

    /* Tablet (768px and above) */
    @media only screen and (min-width: 768px) {
      p {
        font-size: 20px;
        padding: 30px;
      }
    }

    /* Desktop (1024px and above) */
    @media only screen and (min-width: 1024px) {
      p {
        font-size: 22px;
        padding: 40px;
      }
    }
  
.catalog {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 1rem;
    width: 100%;
    background-color: #E5C6CA;
}

.product-card {
    border: 1px solid #22352D;
    padding: 1rem;
    margin: 0.5rem;
    width: 30%;
    box-sizing: border-box;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-family:"Academy Engraved LET Plain:1.0", "American Typewriter", "American Typewriter Bold", "American Typewriter Condensed", "American Typewriter Condensed Bold", "American Typewriter Condensed Light", "American Typewriter Light", "American Typewriter Semibold";
}

.product-card a {
    text-decoration: none;
    color: #22352D;
}

.product-card img {
    width: 40%;
    height: auto;
    max-width: 200px;
}

.product-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: scale(1.05);
}

.add-to-cart {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 15px;
    background-color: #22352D;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.add-to-cart:hover {
    background-color: #218838;
}
/* Responsive Styles */
@media (max-width: 768px) {
    .product-card {
        width: 45%;
    }
}

@media (max-width: 480px) {
    .product-card {
        width: 100%;
    }
}

*{
    margin: 0;
    padding: 0;
}
html, body{
    overflow-y: scroll;
    overflow-x: hidden;
    height: 100%;
}


.logo{
    display: flex;
width:45%;
z-index: 1;
}

h1 {
    display: flex;
    align-content: center;
    font-size: 4em;
    font-family:Magnolia;
    color:white;
    text-align: center;
    width:30em;
}
.navbar{
	display: flex;
	min-height: 10em;
    background-color: #22352D;
	padding: 10px;
	justify-content: space-between;
	align-items: center;
	z-index: 3;
}

.nav-links{
	display: flex;
	justify-content: space-between;
	list-style:none;
    text-align: center;
	gap:8px;
	margin: 0;
	padding: 0;
	color: aliceblue;
}
.nav-links li{
	display: inline;
	 font-size: 1.5em;
    font-family:Magnolia;
    font-weight: bold;
}
.nav-links li a{
    color:#f6eee4;
    padding: 0.5em 2em;
    text-decoration: none;
	font-size: 1em;
}
.nav-link:hover{
	color: ffdc7f;
	
}
.nav-link a:active{
	color: ffdc7f;
}
.nav-link{
	transition: 0.7s ease;
}
@media(max-width:768px){
	.hamburger{
		display: block;
		
	}
	.hamburger:active .bar:nth-child(2){
		transform: translateY(-8px)rotate(-45deg);
	}
		.hamburger:active .bar:nth-child(1){
		transform: translateY(8px)rotate(45deg);
	}
	.nav-links{
		position: fixed;
		left: -100%;
		top: 70px;
		gap:0;
		flex-direction: column;
		background-color:#191825;
		width: 100%;
		text-align: center;
		transition: 0.3s;
	}
	.nav-item{
		margin: 16px 0;
	}
	.nav-links.active{
		left: 0;
	}
	.content{
	background-color:#ffdc7f;
	width: 200px;
	height: 200px;

	}
/* Tablet view */
@media(min-width:1000) {
	.hamburger{
		display: block;
		
	}
	.hamburger:active .bar:nth-child(2){
		transform: translateY(-8px)rotate(-45deg);
	}
		.hamburger:active .bar:nth-child(1){
		transform: translateY(8px)rotate(45deg);
	}
	.nav-links{
		position: fixed;
		left: -100%;
		top: 70px;
		gap:0;
		flex-direction: column;
		background-color:#191825;
		width: 100%;
		text-align: center;
		transition: 0.3s;
	}
	.nav-item{
		margin: 16px 0;
	}
	.nav-links.active{
		left: 0;
	}
		
	}}

.cart-icon img{
    position: relative; /* Allows for positioning child elements (like cart-count) absolutely */
    width: 2rem;
    cursor: pointer; /* Change cursor to pointer */
}


.cart-count {
    position: absolute; /* Positions the count relative to the cart-icon */
    top: 60px; /* Initial position above the cart icon */
    right: 50px; /* Initial position to the right of the cart icon */
    background-color: #91CF98; /* Sets the background color of the count bubble */
    color: black; /* Sets the text color of the count */
    border-radius: 50%; /* Makes the count bubble circular */
    padding: 5px 10px; /* Adds space inside the count bubble */
    font-size: 12px; /* Sets the default font size for the count text */
    transition: all 0.3s ease; /* Smooth transition for hover effects */
}
.cart-icon:hover {
    opacity: 0.8;
    transition: opacity 0.3s;
}

.cart-popup {
    display: none;
    position: absolute;
    top: 50px;
    right: 0;
    background-color: #22352D;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.cart-popup.show {
    display: block;
}
.cart-modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5); /* Black with transparency */
    font-family: "Academy Engraved LET Plain:1.0", "American Typewriter", "American Typewriter Bold", "American Typewriter Condensed", "American Typewriter Condensed Bold", "American Typewriter Condensed Light", "American Typewriter Light", "American Typewriter Semibold";
    color: white;
    word-spacing: inherit;
}

.cart-modal-content {
    background-color: #22352D;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    font-family: "Academy Engraved LET Plain:1.0", "American Typewriter", "American Typewriter Bold", "American Typewriter Condensed", "American Typewriter Condensed Bold", "American Typewriter Condensed Light", "American Typewriter Light", "American Typewriter Semibold";
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.cart-total {
    margin-top: 20px;
}

    /* Tablet (768px and above) */
    @media only screen and (min-width: 768px) {
      p {
        font-size: 20px;
        padding: 30px;
      }
    }

    /* Desktop (1024px and above) */
    @media only screen and (min-width: 1024px) {
      p {
        font-size: 22px;
        padding: 40px;
      }
    }
.catalog {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 1rem;
    width: 100%;
    background-color: #E5C6CA;
}

.product-card {
    border: 1px solid #22352D;
    padding: 1rem;
    margin: 0.5rem;
    width: 30%;
    box-sizing: border-box;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-family:"Academy Engraved LET Plain:1.0", "American Typewriter", "American Typewriter Bold", "American Typewriter Condensed", "American Typewriter Condensed Bold", "American Typewriter Condensed Light", "American Typewriter Light", "American Typewriter Semibold";
}

.product-card a {
    text-decoration: none;
    color: #22352D;
}

.product-card img {
    width: 40%;
    height: auto;
    max-width: 200px;
}

.product-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: scale(1.05);
}

.add-to-cart {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 15px;
    background-color: #22352D;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.add-to-cart:hover {
    background-color: #218838;
}
/* Responsive Styles */
@media (max-width: 768px) {
    .product-card {
        width: 45%;
    }
}

@media (max-width: 480px) {
    .product-card {
        width: 100%;
    }
}
.background-image {
    background-image: url('graphics/background.png'); /* Replace with your image path */
    background-size: cover; /* Cover the entire area */
    background-position: center;
    background-attachment: fixed; /* Center the image */
    height: 100vh; /* Full viewport height */
    width: 100%; 
    margin: 0; /* Avoid default body margin */
     padding: 0;
}

/* Optional: Media Queries for additional styling */
@media (max-width: 768px) {
    .background-image {
        background-image: url('graphics/background.png'); /* Mobile image */
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .background-image {
        background-image: url('graphics/background.png'); /* Tablet image */
    }
}
