@import url('https://fonts.googleapis.com/css?family=Merriweather');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  width: 100vw;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

html {
  font-size: 100%;
}

body {
  line-height: 1.4;
  background-color: #f4f1e9;
  font-family: Merriweather, sans-serif;
  color: #000;
  margin: 0;
}

main {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #000;
  padding-bottom: 4rem;
}

.product {
  background-color: #034694;
  padding: 20px;
  border: 5px solid #ffd700;
  border-radius: 10px;
}

h1 {
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
  color: #000;
  margin: 20px;
}

h2 {
  font-size: 2rem;
  margin-top: 10px;
  margin-bottom: 1.4rem;
  font-weight: 100;
  text-align: left;
  margin: 20px;
}

h3 {
  font-size: 1rem;
  margin-bottom: 1.4rem;
  font-weight: 100;
  text-align: left;
}

h4 {
  font-size: 2rem;
  margin-bottom: 0;
  border-radius: 5px;
  width: 95vw;
  padding: 1rem;
  margin-bottom: 1.4rem;
  margin-left: 2.5vw;
  background-color: #fff;
  font-weight: 400;
}

p {
  margin-bottom: 1.4rem;
  font-size: 1rem;
  color: #fff;
  text-align: center;
  padding: 5px;
}

.styled-input {
  width: 95vw;
  font-size: 1rem;
  padding: 0.5rem;
  margin-bottom: 1.4rem;
  margin-left: 2.5vw;
  border-radius: 5px;
}

.styled-label {
  font-size: 1rem;
  font-weight: bold;
}

table {
  width: 100%;
  border-collapse: collapse;
  background-color: #fff;
}

thead {
  background-color: #034694;
  color: #fff;
}

th,
td {
  padding: 12px 16px;
  border: 3px solid #ffd700;
  text-align: left;
}

tbody tr:hover {
  background-color: #e6f0ff;
}

.error-box {
  background-color: #fff;
  width: 95vw;
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  box-shadow: 1px 1px;
  border: solid #ddd 1px;
  border-radius: 10px;
}

.error-box .fa-triangle-exclamation {
  color: #ff4136;
  font-size: 3rem;
  margin-top: 20px;
}

.error-message {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 75vw;
}

@media (width <= 600px) {
  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1rem;
  }

  h4 {
    font-size: 1rem;
  }
}

.bottom-nav {
  position: fixed;
  bottom: 0;
  overflow: hidden;
  border-top: 1px solid #ccc;
  width: 100vw;
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
  background: #fff;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-evenly;
  font-family: 'Source Sans Pro', sans-serif;
}

.bottom-nav a {
  text-align: center;
  color: #666;
  text-decoration: none;
}

.bottom-nav .active {
  color: #ff4136;
  border-top: #ff4136 solid 3px;
  margin-top: -15px;
}

.bottom-nav i {
  display: block;
  font-size: 2rem;
}

.bottom-nav span {
  font-size: 0.7rem;
}

.top-nav {
  position: fixed;
  top: 0;
  overflow: hidden;
  border-bottom: 1px solid #ccc;
  background-color: rgb(163.2, 163.2, 163.2);
  width: 100%;
  padding: 0.2rem 1rem;
  text-align: center;
  box-sizing: border-box;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 1rem;
}

.top-nav span {
  position: absolute;
  top: 0.2rem;
  left: 0.8rem;
  color: #034694;
}

.top-nav span i {
  float: left;
  font-size: 1.4rem;
  line-height: 1.2;
}

@media (width <= 600px) {
  .bottom-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
    width: 100%;
  }

  .bottom-nav a {
    padding: 0.5rem 0;
  }
}

.map {
  height: 50vh;
  width: 100%;
}
