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

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

/*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: 50px 20px;
}

/*dropdown*/
.dropdown-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two columns of equal width */
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.75rem;
    grid-auto-flow: row; /* Ensure elements flow into rows */
}

.blog-header{
  	margin-top: 30px;
  	font-size: 40px;
	width: 400px;
}

.sort-by{
  	grid-column: 2;
}

.job-category{
  	grid-column: 3;
}

.job-type{
  	grid-column: 4;
}

.job-location{
  	grid-column: 5;
}

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


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

.article-img{
  	border: 3px solid black;
  	width: 250px;
  	height: 250px;
  	object-fit: cover;
}
  
.article-info{
  	padding-top: 50px;
  	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: 20px;
}

.category, .type, .location{
  	font-size: 15px;
}

.description{
  	font-size: 15px;
}

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

/*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; 
  	margin-bottom: 20px;
}
  
.contact-info{
  	font-size: 12px; 
  	margin: 0;
}

@media (min-width: 768px) {
	section{
		display: grid;
		padding: 150px 50px 50px 50px;
  	}
	.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-container{
	  	font-size: 1rem;
  	}

	.article-box {
		gap: 10px;
		border: 1px solid black;
		border-radius: 20px;
		margin-bottom: 30px;
		width: 100%;
	}

	.dropdown-container {
		display: grid;
		grid-template-columns: 1fr; 
		gap: 10px;
		margin-bottom: 20px;
		grid-auto-flow: row; 
	}

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

    .title{
        font-size: 40px;
    }
    
    .category{
        font-size: 25px;
    }
    
    .description{
        font-size: 15px;
    }
    .contact-info-container{
  	margin-left: 20px; 
  	margin-bottom: 0;
    }
  }

