@charset "UTF-8";
/* CSS Document */

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

ul {
  list-style: none;
}

button {
  border: none;
  background: transparent;
  outline: none;
  cursor: pointer;
}

button:active {
  color: black;
}

a {
  text-decoration: none;
}

body {
  font-family: Consolas, "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", Monaco, "Courier New", "monospace";
}


/* .top-banner
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.top-banner {
  display: flex;
  width: calc(100% - 100%);
  height: 100vh;
  transform: translateX(10px);
  background: url(../../test/unsplash.jpg) no-repeat center / cover;
}

.top-banner-overlay {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 150px;
  padding: 20px;
  transition: transform .7s;
  color: white;

}

.top-banner-overlay.is-moved {
  transform: translateX(120px);
}

.top-banner-overlay.is-moved::before {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 100%;
  width: 20px;
  box-shadow: 0 0 10px black;
}

.top-banner-overlay p {
  font-size: 1rem;
  margin-top: 10px;
}

.top-nav li + li {
  margin-top: 7px;
}


/* .menu-wrapper
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.top-nav .menu-wrapper {
  position: fixed;
  top: 0;
  left: -36px; /******/
  bottom: 0;
  width: 180px;
  padding: 0px;
  transform: translateX(-112px); /******/
  transition: transform .7s;
	background-color: rgba(255, 255, 255, .9);
  background-visibility: 50%;
}

.top-nav .menu-wrapper.is-opened {
  transform: translateX(112px);  /******/
}

.top-nav .menu-wrapper .menu {
  opacity: 20;
  transition: opacity .4s;
}

.top-nav .menu-wrapper.is-opened .menu {
  opacity: 20;
  transition-delay: .6s;
}

.top-nav .menu-wrapper .menu a {
  font-size: 1.2rem;
}

.top-nav .menu-wrapper .sub-menu {
  padding: 0px 0 0 7px;
}

.top-nav .menu-wrapper .menu-close {
  position: absolute;
  top: 20px;
  right: 8px;
  font-size: 1.6rem;
}


/* .fixed menu
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.top-nav .fixed-menu {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  width: 60px;
  padding-left: 14px;
  background: #FFFFFF;
  background-visibility: 60%;
}

.top-nav .fixed-menu .menu-open {
  font-size: 2.8rem;
  text-align: left;
  margin: 0px 0 auto;
  width: 40px;
  margin-left: 0px 0 auto;	
}
