/* header */

body {
  background-color: rgb(255, 255, 255);
}

header {
  padding: 1rem 0;
}

header h1 {
  font-size: 1.5rem;
  white-space: pre;
}

header .topmost-bar span {
  grid-area: search-bar;
  display: flex;
  align-items: center;
  justify-content: center;
}

header .topmost-bar span p {
  color: var(--grey-text-color);
  margin: 1rem 0;
  font-weight: 700;
  font-size: 1.5rem;
}

header .topmost-bar span hr {
  width: 2.3rem;
  margin: 0;
  transform: rotate(90deg);
  transform-origin: center;
  border: 1px solid var(--grey-text-color);
}

main {
  margin: 0;
  padding: 3rem 0rem 10rem 0;
  background-image: url(../images/lkj.png),
    url(../images/companypageillustration.jpg),
    url(../images/companypageillustration2.jpg);
  background-position: right 100px bottom, left bottom 60px, top 60px right;
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-size: 1100px, auto, auto;
  position: relative;
}

main h1 {
  margin: 0;
  margin-bottom: 2rem;
  text-align: center;
  width: 100%;
  font-weight: 700;
  font-size: 2.2rem;
}

main h2 {
  color: var(--red-color);
  margin: 2rem 0;
  font-weight: 700;
  font-size: 1.3rem;
  margin: 0;
}

h2.footer-note {
  margin-top: 6rem;
  margin-bottom: 7rem;
  color: black;
}

main p {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0;
  margin-top: 1rem;
  margin-bottom: 2.5rem;
}

.container {
  text-align: left;
  width: 32rem;
  margin: 0 auto;
}

.container,
.footer-note,
.btn {
  position: relative;
}

.overlay-cover {
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.466);
  width: 100%;
  height: 100%;
}

.mid__red-container {
  background-color: var(--red-color);
  padding: 8px 6px 8px 10px;
  border-radius: 5px;
  margin-bottom: 2.5rem;
}

.mid__red-container p {
  color: #ffffff;
  margin: 0;
  font-weight: 500;
}

main a.btn {
  padding: 1rem 4.5rem;
  font-size: 1.6rem;
}

@media (max-width: 425px) {
  header h1,
  header .topmost-bar span p {
    font-size: 1.3rem;
  }

  main {
    padding: 3rem 1rem 10rem 1rem;
    background-position: right 20px bottom, left bottom 30px, top 30px right;
    background-size: 600px, 80px, 80px;
  }

  main h1 {
    font-size: 1.7rem;
  }

  main h2 {
    font-size: 1rem;
    margin: 1rem 0 1rem 0;
  }

  main p {
    font-size: 1rem;
  }

  .container {
    width: 100%;
  }

  h2.footer-note {
    margin-top: 3rem;
    margin-bottom: 4rem;
  }

  h2.footer-note {
    text-align: left;
  }

  main a.btn {
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
  }
}
