@media screen and (max-width: 1000px) {
h1 a {
left: 20px;
}
.slick-arrow {
display: none;
}
#menuswitch {
display:block;
width:34px;
height: 0px;
position:fixed;
right:20px;
top:34px;
border-top:4px solid #999;
z-index: 10;height: 40px;
}
#menuswitch:after {
content: " ";
display:block;
border-top:4px solid #999;
margin-top:4px;
}
#menuswitch:before {
content: " ";
display:block;
border-top:4px solid #999;	
margin-top:4px;
}
.opened:after {
transform: rotate(90deg)!important;
margin-top: -10px!important;
margin-left: -1px!important;
border-bottom:0!important;
border-top:4px solid #000!important;	
}
.opened:before {
border: 0!important;
margin-top: 6px!important;
}
.opened {
border-top-color:#000!important;
transform: rotate(45deg)!important;
height:6px!important;
position: absolute;
border-bottom: 0!important;
top: 44px !important
}	
#mainmenu_nav {
position: fixed;
top:0;
right: 0;
width: 0;
background-color:#fff;
z-index: 4;
}
#mainmenu_nav .button {
display: none;
}
#mainmenu {
right: 0;
display: none;
background-color: #fff;
padding: 20px;
top: 70px;
}
.openedmenu #mainmenu {
display: block!important;
width: 100%!important;
}
#mainmenu li {
width: 100%;
float: none;
}
#mainmenu li a {
color: #000!important;
width: 100%;
float: none!important;
margin: 0!important;
text-align: center;
padding: 0;
}
#mainmenu li a {
font-size: calc(12px + 1vw);
padding: 0 10px;
}
.openedmenu {
width: 100%!important;
}
.popup {
margin: 30px auto;
padding: 20px;
background: #fff;
border-radius: 5px;
width: 90%;
position: relative;
transition: all 1s ease-in-out;
margin-top: 100px;
z-index: 99;
} }
@media screen and (max-width: 640px)  {
#footer p {
float: none;
text-align: center;
}
.popup {
margin: 30px auto;
padding: 20px;
background: #fff;
border-radius: 5px;
width: 90%;
position: relative;
transition: all 1s ease-in-out;
margin-top: 100px;
z-index: 99;
}
h1 a {
height: 40px;
}
.opened {
top:26px!important;
}	
#menuswitch {
top:20px;
}
#mainmenu {
top: 50px;
margin: 0;
}
.wrapper {
width:90%;	
}
h2, #start h2 {
font-size: calc(28px + 2vw);
line-height: calc(32px + 3vw);
margin-bottom: 20px;
}
h3, h3 *, .box_16_quadrat h3, hr * {
font-size: 4vw;
line-height: 5vw;
}
h4 {
font-size: calc(20px + 2vw);
line-height: calc(24px + 3vw);	}
p, li, li a {
font-size: calc(12px + 1vw);
line-height: calc(16px + 2vw);
}
#header {
position: fixed;
width: 100%;
top: 0;
height: 58px!important;
}
#header h1 a {
width: 120px;
background-repeat: no-repeat;
top: 10px;
left: 10px;
}	
#mainmenu * {
padding: 0;
margin: 0;
}
#mainmenu li a {
text-align: left;
}
#mainmenu ul.sub-menu {
position: inherit;
border: 0;
display:block!important;
}
#list_rezepte li {
width: 100%;
float: none;
box-sizing: border-box;
padding: 20px;
list-style: none;
}
#list_rezepte li .content {
padding-top: 20px;
font-size: 20px;
font-weight: bold;
height: inherit;
}
}