@import url("https://fonts.googleapis.com/css2?family=Mali:wght@300&display=swap");

* {
  box-sizing: border-box;
}


html {
  background-color: white;
}

body {
  background-color: white; 
  font-family: "Mali";
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  color: white;
}

main {
  background-color: #eea8cf;
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 2rem;
}

h1 {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 3em;
  font-weight: bold;
}

h2 {
  text-align: center;
  font-weight: bold;
  font-size: 1.5rem;
}

hr {
  border-bottom: 6px dashed white;
  border-top: none;
  border-left: none;
  border-right: none;
}

#subtitle-seperator {
  margin-bottom: 10px;
}

.iofipic {
  display: inline-block;
  text-align: center;
  position: relative;
}

#obisa-logo {
  width: 90%;
  max-width: 500px;
  height: auto;
}

.iofipic img {
  width: 300px;
  height: 300px;
  object-fit: contain;
  margin: 10px;
}

#yopi {
  transition: transform 0.3s ease-in-out;
}

.counter {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 1.5em;
  font-weight: bold;
}

#obisa-button {
  background-color: transparent;
  border: none;
  margin: 1rem;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s ease-out;
}

#obisa-button img {
  width: 250px;
  height: auto;
  display: block;
}

#obisa-button:focus {
  outline: none;
}

#obisa-button:active {
  transform: scale(0.8) translateY(4px);
  filter: drop-shadow(0 0 10px rgba(0,0,0,0.5));
}

#footer {
  background-color: white;
  color: black;
  padding: 2em;
  display: flex;
  gap: 16px;
  align-items: stretch;
  justify-content: center;
  font-size: 1.5rem;
  font-family: inherit;
  font-weight: bolder;
}

.footer-icon {
  display: inline-block;
  vertical-align: middle;
  font-size: 2em;
}

#yt-footer-icon {
  color: #f01d1d;
}

#github-footer-icon {
  color: #000000;
}

.footer-icon-text {
  display: inline-block;
  vertical-align: middle;
  font-weight: bold;
}

#footer-text-container {
  display: inline-flex;
}

.footer-section {
  margin: 0 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.footer-section p:first-child {
  min-height: 3rem;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 5px;
  margin-top: 0;
}

.footer-section a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

a {
  text-decoration: none
}

/* NicoNico Style Flying Text */
.flying-text {
  position: fixed;
  white-space: nowrap;
  pointer-events: none; /* So it doesn't block clicks */
  color: #ffffff; /* White text as requested */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5), -1px -1px 0 #eea8cf, 1px -1px 0 #eea8cf, -1px 1px 0 #eea8cf, 1px 1px 0 #eea8cf; /* Shadow and outline for visibility */
  font-family: "Mali", "sans-serif";
  font-weight: bold;
  z-index: 9999;
  left: -20%; /* Start off-screen left */
  animation: scrollText 5s linear forwards;
}

@keyframes scrollText {
  from {
    left: -20%;
  }
  to {
    left: 120%;
  }
}