@font-face {
  font-family: 'bricksans';
  src: url('NTBrickSans.woff2') format('woff2'),
       url('NTBrickSans.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'rts';
  src: url('ReplaceTheSun.woff2') format('woff2'),
       url('ReplaceTheSun.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'dotgothic16';
  src: url('DotGothic16-Regular.woff2') format('woff2'),
       url('DotGothic16-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'nbf';
  src: url('nine0.woff2') format('woff2'),
       url('nine0.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.anim-typewriter{
  animation: typewriter 4s steps(44) 1s 1 normal both,
             blinkTextCursor 500ms steps(44) infinite normal;
}
@keyframes typewriter{
  from{width: 0;}
  to{width: 24em;}
}
@keyframes blinkTextCursor{
  from{border-right-color: rgba(255, 255, 255, 0.75);}
  to{border-right-color: transparent;}
}


#mainbody {
    background-color: #0d0416;
    font-family: 'nbf', sans-serif;
    animation: fadeIn 1s ease-in forwards;
    font-size: 100%;
    color: rgb(255, 255, 255);
    background: linear-gradient(0deg,rgba(83, 33, 74, 1) 0%, #0d0416 20%);

}
#navigationbar {
  display: flex;
  justify-content: space-between;
    background: #E883CA;
    background: linear-gradient(90deg,rgba(232, 131, 202, 1) 0%, rgba(237, 109, 199, 1) 35%, rgba(104, 26, 105, 1) 100%);
    width:100%;
    font-family: 'DotGothic16', sans-serif;
    border: 0.1em solid rgb(180, 97, 150);
    height: 2.2rem;
    margin: 0;
    overflow:hidden ;
    color: white;
    justify-content: center;
}

#welcometocv {
    font-family: 'bricksans';
    color: rgba(86, 34, 77);
    font-size: 6vw;
    text-align: center;
    text-shadow: 0.02em 0 rgba(186, 95, 177, 1)b2d6, 0 0.02em rgba(186, 95, 177, 1)b2d6, -0.02em 0 rgba(186, 95, 177, 1)b2d6, 0 -0.02em rgba(186, 95, 177, 1)b2d6, -0.02em -0.02em rgba(186, 95, 177, 1)b2d6, -0.02em 0.02em rgba(186, 95, 177, 1)b2d6, 0.02em -0.02em rgba(186, 95, 177, 1)b2d6, 0.02em 0.02em rgba(186, 95, 177, 1)b2d6;

}

#maintitle {
    background-image: url('mainpgimg/cvl.png');
    background-size: 60%;
    background-repeat:no-repeat;
    background-position: center center;
    padding: 6vw;
    text-align: center;
    font-size: 1.5rem;
    min-height: 100%;
}


.marqueemainpage {
  margin-top: 2rem;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  color: #fff;
  padding: 10px 0;
}

.infomarqueecontent {
  display: inline-flex;
  width: max-content;
  animation: scroll 15s linear infinite;
}

.infomarqueecontent2 {
  display: inline-flex;
  width: max-content;
  animation: scroll 15s linear infinite;
}



@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}


.info {
    background: #E883CE;
    background: radial-gradient(circle, #fe93ed 0%, rgb(205, 85, 193) 100%);
    width: 23vw;
    min-width: 20vw;
    text-align: center;
    font-family: 'bricksans';
    padding: 0.35em;
    border-radius: 2rem;
    border: 0.2em solid rgba(232, 131, 206, 1);
    color: rgba(86, 34, 77);
    margin-left: 1em;
    height: 10%
}

.info:hover {
  background-color: #0d0416;
  background: #0d0416;
  transition: background-color 0.3s ease;
  color:#fe93ed; 
  border: 0.2em solid rgba(232, 131, 206, 1);
}
.halftoneheart {
  width: 15%;
  margin: auto;
  margin-left: 43%;
  margin-bottom: 4rem;
}

.infonumber {
    font-size: 3vw;
    margin-block-start: -0.5rem;
    margin-block-end: 0.0;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    height: 25%
}

.infosubtitle {
    margin-block-start: 0.0;
    margin-block-end: 0;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    margin: -0.5rem;
    font-size: 2vw;

}


.infomarqueecontent {
    display: flex;
}

#storybox {
  color: white;
  background: #0d0416;
  background: linear-gradient(0deg,#0d0416 0%, rgba(83, 33, 74, 1) 72%);
  border: 0.3em solid rgba(83, 33, 74, 1);
  width: min(80ch, 80%);
  max-width: 900px;
  margin: 2rem auto;
  padding: 2rem;
  border-radius: 1.2rem;
  text-align: left;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.45;
}

#storybox p {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  margin-bottom: 1rem;
}

.mean-voice {
  color: #ff3b3b;
  font-weight: 700;
  padding: 0.15rem 0.25rem;
  display: block;
  letter-spacing: 0.2px;
}

/* per-letter spans: small transform on hover for a gentle twitch */
.mean-voice .mean-letter {
  display: inline-block;
  transition: transform 120ms cubic-bezier(.2,.8,.2,1);
  will-change: transform;
}

.mean-voice .mean-letter:hover {
  transform: translateY(-2.5px) rotate(-5deg);
}

