:root {
  --space: 8px;

  --default-font-family: "Open Sans", sans-serif;
  --title-font-family: "Oswald", sans-serif;

  --title-font-size: 48px;
  --title-line-height: 52px;

  --font-size: 18px;
  --line-height: 24px;

  --font-size-menu: 24px;
  --line-height-menu: 28px;

  @media (max-width: 768px) {
    --font-size-menu: 18px;
    --line-height-menu: 22px;
  }
  @media (max-width: 550px) {
    --title-font-size: 42px;
    --title-line-height: 46px;

    --font-size-menu: 16px;
    --line-height-menu: 20px;

    --font-size: 16px;
    --line-height: 22px;
  }

  --buffer: 80px;
  @media (max-width: 768px) {
    --buffer: 70px;
  }
  @media (max-width: 550px) {
    --buffer: 54px;
  }


  --carthrottle: #ff9042;
  --crash: #ec1e1e;
  --golfmagic: #00b9b9;
  --visordown: #cb3b31;
  --bikesport: #666666;
  --cmg: #b71223;

  --text-color: #111111;
  --white: #e9e9e9;
  --white-ex: #ffffff;

}

html * {
  box-sizing: border-box;
}

body {
  font-family: var(--default-font-family);
  font-size: var(--font-size);
  line-height: var(--line-height);
  color: var(--text-color);
  background: var(--white);
  background: linear-gradient(180deg, var(--white-ex) 10%, var(--white) 100%);
  font-style: italic;
  font-weight: 300;
  margin: calc(var(--buffer) + (var(--space) * 4)) 0 0 0;
}

ul ul
ul ul ul {
  margin: var(--space) 0;
}

body:has(.home-hero) {
  margin: var(--buffer) 0 0 0;
}

.set-width {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 calc(var(--space) * 4);
  @media (max-width: 550px) {
    padding: 0 calc(var(--space) * 2);
  }

}

.full-height {
  min-height: Calc(100vh - 400px)
}

.btn {
  font-family: var(--default-font-family);
  font-size: var(--font-size);
  line-height: var(--line-height);

  background-color: var(--white-ex);
  color: var(--cmg);
  border: solid 4px;
  border-radius: 8px;
  white-space: nowrap;
}

.btn img {
  vertical-align: middle;
  width: 1.33em;
  height: 1.33em;
}

.btn.inverse {
  color: var(--white-ex);
  background-color: var(--cmg);
  border-color: var(--cmg);
}

.btn a {
  display: block;
  color: unset;
  font-weight: bold;
  text-decoration: none !important;
  padding: calc(var(--space) - 2px);
}

.carthrottle {
  color: var(--carthrottle);
  background-color: var(--white-ex);
}

.btn.carthrottle {
  border-color: var(--carthrottle);
}

.carthrottle.inverse {
  color: var(--white-ex);
  background-color: var(--carthrottle);
}

.crash {
  color: var(--crash);
  background-color: var(--white-ex);
}

.btn.crash {
  border-color: var(--crash);
}

.crash.inverse {
  color: var(--white-ex);
  background-color: var(--crash);
}

.golfmagic {
  color: var(--golfmagic);
  background-color: var(--white-ex);
}

.btn.golfmagic {
  border-color: var(--golfmagic);
}

.golfmagic.inverse {
  color: var(--white-ex);
  background-color: var(--golfmagic);
}

.visordown {
  color: var(--visordown);
  background-color: var(--white-ex);
}

.btn.visordown {
  border-color: var(--visordown);
}

.visordown.inverse {
  color: var(--white-ex);
  background-color: var(--visordown);
}

.bikesport {
  color: var(--bikesport);
  background-color: var(--white-ex);
}

.btn.bikesport {
  border-color: var(--bikesport);
}

.bikesport.inverse {
  color: var(--white-ex);
  background-color: var(--bikesport);
}

.title {
  text-transform: uppercase;
  color: var(--cmg);
  font-family: var(--title-font-family);
  font-size: var(--title-font-size);
  line-height: var(--title-line-height);
  font-weight: 800;
  font-style: normal;
  margin: 0 0 calc(var(--space) * 2) 0;
}

.title.sub {
  color: unset;
  font-size: calc(var(--title-font-size) - 16px);
  line-height: calc(var(--title-line-height) - 16px);
  font-weight: 700;
  margin: 0 0 var(--space) 0;
}

.info {
  font-family: var(--title-font-family);
  text-transform: uppercase;
  font-size: var(--title-font-size);
  line-height: var(--title-line-height);
  font-style: italic;
  font-weight: 800;
  text-align: center;
  font-stretch: 25%;
}

