
::selection {
  color: var(--orange)!important;
  -webkit-text-fill-color:  var(--orange);
  text-decoration-color: none;
  -webkit-background-clip: border-box;
}

/* reset.css -----------------*/

html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -ms-overflow-style: scrollbar;
  -webkit-tap-highlight-color: transparent
}

@-ms-viewport {
  width: device-width
}

article,
aside,
dialog,
figcaption,
figure,
footer,
header,
main,
nav,
section {
  display: block
}

[tabindex="-1"]:focus {
  outline: 0 !important
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible
}

img {
  vertical-align: middle;
  border-style: none;
  width:100%;
}


textarea {
  overflow: auto;
  resize: vertical
}

[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto
}

[hidden] {
  display: none !important
}

.hidden {
  display: none !important
}

/* -----------------*/

/*
  Josh's Custom CSS Reset
  https:www.joshwcomeau.com/css/custom-css-reset/
*/
*, *::before, *::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
html, body {
  height: 100%;
}
body {
  line-height: 1.5;
}
/* Extra:*/
* {
  line-height: calc(1em + 0.5rem);
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}
input, button, textarea, select {
  font: inherit;
}
p, h1, h2, h3, h4, h5, h6, a {
  overflow-wrap: break-word;
  word-break: break-word;
}
a {
  overflow-wrap: break-word;
/* word-break: break-all;*/
}
#root, #__next {
  isolation: isolate;
}

* {
  /*outline: 1px solid hsl(0 50% 50% / .3);*/
}

:root {
  --font-size: clamp(0.8em, 0.8em + 1vw, 1.2em);
  --orange: oklch(80% 58% 54 / 1);
  --radius: 1.5em;
  --abstand: clamp(.5em, .5em + 5vw, 1.5em);
}

body {
  font-family: "Radio Canada", sans-serif;
  font-feature-settings: "ss02" on;
  font-feature-settings: "ss03" on;
  font-weight: 350;
  font-size: var(--font-size);
  font-style: normal;
  background: oklch(100% 0% 0 / 1);
  color: oklch(0% 0% 0 / 1);
}

.page {
  display: grid;
  min-width: 100%;
  min-height: 100%;
  grid-template-columns: 1fr clamp(15rem, 80%, 26rem) 1fr;
  grid-template-rows: 1fr min-content 2fr;
  grid-gap: 1em 1em;
}

.logo {
  grid-column: 2 / 3; 
  grid-row: 2 / 3;
  .adresse {
    margin-block: 1em;
    text-align: left;
    margin-inline: auto;
  }
}

p {
  margin-block-end: 1.3em;
  text-wrap: balance;
}

.text {
  margin-block: clamp(var(--abstand), 5vh, calc(var(--abstand) * 2));
}

.Kubus {
  min-width: 100%;
  aspect-ratio: 1;
  background: var(--orange);
  border-radius: var(--radius);
  padding: var(--abstand);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  h1 {
    font-weight: 300;
    text-transform: lowercase;
    line-height: .7em;
    font-size: clamp(1em, 1em + 5vw, 3em);
    span {
      color: white;
    }
  }
  p {
    text-transform: uppercase;
    letter-spacing: .05em;
    font-size: calc(.65 * var(--font-size));
  }
}

a {
  text-decoration: none;
  color: var(--orange);
  &:hover {
    color: oklch(50% 90% 200 / 1);
  }
}