html {
  box-sizing: border-box;
}
*,
*:before,
*:after {
  box-sizing: inherit;
}
html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  background-color: #fff;
}
.wrap {
  position: relative;
  margin: 10px auto;
  padding: 10px;
  background: #ffffff00;
  display: flex;
  

  /*   border-radius: 20px; */
}
.button-wrap {
transform:0.3s;
  flex: 1 0 0%;
  height: 100%;
  overflow: hidden;
  margin: 10px;
  display: flex;
  border-radius: 20px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
  padding: 0;
  animation: fade-in-top 0.6s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;

}
#message {
  position: absolute;
  right: 0;
  padding: 10px;
/*   background: #ccc; */
  width: 50%;
  margin: 0;
  font-size: 1rem;
}
.content-wrap {
  margin: auto;
  position: relative;
  width: 225px;
  height: 450px;
  overflow: hidden;
}
.content-wrap ul {
  overflow: hidden;
  position: relative;
  width: 200px;
  height: 415px;
  padding: 0;
  margin: 20px 0 0 15px;
  list-style: none;
  background: #666;
}
.content-wrap li {
  
/*   transition: all 1.5s ease; */
}
.content-wrap:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  margin: auto;
  top: 0;
  left: 0;
  z-index: 3;
  background: url(https://i.imgur.com/aGh7Wsr.png) no-repeat;
  background-size: cover;
  
}

.button {
  display: block;
  border: none;
  background: transparent;
  color: #292828;
  padding: 2em;
  width: 100%;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  transition: 0.3s;
  border-left: 1px solid #000;
  margin-left: 20px;
  padding-right: 45%;
}

.button:hover,
.button:focus {
  outline: 0;
  color: #9800ff;
  cursor: pointer;
}

.button:focus {
  border-left: 5px solid #000;
  
}
.content img {
  display: block;
  object-fit: cover;
  z-index: 999;
  width: 100%;
  height: 100%;
}

.hide {
  transform: scale(0.0001);
  opacity: 0;
  position: absolute;
  z-index: -1;
  top: 0px;
  
  
}
.show {
  transform: scale(1);
  position: relative;
  opacity: 1;
  z-index: 2;
  top: 0px;
  animation: fade-in-top 0.6s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}


@media screen and (max-width: 600px) {
  #message {
  position: relative;
  
  width: 100%;
  margin: 0;
  
}
  .wrap {
    flex-direction: column-reverse;
  }
  .content-wrap {
    order: 1;
  }
  .button-wrap {
    max-width: 280px;
    width: 100%;
    margin: 10px auto;
    height: 100%;
    flex: auto;
    overflow: hidden;
    justify-content: flex-start;
  }
  .button{
    padding:15px;
}
}
@keyframes fade-in-top {
  0% {
    transform: translateY(-50px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
footer{
  background: blue;
  padding: 10px;
  color:white
}