/*GENERELLE REGLER*/

/*Dette fjerner browsernes padding og margin fra selve body og ikke fra f.eks. lister og overskrifter, hvor vi ofte gerne vil beholde det*/
body {
    padding: 0;
    margin: 0;
    font-family: sans-serif;
    background-color: #001435;

}

/*Box-sizing skal gælde for alle elementer, hvorfor den sættes på * og ikke bare body */
* {
    box-sizing: border-box;

}

/*Da vi bruger flexbox er det en god idé altid at sætte billeder til 100% width og så tilpasse den container rundt om billedet efterfølgende*/
img {
    width: 100%;
}

header {
    background: white;
    width: 100%;
    padding: 10px;
    background-color: #001435;
}

p {
    color: white;
    font-family: 'Comfortaa', cursive;
}

h1 {
    color: white;
    font-family: 'Dosis', sans-serif;
}

h2 {
    color: white;
    font-family: 'Dosis', sans-serif;
}

/*NAVIGATION - responsiv med flexbox*/
#logo-burger {
    display: flex;
    align-items: center;
    margin: 0 .5em;
}

#logo-burger a {
    margin-right: auto;
    width: 40%;
}

#main-nav {
    display: flex;
    margin-right: .5em;
}

#main-nav a {
    color: white;
    text-decoration: none;
    display: block;
    font-size: 1.1em;
    line-height: 1.5em;
}

#main-nav a:hover {
    color: lightblue;
}

/*active class sættes på det link i menuen man befinder sig på, så farven ændres på menuen på den aktuelle side - den er ikke sat på noget endnu*/
.active {
    color: lightgrey;
}

/*Denne skjuler burgermenuens checkbox som aktiverer toggle funktionen*/
.hidden {
    display: none;
}

/*MEDIA QUERY MOBILE */

@media all and (max-width: 599px) {

    /*HEADER NAV*/
    header {
        display: block;
    }

    #logo-burger {
        justify-content: space-between;
        align-items: center;
    }

    /*label er selve burgerikonet*/
    #logo-burger label {
        color: white;
        display: block;
        font-size: 2em;
        cursor: pointer;
        /*laver en hånd i stedet for en pil, når man kører hen over burgermenuen*/
    }

    /*Dette gør at burgermenuen folder sig ud, når man klikker på den - eller rettere sagt den checkboks som er skjult bag den*/
    #toggle:checked + #main-nav {
        display: block;
    }

    /*Den primære navigation skjules på den lille skærm*/
    #main-nav {
        display: none;
    }

    #main-nav a {
        text-align: center;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        background-color: lightblue;
    }

    /*Dette påvirker dropdown i mobilversionen, da hover ikke virker med fingeren, så nu er det hele foldet ud, border er fjernet og skriften er mindre.*/
    #main-nav .dropdown-content a {
        font-size: 0.9em;
        border: none;
    }
}


/* FORSIDE START */

#forside {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: url(../images/forside-baggrund.png);
    background-size: cover;
}

#forside img {
    width: 45%;
}

.forside-tekst {
    margin: 8%;
    text-align: justify;
}

.forside-tekst h1 {
    text-align: center;
    font-size: 25px;
}

.forside-tekst a {
    color: lightblue;
}

/* FORSIDE SLUT */

/* 2IN1 EXTREME WHITE og PROFESSIONAL WHITENING TOOTHPASTE START */

.tandpasta {
    padding: 5%;
}

.wapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.produkt {
    margin: 2%;

    padding: 5%;
}

.produkt p {
    font-size: 12px;
}

.produkt h1 {
    font-size: 22px;
}

.produkt h2 {
    font-size: 14px;
}

.produkt ul {
    font-family: 'Comfortaa', cursive;
    color: white;
    font-size: 12px;
}

#del {
    text-align: center;
}

.sorter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}


button {
    background-color: #2D2E82;
    border: none;
    color: white;
    padding: 5px 8px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 11px;
    margin: 1%;
    cursor: pointer;
    font-family: 'Comfortaa', cursive;
}

.flere-anmeldelser {
    background-color: #2D2E82;
    border: none;
    color: white;
    width: 90%;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 13px;
    margin: 5%;
    cursor: pointer;
    font-family: 'Comfortaa', cursive;
}

