Q:

Input box toggle when click button

How can i make input box(blue square) to be visible/hidden when i press search button(red square) Link Image 
i tried to make the transition in CSS,also i tested in javascript,but JS ... me off(idk how js work)
Now,what i tried!

$("#Hide").click(function() {
    $(".buttontoggle").hide("blind");
});
* {
  padding: 0;
  margin: 0;
}

html {
  background-image: url(../Images/background.jp);
  background-repeat: no-repeat;
  background-attachment: fixed;
  font-family: 15px/1.5 'Arial', 'Helvetica', 'sans-serif', 'Montserrat';
}

body {
  height: 2000px;
}

.container {
  border: 2px solid;
  width: 1164px;
  height: 1600px;
  margin: 177px 350px 0px 371px;
  overflow: hidden;
  background-color: #0A081E;
}


/* #region Header */

header {
  background: #0A081E;
  color: #ffffff;
  padding-top: 0px;
  min-height: 55px;
  border-bottom: #e8491d 3px solid;
  position: fixed;
  min-width: 1920px;
  top: 0px;
  z-index: 1;
}

header a {
  color: #ffffff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 14px;
}

header li {
  float: left;
  display: inline;
  padding: 11px 45px 0 15px;
  margin-left: -30px;
}

#logo {
  width: 360px;
  height: 55px;
  background-size: cover;
  background-repeat: no-repeat;
}

header #logo {
  float: left;
  background-image: url(../Images/logo.png);
  background-size: 280px 40px;
  margin: 7px 0px -7px 40px;
}

.nav-container {
  width: 1280px;
  margin: auto;
  overflow: hidden;
  right: 10px;
}

header nav {
  float: right;
  margin-top: 10px;
}

header a:hover {
  color: #cccccc;
}

.vl {
  border-left: 2px solid white;
  height: 35px;
  float: left;
  position: absolute;
  left: 76.40%;
  top: 10px;
  opacity: 0.76;
  border-radius: 35%;
}

.LoginButton {
  margin: -11px -3px 0px 20px;
  background-color: #0A081E;
  /* Green */
  border: none;
  color: white;
  padding: 10px 10px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  -webkit-transition-duration: 0.4s;
  /* Safari */
  transition-duration: 0.4s;
  cursor: pointer;
  border-radius: 15%;
  font-weight: bold;
}

.LoginButton:hover {
  background-color: #ffffff;
}

.LoginButton:hover a {
  color: black;
  font-weight: bold;
}

.fa-search {
  margin: -7px 0px 0px 0px;
  background-color: #0A081E;
  /* Green */
  border: none;
  color: white;
  text-align: center;
  padding: 5px 5px;
  text-decoration: none;
  display: inline-block;
  font-size: 15px;
  transition-duration: 0.4s;
  cursor: pointer;
  border-radius: 15%;
  position: relative;
}

.fa-search:hover {
  background-color: #ffffff;
  color: black;
}

.searchbox {
  border: 1px solid red;
  box-sizing: border-box;
  border-radius: 4px;
  margin: -5px -10px 0px -5px;
  padding: 0px 6px 6px 6px;
  visibility: visible;
  text-align: center;
}
<body>
  <header>
    <div class="nav-container">
      <a href="Default.aspx" id="Logo">
      </a>
      <nav>
        <ul>
          <li class="buttontoggle"> <a href="#">New Release</a> </li>
          <li class="buttontoggle"> <a href="#">Others</a> </li>
          <li class="buttontoggle"> <a href="#">Top</a> </li>
          <li class="buttontoggle"> <a href="#">Contact</a> </li>
          <li>
            <form>
              <input type="text" class="searchbox" name="search" />
            </form>
          </li>
          <li><i class="fa fa-search" id="Hide"></i></li>

          <div class="vl"></div>
          <li> <span class="LoginButton">
                                       <a href="#" >Login</a>
                                    </span>
          </li>
        </ul>
      </nav>
    </div>
  </header>

  <body>

This is the last code i write...also i tried with webkit transition in css,but its not what i want  and 
My english is very bad,i do not think you will understand what i mean
Edit: You can try to edit it live :..WebPage

A:

You should use toggle instead of hide, as below
$("#Hide").click(function() {
    $(".searchbox").toggle("blind");
});

And certainly, you already made sure that you included jquery in your html. If not, just add this to your html to quickly test your work:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>

The same for font-awesomeness
<link href="//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet">

