@import url('https://fonts.cdnfonts.com/css/avenir');

*{
    padding: 0;
    margin: 0;
}
body{
    background-color: #f0ede9;
}
h1{
    font-family: 'Avenir', sans-serif;
    text-align: center;
    font-size: 100px;  
    text-transform: uppercase;                                 
}
.kasseoverskrift h1{
    margin-top: 200px;
    font-family: 'Avenir', sans-serif;
    text-align: center;
    font-size: 60px;  
    text-transform: uppercase;
    letter-spacing: 5px;
}
h2{
    font-family: 'Avenir', sans-serif;
    text-align: center; 
    text-transform: uppercase;
    font-size: 20px; 
    letter-spacing: 15px;                             
}
.overskrift{
    margin-top: 50px;
}
.overskrift a{
    width: fit-content;
    position: absolute;
    left: 45%;
    margin-top: 4%;
    text-decoration: none;
    font-family: 'Avenir', sans-serif;
    text-transform: uppercase;
}
.toknapper{
    display: flex;
    justify-content: space-evenly;
    padding-top: 2%;
    width: 40%;
}


/*HOVER effekter*/
.roedknap:hover{
    border: #bc002d 1px solid;
    transition: 0.5s;
    background-color: transparent;
    color: #bc002d;
}
.roedknap a:hover{
    color: #bc002d;
}


/*----------------Herunder er til hover ved info, næring og menu*---------------/
/* Add a rounded black outline to the tabs upon hover and when selected */
.nav-link:hover,
.nav-link.active {
  border: 1px solid black;
  border-radius: 5px; /* Add rounded corners */
}

/* Style for the tab when it is selected */
.nav-link.active {
  background-color: #ccc; /* Change the background color when selected */
  color: #000; /* Change the text color when selected */
}
/* Initially hide all tab content */
.bokstekst {
    display: none;
  }
  
  /* Show the content of the tab when the tab is hovered */
  .nav-link:hover + .bokstekst {
    display: block;
  }
  
.bokstekst.active {
    display: block;
}
/* Style for the tab text */
.tab-text {
    position: relative;
    color: black; /* Set the text color */
    padding: 5px 15px; /* Adjust the padding to control space */
  }
  
  /* Add an upside-down U outline effect to the tab text */
  .tab-text::before,
  .tab-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: black;
    opacity: 0; /* Initially set opacity to 0 */
    transition: all 0.3s ease;
  }
  
  /* Adjust the space between the line and the tab text */
  .tab-text::before {
    left: -5px; /* Adjust as needed */
  }
  
  .tab-text::after {
    right: -5px; /* Adjust as needed */
  }
  
  /* Show the line with opacity when the tab is hovered */
  .nav-link:hover .tab-text::before,
  .nav-link:hover .tab-text::after {
    width: calc(100% + 10px); /* Adjust as needed */
    opacity: 1; /* Fade in with 0.3s transition on hover */
  }






/*Alt herunder hører til selve Header*/
header{
    width: 100%;
    background-color: #f0ede9;
    display: flex;
    border-bottom: solid 2px black;
}
.venstre{
    padding: 5px;
}
.logo{
    width: 150px;
    height: 50px;
}
.højre{
    display: flex;
    position: absolute;
    right: 5px;
    padding: 5px;
}
.brugerikon{
    width: 50px;
    height: 50px;
    margin-right: 5px;
}
.kurvikon{
    width: 50px;
    height: 50px;
}

