/* removes left and right margin so the nav bar stretches across the whole page */
body {
  margin-right: 0;
  margin-left: 0;
}
/* makes all p tags have some margin */
p {
  margin-left: 8px;
  margin-right: 8px;
}
/* makes all h1 tags have some margin */
h1 {
  margin-left: 8px;
  margin-right: 8px;
}
/* makes all images have some margin */
img {
  margin-left: 8px;
  margin-right: 8px;
}

/* Add a black background color to the top navigation */
.bg {
  background-color: #d45547;
  border-radius: 5px;
}
/* changes the background color of the top nav bar  */
.topnav {
  background-color: #d45547;
  overflow: hidden;
  border: solid;
  border-color: #be4c3f;
  padding: 0px;
}
/* styles all links in this format */
a {
  text-decoration:none;
  color: #7f9ad9;
}
/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  color: #f2f2f2;
  text-align: center;
  padding: 18px 16px;
  text-decoration: none;
  font-size: 17px;
  margin: 0;
}

/* Change the color of links on hover, used in nav bar */
.topnav a:hover {
  background-color: #ddd;
  color: black;
}

/* Add a color to the active/current link */
.active {
  background-color: #7f9ad9;
  color: white;
}

.image-container {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.image-container img {
  width: auto;
  /* Allows images to keep their natural width */
  max-width: 100%;
  /* Ensures they don’t overflow */
  height: auto;
  /* Maintains aspect ratio */
  object-fit: contain;
  /* Prevents squishing */
}
/* makes border black, with a one pixel border, 5px padding, and centers the text in all table */
table, th, td {
  border-color: black;
  border: 1px solid;
  padding: 5px;
  text-align: center;
}
/* forces borders to be one line, and not multiple */
table {
  border-collapse: collapse;
  }
/* makes everything tommorow font with 400 font weight, and no special styles */
body {
  font-family: "Tomorrow", sans-serif;
  font-weight: 400;
  font-style: normal;
}
/* makes the dropdown used in the nav bar be on the left and makes it so that any extra stuff is hidden using overflow */
.dropdown {
  float: left;
  overflow: hidden;
}
/* this is used for the dropdown button, making it the right size, color with no border/outline and enough padding to look good, also it inherits the surrounding bgcolor and font-family */
.dropdown .dropbtn {
  font-size: 16px;  
  border: none;
  outline: none;
  color: white;
  padding: 18px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}
/* this is used as the way the drop down menu shows that it is active */
.dropdown .activer {
  background-color: #7f9ad9;
}
/* this is for the color of the dropdown button when being hovered over */
.navbar a:hover, .dropdown:hover .dropbtn {
  background-color: #ddd;
  color: black;
}
/* this is for what shows in the dropdown */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}
/* this is how all links in the dropdown content area are styled */
.dropdown-content a {
  float: none;
  color: black;
  padding: 16px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}
/* this makes the dropdown content a specific color when being hovered over */
.dropdown-content a:hover {
  background-color: #ddd;
}
/* this makes the content show when being hovered */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Table Layout */
.accessories-table {
  width: 100%;
  margin: 20px 0;
}

.accessories-table td {
  padding: 10px;
  text-align: left;
  vertical-align: middle; /* Aligns content vertically */
  font-size: 50px;
}

/* Styling for icon and title inline */
.accessories-table td .icon-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.accessories-table td i {
  font-size: 40px; /* Icon size */
  color: #d45547;
}
/* styles the table used in accessories description */
.accessories-table td .description {
  font-size: 16px;
  color: #333;
}
/* styles the links in the accessories table */
.accessories-table td a {
  color: #7f9ad9;
  text-decoration: none;
}
/* styles what happens when the links in the accessories table is hovered over */
.accessories-table td a:hover {
  color: #d45547;
}
/* makes any tag with the class description text size 30px, used mainly in the accessories table in accessories.html */
.description {
  font-size: 30px;
}