body {
    font-family: "Red Hat Text", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #FAF8F6;
}

header {
    background: #254234;
    color: #FAF8F6;
    padding: 10px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

hr {
    margin-top: 1.5rem;
    width: 100%;
    color: #254234;
}

footer {
    background: #254234;
    padding: 30px 15px 30px 15px;
    color: #FAF8F6;
    margin-top: 1rem;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: space-between;
    align-items: end;
}

.kontaktinfo {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

#kontaktinfoHeader {
    margin: 0;
}

#adresse {
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
}

.kontaktinfoLink {
    color: #FAF8F6;
}

.fjernMargin {
    margin: 0;
}

.logo {
    display: flex;
    flex-direction: row;
    gap: 10px;
}
.logo img{
    width: 48px;
    rotate: -15deg;
}
.logo-text {
    display: flex;
    flex-direction: column;
    font-size: 3rem;
    padding-top: 10px;
}
.logo-text p {
    margin: 0;
    padding-top: 6px;

}
#first {
    margin-left: -10px;
    margin-bottom: -10px;
}
#second {
    padding-left: 10px;
}
#slogan {
    font-size: 2rem;
    text-align: center;
}

{box-sizing:border-box}

#infotekst {
    max-width: 820px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

#kjøpslink {
    color: #254234;
}

.produkt {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1rem;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.produktbeskrivelse {
    max-width: 350px;
}

.slideshow-container {
    max-width: 350px;
}

.produktbilde {
    width: 100%;
}

.produktbilder {
    display: none;
}

#knapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.prev, .next {
    background: #254234;
    cursor: pointer;
    width: auto;
    padding: 8px 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 3px;
    user-select: none;
}

.prev:hover, .next:hover {
    background-color: #26201A;
}

.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 2px;
    background-color: #ADA8A2;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active, .dot:hover {
    background-color: #5C554F;
}

.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}

@media (max-width: 800px) {
    header {
        gap: 0.5rem;
        flex-direction: column;
    }
    .logo-text {
        font-size: 2rem;
    }
    .logo img{
        width: 36px;
    }
    #slogan {
        margin: 0;
        font-size: 1.25rem;
    }
    .kjøpsinfo, .bakgrunn {
        max-width: 350px;
        padding: 0 1.5rem;
    }
    .produkt {
        max-width: 350px;
        padding: 0 1.5rem;
    }
    .copyright {
        text-align: center;
        width: 100%;
    }
}