.anmeldelse {
    background-color: white;
    padding: 5%;
    margin: 5%;
}

.anmeldelse p {
    color: black;
    font-family: 'Comfortaa', cursive;
    font-size: 12px;
}

/* anmeldelses boks */
form {
    max-width: 420px;
    margin: 50px auto;
}

.feedback-input {
    color: white;
    font-family: 'Comfortaa', cursive;
    font-weight: 500;
    font-size: 18px;
    border-radius: 5px;
    line-height: 22px;
    background-color: transparent;
    border: 2px solid #fff;
    transition: all 0.3s;
    padding: 13px;
    margin-bottom: 15px;
    margin-left: 15px;
    width: 90%;
    outline: 0;
}

.feedback-input:focus {
    border: 2px solid #fff;
}

textarea {
    height: 150px;
    line-height: 150%;
    resize: vertical;
}

[type="submit"] {
    font-family: 'Dosis', sans-serif;
    width: 100%;
    background: #2D2E82;
    border-radius: 5px;
    border: 0;
    cursor: pointer;
    color: white;
    font-size: 24px;
    padding-top: 10px;
    padding-bottom: 10px;
    transition: all 0.3s;
    margin-top: -4px;
    font-weight: 700;
}

[type="submit"]:hover {
    background: lightblue;
}

/* 2IN1 EXTREME WHITE og PROFESSIONAL WHITENING TOOTHPASTE SLUT */

/* TIPS OG RÅD START */

.tips-og-raad h1 {
    text-align: center;
    font-size: 22px;
}

.tips-og-raad p {
    padding: 5%;
    text-align: left;
    font-size: 12px;
}

.tip-box {
    margin: 5%;
    border: 1.5px dashed;
    border-color: white;
    text-align: center;
    padding: 2%;
}

.tip-box p {
    font-size: 13px;
    text-align: left;
}

.tip-box h2 {
    font-size: 18px;
}

/* TIPS OG RÅD SLUT */

/* OM DENIVIT START */

#om {
    text-align: center;
    font-size: 22px;
}

.om-container h2 {
    font-size: 15px;
}

.om-container p {
    font-size: 12px;
}

.om-container {
    background-image: url(../images/om-denivit-baggrund.png);
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.om-denivit {
    margin: 6%;
}

#kontakt {
    margin: 6%;
    border: 1.5px dashed;
    border-color: white;
    padding: 2%;
}

/* OM DENIVIT SLUT */



/* FOOTER START */
footer section {
    background-color: white;
    display: flex;
    height: 100px;
    align-items: center;
    justify-content: space-between; 
    padding: 2%;
}



footer h3 {
    color: black;
    font-family: 'Dosis', sans-serif;
    font-size: 11px;
}

footer p{
    color: black;
    font-family: 'Comfortaa', cursive;
    font-size: 9px;
}

footer img {
  width: 10%;

}

/* FOOTER SLUT */



/*MEDIA QUERY TABLET AND ABOVE*/