/*Herunder er css til burgermenu*/
.hamburger{
    display: block;
    cursor: pointer;
    appearance: none;
    background: none;
    outline: none;
    border: none;
    width: 50px;
    height: 50px;
    z-index: 99;
}
.hamburger .bar, .hamburger:after, .hamburger:before{
    content: "";
    display: block;
    width: 100%;
    height: 5px;
    margin: 6px 0px;
    transition: 0.4s;
    background-color: #000;
}
.hamburger.is-active:before{
    transform: rotate(-45deg) translate(-8px, 6px);
}
.hamburger.is-active:after{
    transform: rotate(45deg) translate(-9px, -8px);
}
.hamburger.is-active .bar{
    opacity: 0;
}
.mobile-nav{
    display: block;
    position: fixed;
    top: 0;
    left: 100%;
    width: 100%;
    min-height: 100vh;
    z-index: 98;
    background-color: #f0ede9;
    padding-top: 120px;
    transition: 0.4s;
}
.mobile-nav.is-active{
    left: 0;

}
.mobile-nav a{
    display: block;
    margin: 0 auto 16px;
    width: 100%;
    max-width: 200px;
    text-align: center;
    margin-bottom: 16px;
    padding: 12px 16px;
    background-color: #dad1c6;
    color: #000;
    text-decoration: none;
    font-family: 'Avenir', sans-serif;
}


/*Herunder er css til knapperne*/
.roedknap{
    background-color: #bc002d;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 4px;
    letter-spacing: 2px;
    color: #fff;
    box-shadow: 10px 10px 8px rgba(0, 0, 0, 0.2);
}
.infotekst a{
    background-color: #bc002d;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 4px;
    letter-spacing: 2px;
    color: #fff;
    box-shadow: 10px 10px 8px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    font-family: 'Avenir', sans-serif;
    text-transform: uppercase;
}
.profile-actions a{
    background-color: #bc002d;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 4px;
    letter-spacing: 2px;
    color: #fff;
    box-shadow: 10px 10px 8px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    font-family: 'Avenir', sans-serif;
}
.toknapper a{
    font-family: 'Avenir', sans-serif;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    width: 30%;
    text-align: center;
}
.toknapper{
    width: 100%;
}




/*Alt herunder hører til selve området hvor de 4 madkasser er*/
.firekasser{
    margin-top: 200px;
    width: 100%;
    display: flex;
}
.tokasser{
    width: 50%;
}
.lyskasseEt{
    background-color: #f0ede9;
    height: 350px;
    width: 100%;
    background-image: url(images/vegetarkassen2.png);
    background-size: cover;
}
.morkkasseEt{
    background-color: #C7BDB1;
    height: 350px;
    width: 100%;
    background-image: url(images/Diabeteskasse.png);
    background-size: cover;
}
.lyskasseTo{
    background-color: #f0ede9;
    height: 350px;
    width: 100%;
    background-image: url(images/favorit2.png);
    background-size: cover;
}
.morkkasseTo{
    background-color: #C7BDB1;
    height: 350px;
    width: 100%;
    background-image: url(images/livsnyder2.png);
    background-size: cover;
}
.infotekst{
    width: 60%;
    position: relative;
    left: 5%;
    top: 40%;
}
.infotekst h4{
    font-size: 40px;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 5px;
    padding-bottom: 5%;
    font-weight: 100;
    font-family: 'Avenir', sans-serif;
}
.infotekst h5{
    font-size: 15px;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 5px;
    padding-bottom: 5%;
    font-weight: 100;
    font-family: 'Avenir', sans-serif;
}



/*Herunder laver vi css til vores footer*/
footer{
    background-color: #f0ede9;
    width: 100%;
    height: 200px;
    padding-top: 5%;
}
.ikoner{
    display: flex;
    justify-content: space-around;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
    padding: 2%;
}
.pladsholderikon{

    width: 50px;
    height: 50px;
}
.links{
    text-align: center;
}
.links a{
    text-decoration: none;
    color: #000;
    font-family: 'Avenir', sans-serif;
    font-weight: 100;
    font-size: 15px;
}
.adresse{
    text-align: center;
}
.adresse h6{
    font-family: 'Avenir', sans-serif;
    font-weight: 100;
    color: #000;
    font-size: 20px;
    padding-top: 1%;
}


