*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
	padding-top: 3rem;
	padding-bottom: 3rem;
	color: #5a5a5a;
	background-color: #cce3ff;
}


/*header*/
/*header*/
.navbar{
	background-color: #005aba;
}

.nav-link a{
	color: white;
}

.nav-link.cart {
	position: relative;
	display: block;
}

#cart-logo{
	padding: 12px 20px; 
	display: inline-block; 
	width: 100px;
	height: 100px;
	margin: 0 20px;
	align-items: center;
	justify-content: center;
}
  
.cart-container {
	position: relative;
	display: none;
}

#cart-list{
	margin-bottom: auto;
	height: 80vh;
	overflow-y: auto;
}

.sidebar-cart {
	position: fixed;
	top: 0;
	right: 0; 
	width: 25%; 
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100vh; 
	background-color: #f0f0f0;
	padding: 20px;
	border: 1px solid #ddd;
	transform: translateX(100%); 
	transition: transform 0.5s; 
	overflow-y: hidden;
}

.sidebar-cart.show {
	transform: translateX(0); 
}

.sidebar-cart ul {
	list-style: none;
	padding: 0;
	display: none; 
}

.sidebar-cart ul.show {
	display: block; 
}

.sidebar-cart li {
	padding: 10px;
	border-bottom: 1px solid #ccc;
}

.sidebar-cart h3{
	border-bottom: 5px solid #ccc;
}

.cart-button {
	width: 100%;
	padding: 10px;
	margin-top: 10px;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	background-color: #28a745;
	color: white;
}

.cart-option-button {
	background-color: #dc3545;
	color: white;
	border: none;
	padding: 3px 10px;
	border-radius: 5px;
	cursor: pointer;
}

.open-cart-button {
	background-color: #005aba;
	color: white;
	border: none;
	border-radius: 5px;
	cursor: pointer;
}

.open-cart-button:hover{
	transform: scale(1.1);
}

.cart-count {
	position: absolute;
	top: 15%;
	right: 27%;
	background-color: #dc3545;
	color: white;
	border-radius: 50%;
	padding: 2px 5px;
	font-size: 12px;
}

.items {
	display: flex;
	flex-direction: column;
	align-items: center;
}
  
.item-container {
	display: flex;
	align-items: center;
	margin-bottom: 10px;
	width: 100%;
}
  
.item-container div {
	margin-right: 10px;
}
  
.button-container {
	display: flex;
	justify-content: space-between;
	height: 50px;
}
  
.button-container button {
	margin-right: 10px;
}

.cart-product-image{
	width: 60px;
	margin-right: 5px;
}

.item-description-container{
	width: 100%;
}

#marketing-logo{
	width: 100%;
	height: 75px;
}

.header-cart-text {
	display: block !important; 
}

.cart-badge {
	position: absolute;
	bottom: 2.5%;
	right: 5%;
	transform: translate(50%, -50%);
	font-size: 12px;
	background-color: red;
	color: white; 
	padding: 2px 5px;
	border-radius: 50%;
	z-index: 1; 
}

section{
    display: grid;
    padding: 150px 50px;
}

/*dropdown*/
.dropdown{
    display: flex;
    justify-content: flex-end;
    width: 100%;
    padding: 20px 0;
	font-size: 0.85rem;
	gap: 20px;
}
  
.blog-header{
    grid-row: 1;
    grid-column: 1;
    font-size: 60px;
}

.filter1{
    grid-row: 1;
    grid-column: 2;
}

.filter2{
    grid-row: 1;
    grid-column: 3;
}

/*article-info*/
.article-box{
    gap: 10px;
    border: 1px solid black;
    border-radius: 20px;
    padding: 10px 30px;
    margin-bottom: 30px;
}

.article-box a{
    display: flex;
    align-items: center;
    text-decoration: none;
}

.article-img{
    width: 40%;
    height: auto;
    object-fit: cover;
    border: 3px solid black;
}

.article-info{
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
}

.article-info-text{
    padding-left: 30px;
    margin-top: 20px;
    color: black;
}

.title{
    font-size: 30px;
}

.category{
    font-size: 20px;
}

.description{
    font-size: 15px;
}

.date{
    font-size: 20px;
    text-align: right;
    font-size: 14px;
    color: #666;
    margin-top: 100px;
}

/*footer*/
footer{
    border-top: 3px solid black;
    margin-left: 20px;
    height: 75px;
    padding: 10px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

#footer-logo{
    width: auto;
    height: 70px;
}
  
.contact-info-container{
    margin-left: 20px;
}
  
.contact-info{
    font-size: 12px;
    margin: 0;
}

/*responsive*/
@media (min-width: 768px) {
	.bd-placeholder-img-lg {
	  font-size: 3.5rem;
	}
	.nav-link.cart{
		display: none;
	}
	.cart-badge {
		display: none;
	}
	.cart-container {
		display: block;
	}
	.cart-text{
		display: none !important;
	}

	.dropdown{
		display: flex;
		justify-content: flex-end;
		width: 100%;
		padding: 20px 0;
		font-size: 1rem;
		gap: 20px;
	}

    .article-img{
        width: 250px;
        height: 250px;
    }

    .title{
        font-size: 40px;
    }
    
    .category{
        font-size: 25px;
    }
    
    .description{
        font-size: 15px;
    }
    
  
  }
