
:root {
  --primary-color: #88B0FF ;
  --background-variant: rgb(255, 255, 255);
  --background-color: rgb(253, 253, 255);
  --highlight-color: #ebf3ff;
  --accent-color: #ffb192;
  --text-color: rgb(55, 54, 58);
  --shadow-color: rgb(131, 123, 123);
}
@keyframes typewriter {
  from { max-width: 0; }
  to { max-width: 100vw; }
}
@keyframes blinkingCursor {
  50% { border-right-color: transparent; }
}
@keyframes hideCursor {
  to { border-right-color: transparent; }
}
* {
  box-sizing: border-box;
}
html{
  overflow-x:hidden;
}

body {
    margin: 0;
    padding: 0;
    margin-top: 0 !important;
    background-color: var(--background-color);
    color: var(--text-color);

    display: flex;
    min-height: 100vh;
    width: 100vw;       /* important for full width */
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* prevent horizontal scroll */
    line-height: 1.5;
    text-align: justify;
    font-family: "National Park", sans-serif !important;
    margin-left: 0 !important;

}

.rounded-text {
  display: inline;
  font-weight: 400;
  font-family: "Instrument Serif", serif;
  font-style: normal;
  font-size: 150px;
  color: var(--text-color);
  text-align: center;
  margin-bottom: -50px !important;
}
.highlight-phrase {
  text-decoration: underline;
  text-decoration-style: double;
  text-decoration-color: var(--accent-color);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  font-style: italic;
  color: var(--primary-color);
  margin-top: -50px !important;
}
.cursive-text {
  font-family: 'Instrument Serif', serif;
  font-size: 150px;
  margin-top: -50px !important;
  font-weight: 400;
  display: block;
  text-align: center;
color: var(--text-color);
}
.page-wrapper {
    display: flex;
    justify-content: flex-start; /* sidebar on left, content right */
    align-items: flex-start;     /* top-align */
    gap: 24px;
    width: 100vw;                /* full viewport width */
    min-height: 100vh;           /* full height */
    padding: 0;
    box-sizing: border-box;
}
.top-text{
  color: var(--text-color);
}


main {
    flex: 1;
    padding: 10px;
    margin-top: 0px !important;
    width: 75%;
    background-color: var(--background-color);
}


#sidebar {
    position: fixed;      /* stays in place while scrolling */
    top: 0;               /* stick to top */
    left: 0;              /* stick to left edge */
    height: 100vh;        /* full viewport height */
    width: 175px;
    background-color: var(--background-variant);
    border-right: 1.9px solid rgb(222, 222, 236);
    overflow-y: auto;     /* scroll inside sidebar if content too tall */
  transform: translateX(25px);
  font-family: 'National Park', sans-serif;
  text-align: left !important;
  margin-left: 0px !important;
  z-index: 11;

  /* Animation */
  transition: transform 0.3s ease;
}
/* Collapsed sidebar */
#sidebar.close {
    width: 60px;          /* slightly wider for comfort */     /* remove horizontal padding */
    text-wrap: none;
    width: 65px;
  transform: translateX(-25%);
  align-items: center;
}
.top-text{
  color: var(--primary-color);
}
#top-text{
  color: var(--primary-color)
}
#sidebar a svg, #sidebar .dropdown-btn svg {
  fill: var(--primary-color);
  transition: fill 0.2s ease;
  margin-right: 20px;
}

.top-text:hover {
  color: var(--accent-color);
}
/* Center all links and dropdown buttons */
#sidebar.close a,
#sidebar.close .dropdown-btn {
    display: flex;         /* flex container */
    justify-content: right; /* horizontal centering */
    align-items: right;     /* vertical centering */
    width: 100%;             /* full width of sidebar */
    padding: 10px 0;         /* space for icons */
}
.topic-button {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    cursor: pointer;
}


.dropdown-icon {
    width: 22px;
    height: 22px;
    transition: transform 0.3s ease;
    font-weight: 300;
}

.topic-button.active .dropdown-icon {
    transform: rotate(180deg);
}

/* Hide text and logo */
#sidebar.close a span,
#sidebar.close .dropdown-btn span{
    display: none;
}

/* Hide dropdown arrows (last SVG) */
#sidebar.close .dropdown-btn svg:last-child {
    display: none !important;
}

/* Main icons inside collapsed sidebar */
#sidebar.close svg.icon,
#sidebar.close svg:not(:last-child) {
    display: block;
    margin: 10px;             /* remove conflicting auto margins */
    flex-shrink: 0;
    fill:  var(--primary-color);
    font-weight: 300;
}
/* Optional: center the first list item (e.g., toggle button or logo) */

#sidebar ul{
  list-style: none;
}
#sidebar > ul > li:first-child{
  display: flex;
  justify-content: flex-end;
  margin-bottom: 10px;
}
#sidebar a, #sidebar .dropdown-btn{
  border-radius: .5em;
  padding: 10px;
  text-decoration: bold;
  color:  var(--primary-color);
  display: flex;
  align-items: center;
  gap: 1em;
}
#sidebar .svg{
  flex-shrink: 0;
  width: 60px;
  height:60px;
  fill:  var(--primary-color);
}
#sidebar a span, #sidebar .dropdown-btn span {
  flex-grow: 1;

}
#sidebar a span{
  font-weight: 500;
}
#sidebar .sub-menu {
  list-style: none;
  padding-left: 1.5em;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  text-wrap: none;
  font-size: 0.9em;
}

#sidebar.close .sub-menu{
  display:none;
  overflow:none;
  text-wrap: none;
  color: white;
}
#sidebar .sub-menu.show {
  max-height: 500px;
}
#side-bar-toggle{
  margin-left: auto;
  padding: 1em;
  border:none;
  border-radius: .5em;
  background:none;
  cursor:pointer;
  margin-right: -5px;
}
#sub-menu {
  color:#a5c9ff;
}
#sidebar svg, #sidebar .icon {
  color:  var(--primary-color);
  font-weight: 300;
  fill:  var(--primary-color);
}
#sidebar svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
#sidebar:not(.close) svg {
  width: 32px;
  height: 32px;
}
#sidebar.close svg {
  width: 24px;
  height: 24px;
}


.dropdown-btn{
  width:100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
}
.rotate svg:last-child{
  rotate:180deg;
}
.container {
  max-width: 80%;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
  padding: 20px;
  font-weight: 300
}
.mc-choice.selected {
  background-color: var(--accent-color);
  color: var(--background-color);
}
h1 {
  color: var(--primary-color);
}
.titleContainer{
  margin-top: 50px;
  margin-bottom: 125px;
}

