@charset "UTF-8";

/* CSS Document */

:root {
  /* Legacy colours */
  --cciblue: #84dade;
  --ccifadeblue: #b5e9eb;
  --ccigreen: #00b195;
  --childpovertygreen: #00b195;
  --ccifadegreen: #cff0ea;
  --cciorange: #ffcd00;
  --ccifadeorange: #ffe166;
  --cciyellow: #ffe800;
  --ccifadeyellow: #fff166;

  /* Toolkit colours */
  --toolkityellow: hsl(48, 100%, 50%);
  --toolkitlightyellow: hsl(48, 100%, 80%);
  --toolkitblue: hsl(211, 51%, 52%);
  --toolkitlightblue: hsla(211, 51%, 82%);
  --toolkitgreen: hsl(153, 39%, 57%);
  --toolkitlightgreen: hsla(153, 39%, 87%);
  --toolkitpurple: hsl(248, 83%, 84%);
  --toolkitlightpurple: hsl(248, 100%, 94%);
  --toolkitorange: hsl(20, 85%, 62%);
  --toolkitlightorange: hsla(20, 85%, 86%);
  --toolkitpink: hsla(335, 78%, 69%, 1);
  --toolkitlightpink: hsla(335, 78%, 80%);
  --toolkitaqua: hsl(186, 44%, 83%);
  --toolkitlightaqua: hsla(186, 49%, 90%);
  --toolkitbleen: hsl(179, 70%, 40%);
  --toolkitlightbleen: hsla(179, 70%, 70%);

  scroll-behavior: smooth;
}

nav>ul {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem 6rem;
  justify-content: left;
  align-items: center;
  list-style: none;
  padding-left: 0;
}

nav a {
  font-weight: 700;
  color: rgb(51 51 51 / 70%);
  text-decoration: none;
}

main a {
  color: inherit;
  text-decoration: underline;
  background-color: transparent;
}

