* {
    box-sizing: border-box;
  }
  html {
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }
  body {
    margin: 0px;
  }
  .bg {
      background-color: black;
  }
  
  .nav {
    height: 53px;
    width: 100%;
    background-color: #4d4d4d;
    position: fixed;
    top:0;
  }
  
  .nav > .nav-header {
    display: inline;
  }
  
  input[type=search] {
      color: black;
      font-size:18px;
      font-family: inherit;
      padding: 4px 20px;
      border: none;
      border-radius: 2px;
  }
  button {
    background-color:hotpink; 
    color: white; 
    border: none; 
    padding:5.5px 21px;
     font-size:18px;
     font-family: inherit;
     border-radius: 2px;
  }

  
  .nav > .nav-header > .nav-title {
    display: inline-block;
    font-size: 22px;
    color: #fff;
    padding: 10px 10px 10px 10px;
  }
  
  .nav > .nav-btn {
    display: none;
  }
  
  .nav > .nav-links {
    display: inline;
    font-size: 18px;
  }
  
  .nav > .nav-links > a {
    display: inline-block;
    padding: 13px 10px 13px 10px;
    text-decoration: none;
    color: #efefef;
  }

  .search-bar {
      float: right;
      margin-top: 10px;
      margin-right: 10px;
  }
  .nav > .nav-links > a:hover {
    background-color: rgba(0, 0, 0, 0.3);
  }
  
  .nav > #nav-check {
    display: none;
  }
  
  

  @media(max-width:999px) {
    .nav > .nav-btn {
      display: inline-block;
      position: absolute;
      right: 0px;
      top: 0px;
    }
    .nav > .nav-btn > label {
      display: inline-block;
      width: 50px;
      height: 50px;
      padding: 13px;
    }
    .nav > .nav-btn > label:hover {
      background-color: rgba(0, 0, 0, 0.3);
    }
    .nav > .nav-btn > label > span {
      display: block;
      width: 25px;
      height: 10px;
      border-top: 2px solid #eee;
    }
    .nav > .nav-links {
      position: absolute;
      display: block;
      width: 100%;
      background-color: #333;
      height: 0px;
      transition: all 0.3s ease-in;
      overflow-y: hidden;
      top: 50px;
      left: 0px;
    }
    .nav > .nav-links > a {
      display: block;
      width: 100%;
    }
    .nav > .nav-links > input {
        display: block;
        width: 100%;
        padding: 13px;
      }
    .nav > #nav-check:not(:checked) + .nav-links {
      height: 0px;
    }
    .nav > #nav-check:checked + .nav-links {
      height: calc(80vh - 50px);
      overflow-y: auto;
    }
    .search-bar {
        float: none;
        width: 90%;
    }
    button {
        margin-left: 5px;
        margin-top: 5px;
    }
    input[type =search] {
        width: 100%;
        margin-left: 5px;
        margin-right: 5px;
    }
  }