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

/* generelle stilarter for hele siden */
body {
    font-family: Arial, sans-serif;
    background-color: #f8f6f5;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/*Navbar begynder her */ 
nav {
    background-color: #D2DCCA;
    height: 20vw;
    width: 100%;
    position: relative;
    margin: 10px;
    margin: 0;
    padding: 0;
    text-align: center;
    width: 100%;
    color: #293D23;
    padding: 1em;
    width: 100%;
    font-size: 12px;
}

/* styling af logo i navbar */
.logo {
    color:#293D23;
    font-size: 4vw;
    line-height: 10vw;
    padding: 0 100px;
    font-weight: bold;
    font-family: 'Calistoga', serif;
}

/* styling af menu punkter */
nav ul {
    display: flex;
   justify-content: space-evenly;
}


nav ul li {
    display: inline-block;
    line-height: 80px;
    margin: 0 5px;
}

/* styling af links i navbar */
nav ul li a {
    color: black;
    font-size: 15px;
    text-transform: uppercase;
    padding: 7px 13px;
    border-radius: 3px;
    font-family: 'PT Serif', serif ;
    text-align: center;
    font-size: 1.5vw;
    font-family: 'PT Serif', serif;
}

/* styling af knappen for mobil */
.checkbtn {
    font-size: 30px;
    float: right;
    line-height: 80px;
    margin-right: 40px;
    cursor: pointer;
    display: none;
}
#check {
    display: none;
}

/* styling af dropdown-menuen */
ul {
    list-style: none;
    text-align: center;
    z-index: 1000;
}

ul li {
    display:  inline-block;
    position: relative;
}

ul li a {
    display: block;
    padding: 10px 25px;
    font-size: 13px;
    color: #D2DCCA;
    text-decoration: none;
    text-align: center;
}

ul li ul.dropdown {
    display: block;
    background: #D2DCCA;
    margin: -15px -30px;

}

ul li ul.dropdown {
    width: auto;
    position: absolute;
    z-index: 1000;
    display: none

}

/* hover-effekt for links i navbar */
ul li a:hover {
    color:#F8F6F5;

}

/* hover-effekt for links i dropdown */
ul li:hover ul.dropdown {
    display: block;
     
}

/* styling af hovedsektions */
main {
    text-align: center;
    width: 80%;
    margin: 0 auto;
}

/* styling af h1 */
h1 {
    color: #243D20;
    margin: 0;
    font-size: 40px;
    font-family: 'PT Serif', serif;
}

/* styling af de primære knapper */
.btn1,
.btn2 {
    background-color: #d2dcca;
    color: #243D20;
    padding: 8px;
    margin: 10px;
    border: 0.1vw solid #243D20;
    border-radius: 20px;
    width: 150px; 
    height: 40px;
}

/* hover effekt for btn1-2 */
.btn1:hover {
    background-color: #f8f6f5 ;
    cursor: pointer;
}

.btn2:hover {
    background-color: #f8f6f5 ;
    cursor: pointer;
}

/* styling af alle containere */
.container {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap; 
    justify-content: space-around; 
}

/* styling af vær boks inden i */
.box-pair {
    width: 45%; 
    margin: 25px; 
    border: 1px solid #243D20; 
    transition: border-color 0.2s ease;
}

/* hover effekt på alle kanter */
.box-pair:hover {
    border-color: #90b08e; 
}

/* stil for alle tekstcontainer */
.box-text {
    padding: 10px;
}

/* styling af text1 container */
.text1-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 4%;
    margin-bottom: 4%;

}

h2 {
    margin: 0;
    font-size: 1.5em;
    color: #243D20;
    font-weight: 100;
}