@media (max-width: 600px) {
  .mean-voice { padding-left: 0.25rem; }
  .mean-voice .mean-letter { transition: none; }
}

#ourstory {
  margin-top: 6em;
  position: relative;
}

#ourstorytitle {
  position: absolute;
  color:#ffffff;
  font-family: 'bricksans';
  font-size: 2.5v;
  margin: auto;
  margin-top: -8rem;
  text-align: center;
  width: 100%;
}





#cta {
  background-color: #E883CE;
  width: 100%;
  height: 30%;
  font-family: 'bricksans';
  text-align: center;
  padding-top: 1rem;
  padding-bottom: 2rem;
}

.difference {
  color: #0d0416;
  font-size: 2rem;
  margin-bottom: 0;
}

.joinus {
  margin-top: 0;
  margin-block-start: 0;
  margin-bottom: 0;
  font-size: 8vw;
  text-shadow: -2px -2px 0 rgba(104, 26, 105, 1), 2px -2px 0 rgba(104, 26, 105, 1), -2px 2px 0 rgba(104, 26, 105, 1), 2px 2px 0 rgba(104, 26, 105, 1)
}

#yay {

  justify-content: center;
  margin: auto;
  padding: auto;
}

.difference {
  margin-block-end: 0;
}
.joinus {
  margin-block-start: 0;
}

.appbutton {
  background-color: rgb(58, 22, 55);
  border-radius: 15rem;
  color: white;
  font-family: 'nbf';
  font-size: 1.5rem;
  padding: 0.5rem;
  width: 30%
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}


body {
  scrollbar-width: thin;
  scrollbar-color: rgba(83, 33, 74, 1) #fe93ed;
}

body {
  background-color: #0d0416;
  font-size: 1rem;
  color:white;
  font-family: 'nbf', 'dotgothic16', 'DotGothic16', sans-serif;
  margin: 0 !important;
  padding: 0 !important;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  overflow-x: hidden;
  width: 100%;
}

#body2 {
  animation: fadeIn 1s ease-in forwards;
}

#landing {
  background: linear-gradient(0deg,rgba(83, 33, 74, 1) 0%, #0d0416 50%);
}
#welcomeandlogo {
  display: flex;
  max-height: 30%;
  justify-content: space-evenly;

}

#bigwelcometitle {
  text-shadow: 0 0 5px #e42abf, 0 0 10px #ff89ce, 0 0 15px #fe93ed;
  margin-top: 0;
  font-family: 'bricksans';
  font-size: 6.5vw;
  color: #fe93ed;
  line-height: 8vw;
  text-shadow: 0.02em 0 rgb(58, 22, 55), 0 0.02em rgba(186, 95, 177, 1)b2d6, -0.02em 0 rgba(186, 95, 177, 1)b2d6, 0 -0.02em rgba(186, 95, 177, 1)b2d6, -0.02em -0.02em rgba(186, 95, 177, 1)b2d6, -0.02em 0.02em rgba(186, 95, 177, 1)b2d6, 0.02em -0.02em rgba(186, 95, 177, 1)b2d6, 0.02em 0.02em rgba(186, 95, 177, 1)b2d6;
  animation: pulse 1.5s infinite alternate;
}

@keyframes pulse {
  0% { text-shadow: 0 0 5px #e42abf78, 0 0 10px #e42abf, 0 0 15px #e42abf; }
  100% { text-shadow: 0 0 10px #e42abf4d, 0 0 20px #e42abf, 0 0 30px #e42abf; }
}

#miniwelcometitle {
  font-family: 'bricksans';
  font-size: 2vw;
  padding: 1.5%;
  margin: 1%;
  margin-bottom: 0;
}

#welcomeleft {
  width: 40%;
  text-align: center;
}

#welcomeright {
  width: 40%;
}

.mainlogo {
  width: 35vw;
  max-height: min-content;
  margin: auto;
}

@keyframes MoveUpDown {
  0%, 100% {
    bottom: 0;
  }
  50% {
    bottom: 100px;
  }
}

.tagline {
  margin-top: 7%;
  font-size: 1.5rem;
  text-align: center;
}

.navynav {
  display: flex;
  background-color: #fe93ed;
  background: linear-gradient(90deg,#fe93ed 0%, #fe93ed 35%, rgba(104, 26, 105, 1) 100%);
  color: #0d0416;
  padding: 0.05em;
  height:5%;
  width: 100%;
  margin-bottom: 3rem;
  margin-left: 0;
  text-align: center;
}


.links {
  padding-top: 0.8%;
  justify-content: center;
  font-size: 1.2rem;
  color: white;
  display: flex;
  justify-content: space-between;
  width: 20%;
  margin-left: 65%;
  text-justify:distribute;
}

.linkitem:hover {
  color:#ff89ce
}

.navynav img {
  width: 30%;
  margin-left: -10%;
}

.navynav a {
  width: 10%;
}

.navynav img:hover {
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.mobile-menu-toggle,
.menu-toggle {
  display: none;
}

#yay2 {
  background: white;
  width: 100%;
}

#ourstorysection {
  padding-top: 5rem;
  background: linear-gradient(0deg,#0d0416 0%, rgba(83, 33, 74, 1) 90%);
  padding-bottom: 3rem;
}

#storystory {
  background-color: #0d041631;
  width: 85%;
  margin: auto;
  border: 1px solid white;
  border-radius: 10px 10px 0 0;
  position: relative;

}

