@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500&display=swap');

html {
  scroll-behavior: smooth;
  height: 100%;
}

a {
  transition: 0.2s;
}

a:hover {
  color: goldenrod;
}

.main {
  margin: 0 auto;
  min-height: 90%;
  width: 85vw;
}

h1, h2, h3, h4 {
  font-family: 'Cairo', sans-serif;
}

/* Add a black background color to the top navigation */

.nav {
  background-color: hsla(241, 100%, 25%, 1);
  overflow: hidden;
  font-family: 'Cairo', sans-serif;
  z-index: 1;
}

/* Style the links inside the navigation bar */

.nav a {
  font-family: 'Cairo', serif;
  float: left;
  background-color: hsla(241, 100%, 25%, 1);
  color: white;
  text-align: center;
  padding: 0.8em;
  text-decoration: none;
  font-size: 17px;
  transition: 0.3s;
}

/* Change the color of links on hover */

.nav a:hover {
  background-color: yellow;
  color: black;
}

/* Add an active class to highlight the current page */

.nav a.active {
  background-color: yellow;
  color: white;
}

/* Hide the link that should open and close the nav on small screens */

.nav .icon {
  display: none;
}

.onlinestore {
  background-color: hsla(241, 100%, 25%, 1);
  color: white;
}

.onlinestore .btn {
  font-size: 24px;
  font-weight: bold;
  margin: 0.5em;
}

/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the nav (.icon) */

@media screen and (max-width: 600px) {
  .nav {
    margin: 0;
    position: fixed;
  }
  .nav a {
    display: none;
  }
  .nav a.icon {
    float: left;
    display: block;
    ;
    padding: 1em 1em 1em 1em;
  }
}

/* The "responsive" class is added to the nav with JavaScript when the user clicks on the icon. This class makes the nav look good on small screens (display the links vertically instead of horizontally) */

@media screen and (max-width: 600px) {
  .main {
    width: 95vw;
  }
  .nav.responsive {
    position: fixed;
  }
  .nav.responsive a.icon {
    right: 0;
    top: 0;
  }
  .nav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}

.footer {
  color: white;
  background-color: hsla(241, 100%, 25%, 1);
  text-align: center;
  position: relative;
  bottom: 0;
  height: 6rem;
}

.footer p {
  padding: 1em;
}

.banner {
  margin: auto;
  width: 100%;
}

.content {
  padding: 1em;
  text-align: center;
}

.new h1 {
  font-family: 'Cairo', sans-serif;
  font-weight: bold;
  font-size: 22px;
  text-decoration: underline;
  padding: 0.2em;
  line-height: 1.2em;
  margin-bottom: 1em;
}

.new h2 {
  font-family: 'Cairo', sans-serif;
  font-weight: bold;
  font-size: 20px;
  text-decoration: underline;
  padding: 0.2em 0 0 0;
  line-height: 1.2em;
  margin-bottom: 1em;
}

p, li {
  font-size: 18px;
  font-family: 'Montserrat', serif;
  line-height: 1.25em;
}

ul {
  display: inline-block;
  list-style-type: disc;
  margin-left: 2em;
  margin: 1.2em;
}

.link-button {
  color: wheat;
  padding: 0.5em;
  text-decoration: none;
  font-family: 'Cairo';
  background-color: hsla(241, 100%, 15%, 1);
  border-radius: 3%;
  transition: 0.3s;
}

.link-button:hover {
  background-color: yellow;
  color: black;
}

.title {
  text-align: center;
}

.title h1 {
  display: inline-block;
}

.table {
  display: table;
  /* Allow the centering to work */
  margin: 0 auto;
}

.horizontal-list ul {
  list-style-type: disc;
  min-width: 696px;
  list-style: none;
  padding-top: 20px;
}

.horizontal-list li {
  display: inline;
  font-size: 20px;
}

.less-indent {
  padding-inline-start: 0.2em;
}

.less-indent li {
  line-height: 1.4;
}

.block {
  float: left;
  width: 33.3%;
  padding: 1em;
  box-sizing: border-box;
}

.left {
  text-align: left;
}

@media screen and (max-width: 600px) {
  .block {
    width: 100%;
  }
}

.clear {
  clear: both;
}

.contact {
  text-align: left;
}

.contact p {
  margin-left: 1em;
}

.text-container {
  text-align: justify;
}

.text-container p {
  margin: auto;
  line-height: 1.5em;
  width: 80vw;
}

.product-gap {
  padding: 0.15vw;
}

.product-section {
  width: 90vw;
  margin: auto;
  text-align: center;
  margin-top: 2em;
  min-height: 40vw;
  margin-bottom: 25vw;
  border: 1px solid black;
}

.product-section h1 {
  margin-top: 2em;
}

@media screen and (max-width: 600px) {
  .product-section {
    min-height: 70%;
  }
}

.bottomMenu {
  width: 100%;
  text-align: center;
  width: auto;
  margin: 0 auto;
  position: fixed;
  bottom: 0;
  left: 40;
  right: 50;
  background-color: white;
  border-top: 2px solid grey;
  border-radius: 3%;
}

@media screen and (max-width: 600px) {
  .bottomMenu {
    border: 1px solid black;
    margin-bottom: 1em;
  }
}

.details {
  text-align: left;
  width: 80vw;
  margin: auto;
}

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

.short-sentences {
  margin-bottom: 2em;
}

/* Table styling */

.table {
  overflow: auto;
}

.table th, td, tr {
  border: 1px solid black;
  padding: 0.3em;
  font-family: 'Montserrat';
}

.table th {
  font-weight: bold;
}

.ol {
  display: inline-block;
  text-align: left;
  padding-bottom: 3em;
}

.gapped-list li, a {
  line-height: 1.25em;
}

.noborder-table {
  display: table;
  margin: 0 auto;
}

.noborder-table td, th, tr {
  border: 0;
  vertical-align: top;
}

.no-padding {
  padding-left: 0;
  padding-right: 0;
}

.bg-darkblue {
  background-color: rgb(21, 27, 78);
}

.bg-blue {
  background-color: hsla(241, 100%, 25%, 1);
}

.white-link a {
  color: white;
  transition: 0.3s;
}

.white-link a:hover {
  color: goldenrod;
}
