*{
padding: 0;
margin: 0;
font-family: 'Roboto', sans-serif;
text-decoration: none;
}
/*Header-Navigation*/
.logo {
height: auto;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
background: $main-color-red;
img {
width: 100%;
max-width: 500px;
}
}
.topnav {
background-color: $main-color-dark-grey;
overflow: hidden;
}
.topnav a {
color: $main-color-white;
display: block;
text-align: center;
float: left;
font-family: 'Roboto Condensed', sans-serif;
font-size: 17px;
text-decoration: none;
padding: 14px 16px;
}
.topnav a:hover {
background-color: #ddd;
color: $main-color-red;
}
.topnav .icon-home{
display: none;
}
.topnav-mid{
display: flex;
text-align: center;
align-items: center;
}
.topnav .icon-menu {
display: none;
}
/*Header-Navigation: media-querries*/
@media screen and (max-width: 700px) {
.topnav a {display: none;}
.topnav a.icon-home{
float: left;
display: block;
}
.topnav a.icon-menu {
float: right;
display: block;
}
}
@media screen and (max-width: 700px) {
.topnav.responsive {position: relative;}
.topnav.responsive a.icon-home {
position: absolute;
right: 0;
top: 0;
}
.topnav.responsive a.icon-menu {
position: absolute;
right: 0;
top: 0;
}
.topnav.responsive a {
float: none;
display: block;
text-align: left;
}
}