


body {
    background-color: #f1c1c5; 
    box-sizing: border-box;
    height: 100%;
  margin: 0;
  /* overflow: hidden; */
 
  margin: 0;
  padding: 0;
  overflow-y: scroll; 


}

html, body {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
}

.introduction p.small.cite {word-break: break-all !important;}


#navigator-footer {
  position: sticky;
  bottom: -2vw;  
  background: linear-gradient(to top,  rgb(230, 34, 32, 1), rgb(230, 34, 32, 1), rgb(230, 34, 32, 1), rgb(230, 34, 32, 0));
  padding: 4vw 0 2vw 0;
  /* text-align: center; */
  z-index: 1000;
}

#navigator-footer a {
  /* color: white;
  font-weight: bold;
  text-decoration: none;
  font-size: 16px; */
}

#navigator-footer h5 a { 
   -webkit-text-stroke-color:#f1c1c5 !important;  
   -webkit-text-stroke-width: 1.5px !important;

}

#navigator-footer h5 a:hover { 
   -webkit-text-stroke-color:#f1c1c5 !important; 
   -webkit-text-stroke-width: 0px !important;
   color:#f1c1c5 !important;   

}

#navigator-footer h5 {

    margin-block-end: 0vw;
    margin-block-start: 0px;
}
 

 



  .print-top {
    opacity: 0;
    visibility: hidden;
    pointer-events: none; 
  }


   #blob1{transform: scale(2) translateX(-14vw) translateY(0vh)}
  #blob2{transform: scale(2.5) translateX(-10vw) translateY(-16vh)}
  #blob3{transform: scale(1.5) translateX(-9vw) translateY(-10vh)}
  #blob4{transform: scale(2.5) translateX(-18vw) translateY(-25vh)}
  #blob5{transform: scale(2) translateX(-15vw) translateY(-2vh)}
  #blob6{transform: scale(2) translateX(-27vw) translateY(-55vh)}
  
  

  .blob-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0; 
  overflow: hidden;
  /* mix-blend-mode: multiply; */
}

  .blob-container.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}


.floating-char {
  animation-delay: 0s;
  position: absolute; 
  animation: floatAround 10s infinite ease-in-out;
  will-change: transform;
  pointer-events: none;


   font-family: 'Lapidary 333';
    font-weight: bold;
    font-style: italic; 
    font-size: calc(24px + 1.5vw);
    /* line-height: calc((9px + .6vw) * 1.18);  */

    -webkit-text-stroke-width: 2.5px;  
  -webkit-text-stroke-color: #e62220;  

  color: transparent;
   mix-blend-mode: multiply;

}

/* Keyframe animation */
@keyframes floatAround {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(10px, -15px) rotate(2deg);
  }
  50% {
    transform: translate(-15px, 10px) rotate(-2deg);
  }
  75% {
    transform: translate(5px, 20px) rotate(1deg);
  }
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}



/* #blobs-containeer { 
  transform:  scale(.5);
  overflow-y: hidden;
  max-height: 100vh;
}
.blobs-container path {
  fill: none;
  stroke: #e62220;
  stroke-width: 2px;
} */



/* 
  .blobs {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}

.blob {
  position: absolute;
  width: 200px;
  height: 200px;
  animation: float 6s ease-in-out infinite;
  overflow: visible;
}

.blob:nth-child(1) { top: 10%; left: 5%; animation-delay: 0s; }
.blob:nth-child(2) { top: 30%; left: 20%; animation-delay: 1s; }
.blob:nth-child(3) { top: 60%; left: 10%; animation-delay: 2s; }
.blob:nth-child(4) { top: 20%; right: 5%; animation-delay: 3s; }
.blob:nth-child(5) { bottom: 20%; left: 30%; animation-delay: 4s; }
.blob:nth-child(6) { bottom: 10%; right: 10%; animation-delay: 5s; } */




/* @keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
} */






#logo {
  position: fixed;
  top: 3vw;
  left: 2vw; 
  z-index: 9999;
  transition: opacity 0.3s ease;
  
}

#logo img {
  width: calc(25vw - 6vh);
  height: auto; 
  transition: opacity 0.3s ease;
}

 
 