.nature-hands-banner {
  background-image: url('../images/brand-collateral/hands-holding-planet.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom center;
  background-color: white;
  width: 100%;
  min-height: 200px;
}

.cci-logo {
  background-image: url('../images/icons-logos/cci-gcc-border.svg');
  background-size: contain;
  background-repeat: no-repeat;
  min-width: 125px;
  min-height: 55px;
  background-color: white;
  margin: 1rem;
}

.top-right {
  position: absolute;
  right: 0;
  display: flex;
}

.center-container {
  max-width: 640px;
  margin: 0 auto;
}

main a:hover {
  color: inherit;
  transition: color 0.1s ease-out;
}

a h1,
h2,
h3,
h4,
h5 {
  color: #3e3e3e;
}

a:hover h3 {
  color: var(--ccigreen);
  transition: color 0.1s ease-out;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  word-break: break-word;
  font-family: 'acumin-pro', sans serif;
  letter-spacing: -0.04em;
  word-spacing: .1em;
  line-height: .95em;
}

h1,
h2 {
  text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
  font-weight: 600;
  color: #3e3e3e;
}

h5,
h6 {
  font-weight: 100;
}

h5 {
  font-size: 0.9em;
  color: #1f2121;
  margin: 0.2rem 0 0;
}

img {
  object-fit: contain;
  width: 100%;
}

body {
  /* Neue Haas Grotesk Display Pro 55 Regular */
  font-family: 'acumin-pro', sans-serif;
  font-weight: 500;
  font-size: 11.25pt;
  line-height: 1.4;
  color: #3e3e3e;
}

main img {
  margin-bottom: 1em;
}

img.shaping-employability {
  margin-bottom: 10em;
}

main h1 {
  font-size: 5rem;
  color: #3e3e3e;
}

article h2 {
  font-size: 2rem;
  font-weight: 300;
}

h1+h2 {
  margin-top: 1rem;
  font-size: 2.3em;
}

h2 {
  margin: 3rem 0 1rem;
}

main h3 {
  font-size: 1.5em;
  color: #3e3e3e;
  margin: 3rem 0 0.5rem;
}

main h4 {
  margin: 2rem 0 0.5rem;
}

h4 {
  line-height: 1.2;
}

p {
  max-width: 100%;
  max-width: 62ch;
}

ul {
  list-style-type: "+    ";
  margin-bottom: 1.5rem;
  margin-top: 0.5rem;
  padding-left: 0;
  margin-left: 1.5rem;
}

figure {
  width: 100%;
  margin-bottom: 2rem;
}

footer {
  font-size: 10pt;
  color: rgb(51 51 51 / 70%);
  padding: 5rem 3rem 3rem 3rem;
  max-width: 100vw;
  position: relative;
  background-color: white;
}

footer .container {
  border-top: 1px solid lightgrey;
  padding-top: 5rem;
}

li {
  margin-bottom: .5rem;
}

address {
  display: block;
  margin: 0;
}

footer address {
  margin: 0 0 5rem;
  font-style: normal;
  color: #333;
}

footer a {
  color: rgb(51 51 51 / 70%);
  font-weight: 800;
}

footer .row {
  justify-content: space-between;
}

footer address strong {
  margin-bottom: 1.5rem;
  display: block;
  color: #3e3e3e;
}

strong {
  font-weight: 900;
}

cite {
  display: block;
  font-style: normal;
  font-weight: 100;
  margin-top: 0.4rem;
}

figcaption {
  font-weight: 600;
  color: #3e3e3e;
  margin-top: 0.9rem;
  text-align: center;
  line-height: 1.4;
}

figure>img {
  margin-bottom: 0;
}

blockquote p {
  margin-top: 1em;
  line-height: 1.3;
}

blockquote::before {
  margin: 0 -44px;
  content: url("../images/icons-logos/quote.svg");
}

dialog {
  padding: 5rem 0;
  margin: 0 auto;
  backdrop-filter: blur(6px);
  background: rgba(255, 255, 255, 0.8);
  width: 100vw;
  height: 100vh;
  position: fixed;
  overflow: scroll;
  z-index: 2;
  border: 0;
  top: 0;
  justify-content: center;
  transition:
    transform 1s,
    margin-top 1.2s,
    opacity 0.3s;
}

dialog>div {
  max-width: 60ch;
  margin: 0 auto;
  background-color: white;
  padding: 3rem 3rem;
}

/* Imagery */

.speech-bubble {
  background-image: "../images/icons-logos/icons/speech-bubble.svg";
}

/* Utility classes */

.drop-shadow {
  filter: drop-shadow(0 0 19px rgb(0 0 0 / 25%));
}

.fit-content {
  width: fit-content;
}

.float-left>* {
  float: left;
}

.flex-break {
  display: flex;
  gap: 2rem;
}

.flex {
  display: flex;
  gap: 2rem;
}

.disappear {
  opacity: 0;
  z-index: -10;
}

.ensmallen-anim {
  transform: scale(0.9);
}

.distribute {
  display: flex;
  justify-content: space-evenly;
}

.green-text {
  color: var(--ccigreen);
  max-width: fit-content;
}

.green-underline {
  border-bottom: 3px solid var(--ccigreen);
  margin-bottom: 5rem;
}

.green-underline+* {
  margin-top: 1rem;
}

.spacing-5 {
  margin-top: 5rem;
  margin-bottom: 5rem;
}

.spacing-4 {
  margin-top: 4rem;
  margin-bottom: 4rem;
}

.spacing-3 {
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.spacing-2 {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.spacing-1 {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.spacing-0 {
  margin-top: 0;
  margin-bottom: 0;
}

.full-width p {
  width: 100%;
}

.center {
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
}

.center {
  margin-left: auto;
  margin-right: auto;
}

.embiggen-text {
  font-size: 1.5em;
}

.biggest-text {
  font-size: 5em;
}

.bit-bigger {
  font-size: 1.2em;
}

.big-number {
  font-size: 2.5rem;
}

.light {
  font-family: 'acumin-pro', sans serif;
  font-weight: 400;
}

.heavy {
  font-weight: 900;
}

.showcase {
  display: flex;
  gap: 3%;
  margin-left: auto;
  margin-right: auto;
  flex-wrap: wrap;
}

.showcase>* {
  max-width: 22%;
}

.showcase h3 {
  margin-top: 0;
}

.grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  gap: 5rem 5%;
}

.grid>* {
  max-width: 20ch;
}

.grid img {
  height: 110px;
}

.limit-text-width {
  max-width: 48ch;
}

.feature-2 {
  background-color: #d6f3eb;
  padding: 4rem;
  margin-bottom: 2rem;
}

.pollok-background {
  background-image: url("../images/niif/greater-pollok.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom;
}

.calton-background {
  background-image: url("../images/niif/barrowland.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom;
  padding-bottom: 170px;
}

.flag {
  margin-top: 5rem;
  padding: 20% 15%;
  background-image: url("../images/niif/flag.png");
  background-size: contain;
  background-position: top;
  background-repeat: no-repeat;
}

.three-column>* {
  width: calc(100% / 3 - 1rem);
}

@media (max-width:720px) {
  .three-column>* {
    width: calc(100% / 2 - 1rem);
  }
}

@media (max-width:550px) {
  .three-column>* {
    width: 100%;
  }
}

.three-column {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 1420px;
  margin-right: auto;
  margin-left: auto;
}

ol.three-column {
  padding: 0;
}

.three-item>* {
  width: 30%;
  margin: 2rem 0;
}

.five-item {
  row-gap: 2rem;
  justify-content: start;
}

.black-box {
  width: 30%;
  background-color: #3e3e3e;
  color: white;
  padding: 1rem;
  font-weight: 400;
  text-align: center;

  h3 {
    color: white;
    margin-top: 0;
    margin-bottom: 1rem;
  }
}

.five-item>* {
  width: 16%;
}

.five-item img {
  height: 175px;
}

.eight-item>* {
  width: 8%;
}

.gallery img {
  max-width: 100%;
}

.gallery {
  display: flex;
  width: 100%;
  margin: 10rem 0 12rem 0;
  height: 420px;
  gap: 2rem;
  overflow: visible;
  justify-content: flex-end;
}

.gallery-crop {
  max-height: 400px;
  overflow: hidden;
  width: 100vw;
  margin-bottom: 4rem;
  border-bottom: solid 1px #3e3e3e;
}

.gallery-feature {
  transform: scale(2) translateX(25%) translateY(0);
}

.gallery>* {
  height: 245px;
  min-width: 150px;
  margin-top: 10%;
  filter: drop-shadow(0 0 19px rgb(0 0 0 / 25%));
  transition: margin-top 0.3s ease-in-out;
}

.gallery>*:hover {
  transition: margin-top 0.3s ease-in-out;
  margin-top: 5%;
}

.hover-link {
  height: 245px;
  min-width: 150px;
  filter: drop-shadow(0 0 19px rgb(0 0 0 / 25%));
  transition: transform 0.3s ease-in-out;
}

.hover-link:hover {
  transition: margin-top 0.3s ease-in-out;
  transform: translateY(-10px);
}

.noscroll {
  overflow: hidden;
}

.pause {
  animation-play-state: paused;
}

.no-interact {
  pointer-events: none;
}

.restore-interaction {
  pointer-events: all;
}

.clip {
  overflow: hidden;
  contain: paint;
}

.screen-block {
  width: 100%;
  height: 100vh;
  /* z-index:4; */
  position: relative;
  mask-image: linear-gradient(transparent 0%, white 3%, white 97%, transparent 99%);
}

.center-text {
  text-align: center;
}

.white-background {
  background: white;
  padding: 1rem 3rem;
}

.grid h4 {
  text-align: center;
  font-size: 1em;
  margin: 0.5rem auto;
}

.card a {
  justify-self: end;
}

.hug-outer {
  display: flex;
  justify-content: space-between;
}

.hug-outer>* {
  align-items: end;
  display: flex;
  column-gap: 1rem;
}

.footer-logos {
  height: 80px;
  display: flex;
  column-gap: 2rem;
}

.footer-logos img {
  height: 80px;
}

.other-links {
  text-align: right;
}

.social {
  align-items: end;
  display: flex;
  column-gap: 1rem;
}

.quote {
  /* Use for figure elements */
  transform: translateY(-60px);
  margin-left: 1rem;
  margin-top: 5rem;
  padding: 60px 23px;
  font-size: 1.5em;
  line-height: 1.1;
  box-shadow: -82px 31px 0 -76px var(--ccigreen);
  font-weight: 600;
  margin-bottom: -70px;
}

.quote figcaption {
  font-size: 0.7em;
  text-align: left;
}

.banner {
  background-size: contain;
  background: no-repeat;
  margin: 5rem 0;
}

.full-width-container {
  margin: 0 2rem;

  h2 {
    margin-top: 0;
  }
}

.top-gap {
  padding-top: 2rem;
}

.container {
  margin: 0 auto;
}

.container>img {
  margin-bottom: 1rem;
}

.l-width {
  max-width: 75ch;
}

.m-width {
  max-width: 30ch;
}

.s-width {
  max-width: 15ch;
}

.m-height {
  max-height: 250px;
}

.feature {
  margin: 4rem auto 5rem;
  width: 48ch;
  font-size: 1.4em;
  text-align: center;
  border: 3px dashed #89c9b0;
  padding: 3rem;
}

.feature-text {
  font-weight: 900;
  font-size: 1.5em;
  width: 80%;
}

.full-width {
  width: 100%;
}

.screen-width {
  width: 100vw;
  position: absolute;
  left: 0;
}

.narrow img {
  max-width: 35%;
  margin: 0 auto;
}

.stretch {
  width: 100%;
}

.series {
  max-width: 100%;
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  margin: 1rem;
  justify-content: center;
}

.vertical-card {
  display: flex;
  flex-direction: column;
  text-align: center;
  text-transform: uppercase;
  font-weight: 900;
}

.vertical-card h3 {
  display: flex;
  flex-direction: column;
  text-align: center;
  text-transform: uppercase;
  font-weight: 900;
  margin-top: 0;
}

.vertical-card img {
  border-radius: 5px;
}

.horizontal-card {
  display: flex;
  margin: 2rem 0;
  font-size: 1.1em;
  max-width: 60ch;
  gap: 2rem;
}

.horizontal-card h4 {
  margin-top: 0;
  word-break: keep-all;
}

.horizontal-card img {
  object-fit: contain;
  max-width: 20%;
}

.offset {
  margin-top: 6rem;
}

.hero-with-text {
  object-fit: none;
  overflow: visible;
}

.image-overlay-text {
  position: relative;
  font-size: 4em;
  padding: 0.9rem 2rem;
  color: #222422;
  width: fit-content;
}

.image-overlay-text+* {
  background: white;
  position: relative;
}

.green-background {
  background-color: var(--toolkitgreen);
  padding: 2rem;

  * {
    color: white;
  }
}

.youtube-link-container {
  border: 1px solid #3e3e3e;
  padding: 2rem;
  margin-bottom: 2rem;
}

.youtube-link-container p {
  margin: auto;
  text-align: center;
}

.purple-background {
  background-color: #DEDAFC;
}

.purple-background .container {
  padding: 2rem 0;
}

.purple-background .container h2 {
  margin-top: 0px;
}

.background-stretch-full-width {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.background-stretch-full-width h2 {
  text-align: left;
}

.blue-background {
  background-color: var(--cciblue);
}

.yellow-background {
  background-color: var(--cciyellow);
}

.tool-image {
  max-width: 540px;
  max-height: 500px;
  transform: rotateZ(-3deg) translateY(6rem);
  margin: 0 auto;

  img {
    margin: 0;
    max-width: 540px;
    max-height: 500px;
  }
}

.dim {
  width: 100%;
}

@media (width <=991px) {
  .image-overlay-text {
    font-size: 3.5em;
    margin-top: 0.5rem;
  }
}

@media (width >=991px) {
  .image-overlay-text {
    margin-top: -3rem;
  }
}

.citizen {
  background-color: #feb800;
}

.council {
  background-color: #acb6fb;
}

.partnership {
  background-color: #53c796;
}

.city {
  background-color: #fe9cc8;
}

.bar {
  min-width: 4px;
  height: inherit;
}

.thick {
  border-radius: 50px;
  padding: 0 1rem;
}

.top-zero {
  margin-top: 0;
}

.bottom-zero {
  margin-bottom: 0;
}

.thick h4 {
  margin: 1rem 0;
}

.squiggle-1 {
  background-image: url("../images/vectors/squiggle-1.svg");
  position: absolute;
  min-height: 631px;
  min-width: 100%;
  background-repeat: revert-layer;
  background-size: 100% 100%;
  z-index: -1;
}

.curvy-line {
  background-image: url("../../images/vectors/dashed-curve.svg");
  background-repeat: no-repeat;
  height: 125px;
  width: 100%;
  margin: 5rem 0;
  left: 0;
  background-size: cover;
  z-index: -1;
}

main .curvy-line {
  position: absolute;
}

.curvy-line::after {
  height: 2rem;
}

@media (width >=992px) {
  .container {
    max-width: 780px;
  }
}

@media (width <=992px) {
  .feature {
    width: auto;
  }

  .button a {
    margin-left: auto;
    margin-right: auto;
  }
}

.columns {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.column-side-image {
  max-width: 20%;
}


.four-column>* {
  width: calc(25% - 20px);
}

.two-column {
  display: flex;
  gap: 3rem;
  align-items: start;
}

.two-column>*:first-child {
  flex: 5;
}

.two-column>*:last-child {
  flex: 3;
}

.side-by-side {
  display: flex;
  width: 100%;
  gap: 3rem;
  margin: 2rem 0;
}

.flex-big-chunk {
  flex: 6 1 auto;
}

.flex-small-chunk {
  flex: 1 10 auto;
}

.right-arrow {
  background: url("../images/icons-logos/readmorearrow.svg") no-repeat;
  display: block;
  width: 28px;
  height: 28px;
  float: left;
}

.finger {
  background: right top url("../images/brand-collateral/finger.png") no-repeat;
}

.figure {
  background: left top url("../images/brand-collateral/leaning-figure.png") no-repeat;
}

.figure>* {
  margin-left: 40%;
}

.link-frame {
  background-size: contain;
  overflow: visible;
}

.link-frame>* {
  width: 45%;
}

/* 
Used on https://cciglasgow.org/projects/citizen-power/
It splits the button into image then text rather than combined image and text
*/

@media (width <=436px) {
  .quote {
    font-size: 1.2em;
  }

  .link-frame {
    padding-top: 70%;
  }

  .link-frame>* {
    width: 100%;
  }

  .link-frame a {
    margin: 0 auto;
  }

  .side-by-side {
    display: block;
  }
}

.breakout {
  width: 95%;
  margin-left: auto;
  margin-right: auto;
}

.breakout-heading {
  margin-top: 8rem;
  font-size: 4rem;
  max-width: 22ch;
}

.small-button {
  border: 1px darkgrey solid;
  padding: 0.8rem;
  margin: 40px auto;
}

.line-link {
  box-sizing: border-box;
  box-shadow:
    inset 20px 0px var(--ccigreen);
  padding: 1rem 0;
  margin-left: -20px;
  padding-right: 20px;
  font-size: 1.2em;
  transition: all .3s ease-out;
  text-decoration: none;

  :after {
    content: "→";
    float: right;
  }

  >* {
    padding-left: 40px;
  }
}

.line-link:hover {
  box-shadow:
    inset 1000px 0px var(--ccigreen);
  transition: all .3s ease-out;
  color: white;
}

a .line-link span {
  display: inline-block;
  text-decoration: none;
  width: 100%;
}

.button a {
  border: 2px solid var(--ccigreen);
  padding: 0.8rem 1rem;
  border-radius: 20px;
  display: block;
  text-align: center;
  color: var(--ccigreen);
  max-width: 450px;
  font-size: 1.1rem;
  text-decoration: none;
}

.button a:hover {
  background-color: var(--ccigreen);
  color: white;
  text-decoration: none;
}

.green-button {
  background: #76C38F;
  font-weight: 900;
  filter: drop-shadow(5px 5px 0px #160A59);
  transition: all .3s;
  font-size: 0.95em;
}

a.green-button {
  color: #3e3e3e;
  width: 30ch;
  margin-top: 3rem;
}

.green-button:hover {
  filter: drop-shadow(8px 8px 0px #160A59);
}

.navbar {
  z-index: 1;
  background-color: #fff;
  padding: 17px 0;
}

@media (width <=768px) {
  .showcase {
    flex-wrap: wrap;
    gap: 2%;
  }

  .four-column>* {
    width: calc(50% - 20px);
  }

  .showcase>* {
    width: 48%;
    margin-top: 5rem;
  }

  .navbar {
    margin-bottom: 30px;
  }

  .horizontal-card {
    flex-direction: column;
    gap: 0;
  }

  .horizontal-card img {
    margin: 0 auto;
    max-width: 60%;
  }

  .horizontal-card {
    text-align: center;
    gap: 1rem;
  }

  .bar {
    width: 100%;
    min-height: 4px;
  }

  .side-by-side {
    flex-wrap: wrap;
  }

  .side-by-side img {
    width: 100%;
  }

  .column-side-image {
    max-width: 80%;
    vertical-align: center;
  }
}

@media (min-width:576px) {
  .container {
    max-width: 92ch;
  }
}

@media (width <=576px) {
  .navbar {
    margin-bottom: 20px;
    padding: 15px;
  }

  .two-column {
    display: block;
  }

  .embiggen-text {
    font-size: 1em;
  }

  .image-overlay-text {
    font-size: 2.8em;
    padding: 0.8rem;
  }
}

.navbar-light .navbar-brand {
  /* Neue Haas Grotesk Display Pro 65 Medium */
  font-family: neue-haas-grotesk-display, sans-serif;
  font-weight: 600;
  font-style: normal;
  color: rgb(51 51 51 / 70%);
}

.navbar-expand-lg .navbar-nav {
  width: 100%;
  justify-content: space-around;
}

.navbar-light .navbar-nav .nav-link {
  /* Neue Haas Grotesk Display Pro 75 Bold */
  font-family: neue-haas-grotesk-display, sans-serif;
  font-weight: 700;
  font-style: normal;
  color: rgb(51 51 51 / 70%);
}

@media (width <=992px) {
  .navbar-collapse {
    padding-top: 0.5rem;
  }
}

.navbar-brand {
  padding: 0;
}

.circles {
  background-image: url('../../images/child-poverty/circles.png');
  background-position: bottom right;
  background-size: contain;
  background-repeat: no-repeat;
}

.navbar-brand img {
  height: 83px;
}

@media (width >=1200px) {
  .container {
    max-width: 92ch;
  }
}

@media (width >=1032px) {
  .container {
    /* max-width: 1000px; */
  }

  .caption-container {
    max-width: 1000px;
    padding-left: 0;
  }
}

.caption-container {
  width: 100vw;
  margin: 0 auto;
  height: 0;
}

.carousel-caption {
  text-align: left;
  top: 5vw;
  left: 0;
  color: #3e3e3e;
  height: fit-content;
  background-color: rgb(255 255 255 / 70%);
  padding: 1.5rem 2rem 2rem;
  border-radius: 3px;
  right: unset;
  position: relative;
  width: 65%;
}

.carousel img {
  width: 100%;
}

.carousel-caption h1 {
  font-size: 1.5rem;
  line-height: 1.2;
}

.carousel-caption p {
  font-size: 0.9rem;
}

@media (width >=768px) {
  .carousel-caption h1 {
    font-size: 1.9rem;
  }

  .carousel-caption p {
    font-size: 1.2em;
  }

  .small-column {
    max-width: 40%;
  }
}

@media (width >=992px) {
  .carousel-caption h1 {
    font-size: 2.2rem;
  }
}

@media (width >=1200px) {
  .carousel-caption h1 {
    font-size: 2.5rem;
  }
}

@media (width >=1500px) {
  .carousel-caption h1 {
    font-size: 3.5rem;
  }

  .carousel-caption p {
    font-size: 1.3em;
  }
}

.mobile-only {
  display: none;
}

@media (width >=600px) {
  .backup-intro {
    display: none;
  }
}

@media (width <=599px) {
  main h1 {
    font-size: 2.5em;
  }

  .showcase {
    flex-direction: column;
  }

  .showcase>* {
    max-width: unset;
    width: 100%;
  }

  .mobile-only {
    display: block;
  }

  .carousel-inner .carousel-caption {
    display: none;
  }

  .hug-outer {
    flex-direction: column;
    margin-bottom: 2rem;
    gap: 1rem;
  }
}

.desktop-only {
  display: none;
}

/* Old Styles Overrides */

main h3 {
  /* Delete this once old stylesheet is gone */
  font-weight: 700;
}

.card-secondary-text a:hover {
  color: var(--ccigreen);
}

.report-buttons {
  margin: auto;
  flex-direction: row;
  flex-wrap: wrap;
}

.report-buttons li {
  width: 30%;
}

@media (max-width: 900px) {
  .flex-break {
    flex-direction: column;
    margin: inherit auto;
    align-items: center;
  }

  .report-buttons li {
    width: 30%;
  }

  .center-small {
    text-align: center;
  }

  .black-box {
    width: 100%;
    margin: auto;
  }

  .black-box>* {
    max-width: 70ch;
    width: 40ch;
    margin: auto;
  }
}

@media (width <=768px) {
  .breakout-heading {
    font-size: 3em;
  }

  .black-box>* {
    max-width: 70ch;
    width: 100%;
    margin: auto;
  }
}

@media (width <=400px) {
  .breakout-heading {
    font-size: 2em;
  }
}