#search-box {
    visibility: hidden;
    position: absolute;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, .8);
    position:   fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999999999;
  
    .container {
      display: table;
      width: 100%;
      height: 100%;
      .close {
        position: absolute;
        right: 32px;
        top: 32px;
        width: 32px;
        height: 32px;
        opacity: 0.3;
      }
      .close:hover {
        opacity: 1;
      }
      .close:before,
      .close:after {
        position: absolute;
        left: 15px;
        content: ' ';
        height: 33px;
        width: 2px;
        background-color: white;
      }
      .close:before {
        transform: rotate(45deg);
      }
      .close:after {
        transform: rotate(-45deg);
      }
      .search-main {
        display: table-cell;
        vertical-align: middle;
        .search-inner {
          width: 80%;
          margin: 0 auto;
        }
  
        form{
          position: relative;
          display: flex;
          justify-content: center;
          align-items: center;
        }
        input {
            display: block;
           
            width:50%;
            height: 80px;
            border: none;
            border-radius: 30px;
            color: var(--paragraph-color);
            padding: 0 0 0 25px;
            font-weight: 500;
            outline: 0;
        }
  
        button{
          border: 0;
          left: auto;
          outline: none;
          padding: 0;
          position: absolute;
          right: 0;
          top: 0.3em;
          bottom: 0.3em;
          background: transparent;
          font-size: 43px;
        }
        .search-info {
          display: block;
          color: white;
          text-align: right;
          float: right;
          margin-top:4px;
        }
      }
    }
  
  
      &.-open{
        background: rgba(0, 0, 0, .8);
        visibility: visible;
        animation: fadein .8s;
        .container{
        .search-main{
          input{
            transform: scale3d(1,1,1);
            transition: .7s all ease-in-out;
            transition-duration: 1s;
            transition-delay: 1s;
          }
        }
      }
      }
  }
  
  @keyframes fadein {
      from { opacity: 0; }
      to   { opacity: 1; }
  }