/* Start of navigation bar */
/*
*{
  outline: 1px solid red;
}
*/

header .outer-navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  background-color: white;
  position: fixed;
  top: 0;
  box-shadow: 5px -5px 8px 8px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  transition: top 0.3s;
}

header .navbar {
  margin: 0;
  width: 100%;
  height: 80px;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
/* End of navigation bar */

/* Start of company icon */
header .company-icon{
  display: flex;
  justify-content: center;
  width: auto;
  margin-right: 40px;
  margin-left: 40px;
}

header .company-icon img {
  width: 230px;
  height: 80px;
  object-fit: cover;
}
/* End of company icon */

/* Start of navigation links */
header .links {
  display: flex;
  margin: 0;
  padding: 0;
  justify-content: center;
  list-style: none;
  overflow: hidden;
  gap: 30px;
  width: auto;
}
  
header .links a{
  float: left;
  display: block;
  text-align: center;
  text-decoration: none;
  font-size: 17px;
  color: rgb(117, 117, 117);
  white-space: nowrap;
  font-size: 1rem;
  border-bottom: 2px solid rgba(0, 0, 0, 0);
}

header .links .active{
  color: black;
  border-bottom: 2px solid #004CA6;
}

header .links a:hover:not(.active){
  color: rgb(87, 87, 87);
  border-bottom: 2px solid rgb(234, 234, 234);
}

.right-links{
  display: flex;
  margin-left: auto;
  margin-right: 40px;
  gap: 30px;
}

.right-page-link{
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #004CA6;
  transition: color 0.1s;
}

.right-page-link:hover{
  color: #0073ff;
}

.right-page{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.right-page img{
  object-fit: cover;
  width: 40px;
  height: 40px
}

.right-page .privacy-policy-img{
  width: 30px;
  height: 30px
}

/* End of navigation links */

/* Start of menu */
header .menu {
  display: none;
  margin-left: auto;
  margin-right: 40px;
}

header .menu .menu-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  border: none;
  width: auto;
  gap: 8px;
  height: 45px;
  font-size: 1.1rem;
  white-space: nowrap;
  background-color: #fff;
}

header .menu .menu-options img {
  width: 16px;
  height: 16px;
  object-fit: cover;
  transition: transform 0.4s ease-in-out;
}

.menu-open .menu-container {
    margin-top: 0;
}

.menu-open {
    overflow: hidden;
}

header .menu-container {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 80px; /* Height of the navbar */
  left: 0;
  width: 100%;
  height: calc(100vh - 80px); /* Full height minus navbar */
  background-color: white;
  z-index: 99; /* Below navbar but will be visible */
  overflow-y: auto;
  margin-top: -100vh;
  transition: margin-top 0.5s ease-in-out;
}

header .menu-container .list-container{
  width: 100%;
  background-color: white;
  padding-top: 30px;
}


header .menu-container ul{
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  padding: 0;
}

header .menu-container ul a{
  text-decoration: none;
  color: rgb(130, 130, 130);
}

header .menu-container ul div{
  display: flex;
  align-items: center;
  height: 70px;
  border-left: solid 3px white;
}

header .menu-container li{
  list-style-type: none;
  font-size: 1.1rem;
  cursor: pointer;
  padding-left: 40px;
}

header .menu-container ul div:hover{
  border-left: solid 3px rgb(234, 234, 234);
}

header .menu-container ul div:hover a{
  color:rgb(82, 82, 82);
}

header .menu-container ul .active{
  border-left: solid 3px #004CA6;
}

header .menu-container ul .active a{
  color: black;
}

header .language-container .language img{
  width: 20px;
  height: 20px;
  object-fit: cover;
}

header .links .language-container {
  display: flex;
  align-items: center;
  cursor: pointer;
}

header .links .language-container .language {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 1rem;
  color: rgb(117, 117, 117);
  white-space: nowrap;
}

header .links .language-container .language .lang-text {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 1rem;
  color: rgb(117, 117, 117);
  white-space: nowrap;
  margin-bottom: 1px;
}

header .links .language-container:hover .language .lang-text {
  color: rgb(87, 87, 87);
}

header .menu-container .language-container {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding-left: 43px;
  margin-top: 20px;
  padding-bottom: 40px;
}

header .menu-container .language-container .language {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 1.1rem;
  color: rgb(130, 130, 130);
}

header .menu-container .language-container:hover .language {
  color: rgb(82, 82, 82);
}



/* End of menu */

/* Responsive design */

@media (max-width: 1100px){
  header .menu {
    visibility: visible;
  }
  
  header .links{
    display: none;
  }
  
  .menu-open .menu-container {
    display: flex;
  }
  header .menu {
    display: block;
  }
  .right-links{
    display: none;
  }
}

@media (max-width: 500px){
  header .company-icon{
    margin-right: 0;
    margin-left: 20px;
  }
  header .menu {
    margin-right: 40px;
    overflow: hidden;
  }
}

@media (max-width: 400px){
  header .company-icon{
    margin-left: 10px;
  }
  header .menu {
    margin-right: 10px;
  }

  header .menu .menu-options{
    font-size: 1rem;
  }

  header .menu .menu-options #menu-arrow{
    width: 14px;
    height: 14px;
  }

  header .company-icon img {
    width: 200px;
  }
}