h2 {
  color: #444;
}

a {
  color:  var(--primary-color);
  text-decoration: none;
}
p {
  margin-bottom: 15px;
}



/* Shake animation for wrong answers */
@keyframes shake {
  0% { transform: translateX(0); }
  20% { transform: translateX(-8px); }
  40% { transform: translateX(8px); }
  60% { transform: translateX(-6px); }
  80% { transform: translateX(6px); }
  100% { transform: translateX(0); }
}

.shake {
  animation: shake 0.4s ease;
}

@keyframes flashGreen {
  50% {background-color: greenyellow}
}
footer{
  background-color: red;
}
.flashGreen {
  animation: flashGreen 0.4s ease;
}
/* ---------- Streak Bar ---------- */
.wrapper{
  position: fixed;
  padding: 5px;
  height: 100px;
}
footer{
  position: fixed;
  padding: 5px;
}
.streak-bar {
    position: relative;
    display: flex;
    align-items: center;
    padding: 20px 60px 20px 10px; /* leave space for right slabs */
    background-color: var(--highlight-color);
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    overflow: hidden;
    height: 30px; /* ensures slabs fit */
    font-weight: bold;
    color:  var(--primary-color);
    margin-top: 10px;
    max-width: none;
    margin-right: 10px;
    margin-left: 10px;
    
}

/* Highlight animation */
/* Make the highlight itself transparent, the animated bar is inside */
.highlight {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color:  var(--primary-color);
    transform-origin: left;
    transform: scaleX(0);
    display: flex;
    justify-content: flex-end; /* push edge to the right end */
    align-items: center;
}

.highlight-edge {
    width: 100px;             /* thickness of the orange border */
    height: 100%;
    background-color: orange;
    position: absolute;
    right: 0;               /* stick to the right edge of the scaled bar */
}
.highlight-edge-white {
    width: 25px;
    height: 100%;
    background-color: var(--background-color);
    position: absolute;
    right:0;
}

/* Orange border on the right of the bar */
.highlight-bar::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;        /* thickness of the orange border */
    height: 100%;
    background-color: orange;
}
/* Streak text and icon */
#streak-icon {
    margin-right: 10px;
    font-size: 24px;
}

#streak-text {
    font-size: 16px;
}


/* Problem Card */
.problem {
  background-color: var(--background-variant);
  border: 2px solid var(--primary-color);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  transition: transform 0.2s, opacity 0.2s ease;
}


.problem input[type="text"] {
  padding: 8px;
  font-size: 16px;
  width: 120px;
  margin-right: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.problem button {
  padding: 8px 15px;
  font-size: 16px;
  background-color: var(--primary-color);
  color: var(--background-color);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin: 10px;
}

.problem button:hover {
  background-color: var(--accent-color);
}

.problem-toggle button {
  margin-top: 10px;
  background-color: var(--primary-color);
}
/* Solution Box */
.solution {
  display: none;
  background-color: #ebf3ff;
  border-left: 5px solid var(--primary-color);
  padding: 15px;
  margin-top: 10px;
  border-radius: 5px;
}
.amc10container{
  margin-top: 20px !important;
}
#confetti-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    inset: 0;
}
.streak-wrapper {
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.25s ease;
    max-height: 80px; /* bigger than streak bar height */
    opacity: 1;
    margin-right: 20px;
    width: 100%
}

.streak-wrapper.hidden {
    max-height: 0;
    opacity: 0;
}
.score-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    height: 36px;
    padding: 0 15px;
  background-color: #ebf3ff;
  border: 2px solid var(--primary-color);
  border-radius: 10px;
  margin-top: 10px;
  color: var(--primary-color);
    text-decoration: none;
      font-size: 14px;
    line-height: 'Roboto Flex', sans-serif;
  font-weight: bold;
  position: absolute;
  right: 20px;
}
.ui-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    height: 36px;
    padding: 0 15px;

    font-size: 14px;
    line-height: 1;
    font-family: 'Roboto FLex', sans-serif;
    background-color: var(--primary-color);
    color: var(--background-color);
    border-radius: 5px;
    border: none;
    font-weight: bold;

    cursor: pointer;
    text-decoration: none;

    margin-top:10px;
    margin-bottom: 20px;
}
button.ui-btn {
    appearance: none;
    -webkit-appearance: none;
}
.ui-btn:hover {
    background-color: var(--accent-color);
}



.btn2 {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    height: 36px;
    padding: 0 15px;

    font-size: 14px;
    line-height: 1;
    font-family: 'Roboto Flex', sans-serif;

    background-color: var(--primary-color);
    color: var(--background-color);
    border-radius: 5px;
    border: none;
    font-weight: bold;

    cursor: pointer;
    text-decoration: none;

    transition: background-color 0.2s, transform 0.2s;
    margin-top:10px;
}
button.btn2 {
    appearance: none;
    -webkit-appearance: none;
}

/* Hide the default browser checkbox */
.toggle-input {
  display: none;
}

/* Style the background area of the switch */
.toggle-label {
  /* This creates a rectangular track */
  display: block;
  width: 60px;
  height: 34px;
  background-color: var(--accent-color);
  border-radius: 34px; /* Makes it look like a pill shape */
  cursor: pointer;
  transition: background-color 0.4s;
  position: relative; /* Essential for positioning the slider */
}

/* Style the slider (the moving circle/thumb) */
.toggle-slider {
  /* This creates the circular thumb */
  position: absolute;
  content: '';
  height: 26px;
  width: 26px;
  left: 4px; /* Initial position on the left */
  bottom: 4px;
  background-color: var(--background-color);
  border-radius: 50%; /* Makes it a circle */
  transition: transform 0.4s; /* Smooth animation for movement */
}

/* Change background color when the input is checked */
.toggle-input:checked + .toggle-label {
  background-color: var(--primary-color);; /* Blue when active */
}

/* Move the slider when the input is checked */
.toggle-input:checked + .toggle-label .toggle-slider {
  /* Moves the slider to the right side */
  transform: translateX(26px);
}
.problem-wrapper {
  overflow: visible;
  transition: max-height 0.45s cubic-bezier(.4,0,.2,1),
              opacity 0.3s ease,
              transform 0.35s cubic-bezier(.4,0,.2,1);
  max-height: auto;
  opacity: 1;
  transform: translateY(0) scale(1);
  width: 70%;
  margin-left: auto;
  margin-right: auto;
  padding-top: 10px;
}

