/*
font-family: 'Montserrat', sans-serif;
font-family: 'Anton', sans-serif;
font-family: 'Faster One', cursive;
font-family: 'Oswald', sans-serif;
font-family: 'Permanent Marker', cursive;
font-family: 'Yesteryear', cursive;
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  max-width: 100%;
}
    
html {
  font-size: 22px;
  font-family: 'Montserrat', sans-serif;
}
  
.clickable:hover {
  cursor: pointer;
  color: rgb(43, 57, 144);
}

span {
  font-family: 'Faster One', cursive;
  padding-left: 1rem;
}

.contrast {
  background-color: rgba(220, 220, 220, 0.65);
  border: 1px solid black;
}
  
#background-logo-container {
  width: 100%;
  height: 100%;
  z-index: -1;
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0.1;
}
  
#background-logo {
  width: 40%;
}

nav {
  top: 0;
  padding: 1.5rem;
  display: flex;
  flex-direction: row;
  justify-content: left;
  align-items: center;
  height: 10rem;
  width: 100%;
}

.logo-container {
  min-width: 5rem;
  height: 10rem;
}

.logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding-top:0.25rem;
}

#nav-logo {
  padding-right: 1.5rem;
}
  
h1 {
  font-size: 4.5rem;
  font-weight: 300;
  font-style: normal;
  color: rgba(0, 104, 56, 1);
  white-space: wrap;
}

div > p {
  margin: auto;
  text-align: center;  
  margin-top: 1rem;
  width: 80%;
}

#divider {
  width: 100%;
  height: 8rem;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0px;
}

.divider-image {
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
}

#di-1 {
  background-image: url('../assets/images/banner-1.jpg');
}

#di-2 {
  background-image: url('../assets/images/banner-2.jpg');
}

#di-3 {
  background-image: url('../assets/images/banner-3.jpg');
}

#di-4 {
  background-image: url('../assets/images/banner-4.jpg');
}

#di-5 {
  background-image: url('../assets/images/banner-5.jpg');
}

#about {
  padding: 1.5rem;
  background-color: rgba(220, 220, 220, 0.65);
}

form {
  width: 98%;
  margin: 1.5rem auto;
}

fieldset {
  margin: 1.5rem;
}
    
legend {
  margin: 1rem;
  font-size: 1.25rem;
  font-family: 'Montserrat', sans-serif;
  color: rgba(0, 104, 56, 1);
}

.input-row {
  display: flex;
  justify-content: center;
  align-items: center;
}

.field-and-icon {
  display: flex;
  align-items: center;
  text-align: center;
  width: 50%;
  margin-left: 0;
}
    
.field-and-icon input,
.field-and-icon select {
  width: 70%;
}
     
.field-and-icon .material-symbols-outlined {
  margin-left: 0.25rem;
}

div > label {
  display: inline-block;
  min-width: 5rem;
  text-align: right;
  margin: 0.5rem 1.5rem;
  vertical-align: middle;
}

input {
  height: 1.5rem;
  text-indent: 1rem;
  min-width: 85%;
}

input:focus {
  background-color: rgba(0, 104, 56, 0.25);
}

.button-container {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 0.5rem;
}

button {
  width: 25%;  
  padding: 0.5rem;
  border: 1.5px solid rgb(38, 34, 98);
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  color: rgb(38, 34, 98);
}

button:hover {
  border: 2px solid rgb(38, 34, 98);
  font-family: 'Faster One', cursive;
  font-size: 1.5rem;
}

h2 {
  font-size: 2rem;
  font-family: 'Montserrat', sans-serif;
  margin: auto;
  text-align: center;
  color: rgba(0, 104, 56, 1);
  font-weight: normal;
}

#search-return-section {
  display: none;
  margin: auto;
  text-align: center;
}

#valuation-section {
  text-align: center;
}

#valuation-section > h2 {
  color: rgb(38, 34, 98);
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.125rem;
}

.text-and-icon {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 1rem;
}

.text-and-icon > p {
  margin: 0;
  padding: 0;
  width: auto;
  text-align: center;
}

.text-and-icon > span {
  margin: 0;
  padding: 0;
}

span > a {
  text-decoration: none;
  color: rgb(38, 34, 98);
}

span > a:hover {
  font-size: 1.2rem;
  color: rgb(43, 57, 144);
}

h4 {
  font-size: 1.125rem;
  color: whitesmoke;
}

#value-attributes {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

#value-guages {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.value-info {
  justify-self: center;
  margin: 0rem 2.5rem 1rem 2.5rem;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.value {
  color:rgb(38, 34, 98);
}

#guage-below,
#guage-above {
  opacity: 0.6;
}

#below-value {
  text-align: left;
}

#average-value {
  font-weight: bold;
  font-size: 1.5rem;
}

#above-value {
  text-align: right;
}

hr {
  width: 75%;
  font-weight: bolder;
  margin: auto;
  text-align: center;
  color:rgb(38, 34, 98)
}

#value-details-section {
  background-color: rgba(220, 220, 220, 0.65);
}

#value-legend {
  margin-bottom: 0;
  font-weight: bold;
}

#value-details {
  display: flex;
  width: 100%;
  padding: 0 2rem 2rem 2rem;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
}

.small-text {
  font-size: 0.75rem;
  padding-bottom: 2rem;
  width: 85%;
  margin: auto;
  text-align: center;
}

.section-header {
  width: 100%;
  background-color: rgb(38, 34, 98);
  height: 2.5rem;
  text-align: center;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

h5 {
  color: whitesmoke;
  font-size: 1.25rem;
}

.value-title {
  font-weight: bold;
  white-space: nowrap;
}

.title {
  font-weight: bold;
  white-space: nowrap;
  text-align: right;
  margin-right: 2rem;
}

#attributes {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 85%;
  margin: auto;
  padding-bottom: 1rem;
}

.column-set {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 0;
}

.attribute{
  white-space: nowrap;
}

#column2 {
  margin-right: 1.5rem;
}

#column3 {
  margin-left: 1.5rem;
}

#warranties,
#recalls {
  margin: auto;
  text-align: center;
  width: 85%;
  padding-top: 1rem;
}

ul,
ol {
  list-style-type: none;
}

.list-header {
  font-weight: bold;
  font-size: 1.125;
  color: rgb(0, 104, 56);
  padding-bottom: 0.25rem;
}

.long-list {
  padding: 1rem;
}

.long-list-item {
  padding-bottom: 0.5rem;
}

.left {
  text-align: left;
}

#back-to-search {
  margin-top: 5rem;
}

#error-film {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  text-align: center;
}

#error-modal {
  position: fixed;
  z-index: 1;
  padding-top: 2.5rem;
  width: 50%;
  height: 50%;
  background-color: whitesmoke;
  color: rgb(38, 34, 98);
}

#close-error-modal {
  margin-top: 2rem;
}

footer {  
  bottom: 0;
  width: 100%;
  margin-top: 2em;
  padding: 1.5rem;
  background-color: rgba(38, 34, 98, 1);
  text-align: center;
  z-index: 4;
}

.footer-text {
  color: whitesmoke;
  text-decoration: none;
  font-size: 0.75rem;
}
  
#copyright {
  padding: 0rem;
}

@media (max-width: 1199px) {
  html {
    font-size: 18px;
  }
}

@media (max-width: 950px) {
  h1 {
    font-size: 4rem;
  }

  #value-details {
    flex-direction: column;
  }

  #divider {
    grid-template-columns: repeat(4, 1fr);
  }
  
  #di-4 {
    display: none;
  }
}

@media (max-width: 875px) {
  html {
    font-size: 16px;
  }
  
  h1 {
    font-size: 3.5rem;
  }
}

@media (max-width: 700px) {
  html {
    font-size: 14px;
  }
}

@media (max-width: 550px) {
  html {
    font-size: 11px;
  }

  input {
    font-size: 0.7rem;
  }

  label.title {
    margin: 5px;
  }
}