.header-container {
  position: fixed;
  top: 0;
  width: 100%;
  height: 55px;
  z-index: 2;
  background-color: black;
  padding: 10px 0px 15px 0px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  margin-right: auto;
  margin-left: 10px;
}

.mcc-img {
  height: 55px;
}

.icon-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-right: 30px;
}

.top-container {
  position:absolute;
  top:0;
  left:0;
  right:0;
  bottom:0; 
  margin: auto;
  padding: 10px 10px 15px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center; 
  max-width: 1280px;
}

.menu-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
}

.nav-link {
  cursor: pointer;
  background-color: #1a1a1a;
  display: block;
  box-sizing: border-box;
}

  .nav-link > a:first-of-type {
      border-bottom: solid #323232 2px;
      padding: 15px 15px 15px 30px;
  }

.sublinks {
  border-bottom: solid #323232 2px;
}

  .sublinks > a {
      padding: 10px;
  }

.material-icons.ham-menu {
  font-size: 50px;
}

.menu-position {
  font-size: 15px !important;
  margin-top: 5px;
}

.overlay {
  position: absolute;
  top: 80px;
  left:0;
  right:0;
  background-color: #1a1a1a;
  height: calc(100vh - 80px);
  display: none;
  overflow: auto;
  z-index: 1002;
}

.overlay-container {
  position: absolute;  
  top:0;  
  left:0;  
  right:0;   
  max-width: 1280px;
  overflow:hidden;
  margin-left: auto;
  margin-right: auto;
}

.abs-container {
  position:absolute;
  top:80px;
  left:0;
  right:0;
  bottom:0;
  z-index: 1000;
  overflow:auto;
}

.rel-container {
  position:relative;
  top:0;
  left:0;
  right:0;
  z-index: 1001;
  max-width:1280px;
  margin-left: auto;
  margin-right:auto; 
  display:block;
  overflow-x: hidden;
}



@keyframes slidein {
  from {
      margin-left: -100%;
  }

  to {
      margin-left: 0%;
  }
}

.overlay-content {
  max-width: 1280px;  
  text-align: left;
  margin: 0 auto; 
  border-left:solid #444 1px;
  border-right:solid #444 1px;
  animation-duration: 0.5s;
  animation-name: slidein;
  overflow: hidden;
  margin-bottom: 80px;
}

.overlay a {
  text-decoration: none;
  font-size: 25px;
  color: white;
  display: block;
  transition: 0.3s;
}

  .overlay a:hover {
      color: #818181;
  }

.sublinks a {
  padding-left: 50px;
  font-size: 20px;
}

.book-container,
.play-container,
.login-container,
.menu-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-left: 10px;
  flex: 1;
  text-decoration: none;
  color: white;
  font-size: 16pt;

}

  .book-container img,
  .play-container img,
  .login-container img {
      width: 50px;
      height: 50px;
      object-fit: contain;
      max-width: none;
  }

  .book-container p,
  .play-container p,
  .login-container p {
      margin: 5px 0 0;
      font-size: 15px;
      color: #ffffff;
  }

.material-icons {
  vertical-align: middle;
}



@media screen and (max-width: 800px) {
  .mcc-img {
      height: 35px;
  }

  .book-container img,
  .play-container img,
  .login-container img {
      height: 35px;
      object-fit: contain;
      max-width: none;
  }

  .book-container p,
  .play-container p,
  .login-container p {
      margin: 5px 0 0;
      font-size: 12px;
      color: #ffffff;
  }

  .material-icons.ham-menu {
      font-size: 35px;
  }

  .menu-position {
      font-size: 12px !important;
      margin-top: 5px;
  }

  .socialIcons-display {
      display: flex;
      justify-content: space-evenly;
      margin-left: auto;
  }

  .socialicon {
      padding: 0px;
  }
}


@media only screen and (max-width: 400px) {
  .top-container {
    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:0; 
    margin: auto;
    padding: 10px 0px 15px 0px;
    display: flex;
    justify-content: space-between;
    align-items: center; 
    max-width: 1280px;
  }

  .icon-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-right: 20px;
  }
}

