body, html {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

hr {
    margin: 0;
}

* {
    font-family: 'Mukta', sans-serif;
    text-decoration: none;
    user-select: none;
    color: #2D2A28;
}

a {
    cursor: pointer;
}

.content {
    min-height: 100vh;
    width: 100vw;
    align-self: center;
    display: flex;
    flex-direction: column;
    /* background-color: #2D2A28; */
    min-height: 90vh;
    /* border-top: 5px solid rgba(0, 0, 0, 0.2); */
}

input[type="radio"] {
    border: 0px;
    width: 100%;
    height: 3vh;
    margin: 0;
}

.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.5vh;
    width: 100vw;
    border-top: 1px solid darkgray;
    background-color: white;
    height: 6vh; 
    z-index: 1;  
}

.footer * {
    color: black;
}

.footer p{
    margin: 0;
}

.footer img {
    width: 1vh;
}

#hus-hytter-fremvisning {
    z-index: 1;
    width: 100vw;
    display: flex;
    justify-content: center;
}

#hus-hytter-fremvisning div {
    width: 50vw;
    height: 25vw;
    background-size:contain;
    background-repeat: no-repeat;
    background-position: center;
    background-blend-mode: overlay;
    transition: all 0.2s ease-in-out;
}

#hus-hytter-fremvisning div:hover {
    background-color: rgba(0, 0, 0, 0.05);    
} 

#hus-hytter-overskrift {
    z-index: 1;
    height: 4.5vw;
    display: flex;
    justify-content:space-around;
    align-items: center;
    font-size: 2.5vw;
    font-weight: 200;
    background-color: rgba(0,0,0,0.6);
    margin-bottom: 3vw;
}

#hus-hytter-overskrift a {
    /* text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.5); */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8vw; /* litt luft mellom ikon og tekst */
    width: 100%;
    color: white;
    transition: all 0.1s ease-in-out;
}

#hus-hytter-overskrift a:hover {
    background-color: rgba(0, 0, 0, 0.05);   
    letter-spacing: 0.02em; 
} 


#hus-hytter-overskrift a img {
    /* box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.25); */
    border-radius: 100%;
    width: 2.5vw;
    height: 2.5vw;
}

.fade-out {
    opacity: 0;
}

.fade-inn {
    opacity: 1;
}

.hus-katergori-overskrift {
    margin: 2vw 0;
    font-size: 2.9vw;
    font-weight: 700;
    text-align: center;
}

.hus-kategori-wrapper { 
    padding: 0 2vw;
    margin: 0vw 2vw 10vw 2vw;
    display:flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap:wrap;
}

.hus-kategori {
    width: 20vw;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 3.5vw;
    /* box-shadow: 2px 2px 6px gray; */
    border-radius: 0.2vw;
    background-color: white;

}

.hus-bilde {
    width: 100%;
    height: 10vw;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.hus-navn {
    margin: 0.5vw 0;
    font-size: 1.5vw;
    text-align: center;
}

.info-text {
    padding: 2vw 4vw 8vw 4vw;
}

.info-text .info-title {
    font-size: 4vw;
    font-weight: 700;
    margin-bottom: 0;
}

.info-important {
    font-weight: 700;
}

.index-text-box {
    background-color: white;
    padding: 2vw 3vw;
    /* box-shadow: 3px 3px 7px 0px lightgray; */
    border-radius: 1vw;
    margin: 3vw;
}

.index-text-box .info-title {
    font-size: 3vw;
    font-weight: 700;
    margin-bottom: 0;
}

.smaller-info {
    width: 40vw;
}

.hus-header {
    font-size: 3.5vw;
    text-align:center;
    margin: 0;
    margin-top: 1vw;
    z-index: 1;
}

.gallery {
    width: 100vw;
    align-self: center;
}

.gallery-cell {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
    width: 66%;
    height: 30vw;
    margin-right: 10px;
    counter-increment: gallery-cell;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    transition: opacity 0.2s;
}

.gallery-cell.is-selected {
    opacity: 1;
}

.gallery-cell:before {
    display: block;
    text-align: center;
    line-height: 200px;
    font-size: 80px;
    color: white;
}

.flickity-page-dots .dot {
    background-color: white;
}

.hus-info {
    font-size: 1.8vw;
    font-weight: 500;
    max-width: 60vw;
    margin: 0 auto;
    padding: 5vw 0;
}

/* PHONE PHONE PHONE PHONE PHONE PHONE */

@media (max-width: 740px) {
    #hus-hytter-fremvisning {
        margin-top: 10vw;
    }
    .index-text-box .info-title {
        font-size: 7vw;
    }
    .index-text-box p {
        font-size: 3.5vw;
    }
    .hus-katergori-overskrift {
        font-size: 8vw;
    }
    .hus-kategori {
        width: 40vw;
    }
    .hus-bilde {
        height: 20vw;
    }
    .hus-navn {
        font-size: 3vw;
    }

    .gallery-cell {
        height: 50vw;
        width: 68%;
    }
    .gallery {
        width: 130vw;
    }
    .hus-header {
        font-size: 9vw;
    }
    .hus-info {
        margin-top: 5vw;
        font-size: 5vw;
        text-align: left;
        max-width: 80vw;
    }

}