header {
	/*
	background-color: #2a398f;
	padding: 10px 30px;
	box-shadow: inset 0 0 20px 0 rgba(0,0,0,0.7);
	*/
	position: relative;
  width: 100vw;
  z-index: 1000;
}
@media only screen and (min-width: 1000px) {
	header {
		justify-content: space-between;
	}
}
@media only screen and (max-width: 400px) {
	header {
		/*padding: 10px 20px;*/
	}
}
header .wrapper_brand_logo_navbar {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	/*margin: auto;*/
	/*max-width: 790px;*/
	
	background-color: #2a398f;
	padding: 10px 30px;
	box-shadow: inset 0 0 20px 0 rgba(0,0,0,0.7);
	
	position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1001;
	box-sizing: border-box;
}
@media only screen and (min-width: 790px) {
	header .wrapper_brand_logo_navbar {
		justify-content: space-around;
	}
}

/*-------- brand logo images ----------------*/
header .brand_logo {
	height: 100px;
	width: auto;
	border-radius: 50%;
	position: relative;
	z-index: 1;
	transition: height 0.4s ease, width 0.4s ease;
}
header .brand_logo:hover {
  box-shadow: 10px 10px 15px rgba(0,0,0,1);
}
header.scrolled .brand_logo {
  height: 50px;
	width: auto;
}
@media only screen and (max-width: 400px) {
	header .brand_logo {
		/*height: 50px;*/
	}
}
header .brand_logo .background {
	position: absolute;
	background-color: #fff;
	height: 95px;
	width: 95px;
	border-radius: 50%;
	top: 3px;
	left: 3px;
	z-index: 1;
}
header .brand_logo .background::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0,0,0,1);
  z-index: 0;
}
header .brand_logo .background:hover {
	box-shadow: 10px 10px 10px 10px rgba(0,0,0,1);
}
header .brand_logo img {
	position: absolute;
	width: 100px;
	height: auto;
	border-radius: 50%;
	overflow: hidden;
	z-index: 1;
}
/*-------- brand logo effects --------------*/
header .brand_logo .rope {
  animation: spin 20s linear infinite;
  transform-origin: 50% 50%;
}
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
header .brand_logo .ship {
  animation: wiggle 1s ease-in-out infinite;
  transform-origin: 50% 100%;
}
@keyframes wiggle {
  0%   { transform: rotate(0deg); }
  10%  { transform: rotate(1deg); }
  20%  { transform: rotate(2deg); }
  30%  { transform: rotate(2deg); }
  40%  { transform: rotate(1deg); }
  50%  { transform: rotate(0deg); }
  60%  { transform: rotate(-1deg); }
  70%  { transform: rotate(-2deg); }
  80%  { transform: rotate(-3deg); }
  90%  { transform: rotate(-1deg); }
  100% { transform: rotate(0deg); }
}




header .navbar {
	margin: auto 0;
}
header .navbar > ul {
	display: flex;
	flex-direction: row;
	gap: 30px;
	list-style: none;
	margin: auto 0;
}
header .navbar li {
	color: #fff;
	padding: 5px;
	margin: auto;
	list-style: none;
}
header .navbar .contact {
	background-color: #fff;
	color: #2a398f;
	font-weight: bold;
	border-radius: 4px;
	padding: 5px 7px;
	box-shadow: 0 0 9px 0 rgba(0,0,0,1);
	transition: all 0.15s ease-in-out;
}
header .navbar .contact:hover {
	box-shadow: 0 0 12px 0 rgba(0,0,0,1);
	transform: scale(1.1);
	background-color: #27ae60;
	/*background-color: #1abc9c;*/
	color: #fff;
}
@media only screen and (max-width: 400px) {
	header .navbar .contact {
		display: none;
	}
}
#contact,
#about,
#projects {
  scroll-margin-top: 150px;
}



/*------------- dropdown menu + submenu -------------*/
.dropdown_toggle {
  position: relative;
  display: inline-block;
}
.dropdown_toggle .menu_label {
  cursor: pointer;
  user-select: none;
  display: inline-flex;
  align-items: center;
  padding: 5px 7px;
	border-radius: 4px;
	transition: all 0.2s ease-in-out;
}
.dropdown_toggle .menu_label:hover,
.dropdown_toggle .menu_label:focus,
.dropdown_toggle.open .menu_label {
  box-shadow: 0 0 5px 0 rgba(0,0,0,.5);
}
.dropdown_toggle .submenu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
	left: -160px;
  min-width: 220px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  z-index: 9999;
}
.dropdown_toggle .submenu li {
	list-style: none;
  margin: 0;
	padding: 0;
}
.dropdown_toggle .submenu .rush a {
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	overflow: hidden;
	background-color: #27ae60 !important;
	color: #fff !important;
	font-weight: bold;
}
.dropdown_toggle .submenu .rush img {
	height: 20px;
	width: auto;
	margin: auto;
	vertical-align: bottom;
	margin-left: 3px;
}
.dropdown_toggle .submenu li:not(:last-child) {
	border-bottom: solid 1px #000;
}
.dropdown_toggle .submenu li a {
  display: block;
  padding: 11px 16px;
  color: #111;
  text-decoration: none;
  transition: background-color .12s ease;
}
.dropdown_toggle .submenu li:not(:last-child) a:hover,
.dropdown_toggle .submenu li:not(:last-child) a:focus {
  background-color: #f0f0f0;
  color: #000;
}
.dropdown_toggle .submenu li:last-child a:hover,
.dropdown_toggle .submenu li:last-child a:focus {
  background-color: #f0f0f0;
  color: #000;
}
@media (max-width: 420px) {
  .dropdown_toggle .submenu {
    left: auto;
    right: 0;
  }
}
.dropdown_toggle .submenu li.lang {
  padding: 0;
  list-style: none;
}
.dropdown_toggle .submenu li.lang .lang_link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  text-decoration: none;
  color: #111;
  width: 100%;
  box-sizing: border-box;
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
}
.dropdown_toggle .submenu li.lang .lang_link img {
  width: 20px;
  height: auto;
  display: block;
}
.dropdown_toggle .submenu li.lang .lang_link:hover,
.dropdown_toggle .submenu li.lang .lang_link:focus {
  background-color: #f0f0f0;
  color: #000;
}






header .slidingbar {
  background-color: #5c9dd4;
  overflow: hidden;
  box-shadow: 0 0 5px 0 rgba(0,0,0,1);
}
header .slidingbar_track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: slide-left 20s linear infinite;
}
header .slidingbar ul {
  list-style: none;
  display: flex;
  gap: 50px;
  padding: 5px 0;
  margin: 0;
	color: #fff;
}
header .slidingbar li {
  white-space: nowrap;
  color: #fff;
  font-weight: bold;
  font-size: 14px;
}
header .slidingbar li .dot {
	margin: auto;
	padding: 0 10px 0 50px;
}
header .slidingbar li:last-child .dot {
	padding-right: 50px;
}
@keyframes slide-left {
  0% { transform: translateX(0); }
	100% { transform: translateX(-50%); }
}