/*Herunder er css til selve de 3 links ved bokstekst*/
.nav {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    background-color: #f0ede9;
    padding: 10px;
    border-bottom:#000 solid;
    padding-top: 5%;
}
.nav a {
    color: #000;
    text-decoration: none;
    margin: 0 20px;
    position: relative;
    font-family: 'Avenir', sans-serif;
    text-transform: uppercase;
    font-weight: 900;

}
.nav a::before {
    content: "";
    width: 0;
    height: 2px;
    background-color: white;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    transition: all 0.3s ease;
}
.nav a.active::before {
    width: 100%;
}
.bokstekst {
    display: none;
    text-align: left;
    margin-top: 20px;
}
.bokstekst.active {
    display: block;
}

/*Herunder er css til bokstekst og indhold*/

.boksEt{
    width: 100%;
    height: 400px;
    display: flex;
}

.boksEt p{
    padding-left: 10%;
    padding-top: 5%;
    width: 70%;
    font-family: 'Avenir', sans-serif;
    font-size: 25px;
    font-weight: 300;
    line-height: 50px;
}
.boksTo p{
    padding-top: 5%;
    width: 70%;
    font-family: 'Avenir', sans-serif;
    font-size: 25px;
    font-weight: 300;
    line-height: 50px;
}
.boksTo{
    width: 100%;
    height: 400px;
    display: flex;
}

.boksTo td{
    border-bottom: 1px solid #000;
    font-size: 20px;
    font-family: 'Avenir', sans-serif;
    font-weight: 100;
    text-align: left;
    padding: 15px 15px;
}
.boksTo th{
    font-size: 25px;
    font-family: 'Avenir', sans-serif;
    font-weight: 600;
    text-align: left;
}
.boksTo table{
    width: 90%;
    padding-left: 5%;

}
.boksTre{
    padding-left: 5%;
}
.boksTre h1{
    font-family: 'Avenir', sans-serif;
    text-align: left;
    font-size: 25px;
    text-transform: none;
}
.boksTre h2{
    text-align: left;
    font-family: 'Avenir', sans-serif;
    font-size: 20px;
    letter-spacing: normal;
    width: 50%;
    text-transform: none;
    font-weight: 100;
}
.boksTre h3{
    padding-top: 2%;
    font-family: 'Avenir', sans-serif;
}
.boksTre li{
    font-family: 'Avenir', sans-serif;
}
.boksTre img{
    padding-top: 3%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
    padding-bottom: 10%;
}
.mobilskaal{
    width: 100%;
}

/*Herunder er der css til 404 siden*/
.error{
    padding-top: 3%;
    padding-left: 2%;
}
.error h2{
    letter-spacing: normal;
    text-align: left;
    font-size: 35px;
}
.error h3{
    width: 40%;
    font-weight: 100;
}
.error a{
    justify-content: center;
    margin-bottom: 5%;
    background-color: #bc002d;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 4px;
    letter-spacing: 2px;
    color: #fff;
    box-shadow: 10px 10px 8px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    font-family: 'Avenir', sans-serif;
    text-transform: uppercase;
}

/*-------------Herunder vil jeg lave css til siden "Indkøbskurv"---------------*/
.valgtkasse{
    margin-top: 3%;
    width: 90%;
    margin-left: 5%;
    height: 200px;
    display: flex;
    justify-content: space-between;
}
.rundbillede img{
    border: #000 1px solid;
    height: 100%;
    width: 100%;
    border-radius: 50%;
}
.kassenavn{

    height: 50%;
    width: 55%;
    margin-top: 50px;
    padding: 10px 10px;
}
.kassenavn h4{
    font-family: 'Avenir', sans-serif;
    font-size: 35px;
    font-weight: 100;
    border-bottom: #000 1px solid;
}
.kassenavn h5{
    font-family: 'Avenir', sans-serif;
    font-size: 15px;
    font-weight: 100;
}
.antal{
    height: 100%;
    margin-top: 50px;
}
/*---Stadigvæk css til indkøbskurv, men bare fokus på selve den
boks hvor man vælger antal herunde*/


input[type="number"] {
    text-align: center;
    font-size: 24px;
    width: 80px;
    height: 50px;
}   