.whitebar {
  background-color: white;
  height: 1.3rem;
  border-radius: 10px 10px 0 0;
  
}



.stars {
  position: absolute;
  z-index: -1;
  margin-top: -4rem;
  margin-left: -2rem;
}

.stars img {
  width: 45%;
  transform: rotate(90deg);
}

#landing {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.second {
  margin-top: 10rem;
  margin-left: 85%;
}

.second img {
  width: 80%;
  transform:rotate(270deg);
}

#actualtext img {
  float: left;
  width: 15%;
  margin-right: 0.4%;
}

#actualtext {
  padding: 2.5%;
  text-align: left;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.75;
}

#actualtext p {
  text-align: justify;
  margin-bottom: 1rem;
}

/* Responsive tweaks for the story region */
@media (max-width: 900px) {
  #storybox {
    width: min(72ch, 92%);
    padding: 1.5rem;
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    line-height: 1.7;
  }
  #actualtext {
    font-size: clamp(0.98rem, 2.2vw, 1.08rem);
  }
}

@media (max-width: 600px) {
  #storybox {
    width: calc(100% - 2rem);
    padding: 1rem;
    font-size: 1rem;
    line-height: 1.6;
  }
  #storybox p,
  #actualtext p {
    text-align: left;
    hyphens: auto;
    margin-bottom: 0.9rem;
  }
  /* allow long title to wrap on small screens */
  .resourcestitle {
    white-space: normal;
    font-size: clamp(1.6rem, 8vw, 2.6rem);
    line-height: 1.05;
  }
}

#storytitle {
  font-size: 4vw;
  position: absolute;
  font-family: 'bricksans';
  color: #fe93ed;
  margin:auto;
  text-align: center;
  width: 100%;
  margin-top: -3rem;
  text-shadow: -2px -2px 0 rgba(104, 26, 105, 1), 2px -2px 0 rgba(104, 26, 105, 1), -2px 2px 0 rgba(104, 26, 105, 1), 2px 2px 0 rgba(104, 26, 105, 1);
}

#supportingsection {
  background-color: rgb(58, 22, 55);
  margin-top: 1.5rem;
  padding-bottom: 4rem;
  padding-top: 0.1rem;
}

#supportinggirls {
  width: 80%;
  margin: auto;
  margin-top: 3rem;
  font-size: 1.5rem;
}

.offeringcard:hover {
    transform: translateY(-5px);
    border: 0.2em solid #E883CE;
}

.offeringcard {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30.5%;
  height: 30.%;
  min-height: fit-content;
  background: #f3b3ed;
  border: 0.2em solid #1a0b24;
  color: #2a1133;
  font-size: 1.5rem;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  border-radius: 1rem;
  text-align: center;
  font-size: 1rem;
  min-height: fit-content;
  padding: 0.3rem;
  padding-bottom: 1rem;
}

.offeringcard .innercard {
  width: 100%;
  max-width: 97%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.9rem 0.9rem 0.9rem;
}

.offeringcard.valkiria-card .innercard {
  transform: translateY(0.80rem);
}

.offeringcard.volunteer-card .innercard {
  transform: translateY(0.45rem);
}

.offeringcard p {
  max-width: 90%;
  margin: 0.85rem auto 1rem auto;
  line-height: 1.6;
}

/* ensure links inside offering cards match the card color */
.offeringcard a {
  color: inherit;
  text-decoration: underline;
}

.offeringcard a:hover {
  color: #2a1133;
}

.ctf-credits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  max-width: 90%;
  margin: 0.2rem auto 0.8rem auto;
}

.ctf-credit-item {
  background: rgba(104, 26, 105, 0.09);
  border: 1px solid rgba(42, 17, 51, 0.28);
  border-radius: 0.6rem;
  padding: 0.5rem 0.65rem;
  text-align: left;
}

.ctf-credit-label {
  display: block;
  font-weight: bold;
  margin-bottom: 0.25rem;
}

.ctf-credit-value {
  margin: 0;
  max-width: 100% !important;
  text-align: left;
  line-height: 1.4;
}

.ctf-notice {
  margin: 0.35rem auto 0.1rem auto;
  max-width: 90%;
  font-size: 0.92rem;
  color: #4b3457;
  text-align: center;
}

.houseofcards {
  display: flex;
  width: 100%;
  justify-content: space-between;
  margin-top: 1rem;
}

.subtitle {
  font-family: 'bricksans';
  font-size: 3vw;
  text-align: left;
  color:rgb(255, 156, 230);
}

.offeringtitle {
  font-family: 'rts';
  color: #2a1133;
  font-size: 1.5rem;
  margin: 0.5rem auto 0.2rem auto;
  max-width: 88%;
}

.offeringbutton {
  background: #3a1637;
  font-size: 1rem;
  border: 2px solid #2a1133;
  font-family: 'rts';
  padding: 0.5rem 0.95rem;
  border-radius: 2rem;
  width: 72%;
  color: #ffe6fa;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.offeringbutton:hover {
  background: #0d0416;
  border-color: #E883CE;
  transform: translateY(-2px);
}