#logo.small-logo img { 
  width: 20vw;
  height: auto; 
  transition: all 0.3s ease;
}

#logo.hide, #sub-logo.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}




#sub-logo {
  position: fixed;
  bottom: 3vw;
  left: 2vw; 
  z-index: 9999;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  gap: 1vw
}

#sublogo-img {
  width: calc((25vw * 1.17) - 6vh - 2vw);
  height: auto; 
  transition: opacity 0.3s ease;
}

#logo.navigator-open #sub-logo {
  opacity: 0;
}


#scroll-arrow { 
   /* height: 24px; */

  /* width: calc( (25vw * 1.17) / 19);
  height: calc( (25vw * 1.17) / 19); */

  width: calc(6vh - 4px);
    height: calc(6vh - 4px);

  animation: bounce 2s infinite; 
  border-radius: 100%; 
  box-sizing: border-box;
  
  /* border: 2px solid #e6211e; */
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #e6211e;
}

#scroll-arrow img {
/* width: calc( (25vw * 1.17) / 19); */
width: 50%;
}


@keyframes bounce {
  0%, 100% {
    transform: translateY(-5px);
  }
  50% {
    transform: translateY(5px);
  }
}


 




body.navigator-open #logo img {
  width: 15vw;
  height: auto; 
  transition: all 0.3s ease;
}

 


body.navigator-open #sub-logo {
  opacity: 0; /* fade out sub-logo when navigator open */
}



@font-face {
    font-family: 'Lapidary 333';
    src: url('/fonts/Lapidary333BT-BoldItalic.woff2') format('woff2'),
        url('/fonts/Lapidary333BT-BoldItalic.woff') format('woff');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
} 