.button {
    font-size: 24px;
    cursor: pointer;
    padding: 0 10px;
}
/*--CSS der kommer herunder er til det der ligger fra leveringstid
og det under --*/
.levering{
    display: flex;
    margin-top: 3%;
    width: 90%;
    margin-left: 5%;
    height: 50px;
    background-color: #C7BDB1;
    justify-content: space-between;
}
.tekstdato{
    padding-left: 2%;
    padding-top: 1%;
    color: #fff;
    font-family: 'Avenir', sans-serif;
    font-size: 20px;
}
.tiddato{
    padding-right: 2%;
    padding-top: 1%;
    color: #fff;
    font-family: 'Avenir', sans-serif;
    font-size: 20px;
}
.kommentar{
    margin-left: 5%;
    margin-top: 3%;
}
.kurvbund{
    width: 90%;
    margin-left: 5%;
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
    height: 200px;
}
.kurvhøjre{
    width: 30%;
    height: 100%;
    font-size: 30px;
    font-family: 'Avenir', sans-serif;
    text-align: right;
}
.kurvhøjre h5{
    padding-bottom: 8%;
}
.kurvhøjre a{
    color: #fff;
    font-size: 20px;
    text-decoration: none;
    font-family: 'Avenir', sans-serif;
    text-transform: uppercase;
}
.kurvvenstre{
    width: 30%;
    height: 100%;
    font-size: 30px;
    font-family: 'Avenir', sans-serif;
}
.kurvvenstre a{
   text-decoration: none;
   color: #000;
   font-family: 'Avenir', sans-serif;
   font-size: 20px;
   border-bottom: #000 2px solid;
   margin-top: 15px;
}
.kurvvenstre h5{
    padding-bottom: 9%;
}
/*-----------------------Herunder er CSS til Profil-----------------------------------*/
.profile {
    text-align: center;
    margin: 20px auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    max-width: 1250px;
}

.profile-text {
    text-align: left;
    margin-top: 20px;
    flex: 2;
}

.profile-text h2 {
    font-size: 35px;
    margin: 0;
    text-align: left;
}
.profile-text h3 {
    font-size: 70px;
    margin: 0;
    font-family: 'Avenir', sans-serif;
    text-transform: uppercase;
}

.profilbilled {
    text-align: center;
    flex: 1;
}

.profilbilled img {
    border-radius: 50%;
    max-width: 280px;
    margin-top: 30px;
    display: block;
}

.profile-info {
    text-align: left;
    margin-left: 150px; 
    font-family: 'Avenir', sans-serif;
}

.profile-info p {
    font-size: 18px;
    margin: 10px 0; 
    margin-bottom: 33px;
    font-family: 'Avenir', sans-serif;
    font-weight: lighter;
}
.delivery-box {
    background-color: #C7BDB1;
    color: #fafafa;
    padding: 18px;
    margin: 66px auto; 
    max-width: 1175px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}   
.delivery-text {
    flex-grow: 1;
    text-align: left;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
}

.delivery-text p {
    margin-bottom: 15px;
    font-size: larger;
}
    

.delivery-button {
    text-align: right;
    padding-right: 35px;

}


.change-delivery-button {
    background-color: #F0EDE9;
    border: none;
    padding: 15px 25px;
    cursor: pointer;
    border-radius: 4px;
    letter-spacing: 2px;
    color: rgb(0, 0, 0);
    display: block;
    box-shadow: 10px 10px 8px rgba(0, 0, 0, 0.2);
    font-weight: bold;
}

.profile-actions {
    display: flex;
    justify-content: center;
    margin: 20px auto;
    max-width: 800px;
}

.profile-actions a {
    margin: 10px;

}