.offeringbutton a{
  text-decoration: none;
  color: inherit;
  display: block;
}
.special {
  margin-top: 1rem;
}

#buttonbar {
  margin: auto;
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.scnd {
  margin-left: 1rem;
}

.footer {
  display: flex;
  justify-content: space-between;
  margin-top: 3rem;
  background-color: #E883CA;
  background: linear-gradient(90deg,rgba(232, 131, 202, 1) 0%, rgba(237, 109, 199, 1) 35%, rgba(104, 26, 105, 1) 100%);
  height: 20%;
  padding: 1rem;
  padding-left: 2rem;
  padding-right: 2rem;
  font-size: 1rem;
}

.footerleft nav {
  color: #0d0416;
}

#end {
  background-color: rgb(58, 22, 55);
}

/* modules page */ 

.resourcestitle {
  font-size: 6vw;
  color: rgba(104, 26, 105, 1);
  font-family: 'bricksans';
  text-align: center;
  text-shadow: -1px -1px 0 #ffb8f3, 1px -1px 0 #ffb8f3, -1px 1px 0 #ffb8f3, 1px 1px 0 #ffb8f3;
  /* keep the title on a single line */
  white-space: nowrap;
  /* prevent unexpected breaks on narrow viewports */
  overflow-wrap: normal;
}

.resourcesexplanation {
  width: 80%;
  text-align: center;
  margin: 1rem auto 0 auto;
  padding: 0.8rem 0;
  font-size: 1.5rem;
  display: block;
}

#specialmodules {
  margin-top: 2rem;
  background-color: rgb(58, 22, 55);
  padding-bottom: 1rem;
}

#specialmodules h2 {
  font-family: 'bricksans';
  color: #fe93ed;
  margin: auto;
  text-align: center;
  font-size: 3vw;
  padding: 1.5rem;

}

#specialmodules p {
  font-size: 1.3rem;
  margin: auto;
  text-align: center;
}

#specialmodulesroster {
  margin: 2rem;
  display: flex;
}


.modulebox {
  width: 25%;
  margin-right: 1rem;
}


.modulebox img {
  width: 100%;
  transition: transform 0.3s ease;


}

.modulebox img:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(254, 147, 220, 0.3);
}

.third {
  width: 28.2%;
  margin-left: 0;
}


#specialmodulespics {
  display: flex;
  width: 100%;
}

.furtherinfo {
  font-family: 'bricksans';
  margin-top: 20%;
  font-size: 1.5vw;
}

.modulename {
  font-size: 1rem;
  font-family: 'bricksans';
  text-align: center;
}

.marqueemainpage {
  margin-top: 2rem;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  color: #fff;
  padding: 10px 0;
}

.infomarqueecontent {
  display: inline-flex;
  width: max-content;
  animation: scroll 15s linear infinite;
}



@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

#latestmodules {
  margin-top: 3rem;
  background-color: #fe93ed;
  margin-bottom: 3rem;
}

.marqueemainpage:hover .infomarqueecontent2{
  animation-play-state: paused;
}


.newmodule {
  width: 20vw;
  margin-right: 2rem;
  border: 1px solid #0d0416;
  transition: transform 0.3s ease;
}

.newmodule:hover {
  transform: translateY(-5px);  
}

.latestmodulestitle {
  font-family: 'bricksans';
  font-size: 3vw;
  position: absolute;
  z-index: 2;
  margin: 2vw;
  margin-top: -3vw;
  color: #0d0416;
  text-shadow: -2px -2px 0 #fe93ed, 2px -2px 0 #fe93ed, -2px 2px 0 #fe93ed, 2px 2px 0 #fe93ed;

}

#moduleslistmain {
  width: 90%;
  margin: auto;
  display: flex;
  margin-bottom: 3rem;
}

#valkyrieroadmap {
  padding-left: 1rem;
  width: 95%;
  display: flex;   
  background-color: #fe93ed;
  padding-right: 1rem;
  border-radius: 15px 15px 0px 0px;
  border-bottom: 1px solid white;
}
#vrtitle {
  padding: 0.5rem;
  padding-top: 0.1rem;
  color: rgb(58, 22, 55);
  font-size: 2vw;
  padding-bottom: 0;
}

#vrtitle h2 {
  font-size: 2.5w;
      margin-block-end: 0.03em;
  font-family: 'bricksans';
  text-shadow: -2px -2px 0 #ffffff, 2px -2px 0 #ffffff, -2px 2px 0 #ffffff, 2px 2px 0 #ffffff;
}

.binarystars {
  margin-top: 1rem;
  width: 20%;
  filter: brightness(50%);
}

#vrrm {
  margin-right: 1rem;
  width: 55%;
  background: linear-gradient(0deg,rgba(83, 33, 74, 1) 0%, #0d0416 60%);
}

.moduleheading {
  color: white;
  font-family: 'bricksans';
  font-size: 1rem;
}

#modulescontent {
  padding: 1rem;
}

a {
  color: white;
}

.moduleslisting {
  margin: 1rem;
}

.comingsoon {
  color: #fe93ed;
  animation: pulse 1.5s infinite alternate;
}