@font-face {
    font-family: 'Lapidary 333';
    src: url('/fonts/Lapidary333BT-Bold.woff2') format('woff2'),
        url('/fonts/Lapidary333BT-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
} 



p {
    color: #e62220;
    font-family: 'Helvetica Neue';
    font-weight: bold;
}

p a {
  color:  #e62220; 
  text-decoration-line: underline; 
  text-decoration-style: dotted; 

}

p a:hover { 
  text-decoration-style: solid; 

}


p.normal {
    font-size: calc(12px + .8vw);
    line-height: 1.18; 
    margin: 0px !important;
    text-wrap: pretty;
    text-align: left;

}

p.normal.center , p.small.center  {
text-align: center;
}

p.small {
    font-size: calc(9px + .6vw);
    line-height: 1.18 !important; 
    margin: 0px !important;
    text-wrap: pretty;
    text-align: left;
    width: 100%;
}

span.small {
    font-size: calc(9px + .6vw);
    line-height: 0 !important; 
    margin: 0px !important;
    text-wrap: pretty;
    text-align: left;
}

p.small b {
font-size: calc(16px + .6vw);
}


.multiplechoice {
  display: flex;
  align-items: flex-start;
  margin: 1vw 0;
  position: relative;
}

.multiplechoice h5 {

margin-block-end: 0px;
margin-block-start:  0px;
}

.left-indicator {
  width: 1.5vw;
  height: 1.5vw;
  border-radius: .5vw;
  border: 2px solid hsl(1, 80%, 51%);
  margin-right: 1em;
  flex-shrink: 0; 
}

.multiplechoice-content {
  flex: 1;
}


p.intro.small { 
    text-indent: 25%;
}

p.intro.normal { 
    text-indent: 10%;
    margin-bottom: 1vw !important;
}
.right {
    float: right;
    padding: 1vw 2vw;
    box-sizing: border-box;
    color: #e62220;

    display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
    
}

.left {
    float: left;
    height: 100%;
    padding: 1vw 2vw;
    box-sizing: border-box;
    color: #e62220;
    display: flex;
    flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;

}

.left.center {
    float: left;
    padding: 1vw 2vw;
    box-sizing: border-box;
    color: #e62220;

    display: flex;
  flex-direction: column;
  justify-content: center !important;
  min-height: 100vh;

}


.right.center {
    float: left;
    height: 100%;
    padding: 1vw 2vw;
    box-sizing: border-box;
    color: #e62220;
    display: flex;
    flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;

}


/* 

.page-body {
margin-left: 33%;
  width: 66%;
} */

.page {
   
  min-height: 100vh;
  box-sizing: border-box;
  margin: 0px; auto;
  width: 100%;
  scroll-snap-align: start;
  height: 100vh;
  
}

 
/* 
.scroll-container {
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
} */

/* .page {
  height: 100vh;
  scroll-snap-align: start;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;

} */

 

.navigator {
    background-color: #e62220;
    color: #f1c1c5;
    display: block;
    width: 33vw;
    /* height: calc(100vh - 2vw); */
    /* height: auto; */
    position: fixed;
    top: 0px;
    left: 0px;
    height: 100%;
    /* bottom: 1vw; */
    /* left: 2vw; */
    font-family: 'Helvetica Neue';
    font-weight: bold; 
    padding: 2vw;
    box-sizing: border-box;
    font-size: calc(7px + .6vw);
    /* line-height: 2; */
    overflow-y: scroll;
    padding-top: 10vh;
}

.navigator {
  transform: translateX(-100%);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
  pointer-events: none;
}

.navigator.visible {
  transform: translateX(0%);
  opacity: 1;
  pointer-events: auto;
}




.introduction {
  /* background-color: #f1c1c5; */

      background: rgb(241, 193, 197, .7);
  color: #e62220;
  border-left: 2px solid #e62220;
  font-family: 'Helvetica Neue';
  font-weight: bold;
  font-size: calc(7px + .6vw);
  padding: 2vw;
  box-sizing: border-box;
  overflow-y: scroll;
  height: 100%;
  position: fixed;
  top: 0;
  width: 33vw;
  left: 67vw;
  transform: translateX(0);
  transition: width 0.5s ease, left 0.5s ease;
  z-index: 99999;
  pointer-events: auto;
  /* display: flex;
  align-items: center; */
  /* flex-direction: column; */
  backdrop-filter: blur(4px);
 
}

.introduction.expanded {
  width: 67vw;
  left: 33vw;
}

.introduction.hidden {
  left: 100vw;
  pointer-events: none;
}


.intro-content {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%; 
  flex-direction: column;
}

.introduction h5 {
    display: block;
    width: 100%;
    text-align: left;
    margin-block-end: .5vw;
margin-block-start: 1px; 
}

 


 .intro-image-wrapper-left {
  display: flex;
  align-items: flex-end;
  margin-bottom: 4vw;
  margin-top: 4vw;
  gap: 1rem; 
  /* background-color: #f1c1c5;  */
    justify-content: right;
}


 .intro-image-wrapper-right {
  display: flex;
  align-items: flex-start;
  margin-bottom: 4vw;
  margin-top: 4vw;
  gap: 1rem; 
  /* background-color: #f1c1c5; */
}

.intro-img {
  width: 50%;
  height: auto;  
  /* max-height: 30vh; */
  /* mix-blend-mode: multiply;  */
  border:#e62220 2px solid;
}

.caption-vertical {
  writing-mode: vertical-rl !important; /* or use rotate if needed */
  transform: rotate(180deg); /* flips for left-side vertical text */ 
  max-height: 40%; /* keeps it from stretching past the image */
  /* overflow: hidden; */
  /* white-space: nowrap; */
  color: #e62220;
  flex-shrink: 0;
  font-size: calc(9px + .6vw);

 
  text-orientation: mixed;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
  line-height: 1.2; 
  display: inline-block; 
  box-sizing: border-box;
  /* padding: 0 4px; */

}

.caption-right {
  writing-mode: vertical-lr;
  transform: rotate(0deg);
}

/* .caption-left {
  writing-mode: vertical-lr;
  transform: rotate(180deg);
} */









/* ✅ full-content is scrollable and takes full space */
.full-content {
  height: 100%;
  /* overflow-y: auto; */
  /* display: none;  */
  flex-direction: column;
}


.full-content {
  position: relative;
}

.full-content > div {
  display: none;
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
}



.introduction.expanded .intro-content {
  display: none;
}

.introduction.expanded .full-content {
  display: flex;
}


body.no-scroll {
  overflow: hidden;
}










.page-body {
  transition: all 0.2s ease;
  width: 100%;
  margin-left: 0;
}

.page-body.shrinked {
  width: 67%;
  margin-left: 33%;
}


#home h2 a {
    color:  #e62220;
}

