
@font-face {
  font-family: "BBB";
  src: url("../font/BBBDMSans-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "BBBL";
  src: url("../font/BBBDMSans-Light.ttf") format("truetype");
}

@font-face {
  font-family: "cursive";
  src: url("../font/Edw.ttf") format("truetype");
}


#floating-title {
  position: fixed;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);

  width: auto;
  height: auto;
  padding: 0;    

  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}


#floating-img {
  height: clamp(60px, 10vw, 250px);         
  width: auto;
  display: block;
}

em {
font-family: "BBB";
font-size: 2rem;
font-style: italic;
-webkit-text-stroke: 0px;
color: rgb(158, 158, 158);
}

.footnote {
  font-size: inherit;
  color: white;
  text-align: center;
}

.footnote a {
  font-size: inherit;
  line-height: inherit;
  color: white;
}


#floating-title::before {
  content: "";
  position: absolute;
  inset: 0;

  z-index: -1;


  border-radius: 50%;


  background: radial-gradient(
    ellipse at center,
    rgb(255, 255, 255) 0%,
    rgba(255, 255, 255, 0.6) 30%,
    rgba(255, 255, 255, 0) 60%
  );


  transform: scale(1.6, 1.2);
}

h2 {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10rem;

  margin: 0;
  padding-top: 40px;
  padding-bottom: 40px;

  font-family: "cursive";
  text-align: center;
  line-height: 0.9;
  color: transparent;
}


.h2-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: clamp(60px, 10vw, 250px);
  width: auto;
  z-index: 2;
}



.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.indent {  
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 1s ease forwards;
    font-family: "BBB";
    font-style: normal;
    font-weight: normal;
    font-size: 2rem; 
    margin-top: 15px;
    margin-bottom: 15px;
        color: rgb(189, 189, 189);
    -webkit-text-stroke: 0.5px rgb(156, 156, 156);
}



.italic {    
    font-family: "BBB";
    font-style: italic;
    text-align: center;
    font-size: 2rem;
    color: rgb(158, 158, 158);

    margin-left: 100px;
    margin-right: 100px;
    margin-top: 20px;
}

.italic2 {    
    font-family: "BBB";
    font-style: normal;
  text-align: center;
  width: 100%;
    font-size: 2rem;   
    margin-top: 10px;
    color: rgb(189, 189, 189);
    -webkit-text-stroke: 0.5px rgb(156, 156, 156);
}

.quote {    
    font-family: "BBB";      
    font-size: 2rem;
    margin-top: 10px;
    margin-bottom: 30px;
    color: rgb(189, 189, 189);
    -webkit-text-stroke: 0.5px rgb(156, 156, 156);
}

.footnote em {
  color: white;
  -webkit-text-stroke: 0px; 
}

a {
  color: rgb(205, 156, 180);
  font-weight: normal;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}




/* -------- Large tablets / small desktops -------- */
@media (max-width: 1024px) {
  h2,
  #floating-title { font-size: 8rem; }

  .indent, em,
  .footnote,
  .quote { font-size: 1.8rem; }

  .italic {
    font-size: 1.8rem;
    margin: 20px auto;
    max-width: 700px;
    padding: 0 20px;
  }

  .italic2 { font-size: 1.5rem; }


  .section {
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
  }
}


/* -------- Tablets -------- */
@media (max-width: 768px) {
  h2,
  #floating-title { font-size: 6rem; 
  width: 90vw;
    padding: 15px 20px;
  }

  .indent, em,
  .footnote,
  .quote { font-size: 1.8rem; }

  .italic {
    font-size: 1.8rem;
    margin: 20px auto;
    max-width: 600px;
    padding: 0 15px;
  }

  .italic2 { font-size: 1.8rem; }

    .section {
    width: 100%;
    max-width: 100%;
    padding: 0 15px; 
  }
}


/* -------- Phones / small screens -------- */
@media (max-width: 480px) {
  body, p, em,
  .footnote,
  .indent,
  .italic,
  .italic2,
  .quote {
    font-size: 1.6rem;
  }

.indent {
  text-indent: 50px;
  margin-top: 0px;
  margin-bottom: 0px;
}

  .indent .text-footnote {
    margin-left: -50px;
  }

    .italic .text-footnote {
    margin-left: 0;
  }

.image-footnote {
  margin-left: 0;
}

.indent-text {
  display: inline;
}
  .section {
    width: 95%;
    max-width: 600px;
    margin: 0 auto;
  }

  .italic {
    margin: 20px auto;
    padding: 0 10px;
    width: 100%;
  }
}


#index-list a {
  font-size: clamp(0.8rem, 1.5vw, 1.2rem);
  white-space: nowrap;
}

#index-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

@media (max-width: 480px) {
  .h2-icon {
    height: clamp(180px, 20vw, 400px); /* size only */
  }

  .h2-wrapper {
    padding-top: 50px;
    padding-bottom: 50px;


  }
}