* {
  box-sizing: border-box;
}

/* Style the body */
body {
  font-family: Palatino, Palatino Linotype, serif;
  margin-top: 160px; /* Adjust as needed based on the header height */
  margin-right: 0px;
  margin-left: 0px;
}

.logo {
  width: 75px; /* Set the desired width for your logo */
  height: auto;
  margin-right: 5px; /* Adjust the margin for spacing */
  border-radius: 15px; /* Add round edge to the image */
}

/* Header/logo Title */
.header {
  padding: 20px;
  text-align: center;
  background-color: #333;
  color: white;
  position: fixed; /* Fix the header at the top */
  top: 0; /* Position the header at the top of the viewport */
  width: 100%; /* Take up the full width of the viewport */
  z-index: 9999; /* Ensure the header appears above other content */
}

/* Style the top navigation bar */
.navbar {
  font-family: Palatino, Palatino Linotype, serif;
  display: flex;
  background-color: #333;
  width: 100%; /* Take up the full width of the viewport */
  z-index: 9999; /* Ensure the header appears above other content */
}

/* Style the navigation bar links */
.navbar a {
  color: white;
  padding: 14px 20px;
  text-decoration: none;
  text-align: center;
}

/* Change color on hover */
.navbar a:hover {
  background-color: #ddd;
  color: black;
}

/* Column container */
.row {
  display: flex;
  flex-wrap: wrap;
}

/* Create two unequal columns that sit next to each other */
/* Sidebar/left column */
.side {
  font-family: Palatino, Palatino Linotype, serif;
  flex: 30%;
  color: white;
  background-color: red;
  padding: 20px;
  text-align: justify;
}

/* Main column */
.main {
  flex: 70%;
  background: linear-gradient(to right, #ff0000, #ffff00);
  padding: 20px;
}

/* Fake image, just for this example */
.img {
  width: 250px; /* Adjust as needed */
  height: 250px; /* Adjust as needed */
  max-width: 100%; /* Ensure the image doesn't exceed its container */
  max-height: 100%; /* Ensure the image doesn't exceed its container */
  display: block; /* Ensure the image behaves as a block element */
  margin-left: auto; /* Set left margin to auto for horizontal centering */
  margin-right: auto; /* Set right margin to auto for horizontal centering */
  border-radius: 15px; /* Add round edge to the image */
}

/* Footer */
.footer {
  padding: 20px;
  text-align: center;
  color: white;
  background-color: #333;
}

/* Responsive layout - when the screen is less than 700px wide, make the two columns stack on top of each other instead of next to each other */
@media (max-width: 700px) {
  .row,
  .navbar,
  .main {
    flex-direction: column;
  }
  body {
    font-family: Palatino, Palatino Linotype, serif;
    margin-top: 200px; /* Adjust as needed based on the header height */
    margin-right: 0px;
    margin-left: 0px;
  }

  .side {
    background: linear-gradient(to right, #ff0000, #ffff00);
    color: black;
  }

  .navbar a:hover {
    background: rgb(138, 138, 138);
    color: black;
  }

  .product-details {
    text-align: left;
  }

  .img {
    background-color: #333;
    width: 300px; /* Adjust as needed */
    height: 250px; /* Adjust as needed */
    max-width: 100%; /* Ensure the image doesn't exceed its container */
    max-height: 100%; /* Ensure the image doesn't exceed its container */
    padding: 1px;
  }

  .product-info {
    flex-direction: column; /* Stack product info vertically */
    align-items: flex-start; /* Align product info to the start */
  }
}

@media (max-width: 800px) {
  .img {
    width: 275px; /* Adjust as needed */
    height: 200px; /* Adjust as needed */
    max-width: 100%; /* Ensure the image doesn't exceed its container */
    max-height: 100%; /* Ensure the image doesn't exceed its container */
  }
  .product-info {
    flex-direction: column; /* Stack product info vertically */
    align-items: flex-start; /* Align product info to the start */
  }
  .product img {
    width: 200px; /* Adjust as needed */
    height: 200px; /* Adjust as needed */
    max-width: 100%; /* Ensure the image doesn't exceed its container */
    max-height: 100%; /* Ensure the image doesn't exceed its container */
  }
}

/* Additional styles */
.product {
  border: 4px double black;
  padding: 5px;
  margin: 10px;
  text-align: center;
}

.product-link {
  display: block;
  text-decoration: none; /* Remove underline from the hyperlink */
  color: black; /* Set the color of the text */
}

.product img {
  width: 250px; /* Adjust as needed */
  height: 300px; /* Adjust as needed */
  max-width: 100%; /* Ensure the image doesn't exceed its container */
  max-height: 100%; /* Ensure the image doesn't exceed its container */
  border-radius: 15px; /* Add round edge to the image */
}

.product-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-details {
  text-align: left;
  font-family: Palatino, Palatino Linotype, serif;
  border-radius: 5px;
}

.product-paddings {
  padding-left: 10px;
  text-align: justify;
}

.product-info.reverse {
  flex-direction: row-reverse;
}

.price-container {
  display: flex;
  padding-left: 10px;
  justify-content: space-around;
}

.photo-indicators {
  text-align: center;
  margin-top: 10px;
}

.dot {
  height: 10px;
  width: 10px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
}

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

/* Individual price section */
.price-section {
  flex: 1;
}

.container {
  max-width: 600px;
  margin: 50px auto;
  padding: 10px;
  border-radius: 8px;
}

h2 {
  text-align: center;
  margin-bottom: 2px;
  text-decoration: underline;
}

form {
  margin-top: 20px;
}

label {
  display: block;
  margin-bottom: 8px;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-bottom: 20px;
}

textarea {
  height: 150px;
}

input[type="submit"] {
  background-color: white;
  color: black;
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  cursor: pointer;
}

input[type="submit"]:hover {
  background-color: rgb(1, 255, 1);
}

/* Style for the arrow */
.flex {
  display: flex;
}

.first-div,
.second-div {
  border: 1px solid #000000;
  padding: 10px;
  margin: 10px;
  flex: 1;
}

.top-part {
  display: flex;
  flex-direction: column; /* Align radio buttons vertically */
}

.double-border {
  font-family: Palatino, Palatino Linotype, serif;
  border: 4px double black;
  padding: 7px;
}
