@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap");
@import url('/css/button.css');

/* ===============
   Global Styles
=============== */

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

img {
    width: 100%;
    max-width: 100%;
    display: block;
    height: auto;
}

body {
    margin: 0;
    font-family: "Rubik", sans-serif;
    background-color: #fff;
    width: 1440px;
}

/* fonts */

.roboto-medium {
    font-family: "Roboto", serif;
    font-weight: 500;
    font-style: normal;
}

h2 {
    font-size: 20px;
    font-weight: 700;
    color: #24282a;
}

.h2-light {
    color: #939fa4;
    font-weight: 300;
    line-height: 56px;
}

.h2-48px {
    font-size: 20px;
    font-weight: 700;
    color: #24282a;
}

p {
    font-size: 16px;
}

.logo {
    width: 122px;
    height: 55px;
}

/* Navigation header */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffe6e6;
    height: 65px;
    padding-right: 232px;
}

.logo {
    width: 122px;
    height: 55px;
    margin-left: 373px;
    margin-right: 259px;
}

.menu {
    display: flex;
    list-style: none;
    margin-right: 232px;
    align-items: center;
}

.menu li {
    height: 100%;
    width: 120px;
}

.menu a {
    display: block;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    color: #000;
    position: relative; /* Nødvendig for at placere ::after relativt til linket */
}

.cart-icon {
    width: 22px;
    height: 20px;
    vertical-align: middle;
    margin-right: 5px;
}

.burgermenu {
    display: none;
}

.burgermenu--footer {
    display: none;
}


.menu li.dropdown {
    height: 50px;
    width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative; /* Nødvendigt for at placere dropdown absolut */
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%; /* Sørg for, at dropdown vises under forældre-elementet */
    left: 0;
    background-color: #f9c4d2;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    list-style: none; 
    
}

.dropdown-content li a {
    padding: 10px;
    color: white;
    text-decoration: none;
    display: block; /* Sørg for, at links fylder hele området */
}

.dropdown:hover .dropdown-content {
    display: block;
    width: 120px;
}

.dropdown-content li:hover {
    background-color: #ffe9e9;
    text-decoration: none;
}


/* Pseudo-element til underline */

.menu a.current::after {
    content: "";
    position: absolute;
    left: 50%; /* Start i midten af teksten */
    transform: translateX(-50%); /* Centrer linjen */
    bottom: -23px;
    width: 120px; /* Fast bredde */
    height: 6px;
    background-color: #f9c4d2;
    transition: width 0.3s ease;
}

.menu a::after {
    content: "";
    position: absolute;
    left: 50%; /* Start i midten af teksten */
    transform: translateX(-50%); /* Centrer linjen */
    bottom: -23px;
    width: 0;
    height: 6px;
    background-color: #f9c4d2;
    transition: width 0.3s ease;
}

/* Hover-effekt */
.menu a:hover::after {
    width: 120px;
}

.menu a.drop::after {
    content: none; /* Fjern pseudo-elementet */
}

.menu a.dropdown::after {
    content: none;
}

/* Breadcrumbs (Kurv, Betaling) */

.breadcrumbs {
    margin-top: 50px;
    margin-bottom: 49px;
    background-color: #fff;
}

/* Newsletter */

.newsletter-section {
    margin: 0 auto;
    text-align: center;
    position: relative;
    top: -8.5em;
}

.newsletter-section h2 {
    font-size: 24px;
    font-weight: 500;
    color: #24282a;
    margin-bottom: 52px;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    align-items: center;
}

.email-input {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    width: 770px;
    height: 100px;
    border-radius: 50px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.fa-envelope {
    padding-left: 39px;
    padding-right: 10px;
    color: #92d5f6;
}

#email {
    font-size: 16px;
    font-weight: 500;
    color: #a7b0b4;
    border: none;
}