.info-label {
  font-family: var(--title-font-family);
  text-transform: uppercase;
  font-size: var(--font-size);
  line-height: var(--line-height);
  font-style: italic;
  font-weight: 700;
  text-align: center;
  margin: calc(var(--space) * 0.5) 0;
}

.grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space);
}

.grid-2 {
  & > div {
    flex: 1 1 40%;
  }
}

@media (max-width: 640px) {
  .grid-2 {
    & > div {
      flex: 0 0 100%;
    }
  }
}

.menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white-ex);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
  z-index: 2099;
}

.menu-flex {
  padding: calc(var(--space) * 2);
  display: flex;
  gap: calc(var(--space) * 4);
  align-items: center;
}

.menu-flex a {
  font-family: var(--title-font-family);
  font-size: var(--font-size-menu);
  line-height: var(--line-height-menu);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--cmg);
}

.menu-flex a:visited, .menu-flex:active {
  color: var(--cmg);
}

.menu-flex .logo {
  flex: 0 0 200px;
}

@media (max-width: 768px) {
  .menu-flex .logo {
    flex: 0 0 150px;
  }
}

@media (max-width: 550px) {
  .menu-flex .logo {
    flex: 0 0 60px;
  }
}

.menu-flex .logo img {
  width: 100%;
  height: auto;
}

.menu-flex .options {
  display: flex;
  margin-left: auto;
  font-style: normal;
  gap: calc(var(--space) * 2);
}

.home-hero {
  position: relative;
  background-color: var(--white);
  height: calc(100dvh - var(--buffer));
  padding: calc(var(--space) * 6) 0;
}

.home-hero .absolute-container {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  overflow: hidden;
}

.home-hero .absolute-container img {
  position: absolute;
  user-select: none;
  overflow: hidden;
}

.home-hero .absolute-container picture {
  width: 100%;
  height: 100%;
}

.home-hero .absolute-container picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.home-hero .absolute-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
  background: linear-gradient(0deg, var(--white-ex) 10%, transparent 50%);
}

.home-hero .flex {
  position: relative;
  z-index: 2;
  display: flex;
  height: 100%;
  flex-wrap: wrap;
  flex-direction: row;
  align-content: flex-end;
}

h1 {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0;
  font-weight: 800;
}

.home-hero .line-1 {
  font-size: 82px;
  line-height: 72px;
  color: #000000;
  letter-spacing: -0.01em;
  font-style: italic;
  text-shadow: 0 0 40px var(--white-ex);

}

.home-hero .line-2 {
  font-size: 52px;
  line-height: 52px;
  color: var(--cmg);
  margin-left: -0.2em;
  letter-spacing: 0.04em;
  text-shadow: 0 0 40px var(--white-ex);
}

@media (max-width: 550px) {
  .home-hero .line-1 {
    font-size: 60px;
    line-height: 50px;
    letter-spacing: 0.02em;
  }

  .home-hero .line-2 {
    font-size: 42px;
    line-height: 42px;
    letter-spacing: initial;
  }
}

.home-brands {
  padding: calc(var(--space) * 8) calc(var(--space) * 4);
}

.home-brands .grid {
  justify-items: center ;
}

.home-brands .text {
  flex: 0 0 100%;
  align-content: flex-start;
  margin-bottom: calc(var(--space) * 2);
}

@media screen and (min-width: 729px) {
  .home-brands .text {
    flex: 0 0 40%;
  }
}

.home-brands .items {
  display: flex;
  gap: calc(var(--space) * 2);
  flex-direction: row;
  flex-wrap: wrap;
}

.home-brands .items .item {
  position: relative;
  flex: 0 0 100%;
  background-color: var(--white-ex);
  aspect-ratio: 16/9;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.25);
  border: 4px solid;
  transition: background-color 1s;
}

.home-brands .items .item.carthrottle {
  background-color: color-mix(in srgb, var(--carthrottle) 10%, var(--white-ex));
}
.home-brands .items .item.carthrottle:hover {
  background-color: var(--white-ex);
}


.home-brands .items .item.crash {
  background-color: color-mix(in srgb, var(--crash) 10%, var(--white-ex));
}
.home-brands .items .item.crash:hover {
  background-color: var(--white-ex);
}

.home-brands .items .item.golfmagic {
  background-color: color-mix(in srgb, var(--golfmagic) 10%, var(--white-ex));
}
.home-brands .items .item.golfmagic:hover {
  background-color: var(--white-ex);
}

