* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: sans-serif;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

header {
    background-color: rgba(5, 28, 104, 0.863);
    color: #fff;
    padding: 10px 20px;
    text-align: center;
    justify-content: space-between;
    border-bottom: 1px solid darkgoldenrod;
}

header:hover {
    border-bottom: 1em solid darkgoldenrod;
    transition: all ease-in-out .6s;
}

.contact {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    padding: auto;
}

.contact a {
    font-size: .8em;
    font-family: Roboto, sans-serif;
    font-weight: bold;
    text-align: center;
    color: #ffc400;
    text-decoration: none;
    transition: all ease-in-out .3s;
    font-style: oblique;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left {
    display: flex;
    align-items: center;
}

.logo1 {
    font-size: 24px;
    font-weight: bold;
    margin-right: 20px;
    color: #fff;
    text-transform: uppercase;
}

.logo2 {
    color: rgb(233, 170, 11);
    text-transform: uppercase;
}

.logo-a {
    text-decoration: none !important;
    cursor: pointer;
}

.menu-left ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.menu-left li {
    display: inline;
    margin-right: 20px;
}

.menu-left li a {
    color: #fff;
    text-decoration: none;
    transition: color .8s;
    cursor: pointer;
    font-size: 15px;
    font-family: Arial;
    font-weight: bold;
}

.menu-left li a:hover {
    color: #ffc400;
    text-decoration: none;
}

.nav-right {
    display: inline-flex;
    align-items: center;
}

.searchForm {
    margin-right: 20px;
}

.menu-right {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.menu-right li {
    display: inline;
    margin-right: 20px;
}

.menu-right li a {
    color: #fff;
    text-decoration: none;
    transition: color .6s;
    cursor: pointer;
    font-size: 15px;
    font-family: inherit;
    font-weight: bold;
}

.menu-right li a:hover {
    color: rgb(243, 177, 10);
    text-decoration: none;
}

.nav-right-a {
    color: #fff;
    text-decoration: none;
    margin-left: 20px;
    padding: 8px 10px;
    cursor: pointer;
    background-color: transparent;
    font-size: 15px;
    font-family: inherit;
    font-weight: bold;
    border: 0;
    border-radius: 6px;
    transition: background-color .8s;
    text-transform: uppercase;
}

.nav-right-a:hover {
    color: #ddd;
    background-color: rgb(238, 173, 8);
    box-shadow: 0 1px 0 1px #ffc400;
}


@media (max-width: 768px) {
  header nav {
    display: flex; 
    flex-wrap: wrap; 
    justify-content: space-between; 
  }

  .nav-left,
  .nav-right {
    flex: 5; 
    text-align: center;
    display: inline-flex;
  }

  .menu-left,
  .menu-right {
    display: none; 
  }

  .nav-left .logo,
  .nav-right-a {
    cursor: pointer; 
  }

  .nav-right-a {
    width: auto;
  }

  .nav-left.active .menu-left,
  .nav-right.active .menu-right {
    display: block;
  }

  .nav-right-a {
    width: 5em;
  }
}