#complimentarytitle {
  background-color: #c14cae;
  padding: 1rem;
  padding-top: 1rem;
  border-radius: 15px 15px 0 0;
}

#complimentarytitle p {
  font-size: 1.5vw;
}

#complimentarytitle h2{
  margin-block-start: 0em;
  color: rgb(58, 22, 55);
  font-size: 2.2vw;
      margin-block-end: 0.03em;
  font-family: 'bricksans';
  text-shadow: -2px -2px 0 #ffffff, 2px -2px 0 #ffffff, -2px 2px 0 #ffffff, 2px 2px 0 #ffffff;
}

.pinktext {
  color: #ff5edf;
}

.appbutton a {
  text-decoration: none;
}

.linkitem a {
  text-decoration: underline;
  color: 0;
  transition: opacity 0.3s ease;
}

.linkitem a:hover{
  color:#ff89ce;
}

/* Legal Page */

#legalpage {
  padding-top: 3rem;
  background-color: rgb(58, 22, 55);
  padding-bottom: 4rem;
}

#legaltitle {
  font-size: 5vw;
  position: relative;
  font-family: 'bricksans';
  color: rgb(255, 156, 230);
  margin: auto;
  text-align: center;
  width: 100%;
  margin-bottom: 0.5rem;
  text-shadow: -2px -2px 0 rgba(104, 26, 105, 1), 2px -2px 0 rgba(104, 26, 105, 1), -2px 2px 0 rgba(104, 26, 105, 1), 2px 2px 0 rgba(104, 26, 105, 1);
}

#legalpage .whitebar {
  background-color: white;
  height: 1.3rem;
  border-radius: 0px;
  margin-bottom: 3rem;
}

#legalcontent {
  width: 85%;
  margin: auto;
  padding: 0;
  font-size: 1rem;
}

.legalcards {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 0.3rem;
}

.legalcard {
  display: block;
  width: calc(33.333% - 1rem);
  min-height: fit-content;
  background: linear-gradient(0deg, #0d0416a9 0%, rgba(83, 33, 74, 1) 72%);
  border: 0.2em solid rgba(41, 13, 36, 0.551);
  border-radius: 1rem;
  padding: 2rem;
  text-align: left;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.legalcard:hover {
  transform: translateY(-5px);
  border: 0.2em solid #E883CE;
  border-bottom: 0.3em solid #E883CE;
}

.legalcard h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-family: 'rts';
  color: #ffb8f3;
  font-size: 2.3rem;
  text-shadow: 0 0 10px #e42abf, 0 0 15px #ff89ce;
}

.legalcard h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  color: #ffb8f3;
  font-size: 1.8rem;
  font-family: 'rts';
}

.legalcard ul {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-left: 1.5rem;
  margin-top: 0.3rem;
  margin-bottom: 0;
}

.legalcard li {
  margin-bottom: 0.8rem;
  color: #e8e8e8;
}

.legalcard p {
  margin-top: 0.3rem;
  margin-bottom: 0.8rem;
  line-height: 1.8;
  color: #e8e8e8;
  font-size: 1.15rem;
}

@media (max-width: 1000px) {
  .legalcard {
    width: 100%;
  }
}

.legalsection {
  font-family: 'rts';
  color: #ffb8f3;
  font-size: 2rem;
  margin-top: 0;
  margin-bottom: 0.8rem;
  text-shadow: 0 0 10px #e42abf, 0 0 15px #ff89ce;
  font-weight: bold;
}

.legalsection:first-of-type {
  margin-top: 0;
}

/* Blog Pages */

#blogpage {
  background-color: #cf79bd;
  padding-top: 0;
  padding-bottom: 4rem;
  min-height: 100vh;
}

.blogtitle {
  font-size: 5vw;
  color: #ffb8f3;
  font-family: 'bricksans';
  text-align: center;
  text-shadow: -2px -2px 0 rgba(104, 26, 105, 1), 2px -2px 0 rgba(104, 26, 105, 1), -2px 2px 0 rgba(104, 26, 105, 1), 2px 2px 0 rgba(104, 26, 105, 1);
  margin: 0;
  margin-bottom: 0.5rem;
}

.blogsubtitle {
  width: 80%;
  text-align: center;
  margin: 0 auto 2rem auto;
  font-size: 1.2rem;
  color: #e8e8e8;
}

.blogfilters {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin: 0 0 3rem 0;
  width: 100%;
  flex-wrap: wrap;
  background-color: rgb(58, 22, 55);
  padding: 1rem 0;
}