/* Hide the problem card smoothly */
.problem-wrapper.hidden {
  max-height: 0;
  opacity: 0;
  transform: translateY(-20px) scale(0.97);
  overflow: hidden;
  pointer-events: none; /* prevents clicks when hidden */
  transition: max-height 0.45s cubic-bezier(.4,0,.2,1),
              opacity 0.3s ease,
              transform 0.35s cubic-bezier(.4,0,.2,1);
}
.toggle-switch {
  margin-bottom: 20px; /* space between toggle and problem card */
  display: inline-block;
}
.carousel-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 40px 0;
  margin-right: 40px;
  width: 100%;
  overflow: hidden;
  height: fit-content !important;
  overflow: visible !important;
  z-index: 0;
}

.carousel-track-wrapper {
  width: 100%;
  max-width: auto; /* optional max width */
  margin: 0 auto;
  height: fit-content !important;
  overflow: visible !important;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 16px;
}

.carousel-card {
  flex: 0 0 calc((100% / 5));
  margin: 0;
  padding: 10px;
  background-color: var(--background-color);
  border-radius: 10px;
  text-align: center;
  transition: transform 0.5s, background-color 0.5s, box-shadow 0.5s, opacity 0.5s;
  opacity: 0.7;
  height: 550px;
  border: 2px solid var(--primary-color);
  font-size: 10.5px;
  line-height:12px;
}


.carousel-card.center {
  transform-origin: center center;
  background-color: var(--highlight-color);
  opacity: 1;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  z-index: 5;
  margin-left: -0; /* half margin compensation */
  margin-right: 0;
  border: 2px solid var(--primary-color);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--primary-color);
  color: var(--background-color);
  border: none;
  padding: 15px 20px;
  font-size: 20px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
}

.left-btn {
  left: 10px;
}

.right-btn {
  right: 10px;
}

.carousel-btn:hover {
  background-color: var(--accent-color);
  opacity: 0.75;
}
.problem-wrapper {
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.problem-wrapper.slide-out {
  transform: translateX(-50px);
  opacity: 0;
}

.problem-wrapper.slide-in {
  transform: translateX(50px);
  opacity: 0;
}



#question-image{
  max-width: 50%;
  align-self: center;
}

/* Stats */
#stats-dashboard {
  text-align: center;
  margin-top: 30px;
  padding: 20px;
  border: 2px solid var(--primary-color);
  border-radius: 12px;
  background-color: #f9f9f9;
  width: 50%;
  margin-left: auto;
  margin-right: auto;
}

.hidden {
  display: none;
}

#stats-dashboard button {
  padding: 10px 20px;
  font-size: 16px;
  margin-top: 15px;
  cursor: pointer;
  border-radius: 6px;
  border: none;
  background-color: var(--primary-color);
  color: white;
}
#stats-dashboard button:hover{
  background-color: var(--accent-color);
}
#progress-container {
    width: 100%;
    height: 20px;
    background-color: #ddd;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 5px;
}

#progress-bar {
    height: 100%;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
    border-radius: 10px 0 0 10px;
    width: auto;
}

.mc-choice {
  display: block;
  margin: 8px 0;
  padding: 10px;
  border-radius: 6px;
  cursor: pointer;
}
.level-toast {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  font-size: 20px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-color);
  border: 3px solid var(--accent-color);
  border-radius: 10px;
  opacity: 0;
  pointer-events: none;
  padding: 10px;
  background: white;
}

/* Active state */
.level-toast.show {
  animation: slideUp 1.8s ease-out forwards;
}

@keyframes slideUp {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
  20% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  80% {
    opacity: 1;
    transform: translateX(-50%) translateY(-10px);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(-25px);
  }
}



#adaptive-stats {
  text-align: center;
  margin-top: 30px;
  padding: 5x;
  border: 2px solid var(--accent-color);
  border-radius: 12px;
  background-color: #f9f9f9;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
  height: auto;
  padding-bottom: 20px;
}

#adaptive-stats #topics-to-work{
  display: block;
  font-size: 15px;
}
#adaptive-stats #difficultyDash{
  display: block;
  font-size: 15px;
}
@keyframes slideDown {
  0% {
    opacity: 1;
    transform:  translateY(0);
  }
  100% {
    opacity: 1;
    transform:  translateY(10px);
  }
}
#adaptiveTitle {
  /* 1. Define the gradient background */
  background: linear-gradient(
    to right, 
    var(--background-color) 10%, 
    var(--primary-color) 20%, 
    var(--accent-color) 70%, 
    var(--primary-color) 80%
  );
  
  /* 2. Clip the background to the text shape */
  -webkit-background-clip: text;
  background-clip: text;
  
  /* 3. Make the text transparent so the background shows */
  -webkit-text-fill-color: transparent;
  color: transparent;
  
  /* 4. Increase the background size to allow for movement */
  background-size: 500% auto; /* 500% width, auto height */
  
  /* 5. Apply the animation */
  animation: textShine 3s ease-in-out forwards;
  
  /* Optional: Font styling */
  text-align: auto;
  align-self: auto;
  font-size: 7rem;
  font-family: "Instrument Serif", serif;
  font-weight: 300;
padding: 0px;
margin-bottom: 0px;

}

/* 6. Define the keyframe animation */
@keyframes textShine {
  0% {
    background-position: 0% 50%; /* Start position */
  }
  100% {
    background-position: 100% 50%; /* End position */
  }
}

.topic-content {
  display: none;
    padding: 5px;
    margin-bottom: 10px;
  background-color: #ebf3ff;
  border-left: 5px solid var(--primary-color);
  padding: 5px;
  margin-top: 10px;
  border-radius: 5px;

}

.topic-content.show {
    display: block;
}

.topic-button {
    cursor: pointer;
    background-color: var(--background-color);
    border: none;
    padding: 8px 12px;
    text-align: left;
    width: 100%;
    font-weight: bold;
    margin-bottom: 2px;
    color: var(--accent-color);
    display: flex;
}

#topics-dropdown{
  line-height: 1.1;
  font-size: medium;
}


