@import url(https://fonts.googleapis.com/css?family=Oswald:300,400,700);
@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:200,300,400,600,700,900,200italic,300italic,400italic,600italic,700italic,900italic);

/* Override UGG site */


#chapter-title {

  /* background-color: #93939375; */
  margin: auto;
  width: 100%;
  align-content: center;
  box-shadow: 0 0 20px rgb(0 0 0 / 10%);
  -webkit-backdrop-filter: saturate(180%) blur(15px);
  backdrop-filter: saturate(180%) blur(20px);
  padding: 0px 0px 0px 0px;
  /* border: 1px solid #FFFFFF; */
  /* border-bottom: 1px solid #FFFFFF; */
  /* border-radius: 30px; */
  background: white;
  color: black;
  mix-blend-mode: screen;
  margin-top: 0px;
  margin-bottom: 0px;
}

@media only screen and (max-width: 768px) {

  #chapter-title {


    width: 95%;

  }
}

#main {
  width: 100%;
  padding: 0;
}

.content-asset p {
  margin: 0 auto;
}

.breadcrumb {
  display: none;
}

/* Helpers */
/**************************/
.margin-top-10 {
  padding-top: 10px;
}

.margin-bot-10 {
  padding-bottom: 10px;
}

/* Typography */
/**************************/
#m-parallax h1 {
  font-family: soleil, "Inter UI", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 24px;
  font-weight: 400;
  text-transform: uppercase;
  color: black;
  padding: 0;
  margin: 0;
}

#m-parallax h2 {
  font-family: soleil, "Inter UI", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  sans-serif;
  font-size: 4rem !important;
  font-size: 2.5vw !important;
  letter-spacing: 0px;
  text-align: center !important;
  line-height: 4rem !important;
  color: #000000;
  font-weight: 900;
  text-transform: uppercase !important;
  z-index: 10;
  opacity: .9;
  text-shadow: 0px 0px #727272;
  padding: 50px;
  margin-left: 0px;
  text-indent: 0px;
  margin-bottom: 0rem !important;
}

#m-parallax h3 {
  font-family: soleil, "Inter UI", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 350px;
  line-height: 0;
  font-weight: 400;
  letter-spacing: 0px;

  color: black;
}

#m-parallax p {
  font-family: soleil, "Inter UI", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-weight: 400;
  font-size: 14px;
  line-height: 24px;
}

.first-character {
  font-weight: 400;
  float: left;
  font-size: 84px;
  line-height: 64px;
  padding-top: 4px;
  padding-right: 8px;
  padding-left: 3px;
  font-family: 'Source Sans Pro', sans-serif;
}

.sc {
  color: #3b8595;
}

.ny {
  color: #3d3c3a;
}

.atw {
  color: #c48660;
}

/* Section - Title */
/**************************/
#m-parallax .title {
  background: white;
  padding: 60px;
  margin: 0 auto;
  text-align: center;
}

#m-parallax .title h1 {
  font-size: 35px;
  letter-spacing: 4px;
}

/* Section - Block */
/**************************/
#m-parallax .block {
  background: white;
  padding: 60px;
  width: 820px;
  margin: 0 auto;
  text-align: justify;
}

#m-parallax .block-gray {
  background: #f2f2f2;
  padding: 60px;
}

#m-parallax .section-overlay-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  opacity: 0.70;
}





/* Section - Parallax */
/**************************/


#m-parallax .parallax-cover {
  padding-top: 0px;
  padding-bottom: 0px;
  overflow: hidden;
  position: relative;
  width: 100%;
  background-image: url("../../../event/backgrounds/white.jpg");
  /* Updated version */
  background-attachment: fixed;
  background-size: 100%;
  -moz-background-size: cover;
  -webkit-background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;

  -webkit-animation-fill-mode: forwards;
  animation: slidein 100s;

  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;

  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-direction: alternate;
  animation-direction: alternate;
}


#m-parallax .parallax-agenda {
  padding-top: 50px;
  padding-bottom: 0px;
  overflow: hidden;
  position: relative;
  width: 100%;
  background-image: url("../../../event/backgrounds/chapter-0.svg");
  /* Updated version */
  background-attachment: fixed;
  background-size: 100%;
  -moz-background-size: cover;
  -webkit-background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;

  -webkit-animation-fill-mode: forwards;
  animation: slidein 100s;

  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;

  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-direction: alternate;
  animation-direction: alternate;
}

#m-parallax .parallax-overview {
  padding-top: 50px;
  padding-bottom: 50px;
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  /*box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1),
              inset 0 1px 0 rgba(255, 255, 255, 0.5),
              inset 0 -1px 0 rgba(255, 255, 255, 0.1);*/
}

