html {

    box-sizing: border-box;

    font-family: 'Barlow', sans-serif;

    font-size: 14px;

    font-weight: 300;

}



header {

    width: 100%;

    min-width: 400px;

    height: 200px;

    background-color: white;

    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.3);

    position: absolute;

    z-index: 2;

}



a {

    color: inherit;

}



.upper-hdr {

    background-color: #29364F;

    height: 30%;

    width: 100%;

    display: flex;

    justify-content: flex-end;

}



.upper-item {

    display: flex;

    align-items: center;

}



.upper-item li::selection,

.upper-item img::selection {

    background-color: #FFBF00;

    color: #29364F;

}



.upper-wrapper {

    width: 100%;

    height: 100%;

    display: flex;

    padding-right: 12px;

    flex-direction: row;

    justify-content: flex-end;

    align-items: center;

}



.wrapper-item {

    color: white;

    font-size: calc(1em + 0.1vw);

    font-weight: 300;

    letter-spacing: 1px;

    padding-right: 8px;

    display: flex;

    align-items: center;

}



.wrapper-item:hover {

    cursor: default;

}



.wrapper-item:first-child:hover {

    cursor: pointer;

}



.wrapper-item img {

    width: calc(1em + 0.1vw);

}



nav {

    margin: 0 auto;

    width: 100%;

    max-width: 1300px;

    height: 70%;

    display: flex;

    justify-content: center;

    align-items: center;

}



nav .logo {

    height: 100%;

    width: 25%;

    display: flex;

    justify-content: center;

}



nav .logo>a {

    width: 100%;

    display: flex;

    justify-content: center;

    align-items: center;

    text-align: center;

    padding: 10px, 0;

}



nav .logo img {

    height: 68%;

}



nav .nav-menu {

    height: 100%;

    width: 75%;

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 0 1%;

}



nav .menu-item {

    text-decoration: none;

    text-transform: uppercase;

    font-size: 1em;

    font-weight: 400;

    color: #323435;

    height: 100%;

    width: 25%;

    margin: 0 auto;

    padding: 0 0.5%;

    display: flex;

    align-items: center;

    justify-content: center;

    transition: background-color 0.25s ease-out;

}



nav a::selection,

nav .logo img::selection {

    color: #29364F;

    background-color: #FFBF00;

}



.menu-item:nth-of-type(1) {

    min-width: 116px;

    flex: 1 1 auto;

}



.menu-item:nth-of-type(2) {

    min-width: 148px;

    flex: 1 0 auto;

}



.menu-item:nth-of-type(3) {

    min-width: 153px;

    flex: 1 0 auto;

}



.menu-item:nth-of-type(4),

.menu-item:nth-of-type(5) {

    max-width: 90px;

    flex: 0 4 auto;

}



nav .menu-item a {

    text-decoration: none;

    height: 100%;

    display: flex;

    align-items: center;

}



nav .menu-item:hover,

nav .menu-item:focus {

    background-color: #29364F;

}



nav .menu-item:hover a,

nav .menu-item:focus a {

    color: white;

}



.menu-item:hover>.dropdown .dropdown-item a {

    color: #29364F;

}



.menu-item>.dropdown .dropdown-item:hover a {

    color: white;

}



nav a:visited,

.arrow:visited {

    color: #323435;

}



.dropdown {

    display: none;

    top: 90px;

    background-color: white;

    position: absolute;

    width: 18%;

    max-width: 246px;

    min-width: 187px;

}



.menu-item:hover>.dropdown {

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

}



.dropdown-item {

    width: 100%;

    list-style-type: none;

    background-color: white;

    line-height: 3;

    display: flex;

    justify-content: center;

}



.dropdown-item:hover {

    background-color: #0496FF;

    color: white;

}



.menu-item:hover .dropdown .dropdown-item {

    animation: display 0.5s forwards;

}



@keyframes display {

    0% {

        height: 0px;

    }



    100% {

        height: 40px;

    }

}



.arrow:after {

    content: '';

    width: 0;

    height: 0;

    border-left: 5px solid transparent;

    border-right: 5px solid transparent;

    border-top: 5px solid #29364F;

    margin-left: 10px;

}



.menu-item:hover .arrow:after {

    border-top: 5px solid white;

}



.arrow a:visited {

    color: red !important;

}



.ctr-flex {

    display: flex;

    justify-content: center;

    align-items: center;

}



@media (max-width: 980px) {

    .logo {

        width: 15%;

        padding: 3%

    }



    .nav-menu {

        width: 85%;

        font-size: .9em;

    }

}



@media (max-width: 769px) {

    header {

        height: 75px;

    }



    .upper-item {

        width: 50%;

    }



    .wrapper-item {

        font-size: calc(0.75em + 0.25vw);

    }



    .logo {

        width: 100%;

        max-height: 90px;

    }



    nav .nav-menu {

        display: none;

    }

}