@media all and (min-width: 600px) {

    /*HEADER NAV*/
    nav {
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        flex-direction: column;
    }


    #main-nav {
        justify-content: space-evenly;
        min-width: 50%;
        margin: 0;
    }

    #main-nav a {
        margin: 0 .5em;
    }

    .hidden {
        display: none;
    }

    /*Dette fjerner burgermenu ikonet*/
    label {
        display: none;
    }

    /*Dropdown*/
    .dropdown {
        position: relative;
        display: inline-block;
    }

    .dropdown-content {
        display: none;
        position: absolute;
        background-color: lightblue;
        min-width: 160px;
        box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
        z-index: 1;
        font-size: 12px;
    }

    .dropdown-content a {
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }

    .dropdown-content a:hover {
        background-color: #fff;
    }

    .dropdown:hover .dropdown-content {
        display: block;
    }

    .dropdown:hover {
        background-color: #56AEE2;
    }

    #logo-burger {
        margin-right: auto;
        width: 50%;
    }

    /* FORSIDE START */

    #forside {
        background-image: url(../images/forside-baggrund-laptop.png);
        background-size: cover;
        display: flex;
        flex-direction: row;
    }

    #forside img {
        width: 25%;
        margin-left: 20%;
    }

    .forside-tekst {
        width: 40%;
        text-align: justify;
    }

    .forside-tekst h1 {
        text-align: center;
        font-size: 51px;
    }

    .forside-tekst p {
        font-size: 23px;
    }

    .forside-tekst a {
        color: lightblue;
    }

    /* FORSIDE SLUT */


    /* 2IN1 EXTREME WHITE og PROFESSIONAL WHITENING TOOTHPASTE START */

    .wapper {
        background-image: url(../images/produkter-baggrund-test8.png);
        background-position: top;
        background-repeat: no-repeat;
    }

    .tandpasta {
        width: 100%;
        padding: 8%;
        padding-top: 90%;
    }

    .produkt {
        width: 80%;
    }

    .produkt p {
        font-size: 18px;
    }

    .produkt h1 {
        font-size: 33px;
    }

    .produkt h2 {
        font-size: 22px;
    }

    .produkt ul {
        font-family: 'Comfortaa', cursive;
        color: white;
        font-size: 18px;
    }

    #del {
        text-align: center;
    }

    #produktimg {
        display: flex;
        padding-bottom: 5%;
        padding-left: 18%;
    }
    
    picture{
        width: 13%;
    }
    
     #to-i-en{
     width: 20%;
    
        
    }
   
    #alle-anmeldelser {
        display: flex;
        flex-direction: row-reverse;
        justify-content: center;
        margin-left: 8%;
    }


    #boks {
        width: 100%;
    }

    .sorter {
        width: 70%;
    }

    .anmeldelse {
        background-color: white;
        padding: 3%;
        margin: 5%;
        width: 60%;
    }

    .flere-anmeldelser {
        padding: 5%;
        margin: 5%;
        width: 60%;
    }

    .anmeldelse p {
        color: black;
        font-family: 'Comfortaa', cursive;
        font-size: 14px;
    }

    /* 2IN1 EXTREME WHITE og PROFESSIONAL WHITENING TOOTHPASTE SLUT */

    /* TIPS OG RÅD START */

    .flex-container {
        background-image: url(../images/tips-og-raad.png);
        background-size: cover;
        display: flex;
        flex-wrap: wrap;
    }

    .flex-container div {
        width: 30%;
        border: 1.5px dashed;
        border-color: white;
    }

    .tip-box p{
        text-align: left;
        font-size: 16px;
    }
    
    .tip-box h2{
        font-size: 20px;
    }
    
    .tip-box{
       margin: 1.5%;
    }   
    
    .tips-og-raad h1 {
        font-size: 33px;
    }

    .tips-og-raad p {
        font-size: 18px;
        padding: 1%;
    }

    /* TIPS OG RÅD SLUT */

    /* OM DENIVIT START */


    #om {
        text-align: center;
        font-size: 39px;
    }

    .om-container h2 {
        font-size: 21px;
    }

    .om-container p {
        font-size: 18px;
    }

    .om-container {
        background-image: url(../images/om-denivit-baggrund-laptop4.png);
        display: flex;
        flex-direction: row;
    }

    .om-denivit {
        width: 70%;
    }

    #kontakt {
        border: 1.5px dashed;
        border-color: white;
        width: 40%;
        /* OM DENIVIT SLUT */    
    }
 
    /* FOOTER START */
footer section {
    background-color: white;
    display: flex;
    height: 100px;
    align-items: center;
    justify-content: space-between; 
    padding: 2%;
}



footer h3 {
    color: black;
    font-family: 'Dosis', sans-serif;
    font-size: 12px;
}

footer p{
    color: black;
    font-family: 'Comfortaa', cursive;
    font-size: 10px;
}

footer img {
    width: 7%;
}


/* FOOTER SLUT */
    
}

    /*MEDIA QUERY LAPTOP AND ABOVE*/

    @media all and (min-width: 1024px) {

        /*NAVIGATION*/
        nav {
            flex-direction: row;
        }

        /*Dette skubber menuen ud til højre ved at bruge al margin til højre for logoet*/
        #logo-burger {
            margin-right: auto;
        }
    }
