@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@900&display=swap");

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body {
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  line-height: 1.7;
  color: #333;
  background: #edf2f8;
}

footer {
  text-align: center;
}

.navbar {
  background: rgb(70, 116, 234);
  color: #fff;
}

ul {
  list-style-type: none;
}

.navbar .logo {
  font-size: 40px;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
}

.navbar a:hover {
  color: lightblue;
}

.navbar ul {
  display: flex;
}

.navbar li {
  margin-left: 20px;
}

.container {
  max-width: 960px;
  margin: 100px auto;
  padding: 10px;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, 1fr);
}

.kort__img {
  height: 50px;
  width: auto;
  border-radius: 50%;
  border: 2px solid #996ed9;
  margin-right: 10px;
}

.vaerktoej__img {
  height: 150px;
  width: auto;
  padding: 10px;
}

.vaerktoej_kort {
  background: #fff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;
  margin-bottom: 10px;
}

.vaerktoej_kort header {
  text-align: center;
}

.kort {
  background: #fff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;
  margin-bottom: 10px;
}

.kort a {
  text-decoration: none;
}

.kort__header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.kort__header h3 {
  font-size: 20px;
}

.kort__header p {
  opacity: 60%;
}

.kort__tekst {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 20px;
}

.kort--bg-lilla {
  background: hsl(263, 55%, 52%);
  color: #fff;
}

.kort--bg-groen {
  background: hsl(84, 75%, 46%);
}

.kort--bg-sort {
  background: black;
  color: white;
}

.kort--bg-gul {
  background: rgb(220, 220, 12);
}

.kort:nth-of-type(1) {
  grid-column: 1 / 2;
  grid-row: 1;
}

.kort:nth-of-type(2) {
  grid-column: 2 / 4;
  grid-row: 1;
}

.kort:nth-of-type(3) {
  grid-column: 4 / 5;
  grid-row: 1;
}

.kort:nth-of-type(4) {
  grid-column: 1 / 3;
  grid-row: 2;
}

.kort:nth-of-type(5) {
  grid-column: 3 / 5;
  grid-row: 2;
}

.hund__th {
  background: #fff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;
  margin-bottom: 10px;
}

.hund__container {
  display: flex;
  gap: 10px;
  max-width: 960px;
  margin: 100px auto;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .container {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .kort:nth-of-type(1) {
    grid-column: 1;
    grid-row: 1;
  }

  .kort:nth-of-type(2) {
    grid-column: 1;
    grid-row: 2;
  }

  .kort:nth-of-type(3) {
    grid-column: 1;
    grid-row: 3;
  }

  .kort:nth-of-type(4) {
    grid-column: 1;
    grid-row: 4;
  }

  .kort:nth-of-type(5) {
    grid-column: 1;
    grid-row: 5;
  }
}
