<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<html>
<body>
<section id="home">
<header id="left">
<div id="logo">
</div>
<div id="menu_btn">
<div class="bar1"></div>
<div class="bar2"></div>
<div class="bar3"></div>
</div>
<nav id="main_menu">
<ul class="lvl1">
<li class="lvl1"><a href="https://harunpehlivantebimtebitagem.carrd.co">FOUNDER CEO </a></li>
<li class="lvl1"><a href="http://www.doyoubuzz.com/harun-pehlivan">E-CV</a></li>
<li class="lvl1"><a href="http://hpitgroupwebdesignstudio.bitballoon.com">PROJECTS</a></li>
<li class="lvl1 contact"><a href="https://goo.gl/maps/Rgh4KZyJmyn">CONTACT</a></li>
</ul>
</nav>
</header>
</section>
</body>
</html>
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
height:100%;
width:100%;
margin:0 auto;
overflow:hidden;
color:#fff;
font-family: 'print_clearlyregular', verdana,arial,serif;
}
html{
width:100%;
height:100%;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
/********************/
a{
color:#17323a;
text-decoration:none;
}
::selection {
background:rgba(23, 50, 58, 0.8); /* Safari */
color:#fff;
}
::-moz-selection {
background:rgba(23, 50, 58, 0.8); /* Firefox */
color:#fff;
}
/************************************************************************************************************/
/************************************************************************************************************/
#home{
width:100%;
height:100%;
background-image: url(https://tebm.files.wordpress.com/2017/07/cropped-arge-proje-egitim-esnasc4b1nda-hallerim-1.jpg?w=1000&h=);
background-size:cover;
background-position:center center;
}
#left{
position:absolute;
top:50%;left:0;
margin-top:-59px;
width:100%;
height:119px;
background:none;
z-index:5;
}
#menu_btn ,#logo{
float:left;
}
#logo{
height:119px;
width:60px;
padding:0 50px;
text-align:center;
background:#17323a;
z-index:3;
position:relative;
}
#logo:after,#logo:before{
content:"";
position:absolute;
right:0;
width:120%;
height:100%;
background:#17323a;
z-index:-1;
}
#logo:before{
top:0;
transform:rotate(20deg);
-ms-transform:rotate(20deg);
-webkit-transform:rotate(20deg);
transform-origin: 100% 0;
-ms-transform-origin: 100% 0;
-webkit-transform-origin: 100% 0;
-o-transform-origin: 100% 0;
}
#logo:after{
top:0;
overflow:hidden;
transform:rotate(-20deg);
-ms-transform:rotate(-20deg);
-webkit-transform:rotate(-20deg);
transform-origin: 100% 100%;
-ms-transform-origin: 100% 100%;
-webkit-transform-origin: 100% 100%;
-o-transform-origin: 100% 100%;
}
#menu_btn{
background:rgba(156, 152, 133, 0.8);
cursor:pointer;
width:120px;
height:100%;
position:relative;
margin-left:5px;
-webkit-transition: background .5s ease-out;
-moz-transition: background .5s ease-out;
-o-transition: background .5s ease-out;
transition: background .5s ease-out;
}
#menu_btn:hover{
background:rgba(156, 152, 133, 1);
}
.bar1, .bar2, .bar3 {
width:40px;
height:4px;
border-radius:2px;
background:#fff;
position:absolute;
left:40px;
top:50%;
margin-top:-1px;
-webkit-transition: top 0.5s ease-out 0.5s, opacity 0 ease-out 0.5s, -webkit-transform 0.5s ease-out;
-moz-transition: top 0.5s ease-out 0.5s, opacity 0 ease-out 0.5s, -moz-transform 0.5s ease-out;
transition: top 0.5s ease-out 0.5s, opacity 0 ease-out 0.5s, transform 0.5s ease-out;
}
.open .bar1, .open .bar2, .open .bar3{
-webkit-transition: top 0.5s ease-out, opacity 0 ease-out 0.5s, -webkit-transform 0.5s ease-out 0.5s;
-moz-transition: top 0.5s ease-out, opacity 0 ease-out 0.5s, -moz-transform 0.5s ease-out 0.5s;
transition: top 0.5s ease-out, opacity 0 ease-out 0.5s, transform 0.5s ease-out 0.5s;
}
.open .bar2{
opacity:0;
}
.open .bar1{
top:50%;
-webkit-transform: rotate3d(0, 0, 1, 45deg);
-moz-transform: rotate3d(0, 0, 1, 45deg);
-ms-transform: rotate3d(0, 0, 1, 45deg);
-o-transform: rotate3d(0, 0, 1, 45deg);
transform: rotate3d(0, 0, 1, 45deg);
}
.open .bar3{
top:50%;
-webkit-transform: rotate3d(0, 0, 1, -45deg);
-moz-transform: rotate3d(0, 0, 1, -45deg);
-ms-transform: rotate3d(0, 0, 1, -45deg);
-o-transform: rotate3d(0, 0, 1, -45deg);
transform: rotate3d(0, 0, 1, -45deg);
}
.bar1{
top:39px;
}
.bar3{
top:80px;
}
#main_menu{
margin-left:285px;
position:relative;
}
#main_menu ul.lvl1{
position:absolute;
top:0;
left:0;
width:100%;
height:119px;
z-index:-1;
}
#main_menu ul li{
background:rgba(156, 152, 133, 0.7);
float:left;
width:24%;
/*border-left:5px solid transparent;*/
text-align:center;
-moz-box-sizing: border-box;
box-sizing: border-box;
margin:0 0 0 5px;
-webkit-transition: background .5s ease-out;
-moz-transition: background .5s ease-out;
-o-transition: background .5s ease-out;
transition: background .5s ease-out;
}
#main_menu ul li:hover{
background:rgba(156, 152, 133, 1);
}
#main_menu ul li a{
color:#fff;
line-height:119px;
font-family: verdana, sans-serif;
font-weight:thinner;
font-size:15px;
letter-spacing: 4px
}
$(document).ready(function(){
var menu = 0;
$('#main_menu').animate({ left: '-100%'}, 0);
$('#menu_btn').click(function(){
$('#menu_btn').toggleClass('open');
if(menu == 0 ){
$('#main_menu').animate({ left: '0'}, 1000);
menu=1;
}
else{
$('#main_menu').animate({ left: '-100%'}, 1000);
menu=0;
}
});
$('#main_menu').click(function(){
$('#left').animate({ top: '59px'}, 1000);
$('.featured').addClass('hide');
});
});