* {
  font-family: monospace;
}

/*MENU content goes here*/

.wording {
  margin-top: -18px;
}

.fixed {
  position: sticky;
  top: 0;
  margin-top: -8px;
  height: auto;
  width: 100%;
  background-color: white;
  
  z-index: 10;
  text-align: center;
}

.webtitle {
  position: relative;
}

.page-header {
  position: relative;
  
  margin-top: 0px;
  text-align: center;
  text-transform: uppercase;
  
  order-bottom: 1px solid #b0b0b0;
  font-size: 25px;
}

@media (min-width: 767px) {
.webtitle > h4 {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translate(-50%, -50%);
  
  color: #b0b0b0;
  font-size: 10px;
  font-style: italic;
  line-height: 1.0;
}
}

@media (max-width: 767px) {
.webtitle > h4 {
  display: none;
}
}

.bottom-words {
  margin-top: 15px;
  text-align: center;
  color: black;
  
  font-size: 10px;
  font-style: italic;
  line-height: 1.0;
}

.page-header::after {
  content: "";
  background: #6b6b6b;
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 1px;
  width: 60%;
}

.filter {
  list-style-type: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  flex-direction: row;
  font-size: 16px;
}

.filter > div {
  padding: 0 10px 1px 10px;
  margin-top: -2px;
  margin-bottom: 4px;
  border-right:  2px solid #b0b0b0;
  border-radius: 2px;
  text-transform: uppercase;
}

.filter > div:hover {
  background-color: #e7f0dd;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}



body {
  position: relative;
}

/*fuel calc button*/
.fuelcalc {
  position: absolute;
  left: 20px;
  top: 10px;
  
  background-color: #f2f2f2;
  width: max-width;
  padding-top: 0px;
  border-radius: 15px;
  border: 1px solid gray;
}

.fuelcalc a {
  padding: 3px 13px;
}

.fuelcalc:hover {
  background-color: #ffe3ff;
  font-weight: bold;
}


/*NEW MENU*/

.menu {
  display: flex;
  flex-direction: row; 
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  list-style-type: none; 
  position: relative;
  margin: 10px 0px 20px 0px;
  
  z-index: 10;
}

.menu li {
  text-transform: uppercase;
  margin: 0px 5px;
  
}

.menu .logo {
  
  font-size: 25px;
  margin: 0px 50px;
}

.menu li:nth-child(3), .menu li:nth-child(4) {
  text-decoration: underline;
  font-size: 15px;
  margin-left: 15px;
  margin-right: 15px;
}

/* .menu li:nth-child(2):hover, .menu li:nth-child(3):hover, .menu li:nth-child(4):hover {
   font-size: 17px;
  } */

.menu li:nth-child(5) {
  background-color: #f2f2f2;
  width: max-width;
  padding-top: 0px;
  border-radius: 15px;
  border: 1px solid gray; 
  
  padding: 3px 13px;  
  margin: 0px 50px;
}

.menu li:nth-child(5):hover {
  background-color: #ffe3ff;
  font-weight: bold;
}

.menuitem:hover {
  font-weight: bold;
  cursor: pointer;
}


.line {
  content: "";
  background: #6b6b6b;
  position: absolute;
  margin-top: -7px;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 1px;
  width: 85%;
} 



/*flex area with main content goes here*/



.flex {
  display: flex;
   flex-direction: row; 
   flex-wrap: wrap;
  justify-content: center;
  margin-left: 5%;
  margin-right: 5%;
  
}

.specs:before {
  content: "specs";
  font-weight: bold;
  text-transform: uppercase;
}

.specs li:nth-child(1) {
  margin-top: 4px;
}

.laptime:before {
  content: "laptimes (Soft Slick)";
  font-weight: bold;
  text-transform: uppercase;
}

a:link, a:visited, a:hover, a:active {
  text-decoration: none;
  color: black;
}

.card {
  background-color: #f5f5f5;
  width: 300px;
  height: auto;
  border: 1px solid #fff;
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 5px 10px;
}

.title {
  text-align: center;
  font-weight: bold;
  margin: 1px;
  height: 15px;
}

.car-image {
  margin-top: 2px;
display: flex;
justify-content: center;
  position: relative;
}

/*
.car-image:hover {
  cursor: zoom-in;
}
*/

.car-image {
  width: 300px;
  object-fit: contain;
}

/*
.car-image:active {
  position: absolute;
  top: 0;
  left: 0;

  z-index: 55;
  transition: all .4s ease-in-out; 
  transform: scale(1.8);
}
*/

.flex img {
  -webkit-filter: grayscale(75%); /* Safari 6.0 - 9.0 */
  filter: grayscale(75%) brightness(110%);
  opacity: 0.4;
}

img:hover {
  filter: none;
  opacity: 1;
}

img:active {
transform: scale(2.5);
  transform-style: preserve-3d;
  transition: 1s;

  z-index: 900;
}

.label {
  font-size:9px;
  text-align: center;
  background-color: red;
  padding: 2px 3px 2px 3px;
  color: white;
  position: absolute;
  right: 8px;
  top: 28px;
  text-transform: uppercase;
}

.download {
  margin: 4px 3px;
  display: flex;
  justify-content: center;
  border: 1px solid #b0b0b0;
  border-radius: 0px;
  background-color: white;
  text-transform: uppercase;
  
  font-size: 15px;
}

.download:hover, .readmore:hover {
  background-color:#e7f0dd;
}

/*card description lists*/

.col {
  margin: -8px 0px -14px 0px;
  display: flex;
  justify-content: space-evenly;
}

.laptime li, .specs li{
  list-style-type: none;
  line-height: 1.3;
  font-size: 14px;
}

li h4 {
  line-height: 0;
  margin: -8px 0px 10px 0px;
}

.laptime, .specs {
  margin-left: -12%;
}

.dropdown-filter {
  margin-bottom: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  flex-direction: row;
  font-size: 16px;
  text-transform: uppercase;
}

.filter1 {
 margin-right: 10px; 
}
.filter2 {
 margin-left: 10px; 
}