h2.go-home {
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.go-home, .start-kit {
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}
   

.start-kit:hover {
  opacity: .5;
}

 h2 {
    font-family: 'Lapidary 333';
    font-weight: bold; 
    font-size: calc(16px + 2.5vw);
    line-height: .8;  
    margin-top: 2vw; 
    text-transform: lowercase;

    /* margin-block-end: 0px;
margin-block-start: 0px;  */
}

h2 span {
    font-family: 'Helvetica Neue';
    font-weight: bold; 
    font-size: calc(4px + 2.5vw);

}
h2 a {
    text-decoration: none; 
    transition: all 0.2s ease-in-out;
    color: #f1c1c5;  
}

h2 a:hover, h2.go-home:hover, .go-home:hover {
    opacity: .5;
}
 
.full-content h3 {
    margin-block-end: 0vw;
margin-block-start: 1vw; 
}

 h3 {
    font-family: 'Lapidary 333';
    font-weight: bold; 
    font-size: calc(10px + 1.5vw);
    line-height: 1; 
    /* margin-block-end: 1vw;
margin-block-start: 1vw;  */

}

 h4 {
    font-family: 'Helvetica Neue';
    font-weight: bold; 
    font-size: calc(9px + .6vw);
    line-height: 1;
    margin: 1vw 0px;
}


 h5 {
    font-family: 'Lapidary 333';
  font-weight: bold;
  font-style: italic;
    font-size: calc(10px + 1.5vw);
    line-height: 1;

    -webkit-text-stroke-width: 2px; /* Sets the stroke thickness */
  -webkit-text-stroke-color: #e62220; /* Sets the stroke color */
  color: transparent;
}
 

h5 a {
    text-decoration: none; 
    transition: margin 0.2s ease-in-out;

    -webkit-text-stroke-width: 2px;  
  -webkit-text-stroke-color: #e62220;  
    color: transparent;
    opacity: 1;

  
    
}

h5 a:hover {
  margin-left: 2vw;

   -webkit-text-stroke-width: 0px;  
  -webkit-text-stroke-color: #f1c1c5;  
    color: #e62220;

    opacity: 1;
}

.space {
  display: inline-block;
  width: 6vw;
  background-color: #f1c1c5;
}

.break {
  width: calc(100% + 4vw);
  margin-left: -2vw;
  border-top: 2px solid #e62220; 
  margin-top: 4vw;
  margin-bottom: 4vw;
}

#introduce ,
#intent ,
#instruct {
padding-bottom: 4vw;
}


.intro-content > h5 > a::before,
#introduce > h5  > a::before,
#intent > h5  > a::before,
#instruct > h5  > a::before

{
  /* content: '—›';   */
    content: '—';  
  font-family: 'Lapidary 333';
  font-weight: bold;
  font-style: italic;
  font-size: calc(12px + 1.2vw);
  -webkit-text-stroke-width: 1.5px;
  -webkit-text-stroke-color: #e62220;
  color: transparent; 
  pointer-events: none;  
  transition: all 0.3s ease;
  /* letter-spacing: -4px; */
  margin-right: 8px;

}

 
 
.breath-container {
  height: 100%;
  display: block;
  display: flex;
  align-items: center;
  justify-content: center;
}

.breath {
     font-family: 'Lapidary 333';
  font-weight: bold;
  font-style: italic;
    font-size: calc(42px + 2.5vw);
    line-height: 1;

    -webkit-text-stroke-width: 2.5px; /* Sets the stroke thickness */
  -webkit-text-stroke-color: #e62220; /* Sets the stroke color */
  color: transparent;

  /* font-size: 4rem; */ 
  line-height: 1; /* Ensure consistent spacing */
  animation: breathe 8s ease-in-out infinite, fade 8s ease-in-out infinite;
  transition: font-size 0.2s ease;
}

@keyframes breathe {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.4); }
  60%  { transform: scale(1.4); }
  100% { transform: scale(1); }
}

