/* 1. Use a more-intuitive box-sizing model */
*, *::before, *::after {
  box-sizing: border-box;
}

/* 2. Remove default margin */
* {
  margin: 0;
}

/* 3. Enable keyword animations */
@media (prefers-reduced-motion: no-preference) {
  html {
    interpolate-size: allow-keywords;
  }
}

body {
  /* 4. Add accessible line-height */
  line-height: 1.5;
  /* 5. Improve text rendering */
  -webkit-font-smoothing: antialiased;
}

/* 6. Improve media defaults */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

/* 7. Inherit fonts for form controls */
input, button, textarea, select {
  font: inherit;
}

/* 8. Avoid text overflows */
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

/* 9. Improve line wrapping */
p {
  text-wrap: pretty;
}
h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
}

/*
  10. Create a root stacking context
*/
#root, #__next {
  isolation: isolate;
}

@font-face {
  font-family: HKGrotesk-Bold;
  src: url('/GAIS Typografi/HK Grotesk/HKGrotesk-Bold.otf') format('opentype');
}

body {
  color: white;
  background: black;
  height: 96vh;
}

div {
  margin-bottom: .2rem;
}

.wrap {
  position: relative;
  /* height: 96dvh;
  margin: 2rem; */
  height: 100%;
  margin: 1rem;
}
.wrap:before {
  background-image: url('/Logotyper/Alternativ logotyp/RGB/PNG/GAIS-alt_vit_RGB.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: 50% 0;
  background-blend-mode:soft-light;
  height: 100%;
  width: 100%;
  content: ' ';
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  opacity: 0.1;
}

a {
  color: white;
}

.container {
  width: 100%;
  display: flex;
  flex-direction:row;
}

.matches {
  width: 50%;
}

.squads {
  display: grid;
  grid-template-columns: auto auto auto auto;
  row-gap: 1rem;
}

.teamname {
  font-family: HKGrotesk-Bold;
  font-size: 64px;
  align-self: center;
}

.playersubs {
  display: grid;
  grid-template-columns: auto auto;
  /* grid-template-rows: auto auto auto auto auto; */
  /* flex-direction: row;
  columns: 2; */

  /* container-type: inline-size; */
  height: 100%;
}
.out, .in {
  font-family: HKGrotesk-Bold;
  font-size: 1.8rem;
  /* width: 50%; */
  align-self: center;
  /* flex: 1 1 auto; */
  /* font-size: clamp(1rem, -0.875rem + 8.333vw, 4rem); */
}
.out {
  background: linear-gradient(90deg,rgba(250, 0, 0, .5) 0%, rgba(3, 5, 2, 0) 100%);
  /* color: red; */
}
.in {
  text-align: right;
  /* color: green; */
  background: linear-gradient(270deg,rgba(0, 250, 0, .5) 0%, rgba(3, 5, 2, 0) 100%);
}
.content {
  display: flex;
  flex-direction: column;
  height: 100%;
  /* align-items: center; */
}

.title {
  font-family: HKGrotesk-Bold;
  font-size: clamp(3.5rem, 6vw + 1rem, 8rem);
  text-align: center;
}

.text {
  font-family: HKGrotesk-Bold;
  font-size: clamp(2rem, 3vw + 1rem, 6rem);
  text-align: center;
  line-height: 1;
}