.button--subscribe {
    border: none;
    width: 200px;
    height: 80px;
    margin-left: 330px;
    border-radius: 50px;
    padding: 30px 64px;
    font-size: 18px;
    font-weight: 400;
    font-family: Rubik, "open sans";
    cursor: pointer;
    background: linear-gradient(227deg, #ffe9e9 27.89%, #f9c4d2 83.86%);
}

.button--subscribe:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Footer */

/* Footer - Navigation */

footer {
    margin-top: 18em;
    background-color: #f5f7f9;
    padding-bottom: 0;
    margin-bottom: 0;
    height: 389px;
}

.footer-logo {
    width: 245px;
    height: 110px;
    margin-left: 61px;
    margin-right: 172px;
}

.footer-content {
    display: flex;
    justify-content: flex-start;
    background-color: #f5f7f9;
}

.footer-content img {
    margin-right: 178px;
    margin-bottom: 133px;
    width: 244px;
    height: 110px;
}

.menu--footer {
    justify-content: center;
    align-items: center;
    padding-top: 12px;
    
}

.menu--footer li a {
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    color: #92d5f6;
    padding-top: 23px;
    width: 120px;
    height: 65px;
    border-radius: 5px;
}

.menu--footer li a:hover {
    background-color: #f9c4d2;
    box-shadow: 0px 20px 40px 0px rgba(13, 18, 39, 0.3);
    color: #fff;
}

.menu--footer a::after {
    display: none;
}

.menu--footer a.current {
    background-color: #f9c4d2;
    box-shadow: 0px 20px 40px 0px rgba(13, 18, 39, 0.3);
    color: #fff;
}

/* insta */

.title-insta {
    text-align: center;
    padding-bottom: 90px;
}

.instagram-logo {
    padding-top: 50px;
    padding-bottom: 60px;
    width: 70px;
    display: flex;
    justify-content: center;
    justify-self: center;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 0;
    width: 1198px;
    margin: 0 auto;
    margin-bottom: 200px;
}

.grid-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.grid-container img:hover {
    transform: scale(1.15);
    border-radius: 3px;
    border: 5px solid #fff;
}

/* hører til nyhedsbrevskvittering */
.kvittering_headline {
    margin-left: 500px;
    padding-top: 200px;
    padding-bottom: 200px;
}

/* Media Queries TABLET */

@media screen and (max-width: 768px) {

body, main, header, footer {
    max-width: 768px;
}

.navbar {
    padding-right: 50px;
    
}

.logo {
    width: 122px;
    height: 55px;
    margin-left: 104px;
    margin-right: 128px;
}

.menu {
    margin-right: 50px;
}

.menu a {
    width: 80px;
}

.menu li {
    height: 100%;
    width: 90px;
}

.menu li.dropdown {
    height: 50px;
    width: 87px;
}

.dropdown-content li a {
    padding: 10px;
}

.dropdown:hover .dropdown-content {
    width: 77px;
}

/* Pseudo-element til underline */

.menu a.current::after {
    bottom: -23px;
    width: 65px; /* Fast bredde */
} 

/* nyhedsbrev */

.newsletter-section h2 {
    font-size: 18px;
    padding-top: 0;
    margin: 0 auto 39px;
}

.email-input {
    width: 452px;
}

.fa-envelope {
    padding-left: 24px;
    padding-right: 4px;
}

#email {
    font-size: 12px;
}

/* instagram */

.newsletter-section {
    width: 452px;
    top: -7.0em;
}

.fa-envelope {
    padding-left: 39px;
    padding-right: 10px;
}

#email {
    border: none;
}

.button--subscribe {
    width: 152px;
    height: 80px;
    margin-left: 50px;
    padding: 0;
    font-size: 14px;
    text-align: center;
    box-shadow: none;
}

/* insta */

.title-insta {
    padding-bottom: 40px;
}

.title-insta h2{
    padding-bottom: 0;
    padding-top: 10px;
    margin: 0 auto;
    line-height: 10px;
}

.instagram-logo {
    padding-top: 100px;
    padding-bottom: 7px;
    width: 31px;
}

.grid-container {
    width: 518px;
    margin-bottom: 0;
}

/* Footer */

/* Footer - Navigation */

footer {
    margin-top: 250px;
    width: 768px;
}

.footer-logo {
    width: 245px;
    height: 110px;
    margin-left: 61px;
    margin-right: 172px;
}

.footer-content {
    display: flex;
    justify-content: flex-start;
    background-color: #f5f7f9;
}

.footer-content img {   
    width: 142px;
    height: 64px;
    margin-top: 10px;
}

.menu--footer {
    padding-top: 12px;
    
}

