
.lej-hero-info {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    color: white;
    height: auto;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    text-align: center;
    align-items: center;
    margin: auto;
}

.lej-hero-info h2{
    font-size: 4rem;
}

.lej-hero-info p{
    font-size: 2rem;
}


#lejikoner{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2%;
    padding-left: 15%;
    padding-right: 15%;

}

#lejikoner img{
    width: 15%;
}


/*Lej caféen afsnit*/
#lejfittyfitty{
    display: flex;
    width: 80%;
    margin: 8% auto;
    justify-content: center;
    gap: 5%;
}

.lejbilleder{
    width: 55%;
    display: flex;
    flex-wrap: wrap;
    row-gap: 1.2rem;
    column-gap: 3%;
}

.lejbilleder img{
    width: 45%;
    border-radius: 1.5rem;
    aspect-ratio: 6/5;
    object-fit: cover;
}

.lejfftekst{
    width: 32%;
}

.lejfftekst p{
    padding-top: 4%;
    font-size: 1.2rem;
    line-height: 2rem;
    font-family: 'roboto', sans-serif;
}


/*Praktisk information om lej caféen*/
#praktiskinfo-container{
    position: relative;
    background-image: url(images/kork-baggrund.jpg);
    text-align: center;
    padding: 3%;
    color: white;
    margin: auto;
    width: 80%;
}

.infoboks{
    display: flex;
    margin: 2% auto;
    width: 80%;
    justify-content: space-between;
}

.infovenstre, .infohojre{
    width: 100%;
    background-color: #f9efe1;
    border-radius: 2rem;
    margin: 2% 10%;
    padding: 2% 7%;
}

.infovenstre p, .infohojre p{
    border-bottom: #bba14f solid 2px;
    padding: 10%;
    color: black;
}
.vekstreg p{
    border-bottom: none;
}

/*Kontakt os afsnit*/

#kontakt-container{
    background-color: #B08968;
    border-radius: 2rem;
    padding: 3%;
    width: 60%;
    margin: 7% auto;
}

.kontaktboks{
    display: flex;
    width: 100%;
    margin: 5% 10%;
}

.kontaktlink a{
    text-decoration: none;
    color: white;
}

.kontaktlinje{
    display: flex;
    align-items: baseline;
    width: 90%;
}
.prikker{

    flex: 1;                                
    border-bottom: 3px dotted #000000;
    margin: 0 8px;
}


.kontaktinfo{
    width: 80%;
}

.kontaktinfo p{
    font-size: 1.5rem;
    line-height: 4rem;
}

.kontaktinfo p a{
    text-decoration: none;
    color: black;
}

.kontaktikoner{
    display: flex;
    flex-direction: column;
    width: 25%;
    gap: 1rem;
}

.kontaktikoner img{
    display: block;
    width: 25%;
} 

/*---------- TIL MOBIL ------------*/

@media screen and (max-width: 600px) {

    .lej-hero-info {
        margin-top: 2rem;
    }

    #lejikoner {
        width: 100%;
        margin: 2% auto 0 0;
        padding: 0.7rem 0.5rem;
        justify-content: space-between;
    }
    
    #lejikoner img {
        width: 20%;
        height: 20%;
    }

    #lejfittyfitty {
        width: 90%;
        height: 100%;    
        flex-direction: column;
    }

    .lejbilleder {
        width: 100%;
    }

    .lejbilleder img {
        width: 48%;
    }

    .lejfftekst {
        width: 100%;
        margin-top: 3rem;
        
    }

    /* PRAKTISK INFO BOKS */

    #praktiskinfo-container{
        padding: 1.5rem;
        width: 90%;

    }

    #praktiskinfo-container h2{
        margin: 1rem auto;
        font-size: 2rem;
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .infoboks{
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
    }

    .infovenstre, .infohojre {
        padding: 0;
        margin: auto;
        padding-bottom: 3%;
    }

    .infovenstre p, .infohojre p{
        padding: 5%;
        width: 60%;
        margin: auto;
    }

    /* KONTAKT OS AFSNIT */

    #kontakt-container{
        width: 89%;
        margin: 2rem auto 5rem;
        display: flex;
        flex-direction: column;
        padding-top: 1.5rem;
    }
    #kontakt-container h2{
        padding-left: 0.5rem;
    }

    .kontaktboks{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: auto;
        padding: 0.5rem;
        width: 100%;
    }

    .kontaktinfo{
        display: block;
        width: 100%;
        margin: auto;
        padding: 0;
    }

    .kontaktinfo p{
        font-size: 1.2rem;
        line-height: 2.6rem;
        display: flex;
        justify-content: space-between;
        margin: 0;
        width: 100%;
    }

    .kontaktikoner {
        display: flex;
        width: 100%;
        flex-direction: row;
        justify-content: center;
        margin: auto;
        padding-top: 2rem;
        gap: 2.5rem;
    }

    .kontaktikoner img{
        width: 50px;
        height: auto;
    }
}

/* TABLET STØRRELSE -----------------*/

@media screen and (min-width: 601px) and (max-width: 1000px) {

     #lejikoner {
        width: 90%;
        padding: 1rem 1rem;
        justify-content: space-evenly;
        margin: auto;
    }
    

    #lejfittyfitty{
        width: 90%;
        margin: 8% auto;
        justify-content: center;
        gap: 5%;
    }

    /* PRAKTISK INFO BOKS */

    #praktiskinfo-container{
        padding: 2.5rem;
        width: 85%;
    }

    .infoboks {
        width: 100%;
    }

    /* KONTAKT OS*/

    #kontakt-container{
            width: 75%;
    }

    .kontaktinfo p{
    font-size: 1.3rem;
    line-height: 3rem;
    }

    
}