@keyframes fade {
  0%   { opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { opacity: 0; }
}


 


.tag {
    border-radius: calc(7px + .6vw);  
    display: inline-block;
    margin-bottom: 5px;
    cursor: pointer;
}

.tag.number {
    font-size: calc(7px + .6vw);
    color: #e62220;
    text-decoration: none; 
    height: calc((7px + .6vw ) * 1.4) ;
     width: calc((7px + .6vw ) * 1.4) ;
    display: inline-block;
    line-height: calc((7px + .6vw ) * 1.4) ;
    text-align: center;
}

.tag.text {
    font-size: calc(7px + .6vw);
    padding: 0px 5px;
    line-height: calc((7px + .6vw ) * 1.4) ;
}

.tag.active, .navigator .number.active, .navigator .number.active.filtered {
    
    background-color: #e62220;
    color: #f1c1c5; 
    border: 2.5px solid #f1c1c5;  
}

.navigator .number.filtered, .navigator .text.filtered, .tag.filtered {
    
    background-color: #e62220;
    color: #f1c1c5; 
    border: 2.5px dotted #f1c1c5;  
}

.navigator .number.filtered:hover, .navigator .text.filtered:hover {
     
    border: 2.5px solid #f1c1c5;  
}

.tag.inactive { 
     background-color: #f1c1c5;
    color: #e62220; 
    border: 2.5px solid #f1c1c5;  
}

.tag:hover {  
    opacity: .75;
}

.navigator .number.unfiltered {
  opacity: 0.25;
}

.navigator .number.unfiltered:hover {
  opacity: 0.5;
}

.navigator .number {
  transition: opacity 0.3s ease, border 0.3s ease;
}

.navigator .number.active {
  opacity: 1 !important; 
}
 

.nav-link {
  position: relative;
}

.nav-link::before {
  content: '—›';
  position: absolute;
  left: -3vw; /* adjust as needed */
  top: 50%;
  transform: translateY(-50%) scaleX(0);
  font-family: 'Lapidary 333';
  font-weight: bold;
  font-style: italic;
  font-size: calc(12px + 1.2vw);
  -webkit-text-stroke-width: 1.5px;
  -webkit-text-stroke-color: #f1c1c5;
  color: transparent;
  opacity: 0;
  pointer-events: none; 
  letter-spacing: -4px;
  margin-right: 1px;

  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-link.active::before {
  transform: translateY(-50%) scaleX(1);
  opacity: 1;
}

.nav-link.active {

  margin-left: 3vw;
}
  
.nav-link {
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.nav-link:hover {
    opacity: .5;
}


.section-body {
    width: calc(50%);
    /* padding-right:2vw;  */
    /* padding-left: 12vw; */
    /* padding-right: 8.5vw; */
    box-sizing: border-box; 
}

.big-number {
    float: left;
    display: inline-block;
    /* background-color: yellow;  */
    width: 8vw;
    margin-left: -8vw;
    margin-top: -1vw;
    font-family: 'Lapidary 333';
    font-weight: bold;
    font-style: italic;
    /* color: #e62220; */
    font-size: calc(42px + 2.5vw);
    line-height: 1.18; 

    -webkit-text-stroke-width: 2.5px; /* Sets the stroke thickness */
  -webkit-text-stroke-color: #e62220; /* Sets the stroke color */
  color: transparent;
  letter-spacing: -8px;
  text-align: center;

}

.details {
    margin-top: 1.5vw;
    width: calc(100% - 2vw);
    display: flex;
    /* text-indent: -2vw;
    margin-left: 2vw; */
}
 

.question sup {
    float: left;
    /* background-color: #fff; */
    width: 2vw;
    display: block;
    font-family: 'Lapidary 333';
    font-weight: bold;
    font-style: italic; 
    font-size: calc(24px + 1.5vw);
    line-height: calc((9px + .6vw) * 1.18); 

    -webkit-text-stroke-width: 2.5px;  
  -webkit-text-stroke-color: #e62220;  
  color: transparent;
  margin-right: 1vw;
}
/* .asterisk::before {
    content: '*';

     font-family: 'Lapidary 333';
    font-weight: bold;
    font-style: italic; 
    font-size: calc(42px + 1.5vw);
    line-height: calc((9px + .6vw) * 1.18); 

    -webkit-text-stroke-width: 2.5px;  
  -webkit-text-stroke-color: #e62220;  
  color: transparent;
}


.subquestion::before {
    content: '?';

     font-family: 'Lapidary 333';
    font-weight: bold;
    font-style: italic; 
    font-size: calc(42px + 1.5vw);
    line-height: calc((9px + .6vw) * 1.18); 

    -webkit-text-stroke-width: 2.5px;
  -webkit-text-stroke-color: #e62220; 
  color: transparent;
} */

 .small.multiplechoice {
    margin-top: 1vw !important;
    padding-left: 0px !important;
  }



  /* === MOBILE HEADER === */
.mobile-header {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  /* background: #f1c1c5; */
  padding: 4vw;
  z-index: 999999;
  /* box-shadow: 0 2px 4px rgba(230, 34, 32, 0.1); */
  justify-content: end;
  align-items: center;
  height: 8vh;
  box-sizing: border-box;
  /* background: rgb(230, 34, 32); */
}
 




.mobile-btn {
  /* background: #e62220; */
  /* color: white; */
  /* border: none; */
  /* padding: 8px 14px; */
  /* font-size: 16px;
  font-weight: bold;
  border-radius: 4px; */

  font-size: calc(20px + 2.5vw);
    -webkit-text-stroke-width: 0px;  
  /* -webkit-text-stroke-color: #e62220;  */
  color: transparent;
  background-color: #f1c1c5;

    font-family: 'Lapidary 333';
    font-weight: bold;
    font-style: italic;
    border: 2px solid #e62220;
    border-radius: 100%;
    width: calc(6vh - 4px);
    height: calc(6vh - 4px);
    box-sizing: border-box;
    text-align: center;
    line-height: 0vh;
    margin-left: 1vh;

      font-family: "Arial", "Helvetica", sans-serif;
  font-feature-settings: "liga" off; /* turns off ligatures */
  -webkit-font-smoothing: antialiased; 
  unicode-bidi: isolate;

  background-repeat: no-repeat;
  background-position: center;
  background-size: 3vh;
    

}

.open-intro {
  background-image: url('/ancestryandme/info.png') !important;
}
.open-navigator {
  background-image: url('/ancestryandme/more.png') !important;
}

.mobile-btn.open {
  background-color: #e62220 !important;
  color: transparent !important;
     -webkit-text-stroke-width: 0px; 
     
  background-image: url('/ancestryandme/close.png') !important;
}





 




 



/* === CLOSE BUTTONS FOR PANELS === */
 


  .introduction .panel-close{

  background: #e62220;
  color: #f1c1c5;

  }

    .navigator .panel-close{


  color: #e62220;
  background: #f1c1c5;

  }



  .panel-close {
  /* display: none; */
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 9999; 
  font-size: 24px;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
}

 
@media (max-width: 768px) {


#navigator-footer {
  display: none;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
}

#sub-logo { 
  display: flex;
  align-items: center;
  gap: 0vw;
  width: calc(100% - 8vw);
  padding-right: 4vw;

   justify-content: space-between;
}
 




  #scroll-arrow {  

  width: calc(6vh - 4px);
    height: calc(6vh - 4px);
 
}

#scroll-arrow img {
/* width: calc( (25vw * 1.17) / 19); */
width: 50%;
}




   #blob1{transform: scale(3) translateX(-14vw) translateY(-10vh)}
  #blob2{transform: scale(2.5) translateX(-16vw) translateY(-9vh)}
  #blob3{transform: scale(2.5) translateX(-15vw) translateY(-18vh)}
  #blob4{transform: scale(3.5) translateX(-48vw) translateY(-27vh)}
  #blob5{transform: scale(3) translateX(-55vw) translateY(-5vh)}
  #blob6{transform: scale(3) translateX(-89vw) translateY(-67vh)}
  





