body{
  font-size:16px;
  color: #333;
  font-family: Roboto,YuGothic,"Yu Gothic","游ゴシック体","游ゴシック","Hiragino Kaku Gothic ProN","HiraKakuPro-W3","メイリオ",Meiryo,Verdana,sans-serif;
  line-height:2;
}

a {
  text-decoration:none;
}

header {
  position: fixed;
  width: 80px;
  height: 100vh;
  background: #000;
  box-shadow: 0 0 5px rgba(0,0,0,0.06);
  z-index: 1000;
}
header h1{
  font-size: 16px;
  display:flex;
  color: #fff;
  font-weight: 800;
  position: absolute;
  top:50%;
  left:50%;
  transform: translateX(-50%) translateY(-50%) rotate(-90deg);
}

.container {
  float: right;
  width: calc(100vw - 80px);
  padding:20px 120px 120px;
}

.color-items {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  flex-wrap: wrap;
  margin:0 auto;
}

.color-item {
  width: 25%;
  padding-bottom: 20px;
  padding-left: 10px;
  padding-right:10px;
}

.color-box {
  width: 100%;
  border-radius: 0.25rem;
}
.color-box::before {
  content:"";
  padding-top:100%;
  display:block;
}

.input-group {
  width: 100%;
  margin-top: 5px;
  background-color: #fff;
  background-clip: padding-box;
  border:1px solid #e0e5e7;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.input-group-text {
  background-color:#e0e5e7;
  border-radius: 0.25rem;
  padding: 10px;
  display: flex;
  align-items: center;
}

.copy-btn {
  cursor:pointer;
}

#copy-btn:hover {
  background-color:#000;
  color:#fff;
  transition: .5s;
  -webkit-transition: .5s;
  -moz-transition: .5s;
  -o-transition: .5s;
}

.copy-btn.copied {
  background-color:#000;
  color:#fff;
  font-weight:800;
}

input {
  position:relative;
  flex: 1 1 auto;
  width: 1%;
  padding: 6px 12px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #333333;
  background-color: #fff;
  background-clip: padding-box;
  border: 0px;
  appearance: none;
  transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

input:focus{
  outline: none;
}

@media only screen and (max-width: 1023px) {
header {
  width: 100%;
  height: 60px;
  text-align:center;
  display: table;
}
header h1 {
  font-size: 12px;
  transform: rotate(0deg);
  display:table-cell;
  vertical-align:middle;
  position: initial;
}
.container {
  float: none;
  width: 100%;
  padding-top: 80px;
  padding-left:60px;
  padding-right:60px;
}
.color-items {
  display:block;
  width:100%;
}
.color-item {
  width: 100%;
}

.input-group {
  font-size: 12px;
}

}
