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

/*----------------------------HEADER-------------------------------*/

/*headerens farve og størrelse*/
header
{
    background-color: #cd8553;
    height: 180px;
    
}

header div{
    margin-top: -10px;
}

/*menupunkternes placering*/
.menu
{
    display: flex;
    justify-content: space-evenly;
}

/*menupunkternes layout*/
.menu a
{
    color: white;
    font-size: 2.5vw;
    font-family: 'Arima Madurai', cursive;
    padding-top: 130px;
}

/*menupunkterne bliver understreget, når du kører musen over*/
.menu a:hover 
{
    text-decoration: underline;
}

#navMobile > a > img{
    width:100%; 
}

/*--------------------------------------------------------------------*/
/*LAPTOP RESPONSIVE*/
@media screen and (min-width: 768px)
{
    /*mobilmenuen skal ikke være der på computer størrelsen*/
    #headerlogomobil, #navMobile{
        display: none;
    }

}
/*--------------------------------------------------------------------*/


/*----------------------------MAIN-------------------------------*/

/*flexboxen i første sektion i main*/
.reklame{
    display: flex;
}

/*tekstens placering og udseende*/
.reklametekst{
    margin-top: 140px;
    margin-bottom: auto;
    margin-left: -25px;
    font-size: 20pt;
    font-family: myriad-pro, sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 45px;
}

/*knappens placering*/
.reklame div a img{
    margin-top: -30px;
   margin-right: 25%;
   margin-left: 30%;
}

/* læs mere knappen bliver større, når musen kører hen over den*/
.knap a img:hover{
    width: 183px;
    height: 183px;

}

/*konkurrence afsnittet*/
.konkurrence{
    display: flex;
    justify-content: space-evenly;
    background-color: #9bc1f4;
}

.konkurrence div{
    margin-right: 140px;
}

/*typografiens layout*/
.konkurrence h1{
    font-size: 60pt;
    color: white;
    font-family: 'Arima Madurai', cursive;
    text-align: center;
    margin: 150px;
}

.konkurrence h2{
    font-size: 26pt;
    color: white;
    font-family: 'Arima Madurai', cursive;
    text-align: center;
    margin-bottom: 60px;
    margin-top: 70px;
}

.konkurrence h3{
    font-size: 18pt;
    color: white;
    font-family: 'Arima Madurai', cursive;
    text-align: center;
    
}

/*mailboksens layout og placering*/
#indtastmail
{
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.mailbox1
{
    padding: 12px;
    font-size: 15px;
    transition: 0.6s;
    font-size: 15pt;
    border-radius: 5px 0px 0px 5px;
    border: none;
    outline: none;
    background-color: white;
}


.sendbutton1
{
    background-color: white;
    font-size: 15pt;
    padding: 12px;
    border-radius: 0px 5px 5px 0px;
    cursor: pointer;
    text-align: center;
    color: black;
    border: none;
    outline: none;

}

/*placeringen på cards*/
.cards{
    display: flex;
    justify-content: center;
}

.cards img{
    margin-top: 30px;
    margin-bottom: 20px;
}

/*der kommer skygge over billederne ved cards, når du kører musen over*/
.cards :hover{
    filter: brightness(95%);
    transition: 300ms;
}


/*---------------------FOOTER------------------------------*/

/*footerens farve og størrelse*/
footer
{
    background-color: #cd8553;
    height: 120px;
    display: flex;
}

/*tekstens layout*/
footer p{
    font-size: 16pt;
    font-family: myriad-pro, sans-serif;
    font-weight: 400;
    font-style: normal;
    color: white;
    text-align: right;
    margin-top: 45px;
}

/*placering af tekst og ikon*/
.semere{
    width: 92%;
}

footer a img{
    margin-top: 35px;
    margin-left: 20px;
}

/*---------------------MOBIL RESPONSIVE------------------------------*/


/*MOBIL RESPONSIVE*/
@media only screen and (max-width: 767px)
{
    *{
        margin: 0;
        padding: 0;
    }

    /*flexboxen i headeren*/
    header
    {
        display: flex;
        justify-content: space-between;
        height: 100px;
    }

    /*menupunkterne fra computer størrelse skal ikke være der*/
    .menu
    {
        display:none; 
    }

    /*burgermenuens placering*/
   #navMobile
   {
        display: flex;
        justify-content:right;
        padding-right: 20px;
        margin-top: -78px;
        
   }

   /*logoets placering*/
    #headerlogomobil 
    { 
        margin-left: 10px;
        width: 100%;

    }  
/*---------------Reklame-billede-afsnit-----------------------*/

/*flexboksen i øverste afsnit skal være i column ved telefon størrelse*/
.reklame{
    flex-direction: column;

}

/*billedet må ikke fylde mere end 100%*/
.reklame img{
    max-width: 100%;
}

/*teksten skal være placeret i midten*/
.reklametekst{
    margin: auto;
}
/*---------------Konkurrence-afsnit-----------------------*/

/*konkurrence afsnittet skal være i column*/
.konkurrence{
    flex-direction: column;
    height: 600px;
    justify-content: center; 
    
}

/*det skal være placeret i midten*/
.konkurrence div{
    margin: 0px;
}

/*teksten skal blive mindre, når enhedens størrelse er mindre*/
.konkurrence h1{
    font-size: 10vw;
    margin: 0px;
    
}
.konkurrence h2{
    font-size: 5vw;
}

/*---------------Cards-afsnit-----------------------*/

/*cards skal være i column og sidde i midten*/
.cards{
    flex-direction: column;
    align-items: center;
}

/*må ikke fylde mere end 100%*/
.cards img{
    max-width: 100%;
}

}