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

body {
    font-family: 'Montserrat', sans-serif;
}

.knap {
    flex: 1;
    width: 60vw;
    padding: 10px;
   margin-bottom: 10px;

    display: flex;              /* vigtigt */
    justify-content: center;
    align-items: center;

    text-align: center;
    border: 1px solid black;

    text-decoration: none;
    color: black;
}

a{
    text-decoration: none;
    color: black;
    font-weight: lighter;
}

.knap:hover {
    background-color: #6e3637;
    color: white;
}



section div{
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}


/*fonte*/

h1 {
    font-weight: lighter;
}

p { font-family: 'Montserrat', sans-serif; font-weight:lighter; font-size: 16px; }

#fed{
    font-weight: bold;
}

/*video*/

#video {
    width: 100vw;
    height: 90vh;
    background-color: #6e3637;
    display: flex;
    align-items: center;
    justify-content: center;
}

#video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*indhold*/

#tekstboks{
    width: 70vw;
    padding: 5%;
    text-align: justify;
}

.photo-stack {
    position: relative;
    width: 50vw; 
    height: 70vh;          
    margin: auto;
    margin-top: 10%;
    margin-bottom: 10%;
}

.photo-stack {
    position: relative;
    width: 50vw;
    height: 70vh;
    margin: 10% auto;
}

/* alle billeder synlige */
.stacked {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    box-shadow: 0 3px 5px rgba(0,0,0,0.05);

    transition: transform 0.1s ease;
}

/* Mobil responsiv */
@media (max-width: 768px) {
    .photo-stack {
        width: 90vw;
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .stacked {
        height: 100%;
    }
}




/*pageloader*/

#pageloader {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: white; /* så man ikke ser content bagved */
}


#pageloader img{
    width: 100%;
}

#et,
#to {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}


#content{
    display: none;
}

footer{
   padding: 5%;
   margin-top: 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #6e3637;
    color: white;
}

#content {
    display: none; 
}

/*responsiv*/

@media (max-width: 768px) {
    #video {
        width: auto;
        height: 50vh;
        margin: 0 auto;       
    }

#tekstboks{
    width: 90vw;
    padding-top: 10%;
}

.knap{
    width: 80vw;

}

p{
    font-size: 12pt;
}

footer p{
    font-size: 10pt;
}

#pageloader img{
    width: 80vw;
}
}