* {
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  height: 100vh;
  justify-content: center;
  align-items: center;
  background: hsl(216, 55%, 11%);
  color: hsl(0, 0%, 100%);
  font-family: "Outfit", sans-serif;
  font-weight: 400;
}

.container {
  background: hsl(214, 50%, 16%);
  border-radius: 20px;
  width: 20vw;
  padding: 30px;
}

#cube {
  width: 100%;
  display: block;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 10px;
}

.cube-container {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  display: block;
  width: 100%;
}

.cube-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height:100%;
  background: hsla(178, 100%, 50%, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  border-radius: 10px;
}

.cube-container::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background-image: url("../images/icon-view.svg");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.cube-container:hover::before,
.cube-container:hover::after {
  opacity: 1;
}

.container h2 {
  cursor: pointer;
  margin-top: 20px;
}

.container h2:hover {
  color: hsl(178, 100%, 50%);
}

.container p {
  color: hsl(216, 22%, 57%);
  margin: 30px 0;
  font-size: clamp(1em, 1.1vw, 2em);
}

.time-point {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: clamp(1em, 1vw, 2em);
  color: hsl(216, 22%, 57%);
}

.paste-color {
  color: hsl(178, 100%, 50%);
}

hr {
  border: 0.5px solid hsl(214, 35%, 24%);
}

.footer {
  display: flex;
  align-items: center;
}

.footer img {
  width: 32px;
  height: 32px;
  border: 1px solid hsl(0, 0%, 100%);
  border-radius: 50%;
}

.footer p {
  display: inline-block;
  font-size: clamp(1em, .9vw, 2em);
  margin-left: 16px;
}

.footer span {
  color: hsl(0, 0%, 100%);
}

@media (max-width: 1024px) {
    .container{
        width: 25vw;
    }
}
@media (max-width: 768px) {
    .container{
        width: 30vw;
    }
}

@media (max-width: 480px) {
    body{
        height: 120vh;
    }
    .container{
        width: 60vw;
    }
}