﻿@keyframes nav{
  from{
    transform: scale(.3);
  }
  to{
    transform: scale(1);
  }
}

.nav-container {
  height: 100%;
  width: 100%;
  padding-top: 10px;
}

.nav-items {
    /* letter-spacing: 1px; */
    width: 100%;
    display: flex;
    justify-content: space-around;  
}
.nav-items > li {
    /* float: left; */
    position: relative;
    width: 125px;
    height: 50px;
    line-height: 50px;
    cursor: pointer;
}

.nav-container .logo {
    width: 430px;
    height: 80px;
    margin: 5px auto;
}
.nav-container .logo img{
    width: 100%;
    height: 100%;
    animation: nav .5s;
}
.nav-items > li:hover .second-meun{
    /* display: block; */
    /* transform: scaleY(1); */
    transform: rotateX(0deg);
}
.nav-items > li > a {
    list-style: none;
    color: #fff;
    text-decoration: none;
    position: relative;
    transition: all .2s;
}
.nav-items > li:not(:last-child) {
    margin-right: 25px;
}
.nav-items > li:hover > a{
    font-weight: 600;
}
.nav-items > li a.selected::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #90000A;
}

.second-meun {
    /* display: none; */
    /* transform: scaleY(0); */
    transform: rotateX(90deg);
    transition: all 0.3s;
    transform-origin: top;
    width: 100%;
    position: absolute;
    top: 55px;
    left: 0;
    /* background-color: rgba(255, 255, 255, 0.7); */
    background-color: #fff;
    
}
.nav-items > li .second-meun > li {
    width: 100%;
    height: 100%;
    transition: all 0.2s;
}
.second-meun > li:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.second-meun > li a{
    color: #333;
}
.second-meun > li:hover {
    background: #064089;
}
.second-meun > li:hover a{
    color: #fff;
}