@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400..900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Orbitron", sans-serif;
  color: #ffe2fd;
  font-weight: 700;
}

html, body {
  height: 100%;
}

body {
  background: linear-gradient(to right, #4c2959, #03033a);
}

body, main {
  display: flex;
  justify-content: center;
  align-items: center;
}

main {
  gap: 10px;

  .card {
    position: relative;
    width: 200px;
    height: 500px;
    border-radius: 15px;
    transition: 1.5s;
    overflow: hidden;

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
    }

    p {
      display: none;
      width: fit-content;
      background-color: #2f033abc;
      font-size: 20px;
      position: absolute;
      bottom: 10%;
      left: 10%;
      padding: 15px;
      border-radius: 15px;

    }
  }
  
  .card:hover {
    width: 750px;

    p {
      display: block;
    }
  }
}