/* styling af text2 container */
.text2-container {
    background-color: #f8f6f5;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

/* styling af overskrifter i box plus hover */
h3, h4 {
    margin: 3px 0;
    font-size: 1.2em;
    color: #243D20;
    font-weight: 100;
}

/* hover effekt for btn i tale booble */
h4:hover {
    color: #90b08e;
    cursor: pointer;
}

/* styling af billede i box */
img {
    max-width: 100%;
    height: auto;
}

/* logo plus talebobble */
.tale-boble {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: white;
    margin-top: 10vw;
    margin-left: 35vw;
    padding: 3vw;
    border-radius: 25%;
    font-size: 2vw;
    width: 30.5vw;
    height: 12vw;
    font-family: 'PT Serif', serif;
  }
  
  /* styling af trekant i taleboble */
  .tale-boble::before {
    content: '';
    position: absolute;
    top: 1%;
    left: 1%;
    bottom: 0.5%;
    border: 5vw solid transparent;
    border-bottom-color: white;
    transform: translateX(-50%);
  }

  /* styling af mr. mums */
.mr-mums img {
    width: 30vw;
    height: auto;
    display: flex;
    position: absolute;
    margin-top: 7%;
}

/* styling af btn inde i taleboble plus hover */
.btn3{
    background-color: #d2dcca;
    color: #243D20;
    padding: 8px;
    margin: 10px;
    border: none;
    border-radius: 20px;
    width: 150px;
    height: 40px;
    transition: background-color 0.3s ease;
}

.btn3:hover {
  background-color: #f8f6f5 ;
  cursor: pointer;
}

/* Styling af footer */
.footer {
    background-color: #D2DCCA;
    padding: 40px;
    text-align: center;
    color: #4b4c4d;
    box-sizing: border-box;
    width: 100%;
}

/* styling af sociale medier ikonlinks */
.social {
    margin-bottom: 20px;
}

.social a {
    font-size: 24px;
    color: #243D20;
    border: 1px solid #ccc;
    width: 40px;
    height: 40px;
    line-height: 38px;
    display: inline-block;
    text-align: center;
    border-radius: 50%;
    margin: 0 8px;
    opacity: 0.75;
    transition: color 0.3s, opacity 0.3s;
}

.social a:hover {
    color: grey;
    opacity: 0.9;
}

/* styling af listeelementer i footer plus hover-effekt */
.footer ul {
    list-style: none;
    font-size: 18px;
    line-height: 1.6;
    padding: 0;
    margin: 0;
}

.footer ul li {
    display: inline-block;
    margin: 0 15px;
}

.footer ul li:last-child {
    margin-right: 0;
}

.footer ul li a {
    color: #4b4c4d;
    text-decoration: none;
    opacity: 0.8;
    transition: color 0.3s, opacity 0.3s;
}

.footer ul li a:hover {
    opacity: 1;
    color: #f8f6f5;
}



/* Første breakpoint. Her har vi taget udgangspunkt i en iphone 15 som har målene 393px * 852px. */
/* Responsive adjustments */
@media screen and (max-width:393px) {

        .footer {
            padding: 20px; 
            height: auto; 
            margin: 0 0;
        }
    
        .footer ul {
            text-align: center;
        }
    
        .footer ul li {
            display: block;
            margin: 10px 0;
        }
        main {
            width: 100%;
        }
    
        .btn1,
        .btn2,
        .btn3 {
            width: 100%;
        }
    
        .box-pair {
            width: 100%;
            margin: 15px;
            display: flex;
            flex-direction: column;
        }
    
        .text1-container {
            width: 100%;
            font-size: 0.8em;
        }
    
        .text2-container {
            width: 100%;
            font-size: 0.8em;
        }
    
        .main-container {
            display: flex;
            justify-content: center;
            margin-bottom: 0px;
        }
    
        .tale-boble::before {
            height: 50%;
        }
       
    
        .tale-boble {
            padding: 5vw;
            font-size: 2.5vw;
            width: 40vw;
            height: auto;
            margin-left: 50%;
            margin-top: 0;
        }
    
        .btn3 {
            padding: 2.5vw;
            font-size: 2.5vw;
            width: 40vw;
            height: 9vw;
        }
    
        .mr-mums img {
            width: 40vw;
            margin-top: 2%;
        }
        .row {
            flex-direction: column;
            align-items: center;
        }
    
        .footer-col .social-links a i {
            font-size: 2vw;
        }
    
        label.logo{
            font-size: 5vw;
            padding-left: 50px;
    }
    
    .checkbtn{
        display: block;
        font-size: 5vw;
    }
    .navbar-ul{
        position: fixed;
        width: 100%;
        height: 100vh;
        background:#D2DCCA;
        top: 75px;
        left: -100%;
        text-align: center;
        transition: all .5s;
        margin: 0;
        padding: 0;
        flex-direction: column;
        z-index: 1;
    }
    
    nav a:hover {
        transform: scale(1.2);
      }
      
    
    nav ul li {
    display:block;
    margin: 50px 0;
    line-height: 30px;
    }
    
    nav ul li a {
        font-size: 20px;
        display: block;
        
    }
    a:hover, a.active {
        background: none;
        color: black;
    } 
    #check:checked ~ul {
    left: 0
    }
    }
    
/* responsive design for mellemstore skærme */
@media screen and (min-width: 394px) and (max-width: 1024px){
    .box-pair {
        width: 100%; 
    }
    .navbar-ul {
        margin-top: -25px;
    }
    /* Ændre på margin her, da min Mr. Mums figur vil overlappe med min afhentning section hvis ikke jeg putter margin på */ 
    .afhentning {
        margin: 2vw;
    }
    .h3 {
        margin: 7vw;
    }
    .main-container {
        margin-bottom: 300px;
    }

}

/* responsive design for store skærme */
@media screen and (min-width: 1025px) and (max-width: 2304px) {

.main-container {
    margin-bottom: 700px;
}

h1 {
    font-size: 5vw;
}

.btn1, .btn2 {
    width: 10vw;
    height: 2.5vw;
    font-size: 0.9vw;
}

}

/* responsive design for ekstra store skærme */
@media screen and (min-width: 2305px) {

    .main-container {
        margin-bottom: 700px;
    }

    h1 {
        font-size: 5vw;
    }

    h1 {
        font-size: 5vw;
    }
    
    .btn1, .btn2 {
        width: 10vw;
        height: 2.5vw;
        font-size: 0.9vw;
    }
}