@font-face {
  font-family: 'Toyota';
  src: url('fonts/ToyotaDisplay_Bd.ttf') format('truetype');
}  
* {
  padding: 0;
  margin: 0;
  font-family: BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
}

.center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
nav {
  height: 5rem;
  background-color: white;
  width: 100%;
  position: relative;
  display: flex;
  box-shadow: 0 2px 5px 0 rgb(0 0 0 / 11%);
}
nav > h1 {
  font-family: 'Toyota';
  color: #db071f;
}
nav > img {
  height: 60%;
  right: 0 !important;
  left: unset !important;
}
nav > h1 > span {
  color: black;
}

footer {
  background-color: #1e2a32;
  padding: 2rem 4rem;
  position: relative;
  color: #fff;
  bottom: 0;
  right: 0;
  left: 0;
}
footer > a {
  text-decoration: none;
  color: #007bff;
}

section {
  display: flex;
  flex-direction: row;
  justify-content: center;
  padding: 1rem;
}
section > a {
  padding: 1rem;
  display: block;
}

section > a > h1 {
  font-size: 2rem;
  margin: 0.5rem 0;
  color: #007bff;
}

section > a > img {
  max-width:100%;
  height:auto;
}
section > a {
  text-decoration: none;
  color: #007bff;
}
@media screen and (max-width: 800px) {
  nav > h1 {
    font-size: medium;
  }
  nav > img {
    height: 40%;
  }
  section {
    display: block;
    margin-bottom: 50px;
  }
  section > a {
    text-align: center;
  }
  section > a > img {
    max-width: 85%;
  }
  section > a > h1 {
    font-size: 1.2rem;
  }
  footer {
    font-size: 12px;
  }
}