.left-indicator {
  width: 4vw;
  height: 4vw; 

    border-radius: 1vw;
}





#logo {
  position: fixed;
  /* top: 8vw; */
   top: 2.5vh;
  left: 4vw;  
}

 #sub-logo {
  position: fixed;
  bottom: 4vw;
  left: 4vw;  
}

#logo img {
  max-width: calc(100vw - 18vh - 8px);
  max-height: calc(5.5vh - 4px);
  width: auto;
}

#sublogo-img {
  width: auto; 
  height: auto;
  max-width: calc((100vw - 18vh - 8px - 6vh) * 1.18);
  max-height: calc((5.5vh - 4px) * 1.18 ); 
}

/* #logo.small-logo img {
  width: 20vw;
  height: auto; 
  transition: all 0.3s ease;
} */




  .caption-vertical {
    max-height: 20%;
    font-size: calc(9px + 1vw);
    display: none;
  }
 

  .intro-img {
    width: 100%; 

  }


  .section-body.blurred {
    filter: blur(2px);
    pointer-events: none;
    transition: filter 0.3s ease;
  }

  /* .page-body.page-blur.blurred  {
    filter: none !important; 
    transition: filter 0.3s ease;
  } */
 

  .breath { 
    -webkit-text-stroke-width: 2px; 

  }
  .mobile-header {
    display: flex;
  }
 
  .introduction,
  .navigator {
    width: 100vw !important;
    left: 0 !important;
  }

  .close-navigator {
    display: none;
  }

  .navigator.visible .close-navigator {
    display: block;
  }

  .introduction.expanded .close-intro {
    display: block;
  }
 
   
  .page-body.shrinked {
    width: 100%;
    margin-left: 0;
  }

  /* Make navigator and introduction full width */
  .navigator,
  .introduction {
    width: 100% !important;
    height:calc(100% - 8vh);
    left: 0 !important;
    padding: 5vw 4vw;
    display: none;
    position: fixed;
    top: 8vh;
    z-index: 100;
    /* opacity: 0.3; */
    /* display: none; */
    /* border: 0px;  */
    box-sizing: border-box;
    /* opacity: .8; */ 
    
  }
  .navigator  {
    background:rgb(230, 34, 32, 1);;
  }


  .navigator .number.filtered, .navigator .text.filtered, .tag.filtered {
     
    border: 2px dotted #f1c1c5;  
}


    .introduction {
      border-top: 2px solid #e62220;
      border-left: 0px; 
      background: rgb(241, 193, 197, .7);
      backdrop-filter: blur(2px);
    }


  .navigator.visible,
  .introduction.visible {
    display: block !important;
  }
  
  .introduction.expanded {
    width: 100% !important;
    left: 0 !important;
  }
 
  .intro-content { 
    text-align: center; 
  }
 
  .left,
  .right,
  .left.center,
  .right.center {
    padding: 4vw;
    float: none;
    width: 100%;
    min-height: auto;
    height: 50%;
  }

    .left {
      padding-top: 15vh;
    }
 
  .page {
    width: 100%; 
  }

  .break {
    width: calc(100% + 8vw);
    margin-left: -4vw;
    border-top: 2px solid #e62220;
    margin-top: 4vh;
    margin-bottom: 4vh;
}
 
 
  h2 {
    font-size: calc(16px + 3vw);
  }
 
  .introduction h5 { 
    margin-block-end: 2vw;
    margin-block-start: 1px;
}

  .tag.text {
    font-size: calc(10px + 2vw);
    padding: 0.5vw 2vw;
  }

 .big-number {
    font-size: calc(32px + 5vw);
    width: 15vw;
    margin-left: 0;
    text-align: left;
  }
 
  .q  {
    padding-left: 15vw;
  width: calc(100% );
  box-sizing: border-box;
  margin-left: 0;
  }

   .details {
    padding-left: 15vw;
  width: calc(100%);
  box-sizing: border-box;
  margin-left: 0;
  }

  .multiplechoice {

    padding-left: 15vw !important;
  width: calc(100%);
  margin: 1vw 0;
  box-sizing: border-box;
  margin-left: 0;

  }


  .small.multiplechoice {
    margin-top: 2vw;
  } 
  
 
  .section-body {
    width: 100%;
  }

  .question p.normal {
    width: calc(100% - 5vw)
  }

  .question sup {
    width: 6vw;

    -webkit-text-stroke-width: 2px;
  }

  .floating-char {
    -webkit-text-stroke-width: 2px;
  }

  h3 { 
    font-size: calc(18px + 2.5vw);
    line-height: 1;
}


