*{
    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; /* Change from absolute to fixed */
	top: 0;
	right: 0; /* Change from -300px to 0 */
	width: 25%; /* Adjust based on your needs */
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100vh; /* adjust the height to fit your needs */
	background-color: #f0f0f0;
	padding: 20px;
	border: 1px solid #ddd;
	transform: translateX(100%); /* Add this to move the cart out of view */
	transition: transform 0.5s; /* Add this for a smooth transition */
	overflow-y: hidden;
}

.sidebar-cart.show {
	transform: translateX(0); /* Move the cart back into view */
}

.sidebar-cart ul {
	list-style: none;
	padding: 0;
	display: none; /* Hide the cart list by default */
}

.sidebar-cart ul.show {
	display: block; /* Show the cart list when an item is added */
}

.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;
}

.cart-option-button:disabled {
	/* styles here will be applied when the button is disabled */
	background-color: #ccc;
	color: #666;
	cursor: not-allowed;
  }
  
.open-cart-button {
	background-color: #005aba;
	color: white;
	border: none;
	border-radius: 5px;
	cursor: pointer;
}

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

.quantity-button {
	background-color: #ccc;
	color: white;
	border: none;
	padding: 5px 10px;
	border-radius: 5px;
	cursor: pointer;
}

.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;
  }

#test{
	width: 60px;
	margin-right: 5px;
}

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

.edit-button-container, .edit-equipment-button-container{
	display: none;
}

.edit-button-container.show, .edit-equipment-button-container.show{
	display: flex;
	align-items: flex-end;
}

.edit-button-container button{
	margin: 1px;
	height: 25px; /* add this to make the buttons the same height */
	padding: 0 10px; /* adjust the padding to make the buttons the same width */
}

.quantity-type-container, .equipment-add-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	display: none;
  }

  .quantity-type-container select,
  .quantity-type-container p,
  .quantity-type-container div {
	display: inline-block; /* Add this to make them inline-block elements */
	margin-right: 10px;
	vertical-align: middle; /* Add this to vertically align them */
  }

.quantity-type-container.show, .equipment-add-container.show{
	display: block;
}
  
  .add-quantity-type {
	margin-right: 10px;
  }
  
  .add-quantity-counter {
	margin-right: 10px;
  }
  
  .button-inc-dec-container {
	display: flex;
	justify-content: space-between;
  }
  
  .button-inc-dec-container button {
	flex: 1;
	margin: 0 2px;
  }
  
  .increase-button, .decrease-button {
	margin: 0 2px;
  }

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

.header-cart-text {
	display: block !important; /* hide by default */
  }

.cart-badge {
	position: absolute;
	bottom: 2.5%; /* top of the cart icon */
	right: 5%; /* right of the cart icon */
	transform: translate(50%, -50%);
	font-size: 12px;
	background-color: red; /* default color */
	color: white; /* change the color to your desired text color */
	padding: 2px 5px;
	border-radius: 50%;
	z-index: 1; /* add this to ensure the badge is on top of the cart icon */
  }

  
/* Messenger Widget Placeholder */
.messenger-widget{
  	z-index: 999;
  	position: fixed;
  	bottom: 30px; 
  	right: 30px; 
}
  
#messenger-logo{
  	width: 50px;
  	height: auto;
}
  
section{
    display: grid;
    padding: 25px 50px;
    min-height: 0;
}

/*redirect*/
.redirectory{
    height: auto;
    display: flex;
    align-items: center;
    padding: 150px 0 0 50px;
}

.redirectory-hyperlink{
    text-decoration: none;
    color: #333;
    font-size: 15px;
}

.redirectory-hyperlink:hover{
    text-decoration: underline;
}

.redirectory-text{
    font-size: 15px;
    margin: 0 10px;
}

.bottom-redirectory{
    height: auto;
    display: flex;
    align-items: center;
    padding: 0 0 50px 50px;
}

/*icons - to be added*/
#images {
    display: flex; /* or use text-align: center */
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; /* optional */
    gap: 50px;
}

.social-media-images{
    width: 50px;
    height: auto;
    display: block; 
    margin: 0 auto; 
}

/*buttons*/
#buttons{
    display: flex;
    justify-content: center;
    align-items: center;
}

.action-button{
    font-family: 'Poppins';
    font-size: 17px !important;
    margin: 15px;
    background-color: #007bff;
    color: #fff;
    border: solid;
    border-color: black;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 10px;
    width: auto;
    align-self: center;
}

/*email us*/
#email-us-section{
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 25px;
}

#email-header{
    font-size: 30px;
    margin-bottom: 25px;
    grid-column: 1 / span 2;
}

.form-text{
    text-align: left;
    font-size: 15px;
}

.form-box{
    grid-column: 1;
    height: 25px;
    width: 100%;
}

.message-form-text{
    font-size: 20px;
    text-align: right;
    grid-column: 2;
}

textarea {
    width: 100%;
    height: 300px;
    grid-column: 2;
    margin-bottom: 10px;
}

.form-buttons{
    width: 100%;
    height: 30px;
    margin-bottom: 15px;
    background-color: #007bff;
    color: #fff;
    cursor: pointer;
    font-size: 15px;
}

/*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;
	}
	.header-cart-text{
		display: none !important;
	}
    section{
        display: grid;
        padding: 25px 50px;
        min-height: 0;
    }

    /*company info*/
    #text-container{
        grid-column: 1;
        padding: 0 150px;
    }

    #company-name{
        width: 70vh;
        font-size: 50px;
        margin-bottom: 50px;
    }

    .main-contact-text{
        width: 50vh;
        font-size: 20px;
        margin-bottom: 20px;
        text-align: justify;
    }

    /*map*/
    #map{
        grid-row: 1;
        grid-column: 2;
        align-self: end;
    }

    .action-button{
        font-size: 30px !important;
    }

    /*email us*/
    #email-us-section{
        padding: 150px 150px 0 150px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 100px;
    }

    #email-header{
        font-size: 50px;
        margin-bottom: 50px;
        grid-column: 1 / span 2;
    }

    .form-text{
        text-align: left;
        font-size: 20px;
    }

    .form-box{
        grid-column: 1;
        height: 40px;
        width: 100%;
    }

    .message-form-text{
        font-size: 20px;
        text-align: right;
        grid-column: 2;
    }

    textarea {
        width: 100%;
        height: 300px;
        grid-column: 2;
        margin-bottom: 10px;
    }

    .form-buttons{
        width: 100%;
        height: 30px;
        margin-bottom: 15px;
        background-color: #007bff;
        color: #fff;
        cursor: pointer;
        font-size: 15px;
    }
  }
