html {
  overflow-x: hidden;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background: whitesmoke;
  overflow-x: hidden;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
}
.text-center {
  text-align: center;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  justify-content: center;
  gap: 64px;
}

.img-responsive {
  width: 100%;
  display: block;
}

.img-responsive:hover {
  filter: grayscale(100%);
}

.grid-2-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-content: center;
  gap: 64px;
}

.grid-3-columns {
  grid-template-columns: 1fr 1fr 1fr;
  display: grid;
  gap: 64px;
}

.grid-3-columns-with-first-narrow {
  grid-template-columns: repeat(3, 1fr);
  display: grid;
  gap: 64px;
}

.embed {
  width: 100%;
  aspect-ratio: 1/1;
}

.instagram-embeds {
  margin: 30px 0;
}

.card {
  background: white;
  margin: 30px 0;
  padding: 20px;
  box-sizing: border-box;
}

.card-header.grid {
  gap: 0;
}

.card-body {
  padding: 30px;
}

.card-footer {
  padding: 30px;
}

.btn {
  display: block;
  color: white;
  background-color: #462cb3;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 10px;
}

section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 20px;
  box-sizing: border-box;
}

section.secondary {
  background: #f8f8f8;
}

section,
.card-body,
.card-footer {
  text-align: center;
}

header {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)),
    url("../images/Osloheader.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  color: white;
  text-align: center;
  padding: 200px 0;
}

header h1 {
  font-weight: 700;
  font-size: 96px;
  line-height: 1;
  margin: 0;
}

header h2 {
  font-weight: 400;
  font-size: 40px;
  line-height: 1.5;
  margin: 30px 0;
}

header h3 {
  font-weight: 900;
  font-size: 24px;
  line-height: 1.5;
  letter-spacing: 5px;
  margin: 0;
}

header a {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  letter-spacing: 3px;
  text-transform: uppercase;
  background: white;
  text-decoration: none;
  color: #272044;
  padding: 16px 32px;
  margin-top: 32px;
  display: inline-block;
}

main {
  background-color: white;
}

main h2 {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;

  letter-spacing: 5px;
  color: #272044;
  opacity: 0.3;
  text-transform: uppercase;
}

main h3 {
  font-weight: 700;
  font-size: 40px;
  line-height: 1.2;
  color: #272044;
}

main h4 {
  font-weight: 700;
  font-size: 24px;
  line-height: 1;
  color: #272044;
  margin: 0;
}

main h5 {
  font-weight: 700;
  font-size: 24px;
  line-height: 1;
  color: #272044;
  margin: 0;
}

main p {
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: #272044;
  opacity: 0.7;
}

footer {
  color: white;
  background-image: linear-gradient(
      rgba(39, 32, 68, 0.9),
      rgba(39, 32, 68, 0.9)
    ),
    url("../images/oslofooter.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  padding: 100px 0;
  text-align: center;
}

footer h3 {
  font-weight: 700;
  font-size: 20px;
  line-height: 30px;
  opacity: 0.9;
}

footer p {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;

  opacity: 0.7;
}

footer ul {
  padding: 0;
}
footer li {
  list-style: none;
  margin: 0;
  padding: 0;
}

footer a {
  color: white;
  opacity: 0.7;
}

.table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin-top: 30px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  font-family: "Poppins", sans-serif;
}

th,
td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

thead {
  background-color: #f8f8f8;
  font-weight: 700;
  color: #272044;
}

tbody td {
  color: #272044;
  opacity: 0.7;
}

@media (max-width: 960px) {
  header {
    padding: 40px 20px;
    background-position: center;
  }

  .container {
    padding: 0 16px;
  }

  header h1 {
    font-size: 28px;
    line-height: 1.1;
  }

  header h2 {
    font-size: 16px;
    line-height: 1.4;
  }

  header h3 {
    font-size: 10px;
    letter-spacing: 1px;
  }

  header a {
    font-size: 12px;
    padding: 10px 20px;
    margin-top: 16px;
  }

  section {
    padding: 30px 16px;
  }

  .card,
  .card-body,
  .card-footer {
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
  }

  .grid-2-columns,
  .grid-3-columns,
  .grid-3-columns-with-first-narrow {
    grid-template-columns: 1fr;
  }

  .card-header.grid.grid-2-columns {
    grid-template-columns: 1fr;
  }

  .card-body,
  .card-footer {
    padding: 20px;
  }

  .embed {
    aspect-ratio: 16/9;
  }
}
