*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  user-select: none; /* prevents all text from being selected */
}

html,
body {
  margin: 0;
  padding: 0;
  height: auto; /* let body grow with content */
  background-color: #ffffff;
  overflow: auto; /* allow scrolling */
}

/* The animated region */
canvas {
  width: 100%;
  height: 100vh; /* full viewport height */
  display: block;
  position: relative; /* allow content below the canvas */
  z-index: 0;
}

/* The main heading of the website in the centre of the animation */
.overlay-heading {
  font-family: "Segoe UI", "Open Sans", "Helvetica Neue", sans-serif;
  font-weight: bold;
  margin: 0;
  position: absolute;
  text-align: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgb(0, 0, 0);
  font-size: 75px;
  z-index: 1; /* above canvas */
  pointer-events: none; /* this is important as it ensures that the effect works under the heading */
}

/* Content below the animation canvas */
.page-content {
  padding: 20px;
  color: black;
  background-color: transparent;
}

.read_me {
  display: inline-block;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.5); 
  color: #000000;
  font-family: "Segoe UI", "Open Sans", "Helvetica Neue", sans-serif;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  z-index: 1;
  position: fixed;
  bottom: 20px;          
  left: 20px;            
  border-radius: 50px;
  cursor: pointer;
  overflow: hidden;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Landscape orientation */
@media (orientation: landscape) {
  .overlay-heading {
    font-size: 6vw;
  }
}

/* Portrait orientation */
@media (orientation: portrait) {
  .overlay-heading {
    font-size: 12vw;
  }
}
