html {
  margin: 0em;
  padding: 0;
  border-color: red;
}
body { 
  height: 95vh;
  box-sizing: border-box;
  background: black;
  color: red;
  border-color: red;
  margin: 15px;
  font-family: sans-serif;
  font-size: medium;
  color: red;
  display: flex;
  flex-direction: column;
}
.website-counter {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  padding: 10px;
  background-color: #000000;
  color: red;
  font-weight: 700;
  font-size: 25px;
  z-index: -99;
}
.content {
  min-width: 35vh;
}
.container { 
  display: grid;
  grid-template-areas: "menu content";
  grid-template-columns: 4fr 1fr;
  height: 74vh;
  margin-left: 1.5%;
  margin-right: 7%;
}
.container > div {
  background-color: rgba(0, 0, 0, 1);
  padding: 10px;
}
.container > div.menu {
  grid-area: menu;
}
.container > div.content {
  grid-area: content;
}	
h1 {
  margin: 0;
  padding: 0;
  font-size: 2em;
}	
ul#messages {
  max-height: 75vh;
  overflow: auto;
  margin: 0;
  padding: 0 3px;
  list-style: none;
  border: 1px solid red;
  border-color: red;
}
ul#messages li {
  margin: 0.35em 0;
  padding: 0;
  border-color: red;
}
ul#messages li small {
  font-size: 0.59em;
  color: white;
  border-color: red;
}
ul#messages li.pending {
  color: #red;
}
form {
  font-size: 1em;
  margin: 0;
  color: red;
  background: black;
  border-color: red;
  max-height: 5%;
}
form p {
  margin: 0;
  gap: 0.5em;
  color: red;
  background: black;
  border-color: red;
  margin-top: 7px;
}
form p input {
  font-size: 1em;
  min-width: 0;
  color: red;
  background: black;
  border-color: red;
}
form p input[name=name] {
  color: red;
  background: black;
  border-color: red;
  max-width: 15%;
}
form p input[name=content] {
  color: red;
  background: black;
  border-color: red;
  width: 62%;
}
form p button {
  color: red;
  background: black;
  border-color: red;
}
h1, ul#messages, form {
  box-sizing: border-box;
  color: red;
  background: black;
  margin: 0 auto;
}
#mainDiv {
    width: 400px;
    height: 400px;
    margin: 200px auto;
    perspective: 1000px;
}
#boxDiv {
    width: 400px;   
    transform-style: preserve-3d; 
    animation: rotate 15s linear infinite;   
}
#boxDiv div {
    position: absolute;
    width: 400px;
    height: 400px;
    opacity: 0.9 ;
    color: white;
    background-image: url("https://limitedglove.live/live/Checker.png")
}
#front {
    transform: translateZ(200px);
    background: black;
    background-image: url(  );
    background-position: center;
    background-repeat: no-repeat;
    background-size: 500px ;
}
#back {
    transform: rotateY(180deg) translateZ(200px);
    background: #000;
    background-image: url( );
    background-position: center;
    background-repeat: no-repeat;
    background-size: 500px ;   
}
#left {
    transform: rotateY(-90deg) translateX(-200px);
    transform-origin: left;
    background: black;
    background-image: url();
    background-position: center;
    background-repeat: no-repeat;
    background-size: 500px ;  
}
#right {
    transform: rotateY(90deg) translateX(200px);
    transform-origin: right;
    background: #000;  
    background-image: url( );
    background-position: center;
    background-repeat: no-repeat;
    background-size: 500px ;  
}
#top {
    transform: rotateX(-90deg) translateY(-200px);
    transform-origin: top;
    background: black;
    background-image: url( );
    background-position: center;
    background-repeat: no-repeat;
    background-size: 500px ;   
}
#bottom {
    transform: rotateX(90deg) translateY(200px);
    transform-origin: bottom;
    background: #000; 
    background-image: url( );
    background-position: center;
    background-repeat: no-repeat;
    background-size: 500px ;   
}
@keyframes rotate {
    0% { transform: rotateY(0); }
    100% { transform: rotateY(360deg); }
}
@media (max-width: 1200px) {
  .container {
    grid-template-areas: "menu" "content";
    grid-template-columns: 1fr;
    height: auto;
    margin-left: 0;
    margin-right: 0;
  }

  #mainDiv {
    width: 200px;
    height: 200px;
    margin: 20px auto;
  }

  #boxDiv {
    width: 200px;
  }

  #boxDiv div {
    width: 200px;
    height: 200px;
  }

  #front, #back {
    transform: translateZ(100px);
  }

  #back {
    transform: rotateY(180deg) translateZ(100px);
  }

  #left {
    transform: rotateY(-90deg) translateX(-100px);
  }

  #right {
    transform: rotateY(90deg) translateX(100px);
  }

  #top {
    transform: rotateX(-90deg) translateY(-100px);
  }

  #bottom {
    transform: rotateX(90deg) translateY(100px);
  }

  ul#messages {
    max-height: 50vh;
  }

  form p input[name=name] {
    max-width: 30%;
  }

  form p input[name=content] {
    width: 50%;
  }
}