html {
  font-size: 10px;
  font-family: "Roboto Cn", sans-serif;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 26px;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  color: #ffffff;
  height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  width: 100vw;
}
#content-b {
  padding-top: 25vh;
}
#content-c {
  margin: auto;
  padding-top: 25vh;
}
.top-link {
  transition: all 0.25s ease-in-out;
  position: fixed;
  bottom: 0;
  right: 0;
  display: inline-flex;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  margin: 0 3em 3em 0;
  border-radius: 50%;
  padding: 0.25em;
  width: 80px;
  height: 80px;
  background-color: #ccc;
}
.top-link.show {
  visibility: visible;
  opacity: 1;
  z-index: 9;
}
.top-link.hide {
  visibility: hidden;
  opacity: 0;
  z-index: -1;
}
.top-link svg {
  fill: #000;
  width: 24px;
  height: 12px;
}
.top-link:hover {
  background-color: #E8E8E8;
}
.top-link:hover svg {
  fill: #000000;
}
#catalogues_but {
  cursor: pointer;
}
.card {
  display: grid;
  grid-template-columns: 250px;
  grid-template-rows: 150px 100px;
  grid-template-areas: "image" "text";
  background-color: white;
  box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: 0.5s ease;
  cursor: pointer;
  margin-left: 50px;
  margin-right: 50px;
}
.card:hover {
  transform: scale(1.1);
  box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.1);
}
.card-image {
  grid-area: image;
  background-image: url("../images/hogert_logo.jpg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}
#card-image-b {
  background-image: url("../images/ronix.jpg");
}
#card-image-c {
  background-image: url("../images/sorma.jpg");
}
#card-image-d {
  background-image: url("../images/nikko_tools.png");
}
#card-image-e {
  background-image: url("../images/yamawa.png");
}
#card-image-f {
  background-image: url("../images/osawa.png");
}
#card-image-g {
  background-image: url("../images/kemmler.png");
}
#card-image-z {
  background-image: url("../images/dupuy.jpg");
}
.card-text {
  grid-area: text;
  margin: auto;
}
.card-text p {
  font-size: 16px;
  margin: auto 10px;
}
.row {
  display: flex;
  margin-top: 30px;
  align-items: center;
  justify-content: center;
}
.parallax-wrapper {
  width: 100vw;
  height: 100vh;
  box-sizing: border-box;
  background-color: rgba(255, 255, 255, 0.5);
  position: relative;
  background-image: url('../images/steel-4422045_1920.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}
.layer {
  width: 100vw;
  height: 100vh;
  background-color: rgba(255, 255, 255, 0.5);
}
#parallax-wrapper-b {
  height: 100vh;
  background-image: url('../images/tools-back.jpg');
}
.wrapper {
  width: 100vw;
  height: 100vh;
  background-color: white;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  z-index: 2;
  position: relative;
}
#wrapper-a {
  padding-top: 0vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.content {
  margin: 0 auto;
  margin-top: 5%;
  color: #000000;
  text-align: center;
  padding: 50px;
  width: 50%;
}
#catalogues {
  margin-top: 0rem;
  width: 100vw;
  height: 100vh;
}
h2 {
  margin-block-start: 0.83em;
  margin-block-end: 0.83em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  position: relative;
  letter-spacing: 2px;
}
#h2-a {
  margin-top: 50px;
  margin-bottom: 30px;
}
p {
  display: block;
  margin-block-start: 1em;
  margin-block-end: 1em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  position: relative;
  letter-spacing: 2px;
}
hr {
  border: 1px solid crimson;
  width: 30%;
  margin: auto;
}
.vertical-line {
  width: 1px;
  border: 1px solid crimson;
  height: 50px;
  margin: auto;
  margin-bottom: 1em;
}
a {
  text-decoration: none;
  color: #000000;
}
a.button {
  font-size: 2.7rem;
  padding: 1rem 0;
  margin: 0 3rem;
  position: relative;
  letter-spacing: 2px;
}
header {
  width: 100%;
  height: 20vh;
  overflow: hidden;
}
.container {
  max-width: 120rem;
  width: 90%;
  margin: 0 auto;
}
.menu-toggle {
  position: relative;
  top: 0rem;
  right: 0rem;
  color: #000000;
  font-size: 8.5rem;
  cursor: pointer;
  z-index: 1000;
  display: none;
  width: 100vw;
  padding: 5rem 5rem;
}
nav, #brand-ham {
  padding-top: 5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-transform: uppercase;
  font-size: 1.6rem;
}
.brand {
  font-size: 4rem;
  font-weight: 300;
  transform: translateX(-100rem);
  animation: slideIn 0.5s forwards;
}
#brand-ham {
  display: none;
}
.brand span {
  color: crimson;
}
nav ul {
  display: flex;
}
nav ul li {
  list-style: none;
  transform: translateX(100rem);
  animation: slideIn 0.5s forwards;
}
nav ul li:nth-child(1) {
  animation-delay: 0s;
}
nav ul li:nth-child(2) {
  animation-delay: 0.5s;
}
nav ul li:nth-child(3) {
  animation-delay: 1s;
}
nav ul li:nth-child(4) {
  animation-delay: 1.5s;
}
nav ul li:nth-child(5) {
  animation-delay: 2s;
}
nav ul li a, a.button, .card {
  padding: 1rem 0;
  margin: 0 3rem;
  position: relative;
  letter-spacing: 2px;
}
nav ul li a:last-child {
  margin-right: 0;
}
nav ul li a::before, nav ul li a::after, a.button::before, a.button::after, .card::before, .card::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: crimson;
  left: 0;
  transform: scaleX(0);
  transition: all 0.5s;
}
nav ul li a::before, a.button::before, .card::before {
  top: 0;
  transform-origin: left;
}
nav ul li a::after, a.button::after, .card::after {
  bottom: 0;
  transform-origin: right;
}
nav ul li a:hover::before, nav ul li a:hover::after, a.button:hover::before, a.button:hover::after, .card:hover::before, .card:hover::after {
  transform: scaleX(1);
}
@keyframes slideIn {
  to {
    transform: translateX(0);
  }
}
@media screen and (max-width: 1025px) {
  .overlay {
    background-color: rgba(255, 255, 255, 0.85);
    z-index: 10;
    position: fixed;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    transition: opacity 650ms;
    transform: scale(0);
    opacity: 0;
    display: none;
  }
  .parallax-wrapper {
    background-attachment: scroll;
  }
  #brand-main {
    display: none;
  }
  .top-link {
    height: 15rem;
    width: 15rem;
  }
  .top-link svg {
    width: 5rem;
    height: 2.5rem;
  }
  #content-b {
    padding-left: 0;
    padding-right: 0;
  }
  .vertical-line {
    height: 100px;
  }
  h2 {
    font-size: 5rem;
  }
  p {
    font-size: 3rem;
  }
  a.button {
    font-size: 5rem;
  }
  .content {
    width: 100%;
  }
  .row {
    display: inline-table;
    margin-top: 0px;
  }
  .card {
    margin: 70px 30px;
    grid-template-columns: 350px;
    grid-template-rows: 200px 150px;
  }
  .card-text p {
    font-size: 2.75rem;
    margin: 0 2rem;
  }
  #card-a, #card-d {
    margin-top: 0;
  }
  #brand-ham {
    display: unset;
    float: left;
    padding-top: 0;
    margin: 3rem;
    position: unset;
  }
  .menu-toggle {
    display: block;
  }
  nav {
    padding-top: 0;
    display: none;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    height: 100vh;
    text-align: center;
  }
  nav ul {
    flex-direction: column;
  }
  nav ul li {
    margin-top: 5rem;
  }
  nav ul li a {
    margin: 0;
    font-size: 6rem;
  }
  .brand a {
    font-size: 10rem;
  }
  .overlay.menu-open, nav.menu-open {
    display: flex;
    transform: scale(1);
    opacity: 1;
  }
  .fa-bars, .fa-times {
    margin: 4rem;
    float: right;
  }
}
