/* Robot Font */
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

:root {
  --white: #dddddd;
  --light-gray: #cacaca;
  --dark-red: #660000;
  --main-red: #b90808;
  --dark-gray: #383838;
  --black: #101010;
  --main-bg: #5c5c5c;
  --button-bg: #00000015;
  --head-foot-border: solid 2px var(--main-red);
  --head-foot-shadow: #000 0 0 20px;
  --head-foot-height: 64px;
  --head-foot-gradient: linear-gradient(
    to right,
    var(--dark-gray),
    var(--main-bg) 10% 90%,
    var(--dark-gray)
  );
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  background-color: var(--main-bg);
  overflow-x: hidden;
  display: flex;
  min-height: 100%;
}

html,
a {
  font-family: "roboto", sans-serif;
  color: var(--white);
  transition: 0.2s;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  background-blend-mode: overlay;
  background-color: #444;
  background-image: url(https://scontent-cph2-1.xx.fbcdn.net/v/t1.6435-9/44789879_10161033587150611_5745558149075566592_n.jpg?_nc_cat=103&ccb=1-7&_nc_sid=833d8c&_nc_ohc=yZBsQ5oRRMYQ7kNvwGHQsz7&_nc_oc=Adk8XbHmMBYh5s749XGONgrwmFn7ui1X44C3HTeZtJLdod8_UmWG3X8AUPRJye7wOpc&_nc_zt=23&_nc_ht=scontent-cph2-1.xx&_nc_gid=dYuZ71k3fHM0uxvqpNZ0nQ&oh=00_AfHQ8akVK8s2Dv1p58rrD66HRgf5wKmWX6orhbG7OEXc4g&oe=6836CBF3);
  background-size: 100% auto;
  background-attachment: fixed;
  background-position: center;
}

.maxwidth {
  max-width: 1200px;
  width: 100%;
}
.main-wrapper {
  background-color: var(--main-bg);
  flex: 1 1 auto;
  width: 100%;
  display: flex;
  padding: var(--head-foot-height) 0;
}
.main-content {
  padding: 2rem;
  font-weight: 500;
  width: 100%;
}

.cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  max-height: 100%;
  max-width: 100%;
  height: 100%;
}

.card {
  aspect-ratio: 2/3;
  max-width: 50%;
}

.card a {
  display: block;
  position: relative;
  height: 100%;
  width: 100%;
  max-height: 100%;
  max-width: 100%;
  background-size: contain;
  background-repeat: no-repeat;
}
a#reservedele {
  background-image: url(/img/reservedele-kort.png);
}
a#daek-og-faelge {
  background-image: url(/img/daek-og-faelge.png);
}

.card h1 {
  display: inline-block;
  position: absolute;
  left: 50%;
  top: 0;
  translate: -50% 0;

  text-align: center;
  font-size: 26px;
  padding: 0.5rem 2rem;
  background-color: var(--main-red);
  clip-path: polygon(0 0, 2rem 100%, calc(100% - 2rem) 100%, 100% 0);
}

/* Media Queries */
@media screen and (max-width: 1300px) {
}

@media screen and (max-width: 1200px) {
}

@media screen and (max-width: 900px) {
  .main-content {
    flex-direction: column;
    justify-content: flex-start;
  }
}

@media screen and (max-width: 600px) {
}

@media screen and (max-width: 400px) {
}

@media (orientation: portrait) {
  .cards {
    flex-direction: column;
  }
  .card {
    max-width: 100%;
  }
}