.menu--footer li a {
    padding-top: 23px;
    width: 80px;
    height: 64px;
}

.menu--footer a.current {
    box-shadow: none;
}
}

.kvittering_headline {
    margin: 0;
    padding-left: 150px;
    padding-top: 200px;
    padding-bottom: 250px;
}


/* Media queries Mobil */

@media screen and (max-width: 360px) {

    body, main, header, footer {
        max-width: 360px;
    }

    .logo {
        width: 100px;
        height: 43px;
        margin-left: 47px;
    }

    .menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: none;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background-color: #ffe6e6; /* Baggrundsfarve */
        z-index: 10;
        gap: 0; /* Afstand mellem elementer */
        color: #000; /* Tekstfarve */
        font-size: 1.5rem; /* Større tekst */
        transition: all 0.3s ease;
    }

    .menu.menu--footer {
        display: none;
    }
    
    .menu.show {
        display: flex;
    }

    .menu li {
        z-index:1000;
        height: 60px;
    }

    .menu li.dropdown {
        height: 60px;
        align-items: flex-start;

    }

    .dropdown:hover .dropdown-content{
        display: none;
    }

    .menu a.current::after, .menu--footer a.current::after {
        display: none;
    }
    
    

    .burgermenu {
        display: flex;
        justify-content: end;
        align-self: center;
        padding: 10px;
        -position: fixed;
        z-index: 100;
        width: 100%;
        max-width: 360px;
    }

    .burgermenu i {
        font-size: 2em;
        justify-self: flex-start;
        align-self: end;
        margin-right: 30px; /* ændring ift Figma (icon uden border)- fungerer bedre visuelt og godkendt af kunden */
    }

    .burgermenu--footer i {
        font-size: 2em;
        justify-self: flex-start;
        align-self: end;
        margin-right: 30px; /* ændring ift Figma (icon uden border)- fungerer bedre visuelt og godkendt af kunden */
    }

    .burgermenu--footer{
        display: flex;
        justify-content: end;
        align-self: center;
        padding: 10px;
        position: absolute;
        z-index: 100;
        width: 100%;
        max-width: 360px;
        color: #92d5f6;
    }

    .burgermenu i.fa-xmark, .burgermenu--footer i.fa-xmark {
        transform: scale(1.3);
    }

    /* nyhedsbrev */

.newsletter-section h2 {
    font-size: 14px;
    margin: 0 auto 15px;
    padding: 0;
}

.fa-envelope {
    padding-left: 1px;
    padding-right: 1px;
}

#email, .newsletter-email {
    font-size: 10px;
}

.newsletter-section {
    width: 360px;
    top: -3.5em;
}

.button--subscribe {
    width: 70px;
    height: 40px;
    margin-left: 50px;
    padding: 0;
    font-size: 10px;
}


.email-input {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 265px;
    height: 51px;
   
}

input#email {
    width: 100px;
    margin: 0;
}

.email-input label {
    flex-direction: row;
    gap: 0;
}

.fa-envelope {
    display: none;
    /*
    padding-left: 39px;
    padding-right: 10px;
    color: #92d5f6;*/
}

#email {
    font-size: 16px;
    font-weight: 500;
    color: #a7b0b4;
    border: none;
}

button .button.button--subscribe {
    display: none;
    /*width: 70px;
    font-size: 10px;
    height: 40px;
    border-radius: 30px;
    justify-content: center;
    align-items: center;
    margin: 0 auto;*/

}

/* insta */

.title-insta {
    padding-bottom: 5px;
}

.title-insta h2{
    padding-bottom: 0;
    padding-top: 10px;
    margin: 0 auto;
    line-height: 2px;
}

.instagram-logo {
    width: 20px;
    margin-bottom: 5px;
}

.grid-container {
    width: 318px;
    margin-bottom: 0;
}

/* footer */

footer {
    margin-top: 140px;
    z-index: 10;
    height: auto;
}

.footer-logo {
    width: 100px;
    height: 43px;
    margin-left: 46px;
    margin-right: 213px;
    margin-bottom: 0;
}

.footer-content {
    height: 100px;
}

.kvittering_headline {
    margin: 0;
    padding-left: 50px;
    padding-top: 100px;
    padding-bottom: 400px;
}



}