.helpPannel{
  background-color: var(--background-color);
  border: 2px solid var(--primary-color);
  border-radius: 0.75em;
  padding: 20px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 2px 2px 10px rgba(0,0,0,0.1);
  z-index: 20;
  display: none;
  width: auto;
  text-align: left !important;
}
#overlay {
  position: fixed;        /* Stays in place while scrolling */
  top: 0;
  left: 0;
  width: 100vw;           /* full width */
  height: 100vh;          /* full height */
  background: rgba(0,0,0,0.1); /* semi-transparent black */
  z-index: 15;            /* behind help panel */
  display: none;
}
#answer-input{
  border: 1px solid var(--accent-color);
  color: var(--accent-color);
  border-radius: 0.5em;
  font-family: 'National Park', sans-serif
}
::placeholder{
  color: #ffc6af
}
input:focus, textarea:focus {
  outline: none;
  border: 1px solid var(--primary-color) !important;
  color: var(--primary-color);
  border-radius: 0.5em;
  caret-color: var(--primary-color) !important;
}
input:focus::placeholder{
  color: var(--primary-color);
}
input, textarea{
  border: 1px solid var(--accent-color);
  color: var(--accent-color);
  border-radius: 0.5em;
  padding: 7.5px; 
  width: 70ch;
  font-size: medium;
  outline: none !important;
}
.timerContainer{
  color:var(--primary-color);
  font-weight: bold;
  background-color: var(--background-color);
  border: 2px solid var(--primary-color);
  border-radius: 10px;
  padding: 10px;
  width: fit-content;
  margin-right: 5px;
  margin-left: auto;
  align-self: left;
  align-items: right;
  display: "inline-block"
}
.startTimer {
  padding: 8px 15px;
  font-size: 16px;
  background-color: var(--primary-color);
  color: var(--background-color);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin: 10px;
}
.startTimer:hover{
  background-color: var(--accent-color);
}

.overwrite {
  background-color: var(--primary-color) !important;
  cursor: default !important;
}
.selected {
  background-color: var(--accent-color)!important;
}
#top-bar {
  display: flex;
  justify-content: left;
  align-items: center;
  align-items: left;
  text-align: left;
  align-self: top;
  top: 0;
  position: fixed;
  margin-left: 50px;
  margin-bottom: 10px;
  padding-right: 5px;
  padding-left: 5px;
  padding-bottom: 0px;
  padding-top: 0px;
  border-bottom: 1px solid  rgb(222, 222, 236);
  background: var(--background-variant);
  z-index: 10;
  color: var(--primary-color);
  font-weight: 450;
  height: 45px;
  transition: transform 0.3s ease;
}

#top-bar * {
  margin-left: 5px;
  margin-right: 5px;
}
.dot-background {
  background-image: radial-gradient(#b4aeae 1px, transparent 1px);
  background-size: 20px 20px; /* Controls spacing between dots */
  background-color: #f0f0f0; /* Optional: Sets the base background color */
}
#mainTitle {
    flex: 1;
    margin-left: auto;
    width: 75%;        /* was 50%, which cut off the heading */
    margin-right: auto;
    text-align: center; /* ensures block-level centering */
    margin-bottom: -100px;
}

.rounded-text, .cursive-text {
    display: block;     /* was inline — inline elements ignore text-align from parent */
}
.tags{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding-top:-100px;
}

.tag {
  background-color: #ebf3ff;
  color: #a5c9ff;
  padding: 7.5px 10px;
  justify-content: center;
  border: #a5c9ff solid 2px;
  border-radius: 50px;
  height: 50px !important;
  margin: 5px;
  font-weight: 600;
  font-size: 20px;
}
.material-symbols-rounded{
    font-variation-settings:
  'FILL' 1,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24;
  vertical-align: middle;
  padding-right: 5px;
  color: #a5c9ff
}
.dataCards{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
  color: #ffc5ae;
  height: 100px;
  font-family: "Instrument Serif", serif;
  font-size: 50px;
}
.dataCard{
  display: inline;
    justify-content: center;
  align-items: center;
  text-align: center;
  text-justify: center;
}
hr {
  border: none;
  border-top: 1px solid rgb(222, 222, 236);
  margin: 20px 0;
  margin-top:-5px;
  margin-bottom: 0px;
  width: calc(100vw-200px);
}
.vertical-hr {
  width: 100px;           /* Becomes the height after rotation */
  height: auto;            /* Becomes the width after rotation */
  transform: rotate(90deg); /* Rotates the element */
}
.dataNum{
  margin-bottom: -20px;
}
.dataText{
  margin-top: -20px;
}
.tinytitle{
 font-family: "National Park", sans-serif; 
 color: var(--accent-color);
 margin-bottom: -10px;
 font-size: 20px;
 font-weight: 500;
}
.subtitle{
  font-family: "Instrument Serif", serif;
  font-style: normal;
  font-size: 50px;
  font-weight: 300;
  margin-top: -10px;
  margin-bottom: 0px;
}
.par{
  font-family: "National Park", sans-serif;
  color: var(--text-color);
  margin-top: 0px;
  font-size: 18px;
}
.blue {
  background-color: #ebf3ff;
  color: var(--primary-color);
  padding: 0 4px;
}
.blue:hover{
  text-decoration: underline;
  text-decoration-color: var(--accent-color);
}
#howwork{
  display: block;
  flex: 1
}
#howworkcards{
  padding-right: 20px;
  padding-left: 5px;
display: grid; grid-template-columns: 1fr 1fr;
width: 100%
}
.howworkcard{
  background-color: var(--background-variant);
  border: 2px solid rgb(222, 222, 236);
  border-radius: 10px;
  padding: 20px;
  transition: transform 0.2s;
display: flex; flex-direction: column;
  margin-top: 10px;
  margin-bottom: 10px;
  width: auto;
  height: auto;
  margin: 10px;
}
.info{
  display: flex;
  flex-direction: row;
align-items: flex-start;
gap: 30px;
}
.orange{
  background-color: #fff0eb;
  color: var(--accent-color)
}
.orange:hover{
  text-decoration: underline;
  text-decoration-color: var(--primary-color);
}

