:root {
  --primary-color: #333;
  --secondary-color: #f2f2f2;
  --highlight-color: #0ff;
}

body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
  background-color: var(--secondary-color);
  padding: 20px;
  overflow: hidden;
}

footer {
  flex-shrink: 0;
  background-color: var(--primary-color);
  color: white;
  text-align: center;
  padding: 20px 0;
}

h2 {
  color: white;
  margin-bottom: 20px;
}
/* Sticky Button */
.sticky-button {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: #ffcc00;
  color: white;
  font-size: 16px;
  width: 180px;
  height: 40px;
  border-radius: 20px;
  text-align: center;
  line-height: 40px;
  cursor: pointer;
  transition: background-color 0.3s, box-shadow 0.3s;
  z-index: 1000;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 0 10px rgba(255, 204, 0, 0.7);
}

.sticky-button:hover {
  background-color: #ffdd22;
  box-shadow: 0 0 20px rgba(255, 204, 0, 0.7);
}
.container {
  width: 1000px;
  position: relative;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
}

.container .card {
  position: relative;
  background-color: rgba(0, 0, 0, 0);
  border: 0;
}

.container .card .face {
  width: 300px;
  height: 200px;
  transition: 0.4s;
}

.container .card .face.face1 {
  position: relative;
  background: var(--primary-color);
  display: flex;
  justify-content: center;
  align-content: center;
  align-items: center;
  z-index: 1;
  transform: translateY(100px);
}

.container .card:hover .face.face1 {
  transform: translateY(0);
  box-shadow: inset 0 0 60px whitesmoke,
    inset 20px 0 80px #f0f,
    inset -20px 0 80px var(--highlight-color),
    inset 20px 0 300px #f0f,
    inset -20px 0 300px var(--highlight-color),
    0 0 50px white,
    -10px 0 80px #f0f,
    10px 0 80px var(--highlight-color);

  .content {
    opacity: 1;
  }
}

.container .card .face.face1 .content {
  opacity: 0.2;
  transition: 0.5s;
  text-align: center;
}

.container .card .face.face1 .content i {
  font-size: 3em;
  color: white;
  display: inline-block;
}

.container .card .face.face1 .content h3 {
  font-size: 1em;
  color: white;
  text-align: center;
}

.container .card .face.face1 .content a {
  transition: 0.5s;
}

.container .card .face.face2 {
  position: relative;
  background: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  transform: translateY(-100px);
}

.container .card:hover .face.face2 {
  transform: translateY(0);
}

.container .card .face.face2 .content p,
.container .card .face.face2 .content a {
  font-size: 10pt;
  margin: 0;
  padding: 0;
  color: var(--primary-color);
}

.container .card .face.face2 .content a {
  text-decoration: none;
  color: black;
  box-sizing: border-box;
  outline: 1px dashed var(--primary-color);
  padding: 10px;
  margin: 15px 0 0;
  display: inline-block;
}

.container .card .face.face2 .content a:hover {
  background: var(--primary-color);
  color: var(--highlight-color);
  box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.5);
}

@media (max-width: 992px) {
  main {
    padding: 10px;
  }

  footer {
    font-size: 12px;
    padding: 5px;
  }

  main iframe {
    max-width: calc(100% - 40px);
    max-height: calc(100vh - 40px);
    width: 100%;
    height: auto;
    margin: 20px auto;
  }

  .container {
    width: auto;
    max-width: 100%;

    .card {
      width: 100%;
      align-items: center;
    }
  }
}