/*---------------------------Responsive------------------*/
/*--MOBIL LAYOUT--*/
@media screen and (max-width:874px){
    #logomobil{
        display: block;
    }
    #logolaptop{
        display: none;
    }
    .firekasser{
        display: block;
    }
    .tokasser{
        width: 100%;
    }
    .brugerikon{
        display: none;
    }
    .kurvikon{
        display: none;
    }
    .hamburger{
        display: block;
    }
    .infotekst h4{
        font-size: 30px;
    }
    
    .overskrift a{
        width: fit-content;
        position: absolute;
        left: 40%;
        margin-top: 4%;
    }
    

    .lyskasseEt{
        background-color: #f0ede9;
        height: 260px;
        width: 100%;
        background-image: url(images/vegetarkassen2.png);
        background-size: cover;
    }
    .morkkasseEt{
        background-color: #C7BDB1;
        height: 260px;
        width: 100%;
        background-image: url(images/Diabeteskasse.png);
        background-size: cover;
    }
    .lyskasseTo{
        background-color: #f0ede9;
        height: 260px;
        width: 100%;
        background-image: url(images/favorit2.png);
        background-size: cover;
    }
    .morkkasseTo{
        background-color: #C7BDB1;
        height: 260px;
        width: 100%;
        background-image: url(images/livsnyder2.png);
        background-size: cover;
    }
    .error img{
       width: 70%;
    }
    .error a{
        margin-top: 5%;
    
    }
    .error h3{
        width: 70%;
        margin-bottom: 10%;
    }
    /*--Herunder er responsive til kasse siderne--*/
    .kasseoverskrift h1{
        font-size: 35px;
    }
    .toknapper a{
        font-size: 15px;
        margin: 5px;
    }
    .boksEt{
        height: fit-content;
    }
    .boksEt p{
        font-size: 15px;
        width: 80%;
    }
    .laptopskaal{
        display: none;
    }
    .boksTo{
        height: fit-content;
    }
    .boksTo p{
        font-size: 15px;
        width: 80%;
        padding-left: 10%;
    }
    .ikoner{
        width: 80%;
        margin-top: 2%;
    }
    .boksTo th{
        font-size: 15px;
    }
    .boksTo td{
        font-size: 12px;
    }
    .boksTre h2{
        width: 80%;
        margin-top: 3%;
        margin-bottom: 3%;
    }
    /*Indkøbskurv*/
    .overskrift h1{
        font-size: 50px;
    }
    .overskrift h2{
        font-size: 15px;
        letter-spacing: normal;
    }
    .kassenavn{
        width: 40%;

    }
    .kassenavn h4{
        font-size: 20px;
    }
    .kassenavn h5{
        font-size: 10px;
    }
    .rundbillede{
        width: 100px;
        height: 100px;
        margin-top: 8%;
    }
    .antal{
        width: 20%;
    }
    .levering{
        width: 100%;
        margin: 0;
    }
    .levering h5{
        font-size: 12px;
    }
    textarea{
        width: 90%;
    }
    .kurvbund h5{
        font-size: 20px;
    }
    .kurvhøjre{
        margin-top: 5%;
        width: fit-content;
    }
    .morkkasseEt{
        background-color: #C7BDB1;
    }
    .morkkasseTo{
        background-color: #f0ede9;
    }
    .lyskasseTo{
        background-color: #C7BDB1;
    }
    /*Profil siden*/
    .profile-text h2{
        font-size: 35px;
        margin-left: 4%;
    }
    .profile-text h3{
        font-size: 25px;
        margin-left: 4%;
    }
    .profilbilled{
        margin-left: 15%;
    }
    .profile-info{
        width: fit-content;
        margin-left: 70px;
    }
    .profile-info p{
        font-size: 15px;
        width: 100%;
    }
    .delivery-text{
        font-size: 12px;
    }
    .profile-actions{
        width: 100%;
        font-size: 12px;
        text-align: center;
    }
}


/*--LAPTOP LAYOUT--*/
@media screen and (min-width:874px){
    #logomobil{
        display: none;
    }
    #logolaptop{
        display: block;
    }
    .hamburger{
        display: none;
    }
    .mobilskaal{
        display: none;
    }
}