body{

    /* background-image: url(images/menu-baggrund.jpg); */
    background-image: url(images/kande-baggrund-brun-mork.jpg);
    /* background-size: contain; */
    
}

#overlay{ /*Sort baggrundsfarve/overlay med 0.5 transparens*/
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgb(0, 0, 0, 0.4);
    z-index: 0;
    top: 0;
       
}

/*--------------------------------sprog toggle feature-------------------------------*/

/* Kasse rundt om slider */
.sprog-kasse {
    display: flex;
    align-items: center;
    gap: 8px;

    width: 100%;
    position: relative;
} 

.toggle {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    
    top: 7rem;
    right: 2rem;
    z-index: 90; /*ligger øverst så den heletiden er klikbar*/
} 

.toggle input {
    display: none;
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: relative;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #F9EFE1;
    transition: .4s;

    width: 60px;
    height: 34px;
    
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: #77864c;
    transition: .4s;
}

input:checked + .slider {
    background-color: #b1c081;
}

input:checked + .slider:before {
    transform: translateX(26px);
}


.lang {
    font-size: 14px;
    color: #ffffff;
    font-family: 'roboto', sans-serif;
}

/* Rundede slider */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}


/*--------------------------------DROPDOWN FEATURE-------------------------------*/



.dropdown{
    position: relative;
    z-index: 2;
    margin-top: 10%;
}


.dropdown h1{
    margin-bottom: 4%;
    text-align: center;
    color: white;
    font-family: 'roboto', sans-serif;

}

.dropdown h3, #sodetandh3{
    font-size: 1.5rem;
    margin-top: 5%;
    font-weight: 300;
    font-family: 'roboto', sans-serif;
}

#sodetandh3{
    font-size: 1rem;
}

.bolletekst{
    margin-bottom: 3%;
    font-size: 1rem;

}

.drikindhold, .olindhold, .menuindhold,.julindhold{
  color: white;
  display: none;
  width: 70%;
  margin: auto;
  justify-content: space-between;
  gap: 5%;
  flex-wrap: wrap;
}

.drik{
    flex: 1 1 45%;
    width: 50%;
    line-height: 2rem;
    padding-bottom: 5%;
}  

                                            
.linje {
    display: flex;
    align-items: baseline;
}

.navn{
    font-size: 1.3rem;
}

.lilletekst{
    font-size: 0.9rem;
}

.dots {
    flex: 1;                                
    border-bottom: 2px dotted #bba14f;
    margin: 0 8px;
}
                                            

.drik h2{
    font-family: 'roboto', sans-serif;
    margin: 5% 0;
}

.drikindhold.show, .olindhold.show, .menuindhold.show, .julindhold.show{
  display: flex;
  
}

button{
  border-top: #bba14f solid 2px;
  border-bottom: #bba14f solid 2px;
  width: 40%;
  margin: auto;
  padding: 1% 0% 0.5% 0%;
  text-align: center;
  justify-content: center;
  margin-bottom: 2%;
  display: flex;
  gap: 4%;
  color: white;
  font-weight: 300;
  font-size: 2rem;
  cursor: pointer;

  /*Generelle regler for <button> i HTML*/
  background-color: transparent;
  border-left: none;
  border-right: none;
}


/*Pil transition*/
.dropbtn img{
  transition: transform 0.3s ease;
}

.dropbtn.active img {
  transform: rotate(180deg);
}

/*--------------------------------------------------------------------------------------------------------------------*/


/*Nyheder sektion*/
#nyheder{
    margin: 10% auto;
    width: 100%;
    color: white;
    position: relative;
    z-index: 2;
    align-items: center;
    overflow: auto;
    white-space: nowrap;
}

#nyheder h2{
    margin: 1% 2%;
}

#nyhederindhold{
   width: 100%;
   display: flex;
   gap: 2rem;
   
   overflow-x: hidden;
   overflow-y: hidden;
}

#nyheder-container{
    display: flex;
    background-color: #b08968;
}

.pil{
    width: 2.5%;
    cursor: pointer;
}

.nyhedsprodukter{
    padding: 1%;

    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: 23%;
    
}
.nyhedsprodukter img{
    width: 100%;
    aspect-ratio: 1 / 1; 
    object-fit: cover;
    display: inline-block;
    border-radius: 5%;
    
} 


/*------------TIL MOBIL------------------*/

@media screen and (max-width: 600px) {

    .dropdown{
        margin-top: 45%;
    }

    .dropdown h1{
        margin-top: 40%;
    }

    .dropbtn{
        width: 80%;
        margin: 5% auto;

    }

    .drikindhold, .olindhold, .menuindhold, .julindhold{
        display: none;
        width: 85%;
    }

    .navn, .pris{
        font-size: 1rem;
    }

    .drik{
        margin-bottom: 10%;
        width: 100%;
        margin: 10% 0;
    }

    .drikindhold.show, .olindhold.show, .menuindhold.show,.julindhold.show {
        display: block;
    }

    #nyhederindhold{
        gap: 1rem;
        padding: 3%
    }
    .nyhedsprodukter{
        flex-basis: 48%;
    }

    .pil{
        width: 8%;
    }

    .slider {
        width: 55px;
        height: 30px;
    }

    .slider:before {
    height: 24px;
    width: 24px;
}

    input:checked + .slider:before {
    transform: translateX(24px);
}

}


@media screen and (min-width: 601px) and (max-width:1000px){
    .dropdown{
        margin-top: 20%;
    }
}
