
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Roboto+Slab&display=swap');
 p,h1,h2,h3,h4,h5.h6, span, a {
     font-family: "Noto Sans", sans-serif;
    }
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #ffffff;
}

pre {     
    font-family: Arial, sans-serif;
}

header {
    background-color: #ffffff;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ccc;
}

.logo img {
    max-width: 100px;
}

.info-link a {
    text-decoration: none;
    color: #000000;
}

main {
    /* padding: 20px; */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* For desktop screens */
largemain {
    padding: 20px;
    display: flex;
    min-height: 50vh;
}

.left, .right {
    flex: 1;
    display: flex;
    /* justify-content: center; */
    /* align-items: center; */
    width: 50%;
    
}

.left {
    padding-right: 20px;
    flex-direction: column; 
    text-align: left;
}

.right {
    /* position: relative; */
    background-color: lightgreen; /* Just for visualization */
    background-size: cover;
    background-repeat:no-repeat;
    background-position: center center;
    transition: transform 0.3s ease;
    width: 100%;
    min-height: 25vh;
}
/* .right:hover {
    transform: scale(1.2);
} */

* {box-sizing: border-box;}

.img-zoom-container {
  position: relative;
  background-repeat:no-repeat;
  background-position: center center;
}

.img-zoom-lens {
  position: absolute;
  border: 1px solid blue;
  /*set the size of the lens:*/
  width: 40px;
  height: 40px;
}

.img-zoom-result {
position: absolute;
  border: 1px solid red;
  /*set the size of the result div:*/
  width: 150px;
  height: 150px;
  background-repeat:no-repeat;
  /* background-size: 75vw; */
}



.large-image img {
    height: 50vh;
    width: auto;
    margin-bottom: 20px;
}

.product-details {
    margin-bottom: 20px;
}

.small-images {
    width: 100%;
    /* background-color: blue; */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.grid-item {
    width: 25vw;
    height: 25vw;
    margin: 5px;
    cursor: pointer;
    background-size: cover;
    background-repeat:no-repeat;
    background-position: center center;
}

.grid-item img {
    width: 100%;
    height: auto;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.overlay img {
    max-width: 100%;
    max-height: 100%;
}

.overlay.active {
    display: flex;
}

.back-link {
    display: block;
    margin-top: 15px;
    text-decoration: none;
    color: black;
    font-size: 0.9em;
}

.back-link:hover {
    color: #555;
}

.product {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 10px;
  margin: 5px;
  border-radius: 5px;
  width: 100%;
}


.product-name {
  font-weight: bold;
}

.product-price {
  margin-left: 10px;
}

.buy-button {
  background-color: #ffffff;
  color: black;
  border: none;
  padding: 5px 10px;
  border-radius: 3px;
  cursor: pointer;
  font-family: "Noto Sans", sans-serif;
  border: 1px solid black;
}

/* For smaller screens */
@media (max-width: 768px) { /* Adjust the breakpoint as needed */
    largemain {
        flex-direction: column; /* Stack items vertically */
        height: auto;
        min-height: auto;
    }

    .grid-item {
        width: 90vw;
        height: 50vw;
    }

    .left {
        width: 100%;
    }
    .right {
        height: 50vh; /* Half of the viewport height */
        display: none;    }
    
}