p.small {
    font-size: calc(11px + 1vw);
  }

  
  p.normal {
    font-size: calc(14px + 1vw);
  }

  h5 { 
    font-size: calc(22px + 3vw) !important; 

}

.intro-content > h5 > a::before, #introduce > h5 > a::before, #intent > h5 > a::before, #instruct > h5 > a::before { 
    font-size: calc(22px + 3vw) !important;  

}

    .tag.text {
        font-size: calc(10px + 1.5vw);
        padding: 0.5vw 2vw;
    }

    h4 { 
   font-size: calc(11px + 1vw);

    margin: 3vw 0px;
    }

    .tag.number {
    font-size: calc(10px + .6vw); 
    height: calc((10px + .6vw) * 1.4);
    width: calc((10px + .6vw) * 1.4); 
    line-height: calc((10px + .6vw) * 1.4); 
}
   


    .tag {
    border-radius: calc(10px + 1.5vw);
    }  

      #desktop-intro-toggle  {
        display: none;
      }

}







@media print {

  .left-indicator {
  width: 2.5vw;
  height: 2.5vw;
  border-radius: .5vw; 
}


#sublogo-img {
  /* width: auto; 
  height: auto;
  max-width: calc((100vw - 18vh - 8px - 6vh) * 1.18); */
  max-height: none !important; 
}

  /* Hide everything that's not .page */
  body * {
    visibility: hidden;
  }

  .page, .page * {
    visibility: visible;
  }

  .page {
    page-break-after: always;
    page-break-inside: avoid;
    break-after: page;
    break-inside: avoid;
    background: white !important;
    color: black !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;

    /* For full-width horizontal spread */
    width: 100vw;
    height: 100vh;
    box-sizing: border-box;
    padding: 1vw;
    overflow: hidden;
  }

  /* Override background color on html & body */
  html, body {
    background: white !important;
    color: black !important;
  }

   h5 { 
    font-size: calc(18px + 2vw) !important; 

}
 
 