.filter-btn {
  padding: 0.35em 1em;
  background: radial-gradient(circle, #fe93ed 0%, rgb(205, 85, 193) 100%);
  border: 0.2em solid rgba(232, 131, 206, 1);
  color: rgba(86, 34, 77);
  border-radius: 2rem;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
  font-size: 1rem;
  font-family: 'bricksans';
  font-weight: bold;
  width: auto;
  min-width: auto;
  margin: 0;
  margin-left: 0;
  height: auto;
}

.filter-btn.active {
  background: #0d0416;
  color: #fe93ed;
  border-color: rgba(232, 131, 206, 1);
}

.sort-btn {
  padding: 0.35em 1em;
  background: radial-gradient(circle, #fe93ed 0%, rgb(205, 85, 193) 100%);
  border: 0.2em solid rgba(232, 131, 206, 1);
  color: rgba(86, 34, 77);
  border-radius: 2rem;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
  font-size: 1rem;
  font-family: 'bricksans';
  font-weight: bold;
}

.back-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  width: max-content;
  padding: 0.75rem 1.3rem;
  border: 2px solid rgba(232, 131, 206, 0.5);
  background: rgba(104, 26, 105, 0.2);
  color: #ffb8f3;
  border-radius: 2rem;
  text-decoration: none;
  font-family: 'dotgothic16';
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.blogpost-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  margin: 0 auto 1.5rem auto;
  width: max-content;
}

#back-to-top {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.75rem 1.25rem;
  border: 2px solid rgba(232, 131, 206, 0.5);
  background: rgba(104, 26, 105, 0.85);
  color: #ffb8f3;
  border-radius: 2rem;
  cursor: pointer;
  font-family: 'nbf', sans-serif;
  letter-spacing: 0.03em;
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 0;
  pointer-events: none;
  z-index: 50;
}

.blogpostsgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  width: 85%;
  margin: 0 auto;
}

.blogcard {
  background: linear-gradient(0deg, #0d0416a9 0%, rgba(83, 33, 74, 1) 72%);
  border: 0.2em solid rgba(41, 13, 36, 0.551);
  border-radius: 1rem;
  box-sizing: border-box;
  padding: 1.5rem;
  text-align: left;
  transition: transform 0.5s, box-shadow 0.5s, border-color 0.5s, background 0.5s ease, color 0.5s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.blogcard:hover {
  transform: translateY(-5px);
  background: #f8dff3;
  color: #2a1133;
  border: 0.2em solid #1a0b24;
  border-bottom: 0.3em solid #1a0b24;
}

.blogcard:hover .blogpostitle {
  color: #2a1133;
}

.blogcard:hover .blogpostmeta {
  color: #4b3457;
}

.blogcard:hover .blogexcerpt {
  color: #2a1133;
}

.blogcardheader {
  margin-bottom: 1rem;
}

.blogpostitle {
  font-size: 1.4rem;
  color: #ffb8f3;
  font-family: 'rts';
  margin: 0 0 0.5rem 0;
  line-height: 1.4;
}

.blogpostmeta {
  font-size: 0.9rem;
  color: #c4a4c0;
  margin: 0;
  font-style: italic;
}

.blogcardimage {
  width: 100%;
  height: 150px;
  background: linear-gradient(135deg, #fe93ed 0%, #E883CE 100%);
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.blogexcerpt {
  font-size: 1rem;
  color: #e8e8e8;
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 1rem;
}

#blogpostpage {
  background: linear-gradient(180deg, #2a1133 0%, #1a0b24 45%, #13081c 100%);
  padding-top: 3rem;
  padding-bottom: 4rem;
  min-height: 100vh;
}

.blogpostcontainer {
  width: 75%;
  margin: 0 auto;
  background: #120818;
  border: 0.2em solid rgba(255, 184, 243, 0.28);
  border-radius: 1rem;
  padding: 3rem;
  color: #f4edf6;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.blogposttitle {
  font-size: 3.5rem;
  color: #ffb8f3;
  font-family: 'bricksans';
  text-shadow: -2px -2px 0 rgba(104, 26, 105, 1), 2px -2px 0 rgba(104, 26, 105, 1), -2px 2px 0 rgba(104, 26, 105, 1), 2px 2px 0 rgba(104, 26, 105, 1);
  margin: 0 0 0.5rem 0;
  line-height: 1.2;
}

.blogpostauthor {
  font-size: 1rem;
  color: #e3c7df;
  margin: 0 0 2rem 0;
  font-style: italic;
}

.blogpostimage {
  width: 100%;
  height: 300px;
  background: linear-gradient(135deg, #fe93ed 0%, #E883CE 100%);
  border-radius: 0.5rem;
  margin-bottom: 2rem;
}

.blogpostcontent {
  font-size: 1.18rem;
  line-height: 1.9;
  color: #f8f3fa;
}

.blogpostcontent h2 {
  font-size: 1.8rem;
  color: #ffd8f5;
  font-family: 'rts';
  margin: 2rem 0 1rem 0;
  text-shadow: 0 0 8px rgba(228, 42, 191, 0.45);
}

.blogpostcontent p {
  margin-bottom: 1rem;
}

.blogpostcontent ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.blogpostcontent li {
  margin-bottom: 0.8rem;
  color: #e8e8e8;
}

.blogpostcontent strong {
  color: #ffd8f5;
}

.theme-toggle {
  position: static;
  display: inline-grid;
  place-items: center;
  margin-left: 0.6rem;
  padding: 0;
  width: 2.2rem;
  height: 2.2rem;
  border: 2px solid rgba(255, 184, 243, 0.5);
  background: rgba(19, 8, 28, 0.88);
  color: #ffd8f5;
  border-radius: 2rem;
  cursor: pointer;
  font-family: 'Segoe UI Symbol', 'Noto Sans Symbols 2', sans-serif;
  font-size: 0;
  line-height: 1;
  vertical-align: middle;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  position: relative;
}

.theme-toggle::before {
  content: '\23FE';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  line-height: 1;
}

.theme-toggle[aria-label="Switch to dark mode"]::before {
  content: '\2600\FE0E';
  transform: translate(0px, -1px);
}

.theme-toggle:hover {
  background: #f8dff3;
  color: #2a1133;
  border-color: #1a0b24;
}

body.light-mode #blogpostpage {
  background: linear-gradient(180deg, #ffdff6 0%, #f7d8ef 45%, #f4cbe7 100%);
}

body.light-mode #blogpostpage .blogpostcontainer {
  background: #fff6fd;
  color: #281329;
  border: 0.2em solid rgba(26, 11, 36, 0.2);
  box-shadow: 0 10px 25px rgba(42, 17, 51, 0.12);
}

body.light-mode #blogpostpage .blogposttitle {
  color: #8a2f7a;
  text-shadow: -1px -1px 0 rgba(255, 255, 255, 0.8), 1px -1px 0 rgba(255, 255, 255, 0.8), -1px 1px 0 rgba(255, 255, 255, 0.8), 1px 1px 0 rgba(255, 255, 255, 0.8);
}

body.light-mode #blogpostpage .blogpostauthor {
  color: #5b3f62;
}

body.light-mode #blogpostpage .blogpostcontent {
  color: #2b1731;
}

body.light-mode #blogpostpage .blogpostcontent h2,
body.light-mode #blogpostpage .blogpostcontent strong {
  color: #8a2f7a;
  text-shadow: none;
}

