<header class="main_menu">
<div class="center">
<nav>
<a class="active" href="index.html">Home</a>
<a href="about.html">About</a>
<a href="cars.html">Cars</a>
<a href="services.html"">Services</a>
<a href="contacts.html">Contacts</a>
</nav>
<div class="menu_toggle"><span></span></div>
</div>
</header>
<section class="logo_section">
<div class="center">
<a href="" class="logo"><img src="img/logo.png" alt="Logo"></a>
</div>
</section>
<section class="slider">
<div><img src="img/slide_1.jpg" alt=""></div>
<div><img src="img/slide_2.jpg" alt=""></div>
<div><img src="img/slide_3.jpg" alt=""></div>
</section>
.main_menu{
background: -webkit-linear-gradient(#e4e4e6,#d6d6d8);
background: linear-gradient(#e4e4e6,#d6d6d8);
padding: 11px 0px;
}
.main_menu nav{
text-align: center;
}
.main_menu nav a{
font-family: 'Marvel-Bold ';
font-size: 24px;
color: #313030;
text-decoration: none;
display: inline-block;
vertical-align: top;
padding: 5px 25px;
margin: 0 12px;
}
.main_menu nav a:hover{
text-decoration: underline;
}
.main_menu nav a.active{
background: #fdc903;
cursor: default;
}
.main_menu nav a.active:hover{
text-decoration: none;
}
.logo_section {
text-align: center;
padding: 55px 0px 0px;
}
.slider {
margin-top: 16px;
}
.slider img{
max-width: 100%;
}
.slider button {
position: absolute;
top:50%;
margin-top: -31px;
width: 72px;
height: 61px;
background-color: rgba(0,0,0, .35);
border: 0;
font-size: 0px;
z-index: 1;
background-repeat: no-repeat;
background-position: center;
cursor: pointer;
}
.slider button.slick-prev{
left: 0px;
background-image: url('../img/prev.png');
}
.slider button.slick-next{
right: 0px;
background-image: url('../img/next.png');
background-repeat: no-repeat;
background-position: center;
}
.slider button:hover {
background-color: #fdc903;
}