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

/* Header */
header {
    background-color: white;
}


.header-container {
    justify-content: space-between;
    display: flex;
}



/* Billeder i header */
.searchbar {
    width: 70px;
    height: 70px;
    
}

.fitlife-logo {
    width: 400px;
    
}

.abonner {
    width: 120px;
    height: 60px;
    
}


nav {
    background: white;
    position: sticky;
    top: 0;
    z-index: 1;
    box-shadow: 0px 6px 4px -4px rgb(48, 48, 48);
}


nav ul {
    margin: 0;
    padding: 0;
    text-align: center;
    white-space: nowrap;
}


nav li {
    font-size: 24px;
    display: inline-block;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    position: relative;
}

nav li a {
    padding: 5px 5px;
    display: inline-block;
    text-decoration: none;
    color: rgb(48, 48, 48);
}


.dropdown-content {
    position: absolute;
    display: none;
    min-width: 160px;
    background-color: white;
    box-shadow: 0px 8px 16px rgb(48, 48, 48);
    z-index: 1;
    padding: 0;
    border-radius: 5px;
}

nav li:hover > .dropdown-content {
    display: block;
}

.dropdown-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown-content li {
    display: block;
    text-align: left;
}

.dropdown-content li a {
    padding: 10px 15px;
    text-decoration: none;
    color: black;
    display: block;
    background-color: transparent;
}

.dropdown-content li a:hover {
    background-color:  rgb(194, 222, 236)
}



/* Forside */

.forside-billede {
    width: 500px;
    height: auto;
    display: block;
    margin: 20px auto;
}


.seneste {
    float: right;
    width: 200px; 
    margin-right: 125px; 
    margin-top: -260px; 

}


.text-container {
    max-width: 800px;
    margin: 20px auto; 
    text-align: justify;
    padding: 0 150px;
    line-height: 1.5rem;
}

/* Seneste tekst/liste */

.seneste h2 {
    font-size: 32px; 
    font-weight: bold; 
}

.seneste ul li {
    font-size: 20px; 
    margin-bottom: 20px; 
}

.seneste ul li a {
    text-decoration: none; 
    color: #000000; 
}


/* Drikkevare artikel */

.smoothie {
    width: 500px;
    height: auto;
    display: block;
    margin: 20px auto;
}

.content-container {
    max-width: 800px;  /* Indstil den maksimale bredde på indholdet */
    margin: 0 auto;    /* Centrerer containeren */
    padding: 0 20px;   /* Tilføjer indvendig afstand på venstre og højre */
}

h1, h2, p {
    text-align: left;  /* Justerer teksten til venstre for en mere ensartet margen */
    margin: 0;         /* Fjerner standard margen fra overskrifter og afsnit */
    padding: 10px 0;   /* Tilføjer en vertikal afstand mellem afsnit og overskrifter */
}

/* Gør det til en sektion */
.section {
    margin-bottom: 20px; /* Giver plads mellem sektionerne */
}


/* mealprep */

.content-container {
    max-width: 800px;  
    margin: auto;    
    padding: 20px;     
}

.mealprep-image {
    width: 100%;       
    height: auto;      
    margin-bottom: 20px; 
}

h1, h2, h3, p {
    
    text-align: left;  
    line-height: 1.5rem;
}
    
h1 {
    margin: 20px; 
    margin-top: 20px; 
    line-height: 1.5rem;
}

ul {
    
    margin-left: 20px; 
    line-height: 1.5rem;
}




/* Footer */ 

footer {
    background-color: white;
    padding: 0; 
    margin: 0; 
}


.footer-container {
    display: flex;
    flex-direction: column; 
    align-items: center; 
    padding: 20px 0; 
}


.fitlife-logo-footer {
    max-width: 200px;
    margin-bottom: 20px; 
}


.footer-social-icons {
    display: flex; 
    justify-content: center; 
    margin: 0; 
}


.footer-social-icons img {
    display: block; 
    max-width: 40px; 
    margin: 0 10px; 
}

















