html,
body {
  height: auto;
  margin: 0;
  min-height: 100vh;
  overflow-y: auto;
}

body {
  font-family: 'Courier New', Courier, monospace;
  font-weight: bold;
}

                              /* Animated backround settings */
.main-background {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: -1;

  background-color: #2200ff;
  background-image:
    radial-gradient(at 80% 20%, rgb(255, 0, 128) 0%, transparent 90%),
    radial-gradient(at 40% 80%, rgb(0, 255, 255) 0%, transparent 90%);

  background-size: 200% 200%;
  animation: moveBg 15s ease infinite alternate;
}

@keyframes moveBg {
  0% {
    background-position: 20% 20%, 80% 80%;
  }

  50% {
    background-position: 80% 20%, 20% 80%;
  }

  100% {
    background-position: 50% 50%, 50% 50%;
  }
}

                              /* fonts settings */
h1 {
  color: rgb(0, 0, 0);
  text-shadow: 1px 2px 2px rgba(255, 255, 255, 0.103);
  font-family: 'Courier New', Courier, monospace;
  font-size: 30px;
  text-align: center;
}

.page-title {
  color: rgb(0, 0, 0);
  font-family: Copperplate, Papyrus, fantasy;
  font-size: 44px;
  text-shadow: 1px 2px 2px rgba(255, 255, 255, 0.103);
  font-weight: bold;
}

.card-title {
  font-weight: bold;
}

.main-text {
  font-size: 20px;
  font-weight: 600;
  color: black;
  text-shadow: 1px 2px 2px rgba(255, 255, 255, 0.103);
  text-decoration: none;
}

                              /* back button settings */
.back-btn {
  display: inline-block;
  border-radius: 8px;
  background-color: transparent;
  border: none;
  color: #000000;
  text-align: center;
  text-decoration: none;
  font-family: Copperplate, Papyrus, fantasy;
  font-weight: 600;
  font-size: 18px;
  text-shadow: 1px 2px 2px rgba(255, 255, 255, 0.103);
  padding: 5px;
  width: 80px;
  cursor: pointer;
  position: fixed;
  top: 10px;
  left: 5px;
  z-index: 9999;
}

.back-btn span {
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

.back-btn span:after {
  content: '\27ea';
  position: absolute;
  opacity: 0;
  left: -10px;
  transition: 0.5s;
}

.back-btn:hover span {
  padding-left: 10px;
}

.back-btn:hover span:after {
  opacity: 1;
  left: 0;
}

.back-btn:link {
  text-decoration: none;
}

.back-btn:hover {
  text-decoration: none;
}

                              /* card blocks settings */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-auto-rows: auto;
  grid-auto-flow: dense;
  align-items: start;
  gap: 20px;
  margin: 0 auto;
  padding: 0 25px;
}

.portfolio-grid .card {
  flex: 0 0 300px;
  /* Sets a consistent width for your cards */
  max-width: 300px;
}

.glass-card {
  /* margins between the text and the card borders*/
  padding: 10px;

  /* Transparent background with a slight white tint */
  background: rgba(255, 255, 255, 0.2);

  /* The "Frosted" effect */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  /* Required for Safari */

  /* Subtle border to define the glass edge */
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 15px;
  /* Rounded corners look better for glass */

  /* Optional: Add a soft shadow for depth */
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

                              /* cartoon project page settings */
#cartoon-canvas {
  /* Adding top and left margins */
  margin-top: 44px;
  margin-left: 32px;

  /* Important: This ensures the margin-top actually works */
  display: block;
}

                              /* mythology notes style */
.myth-notes {
  margin-top: auto;
  width: 100%;
  height: auto;
  display: block;
}

                              /* video player position settings */
.video-container {
  display: flex;
  justify-content: center; /* This centers the content horizontally */
  width: 80%;             /* Ensures the container spans the full width */
}