h3 {
  margin: 0px !important
}



.question sup { 
    width: 5vw; 
  margin-right: 1vw;
}

.small {
  text-align: left;
}

.small.multiplechoice {
  width: 100%;
  display: none;
}
h5 a {
  color: #fff !important
}

  /* Reset links, buttons, etc. to black */
  a, a:visited {
    /* color: black !important; */
    text-decoration: none;
  }

  svg, path, line, rect, circle, text {
    stroke: black !important;
    fill: black !important;
  }

  /* Remove navigation, intro, etc. */
  .navigator, .introduction, .footer, nav, header {
    display: none !important;
  }

  .left:empty {
  display: none;
}

  /* Optional: enforce landscape layout */
  @page {
    size: A4 landscape;
    margin: 0;
  }


  .print-top {
    opacity: 1;
    visibility: visible; 
  }


  /* .print-top #logo img {
    max-width: 50vw !important;
  }

   .print-top #sub-logo img {
    max-width: calc(50vw + 1.17 ) !important;
  } */


}







@media screen and (min-width: 769px) {
  #desktop-intro-toggle {
    position: fixed;
    top: 2vw;
    right: 2vw;   
  z-index: 99999999999999999;
    cursor: pointer;



  

    font-family: 'Lapidary 333';
    font-weight: bold;
    font-style: italic; 
    border-radius: 100%;
    width: calc(6vh - 4px);
    height: calc(6vh - 4px);
    box-sizing: border-box;
    text-align: center;
    line-height: 0vh;
    margin-left: 1vh;

      font-family: "Arial", "Helvetica", sans-serif;
  font-feature-settings: "liga" off; /* turns off ligatures */
  -webkit-font-smoothing: antialiased; 
  unicode-bidi: isolate;

  background-repeat: no-repeat;
  background-position: center;
  background-size: 3vh;
  transition: all 0.2s ease-in-out;


  }

  #desktop-intro-toggle:hover {
    opacity: .5;

  }

  /* Default state: intro is closed */
  .intro-toggle-btn.intro-closed {
    background-image: url('/ancestryandme/info.png');
  background-color: #f1c1c5;
    border: 2px solid #e62220;
  }

  /* Toggled state: intro is open */
  .intro-toggle-btn.intro-open {
    background-image: url('/ancestryandme/close.png');
  background-color: #e62220;
    border: 2px solid #e62220;
  }

 
}