.material-symbols-outlined{
  color: var(--primary-color) !important;
  display: inline;
  width: 30px;
  height: 30px;
  border-radius: 5px;
  align-items: center;
  justify-items: center;
  vertical-align: center;
}
.howworkcardtitle{
  color: var(--primary-color);
  font-family: "National Park", sans-serif;
  font-size: 25px;
  display: inline;
}
.hrcard{
  margin-top: 0px !important;
  margin-bottom: 5px !important;
}
.howworkcardtext{
  font-family: "National Park", sans-serif;
}
.saintly{
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 300;
  font-size: 20px;
  /* 1. Define the gradient background */
  background: linear-gradient(
    to right, 
    var(--primary-color) 0%, 
  var(--accent-color) 20%,
    var(--primary-color) 40%, 
  var(--accent-color) 60%,
  var(--primary-color) 80%
  );
  
  /* 2. Clip the background to the text shape */
  -webkit-background-clip: text;
  background-clip: text;
  
  /* 3. Make the text transparent so the background shows */
  -webkit-text-fill-color: transparent;
  color: transparent;
  
  /* 4. Increase the background size to allow for movement */
  background-size: 500% auto; /* 500% width, auto height */
  
  /* 5. Apply the animation */
  animation: textShine 3s ease-in-out forwards;
  animation-iteration-count: infinite;
  
  /* Optional: Font styling */
}
#whatispar{
  margin-right: 20px;
}
#check-btn-static:hover{
  background-color: var(--primary-color) !important;
  cursor: auto;
}
.problem-static {
  background-color: var(--background-variant);
  border: 2px solid rgb(222, 222, 236);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  transition: transform 0.2s;
}
#info3{
  display: block;
  margin-top: 10px;
  width: 75%;
  margin-left: 100px
}

#whysaintly{
  width: 40%;
  margin-right: 20px;
}
.person-img{
  border-radius: 10px;
  margin-right: 20px;
  margin-left: 20px;
  margin-top: 20px;
  height: 500px;
  width: 500px;
  border: 5px solid var(--primary-color)
}
.people-card{
  align-self: center;
  align-content: center;
  justify-self: left;
  justify-content: center;
  border:rgb(222, 222, 236) solid 2px;
  border-radius: 10px;
  padding: 20px;
  width: 600px;
  text-align: center;
}
.par{
  margin-top: 10px;
}
#whywebuilt{
  display: block;
  margin-top: 10px;
  width: 100%;
  margin-right: 100px;
}

.typewriter-animation {
    animation:
        typewriter 6s steps(35) 0.5s 1 normal both,
        blinkingCursor 600ms 0s 6,
        hideCursor 0s linear 4s 1 normal forwards;
}
.cursor {
    display: inline-block;
    position: relative;
    top: 0.5em; /* tweak this value until it sits right */
    border-right: 2px solid var(--primary-color);
    white-space: nowrap;
    overflow: hidden;
    margin-bottom: 20px;
}
@keyframes floatIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.tag {
  animation: floatIn 0.5s ease both;
}
.tags .tag:nth-child(1) { animation-delay: 0.1s; }
.tags .tag:nth-child(2) { animation-delay: 0.2s; }
.tags .tag:nth-child(3) { animation-delay: 0.3s; }
.tags .tag:nth-child(4) { animation-delay: 0.4s; }
#info1, #info2, #info4 {
  padding-top: 0px;
  padding-bottom: 0px;
}
#titlepage {
  position: relative;
  overflow: hidden;
  padding-bottom: 40px;
  height: 100vh;
}

#dot-backround {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(#d0ddff 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  background-color: transparent;
  z-index: 0;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.5) 50%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.5) 75%, transparent 100%);
}

/* lift content above the dots */
#mainTitle, #tags, #dataCards, #titlepage > hr {
  position: relative;
  z-index: 1;
}#info4 {
  flex-direction: row !important; /* back to inline */
  align-items: flex-start;
  gap: 0px;
}

#whoarewe {
  flex: 1;
}

#whywebuilt {
  flex: 1;
  margin-right: 0 !important;
  max-width: none !important;
}

.people-card {
  display: flex;
  flex-direction: column; /* stack photo then text vertically */
  gap: 16px;
  border: 1.5px solid rgb(222, 222, 236); /* matches your existing border color */
  border-radius: 16px;
  padding: 24px;
  background: var(--background-variant); /* matches your card style */
  box-shadow: 0 2px 12px rgba(119, 164, 255, 0.06);
  width: 90%
}

.person {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}

.person-img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-color);
  flex-shrink: 0;
}

.person-name {
  margin: 0 !important;
  font-size: 16px !important;
}

.person-bio {
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
  color: var(--text-color);
  text-align: justify;
}
.section-divider{
  margin: 0px;
}
body{
  cursor: auto;
}
#sidebar a{
  color: var(--primary-color);
  font-family: "National Park", sans-serif;
  font-weight: 200;
}
#sidebar a:hover{
  color: var(--accent-color);
  text-decoration: underline;
  text-decoration-color: var(--primary-color)
}
.sidebar-icon{
  margin-right: -100px;
}
.helpButton {
  font-variation-settings:
  'FILL' 0,
  'wght' 100,
  'GRAD' 0,
  'opsz' 24;
}
.helpButton{
  background-color: transparent;
  border: none;
  cursor: pointer;
  color: var(--primary-color);
  transition: color 0.3s ease;
  display: inline block !important;
  transform: rotate(215deg); /* Rotates 90 degrees clockwise */
  margin-bottom: -5px !important;
  font-size: 40px !important;
  justify-self: flex-end !important;
}

#helpButton:hover{
  font-variation-settings:
  'FILL' 1,
  'wght' 100,
  'GRAD' 0,
  'opsz' 24;
}
.volunteerButton:hover{
  font-variation-settings:
  'FILL' 1,
  'wght' 100,
  'GRAD' 0,
  'opsz' 24;
}
.volunteerButton{
  font-variation-settings:
  'FILL' 0,
  'wght' 100,
  'GRAD' 0,
  'opsz' 24;
  background-color: transparent;
  border: none;
  cursor: pointer;
  color: var(--accent-color);
  transition: color 0.3s ease;
  display: inline block !important;
  margin-bottom: -5px !important;
  font-size: 35px !important;
  justify-self: flex-end !important;
  margin-bottom: 10px !important;
  margin-right: 10px !important;
}
.top-text{
  color: var(--primary-color);
  font-family: "National Park", sans-serif;
  font-weight: 300;
}
.top-text:hover{
  color: var(--accent-color);
  text-decoration: underline;
  text-decoration-color: var(--primary-color)
}
.start-practice {
  display: inline-block;
  margin: 20px auto;
  background: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  border-radius: 10px;
  padding: 5px 10px;
  font-family: "National Park", sans-serif;
  font-size: 15px;  
  font-weight: 500;
}
#submit-a-solution{
  display: inline-block;
  margin: 20px auto;
  background: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  border-radius: 10px;
  padding: 5px 10px;
  font-family: "National Park", sans-serif;
  font-size: 15px;  
  font-weight: 500;
}
#submit-a-solution:hover{
  background-color: var(--primary-color);
  color: var(--background-color);
  border: 1px solid var(--primary-color);
  cursor: pointer;
}
button:not(.dropdown-btn):hover{
  background-color: var(--primary-color);
  color: var(--background-color);
  border: 1px solid var(--primary-color);
  cursor: pointer;
}
#top-bar {
  display: flex;
  align-items: left;
}

