.header-block-container {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  .trigger-block {
    width: 288px;
    height: 288px;
    font-size: 48px;
    line-height: 63px;
    font-style: italic;
    flex: 1 0 288px;
    border: 1px solid #afafaf;
    position: relative;
    overflow: hidden;
  }
}

.header-block-container .trigger-block {
  cursor: auto;
}

.header {
  position: absolute;
  width: 100%;
  top: 100px;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.logo {
  width: 120px;
  height: 60px;
  background-color: #fff;
  overflow: hidden;
  position: relative;
  transition: width 0.5s ease, height 0.5s ease;
  margin-left: 60px;
  font-family: "Unbounded", sans-serif;
  padding: 8px 40px;
  border-radius: 50px;
  color: #000;
  a {
    color: #000;
  }
}

.logo .regular {
  font-size: 3rem;
  line-height: 3.9375rem;
  color: #000;
  margin-left: 0.4rem;
}

.expanded {
  display: block;
  font-size: 2rem;
  line-height: 2.2rem;
  opacity: 0;
  transition: width 0.6s ease;
  white-space: nowrap;
}

.logo:hover {
  width: 900px;
}

.logo:hover .regular {
  display: none;
}

.logo:hover .expanded {
  opacity: 1;
  padding: 15px 0;
}

.menu-container {
  width: 150px;
  height: 60px;
  background-color: #fff;
  overflow: hidden;
  position: relative;
  transition: width 0.5s ease, height 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-right: 60px;
  font-family: "Unbounded", sans-serif;
  background: #fff;
  padding: 8px 40px;
  border-radius: 50px;
}

.menu-container .regular {
  font-size: 3rem;
  line-height: 3.9375rem;
  margin-left: 0;
}

.nav {
  position: absolute;
  top: 50px;
  left: 20px;
  height: 100%;
  padding-left: 40px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav ul {
  padding-left: 0;
}

.nav ul li {
  list-style-type: none;
  margin-bottom: 1rem;
}

.nav ul li a {
  text-decoration: none;
  font-family: "Unbounded", sans-serif;
  font-size: 3rem;
  line-height: 3.2rem;
  color: #000;
}

.nav ul li a:hover {
  text-decoration: underline;
}

.menu-container:hover {
  height: 420px;
  width: 400px;
  border-radius: 50px;
}

.menu-container:hover .regular {
  display: none;
}

.menu-container:hover .nav {
  opacity: 1;
}

@media screen and (max-width: 600px) {
  .header-block-container {
    .trigger-block {
      height: 180px;
      flex: 1 0 31%;
    }
  }

  .header {
    top: 70px;
  }

  .nav {
    top: 22px;
    left: 10px;
    height: 100%;
  }
}

@media screen and (min-width: 300px) and (max-width: 992px) {
  .nav ul li a {
    font-size: 1.3rem;
    line-height: 1.8rem;
  }

  .nav {
    top: 22px;
    left: 10px;
    height: 100%;
  }

  .logo {
    margin-left: 10px;
    padding: 8px 15px;
    height: 35px;
    width: 70px;
    transition: none;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .logo .regular,
  .menu-container .regular {
    font-size: 1.3rem;
    line-height: 2rem;
  }

  .logo .regular {
    margin-left: 0;
  }

  .logo .expanded {
    display: none;
  }

  .logo:hover {
    width: 70px;
  }

  .logo:hover .regular {
    display: block;
  }

  .logo:hover .expanded {
    display: none;
    transition: none;
  }

  .menu-container {
    margin-right: 10px;
    padding: 8px 20px;
    height: 35px;
    width: 70px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }

  .menu-container .regular {
    position: absolute;
  }

  .menu-container:hover {
    width: 250px;
    height: 280px;
    padding: 0 30px;
  }
}

@media screen and (min-width: 993px) and (max-width: 1400px) {
  .nav ul li a {
    font-size: 2.4rem;
    line-height: 2rem;
  }

  .nav ul li {
    margin-bottom: 1.5rem;
  }

  .logo {
    margin-left: 60px;
    padding: 12px 20px;
    height: 40px;
    width: 100px;
    display: flex;
    align-items: center;
  }

  .logo .regular {
    margin-left: 0.4rem;
  }

  .logo .regular,
  .menu-container .regular {
    font-size: 2rem;
    line-height: 2.2rem;
  }

  .logo .expanded {
    font-size: 1.45rem;
  }

  .logo:hover {
    width: 700px;
  }

  .menu-container {
    margin-right: 60px;
    padding: 12px 20px;
    height: 40px;
    width: 100px;
    display: flex;
    align-items: center;
  }

  .menu-container:hover {
    height: 380px;
    width: 400px;
    border-radius: 50px;
    padding-left: 40px;
  }
}

@media screen and (min-width: 768px) and (max-width: 869px) {
  .header-block-container .hide-tab {
    display: none;
  }
}

@media screen and (max-width: 1159px) {
  .header-block-container .hide-mbl {
    display: none;
  }
}

@media screen and (min-width: 1160px) and (max-width: 1449px) {
  .header-block-container .hide-desktop {
    display: none;
  }
}
