header {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.free-area{
  background: #002549;
}
.header-area{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: #fff;
  opacity: 0.95;
}

nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1em;
}

nav a {
  color: black;
  text-decoration: none;
  font-weight: 500;
  padding: .5em 1em;
  font-size: 1.05rem;
}
nav a:hover {
  color: white;
  padding: .5em 1em;
  background: #029b30;
  border-radius: 1.5rem;
}

nav a.selected{
  color: white;
  padding: .5em 1em;
  background: #029b30;
  border-radius: 1.5rem;
}
.openable-area{
  margin-top: .25em;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 1em;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1em;
  align-items: stretch;
}
.openable-area{
  visibility: hidden;
}
.openable-area .link-item{
  display: flex;
  gap: 1em;
  align-items: center;
  cursor: pointer;
  padding: .5em;
  transition: background 0.3s;
  position: relative;
  width: 100%;
  height: 100%;
}
.openable-area .link-item:hover{
  background: #eee;
}
.openable-area .link-item i {
  color: #029b30;
  font-size: 1rem;
}

.openable-area .link-item span {
  font-size: 1rem;
}
.openable-area a{
  color: #000;
  text-decoration: none;
}
.menu-close {
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25em .5em;
  border-radius: .5rem;
  transition: background 0.3s ease;
}

.menu-close:hover {
  background: #eee;
}
@media screen and (max-width:1256px) {
  header{
    position: fixed;
    width: 100%;
  }
  .free-area{
    height: 0;
  }
  .header-area{
    border-radius: 0;
  }
  nav a {
    display: none;
  }
  .header-area .menu-bar{
    display: block;
    cursor: pointer;
    font-size: 1.25rem;
    padding: .5em .75em;
    border-radius: .5rem;
  }
  .header-area .menu-bar:hover{
    background: #eee;
  }
  
  .mobile-menu.active {
    transform: translateX(0);
  }
  .mobile-menu-inner {
    display: flex;
    flex-direction: column;
    gap: 1.5em;
    padding: 1em;
  }
  .menu-header{
    display: flex;
    justify-content: space-between;
    padding-right: 1em;
    margin-bottom: 1em;
    align-items: center;
  }
  .mobile-menu-inner a {
    color: #222;
    text-decoration: none;
    font-weight: 500;
  }
  .mobile-menu-inner a:hover {
    color: #029b30;
  }
  .mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    background: white;
    box-shadow: 2px 0 6px rgba(0,0,0,0.1);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 9999;
    padding-top: 2em;
  }
}
@media screen and (max-width:1256px) and (min-width:912px) {
  .mobile-menu{
    width: 35%;
  }
}
@media screen and (min-width:1256px) {
  header{
    width: 75%;
  }
  .free-area{
    height: 2em;
  }
  .header-area{
    border-radius: 0 0 1rem 1rem;
  }
  .header-area .menu-bar{
    display: none;
  }
  .mobile-menu{
    display: none;
  }
  header .logo {
    font-size: 1.5rem;
    font-weight: bold;
    width: 130px;
  }
}
@media screen and (min-width:912px) {
  .menu-close{
    display: none;
  }
  
  header .logo {
    font-size: 1.5rem;
    font-weight: bold;
    width: 130px;
  }
}
@media screen and (max-width:912px){
  .mobile-menu{
    width: 100%;
  }
  header .logo {
    font-size: 1.5rem;
    font-weight: bold;
    width: 100px;
  }
}