/* Frosted glass: blurred parallax background on pseudo-element */
#m-parallax .parallax-overview::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background-image: url("../../../event/backgrounds/sdgs-background.jpg");
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;

  -webkit-animation: slidein 100s;
  animation: slidein 100s;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-direction: alternate;
  animation-direction: alternate;

  /* The actual blur + saturation — iOS frosted glass */
  -webkit-filter: blur(5px) saturate(110%) brightness(1.02);
  filter: blur(5px) saturate(110%) brightness(1.02);
  transform: scale(1.02); /* Prevent blur edge gaps */
}

/* Semi-transparent frosted overlay */
#m-parallax .parallax-overview::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: rgba(255, 255, 255, 0.35);
}

/* Ensure content sits above the frosted layers */
#m-parallax .parallax-overview > * {
  position: relative;
  z-index: 2;
}








#m-parallax .parallax-zero {
  padding-top: 0px;
  padding-bottom: 0px;
  overflow: hidden;
  position: relative;
  width: 100%;
  background-image: url("../../../event/backgrounds/chapter-0.svg");
  /* Updated version */
  background-attachment: fixed;
  background-size: 100%;
  -moz-background-size: cover;
  -webkit-background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;

  -webkit-animation-fill-mode: forwards;
  animation: slidein 100s;

  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;

  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-direction: alternate;
  animation-direction: alternate;
}


#m-parallax .parallax-one {
  padding-top: 250px;
  padding-bottom: 3px;
  overflow: hidden;
  position: relative;
  width: 100%;
  background-image: url("../../../event/backgrounds/chapter-0.svg");
  /* Updated version */
  background-attachment: fixed;
  background-size: 125%;
  -moz-background-size: cover;
  -webkit-background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;

  -webkit-animation: slidein 100s;
  animation: slidein 100s;

  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;

  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;

  -webkit-animation-direction: alternate;
  animation-direction: alternate;



}

#m-parallax .parallax-two {
  padding-top: 0px;
  padding-bottom: 0px;

  overflow: hidden;
  position: relative;
  width: 100%;
  background-image: url("../../../event/backgrounds/chapter-0.svg");
  /* Updated version */
  background-attachment: fixed;
  background-size: cover;
  -moz-background-size: cover;
  -webkit-background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;

  -webkit-animation: slidein 100s;
  animation: slidein 100s;

  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;

  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;

  -webkit-animation-direction: alternate;
  animation-direction: alternate;

}


#m-parallax .parallax-three {
  padding-top: 50px;
  padding-bottom: 0px;
  overflow: hidden;
  position: relative;
  width: 100%;
  background-image: url("../../../event/backgrounds/chapter-3.jpg?v=2.0");
  /* Updated version */
  background-attachment: fixed;
  background-size: cover;
  -moz-background-size: cover;
  -webkit-background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;

  -webkit-animation: slidein 100s;
  animation: slidein 100s;

  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;

  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;

  -webkit-animation-direction: alternate;
  animation-direction: alternate;

}

#m-parallax .parallax-four {
  padding-top: 50px;
  padding-bottom: 0px;
  overflow: hidden;
  position: relative;
  width: 100%;
  background-image: url("../../../event/backgrounds/chapter-4.jpg?v=2.0");
  /* Updated version */
  background-attachment: fixed;
  background-size: cover;
  -moz-background-size: cover;
  -webkit-background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  -webkit-animation: slidein 100s;
  animation: slidein 100s;

  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;

  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;

  -webkit-animation-direction: alternate;
  animation-direction: alternate;

}

#m-parallax .parallax-five {
  padding-top: 450px;
  padding-bottom: 0px;
  overflow: hidden;
  position: relative;
  width: 100%;
  background-image: url("../../../event/backgrounds/chapter-5.jpg?v=2.0");
  /* Updated version */
  background-attachment: fixed;
  background-size: cover;
  -moz-background-size: cover;
  -webkit-background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  -webkit-animation: slidein 100s;
  animation: slidein 100s;

  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;

  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;

  -webkit-animation-direction: alternate;
  animation-direction: alternate;

}

#m-parallax .parallax-media {
  padding-top: 50px;
  padding-bottom: 0px;
  overflow: hidden;
  position: relative;
  width: 100%;
  background-image: url("../../../event/backgrounds/chapter-0.svg");
  /* Updated version */
  background-attachment: fixed;
  background-size: cover;
  -moz-background-size: cover;
  -webkit-background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  -webkit-animation: slidein 100s;
  animation: slidein 100s;

  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;

  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;

  -webkit-animation-direction: alternate;
  animation-direction: alternate;

}