.home-brands .items .item.visordown {
  background-color: color-mix(in srgb, var(--visordown) 10%, var(--white-ex));
}
.home-brands .items .item.visordown:hover {
  background-color: var(--white-ex);
}

.home-brands .items .item.bikesport {
  background-color: color-mix(in srgb, var(--bikesport) 10%, var(--white-ex));
}
.home-brands .items .item.bikesport:hover {
  background-color: var(--white-ex);
}

@media screen and (min-width: 550px) {
  .home-brands .items .item {
    flex: 1 1 45%;
    max-width: calc(50% - var(--space));
  }

  .home-brands .items .item:first-child {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .home-brands .items .item:first-child .logo img {
    display: block;
    max-height: 120px;
    max-width: 240px;
    margin: 0 auto;
  }

}

.home-brands .items .item:last-child {
  margin: 0 auto;
}

.home-brands .text .line-1 {
  font-style: italic;
  font-size: calc(var(--title-font-size) - var(--space))
}

.home-brands .text .line-2 {
  color: var(--cmg);
}

.home-brands .items .item .image {
  width: 100%;
  height: 100%;
}

.home-brands .items .item .image img {
  opacity: 0.05;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: opacity 1s, transform 1s;
}

.home-brands .items .item:active .image img,
.home-brands .items .item:hover .image img {
  transform: scale(1.25);
  opacity: 0.125;
}

.home-brands .items .item .logo {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
}

.home-brands .items .item .logo img {
  display: block;
  max-height: 66px;
  max-width: 140px;
  margin: 0 auto;
}

.home-brands .items .item.bikesport .logo img,
.home-brands .items .item.carthrottle .logo img,
.home-brands .items .item.golfmagic .logo img {
  max-height: 66px;
  max-width: 180px;

  @media screen and (max-width: 900px) {
    max-height: 66px;
    max-width: 140px;
  }

  @media screen and (max-width: 550px) {
    max-height: 66px;
    max-width: 180px;
  }


}

.home-jobs {
  margin: calc(var(--space) * 4) auto;
}

.home-jobs .line-1 {
  font-style: italic;
  font-size: calc(var(--title-font-size) - var(--space))
}

.home-jobs .line-2 {
  color: var(--cmg);
}

.about a,
.about a:hover,
.about a:active {
  color: var(--cmg);
  text-decoration: underline;
  font-weight: 400;
}

.about td {
  padding: var(--space);
}

.map,
.about .location iframe {
  width: 100%;
  height: unset;
  aspect-ratio: 4/3;
}

.brands .item {
  border: 4px solid black;
  border-radius: 8px;
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.25);
  padding: calc(var(--space) * 2);
  background-color: var(--white-ex);
}

.brands .item .info {
  background-color: transparent;
}

.brands .item.carthrottle {
  border-color: var(--carthrottle);
}

.brands .item.crash {
  border-color: var(--crash);
}

.brands .item.golfmagic {
  border-color: var(--golfmagic);
}

.brands .item.visordown {
  border-color: var(--visordown);
}

.brands .item.bikesport {
  border-color: var(--bikesport);
}

.brands .item .logo {
  margin-bottom: calc(var(--space) * 2);
}

.brands .item .logo img {
  display: block;
  max-height: 50px;
  max-width: 100%;
  width: auto;
  margin: 0 auto;
}

.brands .item {
  flex-direction: column;
  margin: calc(var(--space) * 4) 0;
}

.brands .item .image {
  flex: 0 0 40%;
}

.brands .item .image img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
}

.brands .item .panel {
  color: var(--text-color);
}

@media screen and (min-width: 729px) {
  .brands .item {
    flex-direction: row;
  }

  .brands .item .image {
    flex: 0 0 40%;
  }
}

@media screen and (max-width: 550px) {
  .brands .item .grid button {
    flex: 0 0 100%;
  }
}

.footer {
  background: black;
  font-size: calc(var(--font-size) - 2px);
  color: var(--white-ex);
  padding: calc(var(--space) * 4) 0;
}

.footer img {
  max-width: 110px;
  height: auto;
}

.footer div {
  margin-bottom: calc(var(--space) * 0.25);
}

.footer a,
.footer a:hover,
.footer a:visited {
  color: var(--white-ex);
  text-decoration: none;
}

.footer .date {
  text-align: right;
}

@media (max-width: 640px) {
  .footer .date {
    text-align: center;
  }
}

