* {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}
body {
  font-family: "Lato", sans-serif;
  background:#ddd;
}

header{
  width:100%;
  height:80px;
  left:0;
  top:0;
  background:#030E1F;
  color:#fff;
  position:fixed;
  display:flex;
  justify-content:space-between;
  align-items:center;
  z-index:15;
}

header .logo{
  width:200px;
  text-align:center;
  color:#fff;
}
header .logo h1{color:#fff;font-size:34px;font-weight:bold;}
header .logo span{color:#F0B616;}
header h3{
  width:calc(100% - 240px);
  height:40px;
  display:flex;
  justify-content:center;
  align-items:center;
}
/* Style the tab */
.tab {
  float: left;
  background:#151D24;
  top:80px;
  left:0;
  width:200px;
  height:100vh;
  position:fixed;
}

/* Style the tab content */
.tabcontent {
  margin-top:80px;
  margin-left:200px;
  width:calc(100% - 200px);
  height:500px;
}
.tabcontent h3{
  width:calc(100% - 220px);
  text-align:center;
  background:#325D87;
  color:#fff;
  position:fixed;
}
.tabcontent h3,.tabcontent .midoc{
   margin:8px 12px;
}
.tabcontent .midoc{
   width:calc(100% - 200px);
   text-align:justify;
   margin-top:50px;
   height:500px;
   position:fixed;
   overflow:auto;
 }
 .tabcontent .midoc p{width:98%;padding-bottom:20px;}
/* Style the buttons inside the tab */
.tab button,.tab a {
  display: block;
  background:inherit;
  color:#fff;
  padding: 15px 11px;
  width: 100%;
  border: none;
  outline: none;
  text-align: left;
  cursor: pointer;
  transition: 0.3s;
  font-size: 17px;
  font-weight:bold;
}
.tab a {
   text-decoration:none;
   margin-top:75px;
   border-top:1px solid#fff;
   border-bottom:1px solid#fff;
   
 }
.tab a:hover {background-color:#325D87;}
/* Change background color of buttons on hover */
.tab button:hover {
  background-color:#325D87;
}

/* Create an active/current "tab button" class */
.tab button.active {
  background-color: #3A4857;
}

@media screen and (max-width:710px){
   .tab{width:150px;}
   .tabcontent {margin-left:150px;width:calc(100% - 180px);}
   .tab button,.tab a {font-size:13px;}
}
@media screen and (max-width:610px){
   header h3{
      font-size:15px;
      text-align: justify;
      margin-right:8px;
   }
}
@media screen and (max-width:500px){
   header h3{
      font-size:13px;
   }
}