#top-bar .helpButton{
  margin-left: auto !important;
  margin-right: 10px;
}
.right-align{
  display: flex;
  margin-left: auto !important;
  justify-content: center;
  align-items: center;
}
.amc10title{
  font-family: "Instrument Serif", serif;
  font-weight: 300;
  font-size: 100px;
  color: var(--text-color);
  margin-top: 0px;
  margin-bottom: -20px;
}
.amc10subtitle{
  font-family: "National Park", sans-serif;
  font-weight: 400;
  font-size: 30px;
  color: var(--accent-color);
  margin-top: 20px;
}

.amc10cards{
  padding-right: 20px;
  padding-left: 5px;
  display: flex !important;
  flex-direction: row !important;
  width: 100% !important;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
  gap: 20px;
}
.amc10card {
  background-color: var(--background-variant);
  border: 1.5px solid rgb(222, 222, 236);
  border-radius: 12px;
  padding: 20px;
  transition: border-color 0.2s;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 160px;
  text-align: center;
}
.amc10icon{
  color: var(--accent-color) !important;
  font-size: 30px;
  margin-bottom: 10px;
}
.amc10card .amc10subtitle{
  color: var(--primary-color) !important;
}
.amc10card .amc10icon{
  color: var(--primary-color) !important;
  font-size: 20px;
  margin-top: 10px;
}
.topicCard{
  background-color: var(--background-variant);
  border: 1.5px solid rgb(222, 222, 236);
  border-radius: 10px;
  padding: 15px;
  transition: transform 0.2s;
display: flex; flex-direction: column;
  margin-top: 10px;
  margin-bottom: 10px;
  width: auto;
  height: auto;
  margin: 10px;
}
.topicsCards{
  padding-right: 20px;
  padding-left: 5px;
display: grid; grid-template-columns: 1fr 1fr;
width: 100%
}
.annoyingsht{
  margin-top: 60px !important;
}
.topicsCardsAlign{
  padding-right: 20px;
  padding-left: 20px;
display: grid; grid-template-columns: 1fr 1fr;
width: 100%;
justify-content: center;
align-content: center;
color:var(--accent-color);
text-align: vertical;
}
.amc10cardscontainer {
  width: 100%;
}
.am10cards {
  display: flex;
  flex-direction: row;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.amc10card:hover{
  border-color: var(--primary-color);
}
.topicCard:hover{
  border-color: var(--primary-color);
}
.amc10cardtext{
  color: var(--text-color);
}
.amc10card2{
  width:500px;
  height: 150px;
}
.small{
  font-size: 45px !important;
  margin-top: 10px !important;
  margin-bottom: 10px !important;
}
.problem .material-symbols-outlined{
  color: var(--accent-color) !important;
  font-size: 75px !important;
  font-variation-settings:'FILL' 1, 'wght' 100, 'GRAD' 0, 'opsz' 24;
  margin-left: 20px;
  margin-right: 20px;
  vertical-align: middle !important;
    position: relative !important;
    top: -32.5px !important; /* adjust up/down as needed */
}
.problemBtn, form button{
  background-color: var(--primary-color);
  color: var(--background-color) !important;
  cursor: pointer;
  border-radius: 7.5px !important;
  padding-left: 10px !important;
  padding-right: 10px !important;
  padding-top: 5px !important;
  padding-bottom: 5px !important;
  border: none !important;
  margin-top: 5px;

}
.problemBtn:hover .formsubmission button{
  background-color: var(--accent-color) !important;
  border: none !important;
}
.problemBtn:hover, form .problemBtn:hover{
  background-color: var(--accent-color) !important;
  border: none !important;
}
.streak-bar .material-symbols-outlined{
  color: var(--primary-color) !important;
  font-variation-settings:
  'FILL' 1,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24;
  font-size: 20px;
  vertical-align: middle !important;
}
.carousel-card .amc10subtitle{
  color: var(--primary-color) !important;
  font-size: 20px !important
}
.carousel-card .material-symbols-outlined{
  color: var(--accent-color) !important;
  font-variation-settings:
  'FILL' 1,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24;
  font-size: 20px;
  vertical-align: middle !important;
  margin-top: 10px !important;
}
.leaderboardIcon{
  font-variation-settings:
  'FILL' 1,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24;
  color: var(--accent-color) !important;
}
.error404{
  margin-top: 0px;
  margin-bottom: -20px;
  align-self: center;
  justify-self: center;
  margin-left: 20px;
}
.error404container{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.error404container .amc10subtitle{
  font-size: 75px;
}
.fraction-divide{
  font-variation-settings:
  'FILL' 1,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24;
  color: var(--accent-color) !important;
  font-size: 20px;
}
#num404{
  color: var(--primary-color) !important;
  transform: translateY(20px)
} 
#num0{
  color: var(--primary-color) !important;
  transform: translateY(-40px)
}
.error404container hr {
  border: none;
  border-top: 3px solid var(--accent-color);
  width: 180px;
  margin: 0;
}
.top-bar{
  width: calc(100%-0px)
}
.logo{
  width: 30px;
  height: 30px;
  display: inline;
}
/* Fix sidebar link alignment */
#sidebar ul {
  padding-left: 0 !important;
  width: 100%;
}

#sidebar > ul > li {
  width: 100%;
}
 .sidebar-header {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
}
#side-bar-toggle {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin: 0 auto !important;
  padding: 0 !important;
  width: 100% !important;
}
#sidebar.close .logo{
  margin-left: 20px !important;
}
#sidebar:not(.close) .logo{
  margin-left: -5px !important;
}
li{
  margin-bottom: -5px !important;
  margin-top: -5px !important;
}
.logo{
  margin-bottom: 20px !important
}
#opacityCover{
  position: fixed;        /* Stays in place while scrolling */
  top: 0;
  left: 0;
  width: 100%;           /* full width */
  height: 100%;          /* full height */
  background: linear-gradient(to top, rgba(255, 255, 255,0.9) 0%, transparent 75%);
  z-index: 9;
}
#sidebar:not(.close) .iconsvg{
  margin-right: -5px !important;
}
.center-align{
  height: 30px;
  justify-self: center !important;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  right: calc(50% - 60px); /* centers based on logo width */
}
.center-align .logo{
  margin: 0 !important;
}
.fullLogo{
  width: 100px;
  height: auto;
  margin-top: 2.5px;
}
.topBtn{
  border: none;
  padding: none;
  background-color: transparent;
}
.topBtn:hover{
  border: none !important;
  padding: none !important;
  background-color: transparent !important;
}

