/*要素の名前*/
a{font-size: 20px; background-color: #bdfdff; color: black; vertical-align: middle}

/*ヘッダーまわりはサイトに合わせて調整してください*/
header {
    padding:30px;
    background: linear-gradient(rgb(184,28,34) 8%, rgb(255, 255, 255) 0, rgb(255, 255, 255) 16%, rgb(63, 81, 181) 0, rgb(63,81,181)24%, rgb(255,255,255)0);
}

#nav-drawer {
  position: relative;
}

/*チェックボックス等は非表示に*/
.nav-unshown {
  display:none;
}

/*アイコンのスペース*/
#nav-open {
  display: inline-block;
  width: 30px;
  height: 22px;
  vertical-align: middle;
}

/*ハンバーガーアイコンをCSSだけで表現*/
#nav-open span, #nav-open span:before, #nav-open span:after {
  position: absolute;
  height: 4px;/*線の太さ*/
  width: 30px;/*長さ*/
  border-radius: 3px;
  background: #555;
  display: block;
  content: '';
  cursor: pointer;
}
#nav-open span:before {
  bottom: -10px;
}
#nav-open span:after {
  bottom: -20px;
}

/*閉じる用の薄黒カバー*/
#nav-close {
  display: none;/*はじめは隠しておく*/
  position: fixed;
  z-index: 99;
  top: 0;/*全体に広がるように*/
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  opacity: 0;
  transition: .3s ease-in-out;
}

/*中身*/
#nav-content {
  overflow: auto;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;/*最前面に*/
  width: 90%;/*右側に隙間を作る（閉じるカバーを表示）*/
  max-width: 400px;/*最大幅（調整してください）*/
  height: 100%;
  background: #fff;/*背景色*/
  transition: .3s ease-in-out;/*滑らかに表示*/
  -webkit-transform: translateX(-105%);
  transform: translateX(-105%);/*左に隠しておく*/
}

/*チェックが入ったらもろもろ表示*/
#nav-input:checked ~ #nav-close {
  display: block;/*カバーを表示*/
  opacity: .5;
}

#nav-input:checked ~ #nav-content {
  -webkit-transform: translateX(0%);
  transform: translateX(0%);/*中身を表示（右へスライド）*/
  box-shadow: 6px 0 25px rgba(0,0,0,.15);
}





<style>
.img-center{
 text-align:center;
 position: relative;
 top:0px;
 left 180px;
}

.img-right {
 text-align:right;
}

.img-left {
 text-align:left;
}
.img-size{
    width: 160px;
    height: 165px;
}

.menu-box {
    background-color: white; 
    display: flex;
    position: relative;
    top: 100px;
}
 
.menu-item {
    height: 170px;
    width: 220px;
    margin: 40px;
    color: #fff;                            
    border-radius: 0px;   
    z-index: 0;
}
 
.menu-item:nth-child(1) {
    background-color: #bdfdff ; 
}
 
.menu-item:nth-child(2) {
    background-color: #bdfdff ; 
}
 
.menu-item:nth-child(3) {
    background-color: #bdfdff ; 
}
 
.menu-item:nth-child(4) {
    background-color: #bdfdff ; 
}

.menu-item:nth-child(5) {
    background-color: #bdfdff ; 
}
 
.menu-item:nth-child(6) {
    background-color: #bdfdff ; 
}
 
.menu-item:nth-child(7) {
    background-color: #bdfdff ; 
}
 
.menu-item:nth-child(8) {
    background-color: #bdfdff ; 
}


.text-box{
    height: 170px;
    width: 220px;
    color: #fff;
    text-align: center;
    font-size: 100px;
    top: 50px;
    z-index: 100;
    background-color: red;
}


</style>

