@font-face {
  font-family: "Certegeska";
  src: url("../font/CertegeskaBase.ttf");
}

:root {
  --rood: rgb(251, 56, 56);
}

body {
  color: slategray;
  /* background-image: url("/background.png"); */
  padding: 10px;
  font-family: "Certegeska", monospace;
  font-size: 20px;
  letter-spacing: 0.05ch;
  line-height: 1.15;
  margin: auto;
  text-align: justify;
}

a {
  color: inherit;
  text-decoration-color: rgb(240, 49, 49);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: rgb(251, 56, 56);
  font-family: "Certegeska", monospace;
  font-size: 32px;
  letter-spacing: 0.15ch;
  text-transform: uppercase;
  font-weight: unset;
}

h1 {
  text-align: center;
  font-size: 60px;
  letter-spacing: 1.5ch;
  margin-bottom: 0;
}

h3 {
  margin-bottom: 0;
  font-size: 1.2em;
}

img {
  max-width: 100%;
  margin-top: 1em;
  border-radius: 5px;
}

.petanque-flex {
  display: flex;
  font-size: 0.8em;
}

section,
header {
  max-width: 600px;
  margin: 0 auto;
}

section.breed {
  max-width: 1300px;
}

/* hieronder zijn de nieuwe css regels
ik heb de html wat aangepast zodat we grid kunnen gebruiken */

/* het grid zelf (twee kolomen van elk 1 fractional unit (50%)) */
.twocolumns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 10px;
}

/* the sections met nieuwe class voor de grid cellen */
.oneOftwo {
  width: 100%;
  margin: 0px;
}

.oneOftwo:hover h3 {
  color: black;
}

@media (min-width: 1000px) {
  .forbackground {
    background-image: url("../media/3ballen1jackvoorwiki\ kopie.png");
    background-size: 100%;
    background-repeat: no-repeat;
  }
  .bg-img {
    display: none;
  }
}

/* een media query die de kolommen uitzet als het scherm kleiner
is dat 600px (de grootte van de originele section) */
@media (max-width: 600px) {
  .twocolumns {
    grid-template-columns: 1fr;
  }
}

.term-list {
  columns: 4;
  text-align: left;
  width: 80vw;
  margin-left: calc(-40vw + 45%);
  padding-top: 1.5em;
}

@media (max-width: 1000px) {
  .term-list {
    columns: 2;
  }
}

.term-list li {
  padding: 0;
  margin: 0;
  list-style-type: none;
  margin-bottom: 0.5em;
}

.term-list li strong {
  color: var(--rood);
  font-weight: 300;
}

.changingImage {
  width: 75%;
  margin-left: 12.5%;
}

.tellertje {
  width: 60%;
  margin-left: 20%;
}
