#info{
    display: block; /*kolonne*/
    width: 90%; /*ikke 100% pga hovereffekt*/
    position: absolute;
    z-index: 8;
    line-height: 25px;
}

#info section{
    margin-top: 2rem;
    margin-left: 5%;
    
}

#info textarea{
    display: block;
    font-family: 'Interregular';
    font-size: 15px;
    margin-left: 1%;
    padding-left: 0.5%;
    height: 25px;
    background: transparent;
    border: none;
    border-bottom: 2px solid #835332;
}

#info a{
    text-decoration: none;
    color: black;
    font-family: 'Interregular';
    padding-left: 1.5%;
    font-size: 15px;
    display: block;
    
}
#info section a:hover, .indstillinger h2:hover{
    transition: transform 0.3s ease;
    transform: scale(1.03);
}

#info h2{
    font-size: 1.5rem;
}
.indstillinger h2{
    margin-left: -1.5%; /*Så den er på linje med h2 og ikke a links, trods det er et link*/
}

#info img{
    margin-left: 2%;
    width: 1%;
}

#persona{
    display: flex;
    width: 100%;
    position: absolute;
    margin-top: 20px;
}
#persona img{
    width: 30%;
    margin-left: 60%;
    margin-top: 5%;
}

#anbefalinger1{
    margin-top: 45%;
    position: relative;
}


/*Hjerteikoner over billeder*/
.hjerte{
    position: absolute;
    z-index: 0;
    width: 6%;
    margin-top: 19.6%;
    margin-left: 15%;
}





#anbefalinger1{ /*Fra forside .anbefalinger*/
    margin-top: 45%;
    width: 100%;
    display: flex;
    padding: 2rem;
    z-index: 8;
    margin-bottom: 10%;
}

#anbefalinger1 section h2{
    font-size: 1.5rem;
}

#anbefalinger1 div{
    display: flex;
}

#anbefalinger1 img{
    width: 100%;
    padding: 1rem;
}

.apil1, .apil{
    width: 10%;
    padding-top: 7.2rem;
}

.favorikort{
    flex-direction: column;
    text-align: center;
}

.favorikort:hover{
    transition: transform 0.3s ease;
    transform: scale(1.03);
}

#anbefalingsknap{
    display: none;
    border: #06550c solid 2px;
    border-radius: 15rem;
    justify-content: center;
}

#anbefalingsknap a{
    display: none;
    color: #06550c;
    text-decoration: none;
    padding: 1rem 1rem;
    font-family: 'InterRegular', sans-serif; 
    font-size: 13px;
    text-align: center;
    white-space: nowrap;
}




@media screen and (max-width:600px) {
    #info img{
        width: 3%;
    }

    #info section a:hover, .indstillinger h2:hover{
        transform: none;
        transition: none;
    }
    

   #anbefalinger1{
        flex-direction: column;
        margin-top: 32rem
    }

    .apil{
        display: none;
        width: 0%;
        height: 0%;
    }

    #anbefalingsknap{
        display: block;
        width: 40%;
        margin-left: 60%;
    }
    
    #anbefalingsknap a{
        display: block;
        align-items: center;
        text-align: center;
    }
    
    #container{
        overflow-x: auto;
        margin: 0;
        padding: 0;
        white-space: wrap;
        scroll-behavior: smooth;
        overflow-y: hidden;
        width: 100%;
        justify-content: space-evenly;
        scrollbar-color: #016b08 #ffffff;
    }

    
    .favorikort{
        width: 50%;
        flex: 0 0 auto;  
        padding-bottom: 5%;    
    }

    .favorikort img{
        width: 100%;
        height: 100%;
    }

    .favorikort:hover{
        transform: none;
        transition: none;
    }

    div .hjerte{
        display: none !important; /*Det ville ikke forsvide uden important. Hjerterne var ikke synlige, men der kom horisontal-scrollbar, som om de stadig var der. */
       
    }
}