.cursive-text{
  white-space: nowrap !important;
}
.event::before {
   content: "";
   position: absolute;
   top: 0;
   height: 100%;
   width: 1px;
}
.event {
  position: relative;
}
#timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

/* The actual timeline (the vertical ruler) */
#timeline::after {
  content: '';
  position: absolute;
  width: 3px;
  background-color: #d2e4ff;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
  height: 100000vh
}

.event {
  padding: 10px 40px;
  position: relative;
  width: 50%;
  padding-top: 20px;
}
.eventLeft{
  text-align: right;
}
.eventRight{
  text-align: left;
  left: 50%
}
.circle{
  font-variation-settings: 
    'FILL' 1;
  }
  .right{
    position: absolute;
    left: -13.25px;
    z-index: 8;
      background-color: var(--background-color);
    align-content: center !important;
    border-radius: 50%;
  }
  .left{
    position: absolute;
    background-color: var(--background-color);
    align-content: center !important;
    border-radius: 50%;
    right: -10.5px;
    z-index: 8;
  }
  .changelogicon{
    position: absolute;
    bottom: 2.5% !important;
  }
  .topic-button:hover{
  background-color: transparent !important;
  color: var(--primary-color) !important;
  border: none !important;
}
.topic-content{
  line-height: 1.5 !important;
}
.deactivated{
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
}
.mini{
  font-size: 25px;
}
.miniTag{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding-top:-100px;
  background-color: #ebf3ff;
  border: 0.25px solid #a5c9ff;
  color: var(--primary-color);
  padding: 7px 10px;
  justify-content: center;
  border-radius: 20px;
  height: 20px !important;
  width: fit-content;
}
.miniTitleContainer{
  display: flex;
  align-items: center;
  gap: 10px; 
}
.miniTitleContainer .material-symbols-outlined{
  font-size: 40px !important;
  margin-top: 45px !important;
  margin-left: 5px !important;
  margin-right: 5px !important;
}
.containerPractice{
  margin-top: 50px !important;
}
@media (max-width: 768px) {
.volunteerButton{
  font-variation-settings:
  'FILL' 0,
  'wght' 100,
  'GRAD' 0,
  'opsz' 24;
  background-color: transparent;
  border: none;
  cursor: pointer;
  color: var(--accent-color);
  transition: color 0.3s ease;
  display: inline block !important;
  margin-bottom: -5px !important;
  font-size: 30px !important;
  justify-self: flex-end !important;
  margin-bottom: 5px !important;
  margin-right: 10px !important;
}
.tag{
  font-size: 10px;
  width: fit-content !important;
  white-space: nowrap;
  height: fit-content !important;
  padding: 2.5px
}
.tag .material-symbols-rounded{
  width: 5px !important;
  height: 5px !important;
  margin-bottom: 17.5px;
  margin-right: 20px
}
.tags{
  display: flex;
  flex-wrap: wrap;
  margin-top: 0 !important;
}
.mainTitle{
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 2 !important;
  margin-top: 150px !important;
}
.cursive-text{
  font-size: clamp(1rem, 50cqw, 3.5rem);
  white-space: wrap !important;
  margin-top: 20px !important;
  line-height: 1.4 !important;
}
.rounded-text{
  font-size: clamp(1rem, 50cqw, 3.5rem);
}
.typewriter-animation {
  all: unset;
}
.highlight-phrase {
  text-decoration: underline;
  text-decoration-style: double;
  text-decoration-color: var(--accent-color);
  text-decoration-thickness: 0.25px;
  text-underline-offset: 5px;
color: var(--primary-color);
font-style: italic;
}
.dataCards{
  gap: 10px;
  margin-top: 20px;
  margin-bottom: -30px !important;
  color: #ffc5ae;
  height: 50px;
  font-size: 25px;
}
#sidebar{
  width: 80px !important;
  font-size: 12px !important;
  text-align: left !important; 
  padding-left: -50px !important;
}
.aContainer{
  display: none !important;
}
#adaptiveTitle{
  font-size: 30px !important
}
.dropdownText{
  font-size: 12px!important;
  font-weight: 300 !important;
}
#sidebar .logo{
  width: 20px !important;
  height: 20px !important;
}
#sidebar svg{
  width: 20px !important;
  height: 20px !important;
}
#sidebar.close{
  width: 40px !important;
} 
#top-bar{
  height: 30px !important;
  font-size: 10px;
}
#top-bar button{
  font-size: 10px;
}
.fullLogo{
  height: 20px !important;
  width: auto;
}
.center-align{
  right: calc(50% - 30px) !important; /* centers based on new logo width */
}
#sidebar.close svg, #sidebar.close .logo{
  margin-right: 5px !important;
}
#sidebar.close .logo{
  margin-left: 15px !important;
}
#sidebar:not(.close){
  margin-left: -25px !important;
  font-size: 12px !important;
}
.dropdown-btn{
  align-self: left;
}
.dataCard{
white-space: nowrap;
line-height: 1.75 !important;
}
.tinytitle, .amc10subtitle{
  font-size: 20px !important;
  white-space: nowrap;
}
.subtitle, .amc10title{
  font-size: 30px !important;
}
.par{
  font-size: 15px !important;
}
.saintly{
  font-size: 15px !important;
}
.whysaintly{
  display: block !important;
  width: 100% !important;
}
#howwork{
  display: block !important;
}
.problem-wrapper{
  width: 95%
}
@media (max-width: 768px) {
  /* Kill all grids and flex rows — force single column */
  [style*="display: grid"],
  [style*="display:grid"],
  [style*="display: flex"],
  [style*="display:flex"] {
    display: block !important;
  }

  /* Catch all CSS-defined grids and flex rows */
  .info,
  #info1,
  #info4,
  #howworkcards,
  .amc10cards,
  .am10cards,
  .topicsCards,
  .topicsCardsAlign,
  .amc10cardscontainer {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
  }
  #whyvolunteer, #whylook{
    display: block;
  }
  .mobile{
    height: fit-content !important;
    overflow: visible !important;
  }

  /* Tags specifically should wrap as row not column */
  #application-start{
    display: none;
  }
  /* Make everything full width */
  .howworkcard,
  .amc10card,
  .topicCard,
  .dataCard,
  #whysaintly,
  #howwork,
  #whoarewe,
  #whywebuilt {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

}
.person-bio{
  display: none;
}

