
.topnav {
   position: fixed; 
   overflow: hidden;

 background-image: url("https://highmountain.magma.nu/images/mountain_top.jpg");
 background-color: #717171;
   top: 0; 
   width: 100%; 
   border-bottom: 1px solid lightgrey;
   z-index: 1000; /* Ensure it stays on top */
   padding: 10px 0; /* Optional padding for better appearance */
   box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Optional shadow for depth */
  float: middle;
  text-align: center;
  color: white;
  font-weight: bold;
  font-size: clamp(4.5rem, 4.5vw, 5rem);
}

.hide {
  display: none;
  column-span: 10;
}

.bar {
  float: right;
  padding-right: 20px;
  padding-top: 5px;
}
#lblCartCount {
    font-size: clamp(2rem, 2vw, 2rem);
    background: dodgerblue;
    color: #fff;
    padding: 0 5px;
    vertical-align: top;
    margin-left: -50px; 
    text-decoration:none
}
.link {
    text-decoration: none;
    color: #fff;
}


.card-count {
 padding-left: 9px;
 padding-right: 9px;
 -webkit-border-radius: 9px;
 -moz-border-radius: 9px;
 border-radius: 9px;
 	font-size: clamp(1.2rem, 2vw, 2rem);
  text-decoration:  none;
}

.main {
  margin-top: 160px; /* Add a top margin to avoid content overlay */
}

h1 {
	font-size: clamp(3rem, 4vw, 4rem);
	text-align: center;
}
.transport {
  font-size: clamp(2.5rem, 2vw, 2rem);
  text-align: center;
}

.passion {
  font-size: clamp(2.5rem, 2vw, 2rem);
  text-align: center;
  font-style: italic;
  text-decoration:  none;
}
.author {
  font-size: clamp(2rem, 2vw, 2rem);
  text-align: right;
  color: #fff;
   float: right;
   padding-right: 20px;
}
.imgathor {
padding-right: 20px;
border-radius: 50%;
float: right;
display: inline;
right: 20px;
position: absolute;
}
.headline {
  font-size: clamp(3rem, 3vw, 3rem);
  text-align: center;
  font-weight: bold;
}
.itemcount {
  font-size: clamp(4rem, 3vw, 3rem);
  text-align: center;
}

img {
	max-width: 100%;
	height: auto;
	aspect-ratio: 1/ 1;
	object-fit: cover;
}
.errorMsg {
  color: red;
	font-size: clamp(1.2rem, 2vw, 2rem);
}
.top-border {
  border-top: 1px dashed lightgrey;
}

table#cart {
  border-collapse: collapse;
}
table#cart td {
  font-size: clamp(1.6rem, 2vw, 2rem);
  padding: 20px;
  text-align: center;
}

table#cart th {
  font-size: clamp(2rem, 2.5vw, 2.5rem);
  text-align: center;
  font-weight: bold;
  border-bottom: 1px solid lightgrey;
}

table#orders {
  border-collapse: collapse;
}
table#orders td {
  font-size: clamp(1rem, 1.3vw, 1.3rem);
  padding: 20px;
  text-align: center;
}

table#orders th {
  font-size: clamp(1rem, 1.5vw, 1.5rem);
  text-align: center;
  font-weight: bold;
  border-bottom: 1px solid lightgrey;
}

table#adminsales {
  border-collapse: collapse;
}
table#adminsales td {
  font-size: clamp(1rem, 1.3vw, 1.3rem);
  padding: 20px;
  text-align: center;
}
table#adminsales td {
  font-size: clamp(1rem, 1.3vw, 1.3rem);
  padding: 20px;
  text-align: center;
}

table#adminsales th {
  font-size: clamp(1rem, 1.5vw, 1.5rem);
  text-align: center;
  font-weight: bold;
  border-bottom: 1px solid lightgrey;
}

table#users {
  border-collapse: collapse;
}
table#users td {
  font-size: clamp(1rem, 1.3vw, 1.3rem);
  padding: 20px;
  text-align: center;
}

table#users th {
  font-size: clamp(1rem, 1.5vw, 1.5rem);
  text-align: center;
  font-weight: bold;
  border-bottom: 1px solid lightgrey;
}

table#sales {
  border-collapse: collapse;
}
table#sales td {
  font-size: clamp(1rem, 1.3vw, 1.3rem);
  padding: 20px;
  text-align: center;
}

table#sales th {
  font-size: clamp(1rem, 1.5vw, 1.5rem);
  text-align: center;
  font-weight: bold;
  border-bottom: 1px solid lightgrey;
}

table#userDet td {
  font-size: clamp(1.8rem, 2vw, 2rem);
  padding: 20px;
  text-align:center;
  
}


hr.solid {
	display: block;
  border-top: 1px solid #bbb;
}
hr.solid2 {
  border-top: 1px solid #bbb;
  border-width: 70%;
}
.item {
	font-size: clamp(2rem, 2vw, 2rem);
	text-align: center;
	font-weight: bold;
  border-bottom: #717171 dashed 1px;
  padding-bottom: 50px;
}

.inputItem {
	font-size: clamp(2rem, 2vw, 2rem);
  border: #717171 dotted 1px;
  text-align: center;
  padding: 10px;
  width: minmax(100px, 1fr);
  margin: 4px 0;
  box-sizing: border-box;
}
.itemText {
	font-size: clamp(1.2rem, 2vw, 2rem);
	text-align: center;
  width: minmax(700px, 1fr);
	font-weight: bold;
  padding: 50px;
  width: 80%;
}

.container {
 	display: grid;
  	grid-template-columns: repeat(auto-fit, minmax(800px, 1fr)); /* Example */
  	gap: 1em; /* Or any desired gap */
}
.add-to-cart-button {
  background-color: #4CAF50; /* Green background */
  color: white; /* White text */
  padding: 7px 7px; /* Spacing inside the button */
  border: none; /* Remove default border */
  border-radius: 5px; /* Slightly rounded corners */
  cursor: pointer; /* Indicate it's clickable */
  /*font-size: 12px;*/ /* Text size */
  font-size: clamp(16px, 5vw, 2rem);
  text-transform: uppercase; /* Uppercase text */
}

.add-to-cart-button:hover {
  background-color: #45a049; /* Darker green on hover */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow on hover */
}
.add-to-cart-button:active {
  background-color: #3e8e41; /* Even darker green when active */
  transform: translateY(1px); /* Slight downward shift */
}



.table {
font-size: clamp(1.2rem, 3vw, 3rem);
}

* {box-sizing: border-box}
body {font-family: Verdana, sans-serif; margin:0}
.mySlides {display: none}
img {vertical-align: middle;}

/* Slideshow container */
.slideshow-container {
  max-width: 700px;
  position: relative;
  margin: auto;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}
@media screen and (max-width:767px) {
i.fa.fa-map-marker {
    font-size: 60px;
}
}

.splide__slide img {
  width: 80%;
  object-fit: cover;
}
.splide_img {
  width: 80%;
  height: 100%;
  object-fit: cover;
}
.splide__slide {
  opacity: 0.6;
}

.splide__slide.is-active {
  opacity: 1;
}
#main-carousel {
  padding-bottom: 10px;
}
#thumbnail-carousel {
  background-color: #f2f2f2;
  width: 80%;
}
.splide__list {
  height: 40%;
}
