/* Reset some default styles */
body,
h1,
h2,
h3,
ul,
li {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Styling for header */
body {
  margin: 0;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  background-color: #f4f4f4;
}

a {
  color: #000;
}

/* header */
.topnav {
  overflow: hidden;
  background-color: #333;
  align-items: center;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 100; /* Add z-index to keep the navigation on top */
}

.topnav .button {
  float: right;
  display: block;
  color: #f2f2f2;
  text-align: center;
  align-items: center;
  padding: 15px 16px;
  height: 100%;
  text-decoration: none;
  font-size: 17px;
}

.topnav a.logo {
  background-color: #e6d659;
  color: rgb(7, 106, 255);
  float: left;
  font-size: 30px;
  text-decoration: none;
  padding: 7px 16px 8px 14px;
}

.topnav a:hover {
  background-color: #ddd;
  color: black;
}

.topnav .icon {
  display: none;
  color: white;
  padding: 14px 16px 6px 14px;
}

@media screen and (max-width: 600px) {
  .topnav a:not(:first-child) {
    display: none;
  }
  .topnav a.icon {
    float: right;
    display: block;
  }
}

@media screen and (max-width: 600px) {
  .topnav.responsive {
    position: relative;
  }
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}

/* Styling for main content */
main {
  padding: 2rem;
  display: flex;
  /* padding: 80px 2rem 2rem; */
}

.layout {
  display: flex;
  flex: 1;
}

.left {
  padding-right: 1rem;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  /* margin-top: 50px; */
}

.right {
  flex: 2;
}

/* Styling for product info */
.info {
  display: flex;
  margin-bottom: 2rem;
  border: 1px solid #ddd;
  padding: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.image img {
  max-width: 70%;
  height: auto;
}

.text-align {
  /* flex: 1;
  /*padding-left: 1rem; */
  /* padding-left: -50px; */
  display: flex;
  flex-direction: column;
  padding: 50px;
}

.title-index {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.list h3 {
  font-size: 1rem;
  margin-top: 1rem;
  text-align: left; /* Align titles to the left */
}

.list li {
  margin: 0.5rem 0;
}

.list a {
  text-decoration: none;
}

.list a:hover {
  color: blue;
}

.para,
.para-title {
  font-size: 16px;
  padding-top: 5px;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
}

/* Responsive styles */
@media screen and (max-width: 768px) {
  .layout {
    flex-direction: column;
  }

  .info {
    flex-direction: column;
  }

  .right-align {
    padding: 1rem 0;
  }
}

@media screen and (max-width: 600px) {
  .left {
    position: relative;
  }
}

@media screen and (max-width: 1400px) {
  .info {
    display: flex;
    flex-direction: column;
  }
}
