html {
  font-family: Arial, sans-serif;
}

body {
  margin: 0;
  padding: 0;
  min-width: 320px;
}

a {
  color: #e7131a;
}

@font-face {
  font-family: vroom;
  src: url(./Vroom-Sans.woff2) format(woff2);
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 32px;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 0px 6px;
  position: relative;
}

header a {
  text-decoration: none;
  color: inherit;
}

.vroom-title {
  font-family: vroom;
  margin: -.5rem 0 0 0;
  padding: 0;
  font-size: 2.5rem;
  line-height: 2rem;
}

.about {
  font-size: .8rem;
}

h1 {
  font-family: vroom;
  letter-spacing: 1px;
  font-size: 2.4rem;
  margin: 0;
  padding: 0;
  line-height: 2.4rem;
}

p {
  margin: 1rem 0;
  line-height: 1.5;
}

ul, ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

ol ol {
  list-style-type: upper-alpha;
}

li {
  line-height: 1.5;
  margin: 1rem 0;
}

footer {
  background: rgb(4, 16, 34);
  color: #d6d7da;
  padding: 22px 32px;
}

section {
  border-bottom: 1px solid #d6d7da;
}

@media (min-width: 600px) {
  footer {
    display: flex;
    justify-content: space-between;
  }
}

.footer-header {
  font-weight: bold;
  padding-bottom: 10px;
}

footer a {
  color: #d6d7da;
  text-decoration: none;
  display: block;
  font-size: .8rem;
  padding-bottom: 10px;
}

.copyright {
  font-size: .7rem;
  text-align: center;
  padding-bottom: 30px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 50px;
}

h2 {
  font-family: vroom;
  letter-spacing: 1px;
  font-size: 2.2rem;
  margin: 1.5rem 0;
  padding: 0;
  line-height: 2.2rem;
}

h3 {
  font-family: vroom;
  letter-spacing: 1px;
  font-size: 1.6rem;
  margin: 1.5rem 0;
  padding: 0;
  line-height: 1.6rem;
}

.gears {
  text-align: center;
  padding: 40px 20px;
  max-width: 550px;
}

.hero {
  height: 200px;
  background-image: url(./hero.webp);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

@media (min-width: 600px) {
  h1 {
    font-size: 2.8rem;
  }

  .gears {
    text-align: left;
    padding: 70px 50px;
    max-width: 550px;
  }

  .split {
    display: flex;
  }

  .split > * {
    width: 50%;
    display: flex;
    justify-content: right;
  }

  .hero {
    flex: none;
    width: 50%;
    height: inherit;
    z-index: -1;
  }

  .hero::after {
    content: '';
    height: 100%;
    width: 100%;
    background: white;
    transform-origin: left bottom;
    transform: scale(3) rotate(-80deg); 
  }
}

.continue {
  text-align: center;
  padding: 20px 30px;
  background-color: rgb(245, 245, 245);
}

.carstory {
  width: calc(100% - 60px);
  margin: 20px auto;
  background: white;
  max-width: 400px;
  padding: 30px;
  display: flex;
  text-align: left;
  border: 1px solid rgb(214, 215, 218);
  border-radius: 10px;
  gap: 30px;
  line-height: 1.5;
}

.carstory-title {
  font-size: 1.2rem;
  font-weight: bold;
}

.carstory a {
  display: block;
}

.resources {
  text-align: center;
  padding: 20px 15px;
}

.resources ul {
  width: calc(100% - 30px);
  margin: 20px auto;
  padding-left: 1rem;
  background: white;
  max-width: 400px;
  text-align: left;
}

.resources a {
  white-space: nowrap;
}

.graybg {
  background: rgb(245, 245, 245);
  padding: 20px 10px; 
}

.wrapper {
  width: calc(100% - 50px);
  margin: 10px auto;
  background: white;
  max-width: 950px;
  text-align: left;
  padding: 20px;
}

.accessibility-email {
  font-size: 1.4rem;
  margin-top: 1.5rem;
}

@media (min-width: 600px) {
  .updated-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}

.legal-border {
  display: block;
  border: solid 1px #e7131a;
  padding: 0 10px;
}

.legal-sections {
  font-size: 1.4rem;
}

.legal-sections p, ol, ul {
  font-size: 1rem;
}

.legal-sections table, .legal-sections table ul {
  font-size: .9rem;
}

table {
  border-collapse: collapse;
}

th, td {
  width: 33%;
  border: 1px solid #d6d7da;
  vertical-align: top;
  line-height: 1.5;
  padding: 10px;
}

table li, ul {
  margin: 0;
}