#m-parallax .parallax-seven {
  padding-top: 350px;
  padding-bottom: 0px;
  overflow: hidden;
  position: relative;
  width: 100%;
  background-image: url("photos/chapter-7.jpg?v=2.0");
  /* Updated version */
  background-attachment: fixed;
  background-size: cover;
  -moz-background-size: cover;
  -webkit-background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  -webkit-animation: slidein 100s;
  animation: slidein 100s;

  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;

  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;

  -webkit-animation-direction: alternate;
  animation-direction: alternate;

}

#m-parallax .parallax-eight {
  padding-top: 350px;
  padding-bottom: 0px;
  overflow: hidden;
  position: relative;
  width: 100%;
  background-image: url("../../../event/backgrounds/chapter-8.jpg?v=2.0");
  /* Updated version */
  background-attachment: fixed;
  background-size: cover;
  -moz-background-size: cover;
  -webkit-background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  background-color: #105158;

  -webkit-animation: slidein 35s;
  animation: slidein 35s;

  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;

  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;

  -webkit-animation-direction: alternate;
  animation-direction: alternate;
}

#m-parallax .parallax-nine {
  padding-top: 350px;
  padding-bottom: 0px;
  overflow: hidden;
  position: relative;
  width: 100%;
  background-image: url("../../../event/backgrounds/chapter-9.jpg?v=2.0");
  /* Updated version */
  background-attachment: fixed;
  background-size: cover;
  -moz-background-size: cover;
  -webkit-background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  -webkit-animation: slidein 100s;
  animation: slidein 100s;

  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;

  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;

  -webkit-animation-direction: alternate;
  animation-direction: alternate;

}

#m-parallax .parallax-ten {
  padding-top: 350px;
  padding-bottom: 0px;
  overflow: hidden;
  position: relative;
  width: 100%;
  background-image: url("../../../event/backgrounds/chapter-10.jpg?v=2.0");
  /* Updated version */
  background-attachment: fixed;
  background-size: cover;
  -moz-background-size: cover;
  -webkit-background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  -webkit-animation: slidein 100s;
  animation: slidein 100s;

  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;

  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;

  -webkit-animation-direction: alternate;
  animation-direction: alternate;

}

/* Extras */
/**************************/
#m-parallax .line-break {
  border-bottom: 1px solid black;
  width: 150px;
  margin: 0 auto;
}

/* Media Queries */
/**************************/
@media screen and (max-width: 959px) and (min-width: 768px) {
  #m-parallax .block {
    padding: 40px;
    width: 620px;
  }
}

@media screen and (max-width: 900px) {
  #m-parallax .block {
    padding: 30px;
    width: 420px;
  }

  #m-parallax h2 {
    font-size: 20px !important;
    line-height: 35px !important;
  }

  #m-parallax h3 {
    font-size: 17px !important;
    line-height: 35px !important;
  }

  #m-parallax .block {
    padding: 30px;
  }

  #m-parallax .parallax-one,
  #m-parallax .parallax-two,
  #m-parallax .parallax-three,
  #m-parallax .parallax-four,
  #m-parallax .parallax-five,
  #m-parallax .parallax-six,
  #m-parallax .parallax-seven,
  #m-parallax .parallax-eight,
  #m-parallax .parallax-nine,
  #m-parallax .parallax-ten,
  #m-parallax .parallax-eleven,
  #m-parallax .parallax-twelve,
  #m-parallax .parallax-thirteen,
  #m-parallax .parallax-fourteen {
    padding-top: 100px;
    padding-bottom: 100px;
  }
}

@media screen and (max-width: 479px) {
  #m-parallax .block {
    padding: 30px 15px;
    width: 290px;
  }

  #m-parallax h2 {
    font-size: 18px !important;
    line-height: 20px !important;
  }

  #m-parallax h3 {
    font-size: 16px !important;
    line-height: 20px !important;
  }

  #m-parallax .parallax-one,
  #m-parallax .parallax-two,
  #m-parallax .parallax-three,
  #m-parallax .parallax-four,
  #m-parallax .parallax-five,
  #m-parallax .parallax-six,
  #m-parallax .parallax-seven,
  #m-parallax .parallax-eight,
  #m-parallax .parallax-nine,
  #m-parallax .parallax-ten,
  #m-parallax .parallax-eleven,
  #m-parallax .parallax-twelve,
  #m-parallax .parallax-thirteen,
  #m-parallax .parallax-fourteen {
    padding-top: 50px;
    padding-bottom: 50px;
  }
}