#contact input[type="text"],
#contact input[type="email"] {
  width: 100%;
  border: 4px solid #d8d8d8;
  border-radius: 8px;
  padding: var(--space) calc(var(--space) * 2);
  font-family: var(--default-font-family);
  line-height: var(--line-height);
}

#contact select {
  width: 100%;
  border: 4px solid #c8c8c8;
  border-radius: 8px;
  padding: var(--space) calc(var(--space) * 2);
  font-family: var(--default-font-family);
  line-height: var(--line-height);
}

#contact textarea {
  width: 100%;
  border: 4px solid #c8c8c8;
  border-radius: 8px;
  padding: var(--space) calc(var(--space) * 2);
  font-family: var(--default-font-family);
  line-height: var(--line-height);
}

#contact .error {
  border-color: var(--cmg) !important;
}

#contact .btn {
  padding: calc(var(--space) * 1.5);
  width: 100%;
}

#contact .btn.disabled {
  background-color: #c8c8c8;
  border-color: #c8c8c8;
}

.job-container {
  gap: calc(var(--space) * 2);
  margin: calc(var(--space) * 2) 0;
}

.job-panel {
  display: flex;
  flex-direction: column;
  height: auto;
  border: 4px solid;
  position: relative;
  color: var(--text-color);
  border-radius: var(--space);
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.25);
  padding: calc(var(--space) * 4) calc(var(--space) * 2) calc(var(--space) * 2) calc(var(--space) * 2);
}

.job-panel.bikesport {
  border-color: var(--bikesport);
  background-color: color-mix(in srgb, var(--bikesport) 10%, var(--white-ex) 90%);
}

.job-panel.carthrottle {
  border-color: var(--carthrottle);
  background-color: color-mix(in srgb, var(--carthrottle) 10%, var(--white-ex) 90%);
}

.job-panel.cmg {
  border-color: var(--crash);
}

.job-panel.crash {
  border-color: var(--crash);
  background-color: color-mix(in srgb, var(--crash) 10%, var(--white-ex) 90%);
}

.job-panel.golfmagic {
  border-color: var(--golfmagic);
  background-color: color-mix(in srgb, var(--golfmagic) 10%, var(--white-ex) 90%);
}

.job-panel.visordown {
  border-color: var(--visordown);
  background-color: color-mix(in srgb, var(--visordown) 10%, var(--white-ex) 90%);
}

.job-panel .sub.title {
  font-size: calc(var(--font-size) + var(--space));
  line-height: calc(var(--font-size) + var(--space) + 4px);
}

.job-panel .logo {
  position: absolute;
  top: 0;
  right: 0;
  padding: calc(var(--space)) calc(var(--space) * 2);
  max-height: calc(34px + var(--space));
  height: 50px;
}

.job-panel.bikesport .logo {
  max-height: 34px;
}

.job-panel.cmg .logo {
  max-height: 34px;
}

.job-panel.carthrottle .logo {
  max-height: 34px;
}

.job-panel.crash .logo {
  max-height: 36px;
}

.job-panel.golfmagic .logo {
  border-color: var(--golfmagic);
}

.job-panel.visordown .logo {
  border-color: var(--visordown);
}

.job-panel .logo img {
  display: block;
  max-height: 44px;
  height: 100%;
  width: auto;
}

.job-panel .button {
  margin-top: auto;
}

@media (max-width: 768px) {
  .about-extra .contact {
    flex: 0 0 100%;
  }
}

@media (max-width: 550px) {
  .site-info .text {
    flex: 0 0 100%;
  }

}

.ad_format {
  background-color: var(--white-ex);
  border: 4px solid var(--cmg);
  border-radius: var(--space);
  padding: calc(var(--space) * 2);
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.25);
  margin: calc(var(--space) * 2) 0;
}

.ad_format .grid {
  align-items: baseline;
}

.ad_format .grid-2 .ad-info {
  flex: 0 0 100%;
}

@media (max-width: 768px) {
  .ad_format .format-header {
    column-gap: calc(var(--space) * 2);
    /* flex-direction: row-reverse; */
  }

  .ad_format .format-header .icons {
    flex: 0 0 fit-content;
  }

  .ad_format .format-header h2 {
    flex: 1 1 calc(100% - 75px);
  }
}

@media (max-width: 768px) {
  .ad_format .grid-2 .ad-action {
    flex: 0 0 100%;
  }
}

.ad_format h2 {
  margin: 0;
}

.ad_format .icons {
  text-align: right;
}

.ad_format .icons img {
  width: auto;
  height: 24px;
}

.ad_format .user-input {
  text-align: right;
}
