
*,
*::before,
*::after {
    box-sizing: border-box;
}

@font-face {
    font-family: "Fredoka";
    src: url("../font/Fredoka-VariableFont_wdth,wght.woff2") format("woff2");
}

:root {
    scroll-behavior: smooth;
    font-family: "Fredoka", sans-serif;
    font-weight: 300 700;
}

header > nav > ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 1rem;
}

header nav a {
    display: block;
    padding: 0.75rem 1rem;
    background-color: oklch(0.908371 0.218278 121.1418);
    color: oklch(0.2393 0.0992 270.34);
    text-decoration: none;
    font-weight: bold;
}

.cards {
list-style: none;
margin: 0;
padding: 0;
display: flex;
flex-wrap: wrap;
gap: 2rem;
> li {
flex-basis: 18rem;
flex-grow: 1;
display: flex;
flex-direction: column;
position: relative;
border-radius: 0.5em;
overflow: hidden;
box-shadow:
0 0 0.2rem oklch(0 0 0 / 0.2),
0 0 2rem oklch(0 0 0 / 0.1);
transition: box-shadow 0.3s;
}
> li:hover {
box-shadow:
0 0 0.4rem oklch(0 0 0 / 0.4),
0 0 2rem oklch(0 0 0 / 0.2);
}
}
.cards img {
     width: 100%;
    height: 180px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.tekst {
    font-family: "Fredoka", sans-serif;
    max-width: 50rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    font-size: 1rem;
}

.tekst p {
    margin-bottom: 1.5625rem;
    text-align: justify;
}

body {
    margin: 0;
}

footer {
    border: none;
    border-top: 0.0625rem solid oklch(0 0 0);
    margin: 0;
}
