﻿@charset "utf-8";

body{
     background:#222;
     font-family:Helvetica, sans-serif;
}

nav{
    position:absolute;
    top:10px;
    left:30px;
    cursor:pointer;
}

nav ul{
    margin:0;
    padding:0;
    float:left;
    height:38px;
    box-shadow:0px 0px 32px 0px #111;
    border-radius:10px;
    width:auto;
}

nav ul li{
    position:relative;
    border-right:1px solid #222;
    list-style:none;
    float:left;
    background:#333;
    padding:10px;
    width:140px;
    text-align:center;
    transition:all 500ms;
    color:#999;
}

nav ul li:first-child{
    border-radius:10px 0 0 10px;
}

nav ul li:last-child{
    border-radius: 0 10px 10px 0;
    border:none;
}

nav ul li:hover{
    background:#09C;
    color:#FFF;
}

nav ul li:hover ul{
    height: auto;
    opacity:1;
}

nav ul li ul{
    height:0;
    overflow:hidden;
    opacity:0;
    position:absolute;
    top: 40px;
    left:0;
}

nav ul li ul li{
    width:150px;
}

nav ul li ul li:first-child {
    border-radius:10px 10px 0 0;
}

nav ul li ul li:last-child {
    border-radius:0 0 10px 10px;
    border:none;
}

a{
  color: #999;
  text-decoration: none;
}

a:hover{
  color: #FFF;
  text-decoration: none;
}