.quickInfo{
  width: 75% !important;
}
.fiveQuick{
  display: none;
}
.carousel-wrapper{
  display: none;
}
.problem, .problem-wrapper{
width: 100% !important;
text-align: left !important;
}
.small{
  font-size: 17px !important;
}
.container{
  max-width: 120%;
  margin-right: 0 !important;
  padding-right: 5px !important; 
}
main{
  margin-right: 10px !important;
  padding: 5px !important;
}

.problem .material-symbols-outlined{
    font-size: 25px !important;
    vertical-align: middle !important;
    display: inline !important;
    width: auto !important;
    height: auto !important;
    border-radius: 0 !important;
    margin: 0 1px !important;
    margin-top: 100px !important;
}
.warning{
  display: none !important;
  margin-bottom: -20px !important;
}
.amc10container{
  width: 95% !important;
  margin-top: 30px !important;
  margin-right: 0 !important;
  margin-left: 10px !important
}
  #question-title {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 2px !important;
    font-size: 18px !important;
  }
.helpPannel{
  width: 90% !important;
  height: auto;
  white-space: nowrap !important;
  overflow: hidden !important;
}
input{
  width: 50% !important;
}
.miniTitleContainer .material-symbols-outlined{
  display: none !important
}
.miniTag{
  display: none;
}
.miniTag .material-symbols-outlined{
  display: none !important;
}
.formsubmission input[type="radio"],
.formsubmission input[type='checkbox']{
  appearance: none;
  -webkit-appearance: none;
  width: 10px !important;
  height: 10px !important;
  border: 2px solid var(--primary-color);
  border-radius: 4px;
  background: white;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
}
.formsubmission input[type="checkbox"]:checked,
.formsubmission input[type="radio"]:checked {
  background: var(--primary-color);
  border-color: var(--primary-color);
  background-position: center;
}
.mcqwrapper{
  display: block !important;
  overflow: scroll;
}
#num404, #num0{
  font-size: 100px !important;
}

.error404text{
  white-space: wrap;
  text-align: center;
  font-size: 30px !important;
}
.topicBtn{
  font-size: 15px !important;
  padding: 5px !important;
  padding-top: 5px !important;
  padding-bottom: 5px !important;
}
}

.streak-wrapper{
  margin-top: 50px !important;
}

#sidebar:not(.close) {
  margin-left: -25px !important;
}

label{
  display: block;
}
.formsubmission{
  margin-top: 10px;
}
/* ===== Form inputs ===== */
.formsubmission {
  display: flex;
  flex-direction: column;
  margin-top: 14px;
  font-size: 14px;
  color: var(--text-color);
  font-family: "National Park", sans-serif;
}
.formsubmission input[type="text"]:focus,
.formsubmission input[type="email"]:focus {
  border-color: var(--primary-color);
}

/* ===== Checkbox & Radio custom styling ===== */
.formsubmission input[type="checkbox"],
.formsubmission input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border: 2px solid var(--primary-color);
  border-radius: 4px;
  background: white;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
}

.formsubmission input[type="radio"] {
  border-radius: 50%;
}

.formsubmission input[type="checkbox"]:checked,
.formsubmission input[type="radio"]:checked {
  background: var(--primary-color);
  border-color: var(--primary-color);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 10 10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='1.5,5 4,7.5 8.5,2.5' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 70%;
}

.formsubmission input[type="radio"]:checked {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 10 10' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='5' cy='5' r='2.5' fill='white'/%3E%3C/svg%3E");
}

/* Each checkbox/radio option as its own row */
.checkbox-option,
.radio-option {
  display: inline-flex;
  text-align: end;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
  margin: 4px 0;
  font-size: 13px;
  line-height: 1.4;
}
.checkbox-option,
.radio-option {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px;
  margin-right: 16px;
  cursor: pointer;
  font-size: 13px;
}
#submit-a-solution-form input[type="text"]{
  width: 100%;
  border: 1px solid var(--accent-color);
  height: fit-content !important;
  white-space: wrap;
  min-height: 20px;
  resize: vertical;
  font-family: 'National Park', sans-serif

}
#submit-a-solution-form input[type="text"]:focus{
  width: 100%;
  border: 1px solid var(--primary-color) !important
}
.error{
  margin-top: 20px;
  margin-bottom: 0px !important;
  width: 175px !important;
  white-space: nowrap;
  gap: 1px !important;
  padding-left: 0px !important;

}
.miniTag .material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 300,
  'GRAD' 0,
  'opsz' 24;
  color: var(--primary-color) !important;
  font-size: 15px !important;
  margin-bottom: -80px !important;
  margin-right: 0px !important;
}
.topicBtn{
  background-color: transparent !important;
  color: var(--primary-color) !important;
  border: 1.5px solid var(--primary-color) !important
}
.topicEnabled{
  background-color: var(--primary-color) !important;
  color: var(--background-color) !important; 
  border: 1.5px solid var(--primary-color) !important;
}
.btnsWrapper{
  width: 100%;
  white-space: nowrap;
  overflow: auto;
}
::-webkit-scrollbar {
    display: none !important;
}
#wholook{
  width: 200%;
  margin-top: -15px !important;
}
#whyvolunteer{
  width: 200%
}
.info{
  gap: 20px !important;
}
label{
  text-align: left;
}

textarea{
  display: block !important;
  width: 100%;
  height: 100px;
  background-color: var(--background-variant)
}
input, textarea{
  font-family: "National Park", sans-serif;
  margin-top: 7px;
  margin-bottom: 7px;
}
#info5{
  margin-top: 25px;
}
#application-start{
  align-self: center;
  justify-self: center;
  margin-left: calc(50% - 150px);
  width: 300px;
  font-size: 20px
}
#application-start:hover a{
  color: var(--background-color);
}
html {
  scroll-behavior: smooth;
 }
 #applicationForm{
  margin-top: 20px !important;
 }

 .subtitle{
  text-align: left;
}