@-webkit-keyframes slidein {
  from {
    background-position: center center;
    background-size: 3000px;
  }

  to {
    background-position: center center;
    background-size: 4000px;
  }
}

@keyframes slidein {
  from {
    background-position: center center;
    background-size: 3000px;
  }

  to {
    background-position: center center;
    background-size: 4000px;
  }
}







.parallax-section {

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100%;
  background-attachment: fixed;
  /* Creates the parallax effect */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
}

/* ============================================================================
   Steps 29–30 — inside-page headers (.parallax-agenda, .parallax-media), EN + AR.
   Same language as the home overview background: the navy band with an airy white
   dot grid instead of the chapter-0.svg picture (its SDG wheels are AFSD artwork,
   removed at the owner's request), plus
   ::before  sparse dots in the SDG banner colours (event/backgrounds/sdg-dots.svg)
   ::after   items of the SDG banner: sprout + signal arcs at the left, quarter
             circle + leaf at the right (event/backgrounds/header-items-*.svg).
   Motion, very slight: the white and the coloured dots drift slowly in opposite
   directions and the coloured ones twinkle; the items float a few pixels; while
   the page scrolls, the items drift down at about half its speed (scroll-driven
   CSS; browsers without it skip that part). Nothing moves with "reduce motion"
   or with the accessibility widget's "Stop animations".
   This overrides the chapter-0.svg background, fixed attachment and slow zoom
   ("slidein") of the two rules above; they are kept for reference.
   ========================================================================== */
#m-parallax .parallax-agenda,
#m-parallax .parallax-media {
  background: #205882 radial-gradient(circle, rgba(255, 255, 255, .16) 1px, transparent 1.6px) 0 0 / 50px 50px;
  background-attachment: scroll;
  -webkit-animation: none;
  animation: none;
  isolation: isolate;
}
#m-parallax .parallax-agenda > *,
#m-parallax .parallax-media > * { position: relative; z-index: 1; }
/* the white #chapter-title block under the title (empty, or the old AFSD subtitle) covered the bottom of the band */
#m-parallax .parallax-agenda > #chapter-title,
#m-parallax .parallax-media > #chapter-title { display: none; }

#m-parallax .parallax-agenda::before, #m-parallax .parallax-media::before,
#m-parallax .parallax-agenda::after,  #m-parallax .parallax-media::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
}
#m-parallax .parallax-agenda::before, #m-parallax .parallax-media::before {
  inset: 0;
  background: url("../../../event/backgrounds/sdg-dots.svg") 0 0 / 240px 240px repeat;
  opacity: .9;
}
#m-parallax .parallax-agenda::after, #m-parallax .parallax-media::after {
  inset: 0 0 -12px 0;      /* the items stand on the bottom edge, also while floating */
  background:
    url("../../../event/backgrounds/header-items-left.svg")  left 3% bottom 0 / auto 74% no-repeat,
    url("../../../event/backgrounds/header-items-right.svg") right 3% bottom 0 / auto 74% no-repeat;
}

@keyframes apfbf-grid-flow    { to { background-position: 50px 50px; } }
@keyframes apfbf-colour-flow  { to { background-position: -240px 240px; } }
@keyframes apfbf-twinkle      { 0%, 100% { opacity: .9; } 50% { opacity: .35; } }
@keyframes apfbf-float        { from { translate: 0 0; } to { translate: 0 -6px; } }
@keyframes apfbf-items-drift  { to { transform: translateY(60px); } }

@media (prefers-reduced-motion: no-preference) {
  #m-parallax .parallax-agenda, #m-parallax .parallax-media { animation: apfbf-grid-flow 90s linear infinite; }
  #m-parallax .parallax-agenda::before, #m-parallax .parallax-media::before {
    animation: apfbf-colour-flow 120s linear infinite, apfbf-twinkle 7s ease-in-out infinite;
  }
  #m-parallax .parallax-agenda::after, #m-parallax .parallax-media::after { animation: apfbf-float 6s ease-in-out infinite alternate; }
  @supports (animation-timeline: scroll()) {
    #m-parallax .parallax-agenda::after, #m-parallax .parallax-media::after {
      animation: apfbf-float 6s ease-in-out infinite alternate, apfbf-items-drift linear both;
      animation-timeline: auto, scroll(root); animation-range: normal, 0 600px;
    }
  }
}

@media (max-width: 768px) {
  #m-parallax .parallax-agenda::after, #m-parallax .parallax-media::after {
    background-size: auto 40%, auto 40%;
    background-position: left 0 bottom 0, right 0 bottom 0;
  }
}
