ul { list-style: none; }

a { text-decoration: none; }

.main {
  position: relative;
  top: 0px;
  background-color: #0044A1;
  width: 100%;
  z-index: 1000;
}

.container {
  max-width: 90rem;
  padding: 15px 2rem;
  height: 6rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  position: relative;
}

.logo-container{
  /* flex: 1; */
  display: flex;
  align-items: center;
  width: 100px;
  height: auto;
}

.logo-container img {
  width: 100%;
  object-position: center;
}

.social-2 {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.social-2 li{
  list-style: none;
  display: inline-block;
  margin: 0 0.35rem;
}

.social-2 li a {
  font-size: 15px;
  height: 30px;
  width: 30px;
  color: #fff;
  border: 1px solid #fff;
  display: inline-block;
  border-radius: 50%;
  padding: 0.4rem 0;
  text-align: center;
}

.social-2 li a:hover {
  color: #0044A1;
  border: 1px solid #fff;
  background-color: #fff;
}

.nav-btn {
  flex: 3;
  display: flex;
}

.nav-links { flex: 2; }

.nav-links > ul {
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-link { position: relative; }

.nav-link > a {
  line-height: 3rem;
  color: #fff;
  padding: 0 1.2rem;
  /* letter-spacing: 1px; */
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  transition: 0.5s;
  text-transform: uppercase;
  cursor: pointer;
}

.nav-link > a > i { margin-left: 0.2rem; }

.nav-link:hover > a {
  transform: scale(1.2);
  background: #afafaf1f;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 10rem;
  transform: translateY(10px);
  opacity: 0;
  pointer-events: none;
  transition: 0.5s;
}

.dropdown ul { position: relative; }

.dropdown-link > a {
  display: flex;
  background-color: #317ae0;
  color: #fff;
  padding: 0.5rem 1rem;
  font-size: .95rem;
  align-items: center;
  transition: 0.3s;
  text-transform: uppercase;
}

.dropdown-link:hover > a {
  background-color: #022352;
  color: #fff;
}

.dropdown-link:not(:nth-last-child(2)) { border-bottom: 1px solid #fff; }

.dropdown-link i { transform: rotate(-90deg); }

.arrow {
  position: absolute;
  width: 11px;
  height: 11px;
  top: -5.5px;
  left: 32px;
  background-color: #5a7ddf;
  transform: rotate(45deg);
  cursor: pointer;
  transition: 0.3s;
  z-index: -1;
}

.dropdown-link:first-child:hover ~ .arrow { background-color: #022352; }

.dropdown-link { position: relative; }

.dropdown .second {
  top: 0;
  left: 100%;
  padding-left: 0.8rem;
  cursor: pointer;
  transform: translateX(10px);
}

.dropdown.second .arrow {
  top: 10px;
  left: -5.5px;
}

.nav-link:hover > .dropdown,
.dropdown-link:hover > .dropdown {
  transform: translate(0, 0);
  opacity: 1;
  pointer-events: auto;
}

.hamburger-menu-container {
  /* flex: 1; */
  display: none;
  align-items: center;
  justify-content: flex-end;
}

.hamburger-menu {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hamburger-menu div {
  width: 1.6rem;
  height: 3px;
  border-radius: 3px;
  background-color: #fff;
  position: relative;
  z-index: 1001;
  transition: 0.5s;
}

.hamburger-menu div:before,
.hamburger-menu div:after {
  content: "";
  position: absolute;
  width: inherit;
  height: inherit;
  background-color: #fff;
  border-radius: 3px;
  transition: 0.5s;
}

.hamburger-menu div:before { transform: translateY(-7px); }

.hamburger-menu div:after { transform: translateY(7px); }

#check {
  position: absolute;
  top: 50%;
  right: 2rem;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  z-index: 90000;
  cursor: pointer;
  opacity: 0;
  display: none;
}

#check:checked ~ .hamburger-menu-container .hamburger-menu div { background-color: transparent; }

#check:checked ~ .hamburger-menu-container .hamburger-menu div:before { transform: translateY(0) rotate(-45deg); }

#check:checked ~ .hamburger-menu-container .hamburger-menu div:after { transform: translateY(0) rotate(45deg); }

@keyframes animation {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0px);
  }
}

@media screen and (max-width: 1024px){

  .social-2 { display: none; }

  .logo-container { width: 115px; }
}

@media (max-width: 920px) {

  .main { position: relative; }

  .social-2 { display: none; }

  .logo-container { width: 115px; }
  
  .hamburger-menu-container { display: flex; }

  #check { display: block; }

  .nav-btn {
    position: fixed;
    height: calc(100vh - 3rem);
    top: 6rem;
    left: 0;
    width: 100%;
    background-color: #0044A1;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    overflow-x: hidden;
    overflow-y: auto;
    transform: translateX(100%);
    transition: 0.65s;
  }

  #check:checked ~ .nav-btn .nav-link,
  #check:checked ~ .nav-btn { animation: animation 0.5s ease forwards; }

  #check:checked ~ .nav-btn { transform: translateX(0); }

  .nav-links {
    flex: initial;
    width: 100%;
  }

  .nav-links > ul { flex-direction: column; }

  .nav-link {
    width: 100%;
    opacity: 0;
    transform: translateY(15px);
  }

  .nav-link > a {
    line-height: 1;
    padding: 1.6rem 2rem;
  }

  .nav-link:hover > a {
    transform: scale(1);
    background-color: #317ae0;
  }

  .dropdown,
  .dropdown.second {
    position: initial;
    top: initial;
    left: initial;
    transform: initial;
    opacity: 1;
    pointer-events: auto;
    width: 100%;
    padding: 0;
    background-color: #022352;
    display: none;
  }

  .nav-link:hover > .dropdown,
  .dropdown-link:hover > .dropdown { display: block; }

  .nav-link:hover > a > i,
  .dropdown-link:hover > a > i { transform: rotate(360deg); }

  .dropdown-link > a {
    background-color: transparent;
    color: #fff;
    padding: 1.2rem 2rem;
    line-height: 1;
  }

  .dropdown.second .dropdown-link > a { padding: 1.2rem 2rem 1.2rem 3rem; }

  .dropdown.second .dropdown.second .dropdown-link > a { padding: 1.2rem 2rem 1.2rem 4rem; }

  .dropdown-link:not(:nth-last-child(2)) { border-bottom: none; }

  .arrow {
    z-index: 1;
    background-color: #0044A1;
    left: 10%;
    transform: scale(1.1) rotate(45deg);
    transition: 0.5s;
  }

  .nav-link:hover .arrow { background-color: #317ae0; }

  .dropdown .dropdown .arrow { display: none; }

  .dropdown-link:hover > a { background-color: #0044A1; }

  .dropdown-link:first-child:hover ~ .arrow { background-color: #317ae0; }

  .nav-link > a > i {
    font-size: 1.1rem;
    transform: rotate(-90deg);
    transition: 0.7s;
  }

  .dropdown i {
    font-size: 1rem;
    transition: 0.7s;
  }
}

@media screen and (max-width: 768px){
  .social-2 { display: none; }

  .logo-container { width: 115px; }

  .container { justify-content: space-between; }
}

@media screen and (max-width: 425px){
  .social-2 { display: none; }

  .logo-container { width: 115px; }

  .container { justify-content: space-between; }
}