body.light-mode #blogpostpage .back-button {
  background: rgba(255, 255, 255, 0.9);
  color: #5d2e62;
  border-color: rgba(93, 46, 98, 0.32);
}

body.light-mode .theme-toggle {
  background: rgba(255, 255, 255, 0.94);
  color: #5d2e62;
  border-color: rgba(93, 46, 98, 0.32);
}

@media (max-width: 1000px) {
  .blogpostcontainer {
    width: 90%;
    padding: 2rem;
  }
}

.legalsubheading {
  font-family: 'rts';
  color: #ffb8f3;
  font-size: 1.4rem;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.legalintro {
  font-weight: bold;
  text-decoration: underline;
  margin-bottom: 0.3rem !important;
  font-size: 0.95rem;
}

.underlineintro {
  text-decoration: underline;
  font-weight: bold;
  font-size: 1.05rem;
}

.lastupdated {
  margin-top: 3rem;
  margin-bottom: 2rem;
  font-size: 0.95rem;
  color: #b299b3;
  text-align: center;
}

body.blog-view .resourcestitle {
  width: min(92%, 900px);
  margin: 0.8rem auto 0.6rem auto;
  line-height: 1.08;
}

body.blog-view .resourcesexplanation {
  width: min(90%, 760px);
  margin: 0 auto 1.6rem auto;
  line-height: 1.45;
}

@media (max-width: 1100px) {
  .links {
    width: 34%;
    margin-left: auto;
    margin-right: 1rem;
    font-size: 1rem;
  }

  #supportinggirls {
    width: 92%;
  }

  .subtitle {
    font-size: 2.6rem;
  }

  .houseofcards {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .offeringcard {
    width: calc(50% - 0.5rem);
  }

  #buttonbar {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .appbutton {
    width: 45%;
  }

  .scnd {
    margin-left: 0;
  }

  .footer {
    height: auto;
    gap: 1rem;
  }

  .blogpostsgrid {
    grid-template-columns: repeat(3, 1fr);
    width: 92%;
    gap: 1.4rem;
  }

  #moduleslistmain {
    flex-direction: column;
    gap: 1rem;
  }

  #vrrm {
    width: 100%;
    margin-right: 0;
  }

  #specialmodulesroster {
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1.5rem;
  }

  .modulebox,
  .third {
    width: calc(50% - 0.5rem);
    margin-right: 0;
  }
}

@media (max-width: 768px) {
  body.blog-view .resourcestitle {
    font-size: clamp(2.2rem, 8.8vw, 3.8rem);
    width: 92%;
    margin-top: 1.2rem;
  }

  body.blog-view .resourcesexplanation {
    width: 88%;
    font-size: 1.05rem;
    margin-top: 0.5rem;
    margin-bottom: 1.3rem;
  }

  .navynav {
    position: relative;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    height: auto;
    padding: 0.45rem 0.9rem 0.45rem 0.65rem;
    gap: 0.65rem;
  }

  .navynav > a {
    width: auto;
    flex-shrink: 0;
  }

  .navynav a {
    width: auto;
  }

  .navynav img {
    width: 104px;
    margin-left: 0;
  }

  .mobile-menu-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'bricksans';
    font-size: 1.6rem;
    line-height: 1;
    color: #2a1133;
    background: rgba(255, 255, 255, 0.35);
    border: 2px solid rgba(42, 17, 51, 0.35);
    border-radius: 0.5rem;
    padding: 0.05rem 0.45rem;
    margin-right: 0.15rem;
    cursor: pointer;
    user-select: none;
    flex-shrink: 0;
  }

  .links {
    display: none;
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 0.6rem;
    right: 0.6rem;
    margin: 0;
    width: auto;
    padding: 0.75rem;
    background: rgba(58, 22, 55, 0.96);
    border: 1px solid rgba(255, 184, 243, 0.4);
    border-radius: 0.75rem;
    box-sizing: border-box;
    z-index: 1000;
    flex-direction: column;
    gap: 0.55rem;
    justify-content: flex-start;
  }

  .mobile-menu-toggle:checked ~ .links {
    display: flex;
  }

  .linkitem {
    text-align: center;
  }

  .linkitem a {
    display: block;
    padding: 0.35rem 0.4rem;
  }

  #welcomeandlogo {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  #welcomeleft,
  #welcomeright {
    width: 100%;
  }

  #miniwelcometitle {
    font-size: 1.25rem;
  }

  #bigwelcometitle {
    font-size: 2.85rem;
    line-height: 1.12;
  }

  .tagline {
    width: 90%;
    margin: 0.85rem auto 0 auto;
    font-size: 1.05rem;
  }

  .mainlogo {
    width: min(78vw, 360px);
  }

  #storytitle {
    font-size: 2.2rem;
    margin-top: -2.3rem;
  }

  #actualtext {
    font-size: 1.05rem;
  }

  #actualtext img {
    float: none;
    display: block;
    width: min(55%, 220px);
    margin: 0 auto 1rem auto;
  }

  .houseofcards {
    flex-direction: column;
    gap: 0.85rem;
  }

  .offeringcard {
    width: 100%;
  }

  .offeringcard.valkiria-card .innercard,
  .offeringcard.volunteer-card .innercard {
    transform: none;
  }

  .ctf-credits {
    grid-template-columns: 1fr;
  }

  .blogpostsgrid {
    grid-template-columns: repeat(2, 1fr);
    width: 92%;
    gap: 1.2rem;
  }

  .blogfilters {
    margin-bottom: 1.5rem;
    padding: 0.8rem;
    gap: 0.6rem;
  }

  .filter-btn,
  .sort-btn {
    width: auto;
    max-width: none;
  }

  .resourcesexplanation {
    font-size: 1.1rem;
  }

  .resourcestitle {
    font-size: 2.3rem;
  }

  #specialmodules h2 {
    font-size: 2rem;
  }

  #specialmodules p {
    font-size: 1.1rem;
  }

  .modulebox,
  .third {
    width: 100%;
  }

  #vrtitle {
    font-size: 1.2rem;
  }

  #vrtitle h2 {
    font-size: 1.8rem;
  }

  #complimentarytitle h2 {
    font-size: 1.6rem;
  }

  #complimentarytitle p {
    font-size: 1rem;
  }

  #buttonbar {
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
  }

  .appbutton {
    width: 92%;
    max-width: 420px;
    font-size: 1.2rem;
  }

  .footer {
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 1rem;
    gap: 0.75rem;
  }

  .footerleft,
  .footerright {
    width: 100%;
  }
}

@media (max-width: 480px) {
  body.blog-view .resourcestitle {
    font-size: clamp(1.9rem, 11vw, 2.7rem);
    width: 90%;
  }

  body.blog-view .resourcesexplanation {
    width: 90%;
    font-size: 0.98rem;
    line-height: 1.4;
  }

  .navynav {
    padding: 0.35rem 0.75rem 0.35rem 0.55rem;
    gap: 0.55rem;
  }

  .navynav img {
    width: 86px;
  }

  .menu-toggle {
    font-size: 1.45rem;
    padding: 0.02rem 0.36rem;
    margin-right: 0.35rem;
  }

  .links {
    left: 0.5rem;
    right: 0.5rem;
    padding: 0.65rem;
  }

  #miniwelcometitle {
    font-size: 1rem;
  }

  #bigwelcometitle {
    font-size: 2.15rem;
  }

  .tagline {
    font-size: 0.98rem;
  }

  #storytitle {
    font-size: 1.9rem;
    margin-top: -2rem;
  }

  #actualtext {
    font-size: 0.98rem;
  }

  .subtitle {
    font-size: 1.75rem;
  }

  .offeringtitle {
    font-size: 1.25rem;
  }

  .offeringbutton {
    width: 88%;
  }

  .ctf-credit-item {
    text-align: center;
  }

  .ctf-credit-value {
    text-align: center;
  }

  .difference {
    font-size: 1.4rem;
  }

  .joinus {
    font-size: 3rem;
  }

  .info {
    width: 42vw;
    min-width: 42vw;
  }

  .newmodule {
    width: 62vw;
  }

  .blogpostsgrid {
    grid-template-columns: 1fr;
    width: 92%;
  }

  .filter-btn,
  .sort-btn {
    width: 100%;
    max-width: 320px;
  }
}

@media (min-width: 641px) and (max-width: 768px) {
  .mobile-menu-toggle,
  .menu-toggle {
    display: none;
  }

  .navynav {
    position: static;
    padding: 0.25rem 0.5rem;
    gap: 0;
  }

  .navynav img {
    width: 26%;
    margin-left: -6%;
  }

  .links {
    position: static;
    display: flex;
    width: 46%;
    margin-left: auto;
    margin-right: 0.5rem;
    padding-top: 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    flex-direction: row;
    justify-content: space-between;
    gap: 0.7rem;
    z-index: auto;
  }

  .linkitem a {
    padding: 0;
  }
}