:root {
    --beige: #E9EAD6;
    --dark-beige: #DFE0C9;
    --pink: #FC748D;
    --light-pink: #FFBDCF;
    --blue: #9BC7EA;
    --orange: #FFC05A;
    --light-orange: #F9DDAB;
    --purple: #8D6481;
  }

.stories-main{
  background-color: var(--beige);
}

/*Contraceptives Home page*/
.story-btn {
  width: 527px; 
  height: 115px;
  border-radius: 20px;
  border: none;
  color: white;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: all 0.3s ease;
  font-weight: bold;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5); 
}

.story-btn:hover {
  transform: scale(1.05);
  cursor: pointer;
}
.bg-juls {
  background-image: url('/iteration1/stories/juls-button.png');
}

.bg-pau {
  background-image: url('/iteration1/stories/pau-button.png');
}

.bg-sally {
  background-image: url('/iteration1/stories/sally-button.png');
}

.breadcrumbs {
  background-color: #8D6481;
}

.juls .breadcrumbs{
  background-color: #bad7ef;
}

.pau .breadcrumbs{
  background-color: var(--light-pink);
}

  /* JULS */
/* Section 1 */

.stories-blue-bg{
  background: #9BC7EA;
  background: radial-gradient(circle, rgba(155, 199, 234, 1) 48%, rgba(89, 167, 255, 1) 100%);
}

/*animation for sec 1*/
.line-two {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s ease;
}
  
.line-one {
    transition: transform 0.5s ease;
}
  
.revealed .line-two {
    opacity: 1;
    max-height: 100px;
    color: #1a47a1;
    transition: 0.5s ease;
}
  
.revealed .line-one {
    transform: translateY(-20px);
}


  /* Section 2*/

.stories-img-bg{
    background: url(/iteration1/stories/juls-breaker2.png);
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center;
}

.stories-img-bg-h1{
    color: #D41862;
}

.stories-img-bg-b{
    color: #D41862;
}

.stories-gif-bg{
background: url(/iteration1/stories/juls-gif-bg.gif);
background-repeat: no-repeat;
background-size: 100% auto;
background-position: center;
}

.stories-norm-bg{
background: #E4ECCB;
background: linear-gradient(90deg, rgba(228, 236, 203, 1) 0%, rgba(237, 228, 210, 1) 50%, rgba(223, 224, 213, 1) 100%);
}

.stories-pinkgreen-bg{
background: #FBB3C2;
background: radial-gradient(circle, rgba(251, 179, 194, 1) 13%, rgba(240, 240, 221, 1) 47%, rgba(155, 199, 234, 1) 83%);
}

.landi-clip:hover {
  background: radial-gradient(circle, rgba(255, 110, 141, 1) 0%, rgba(255, 190, 143, 1) 36%, rgba(238, 255, 194, 1) 70%, rgba(158, 194, 255, 1) 100%);
  background-size: 200% 200%; /* Important for animation */
  background-position: 0% 50%;
  background-clip: text;
  cursor: default;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: 0.3s ease;

  animation: animate-gradient 2.5s linear infinite;
}

@keyframes animate-gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}


/* Button To Juls' Page */

.read-juls {
  width: 210px; 
  height: 60px;
  border-radius: 20px;
  border: solid;
  border-color:#000;
  color: #000;
  background: #9bdeea;
  background: radial-gradient(circle, rgba(155, 222, 234, 1) 62%, rgba(96, 169, 189, 1) 100%);
  transition: all 0.7s ease;
  font-weight: bold;
  
}

/* Optional hover effect */
.read-juls:hover {
  transform: scale(1.05);
  cursor: pointer;
  background: #ff8c96;
  background: radial-gradient(circle, rgba(255, 140, 150, 0.61) 62%, rgba(255, 235, 239, 0.65) 100%);
  transition: 0.7 ease;
}

/*PAU*/

.pau-gif-bg{
  background: url(/iteration1/stories/pau-gif-bg.gif);
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: center;
}

.white-hover:hover{
  color:white;
  transition: ease 0.5s;  
}

.stories-pink-bg{
background: #fa3970;
background: linear-gradient(90deg, rgba(250, 57, 112, 1) 0%, rgba(224, 112, 170, 1) 50%, rgba(255, 242, 242, 1) 100%);
}

.stories-trans-bg{
  background: #EABCBF;
  background: linear-gradient(180deg, rgba(234, 188, 191, 0.43) 4%, rgba(233, 227, 211, 1) 34%, rgba(233, 227, 211, 1) 81%, rgba(255, 189, 207, 1) 100%);
}
.pau-img-bg {
  background: url("/iteration1/stories/pau-img-bg.png") center center no-repeat;
  background-size: cover;
  min-height: 100vh; 
  width: 100%;
}

.pau-var-pink{
  background: var(--light-pink);
}

.pau-bg-cont{
  background: url(/iteration1/stories/pau-bg-cont.png);
  background-repeat: repeat-y;
  background-size: 100% auto;
  background-position: center;
}

.pau-bg-final{
  background: #e35bbc;
  background: radial-gradient(circle, rgba(227, 91, 188, 1) 0%, rgba(238, 242, 218, 1) 47%, rgba(251, 179, 194, 1) 100%);
}

/* Sec2 animations */
.scroll-fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

.scroll-fade.revealed {
  opacity: 1;
  transform: translateY(0);
}


  /* Button to Pau's article */

.read-pau {
    width: 210px; 
    height: 60px;
    border-radius: 20px;
    border: solid;
    border-color:#000;
    color: #000;
    background: #ff758f;
    background: radial-gradient(circle, rgba(255, 117, 143, 1) 0%, rgba(166, 28, 79, 1) 100%);
    transition: all 0.7s ease;
    font-weight: bold;
    
}
  
  /* Optional hover effect */
.read-pau:hover {
    transform: scale(1.05);
    cursor: pointer;
    background: #F7CACB;
    background: radial-gradient(circle, rgba(247, 202, 203, 1) 54%, rgba(244, 252, 227, 1) 100%);
    transition: 0.7 ease;
}

.pau-enlarge {
  transition: transform 0.3s ease, color 0.3s ease;
  cursor: pointer;
}

.pau-enlarge:hover {
  transform: scale(1.03);
  color: var(--dark-pink); /* Replace with your preferred hover color */
}


/* Section 3 */

.highlight-line {
    display: inline-block;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor:auto;
  }
  
  .highlight-line:hover {
    background-color: #FBB3C2; 
    color: #000;
  }

  
/* Check Boxes */
input[type="checkbox"] {
  position: relative;
  width: 1.5em;
  height: 1.5em;

  color: #42252C;
  border: 3px solid #42252C;
  border-radius: 4px;

  appearance: none;
  outline: 0;
  cursor: pointer;
  transition: background 175ms cubic-bezier(0.1, 0.1, 0.25, 1);
}

input[type="checkbox"]::before {
  position: absolute;
  content: '';
  display: block;
  top: 1px;
  left: 5px;
  width: 8px;
  height: 14px;
  border-style: solid;
  border-color: #42252C;
  border-width: 0 4px 4px 0;
  transform: rotate(45deg);
  opacity: 0;
}

input[type="checkbox"]:checked {
  color: var(--black);
  border-color: #42252C;
  background: radial-gradient(circle, rgba(158, 57, 97, 1) 0%, rgba(255, 94, 143, 1) 100%);
}

input[type="checkbox"]:checked::before {
  opacity: 1;
}

.checkbox-group input[type="checkbox"]:checked + label::before {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

label {
  position: relative;
  cursor: pointer;
  font-size: 1.5em;
  font-weight: 600;
  padding: 0 0.25em 0;
  user-select: none;
}

label::before {
  position: absolute;
  content: attr(data-content);
  color: #9E3961;
  clip-path: polygon(0 0, 0 0, 0% 100%, 0 100%);
  text-decoration: line-through;
  text-decoration-thickness: 3px;
  text-decoration-color: #42252C;
  transition: clip-path 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Sally */

.sally-img-bg {
  background: url("/iteration1/stories/sally-img-bg.png") center center no-repeat;
  background-size: cover;
  min-height: 100vh; 
  width: 100%;
}

.rights-bg {
  background: #c45ea4;
  background: linear-gradient(180deg, rgba(196, 94, 164, 1) 0%, rgba(222, 111, 194, 1) 32%, rgba(247, 226, 188, 0.85) 80%);
}

.rights-div{
  border-radius: 30px;
  background-color: #8D6481;
}

.rights-div2{
  border-radius: 30px;
  background-color: #8D6481;
}


.rights-div:nth-child(odd) {
  background-color: #d166c1; /* light gray */
}

.rights-div:nth-child(even) {
  background-color: #ffb7f9; /* slightly darker gray */
}

.rights-div2:nth-child(odd) {
  background-color: #ffb7f9; /* light gray */
}

.rights-div2:nth-child(even) {
  background-color: #d166c1; /* slightly darker gray */
}

.rights-list {
  transform:scale(80%);
  margin-top: -50px;
}

/* Animation: Fade-up on scroll */
.rights-div,
.rights-div2 {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.rights-div.revealed,
.rights-div2.revealed {
  opacity: 1;
  transform: translateY(0);
}

.stories-sally-bg{
background: #fff5ad;
background: linear-gradient(-180deg, rgba(255, 245, 173, 1) 9%, rgba(213, 165, 250, 1) 100%);
}

.stories-sally-end{
  background: radial-gradient(circle,rgba(179, 91, 136, 1) 18%, rgba(252, 245, 194, 1) 58%, rgba(237, 228, 210, 1) 68%, rgba(171, 75, 145, 1) 100%);
}

.sally-highlight {
  position: relative;
  display: inline-block;
  overflow: hidden;
  color: inherit; /* Keeps your text color intact */
  z-index: 0;
  padding-top:4px;
}

.sally-highlight::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: #ffef79; /* Adjust this to your preferred highlight color */
  z-index: -1;
  transform: translateX(-100%);
  transition: transform 0.3s ease-out;
}

.sally-highlight:hover::before {
  transform: translateX(0%);
}

.stories-grad1-bg{
  background: #D6A8F7;
  background: linear-gradient(180deg, rgba(214, 168, 247, 1) 6%, rgba(237, 228, 210, 1) 30%, rgba(237, 228, 210, 1) 87%, rgba(215, 169, 246, 1) 100%);
}
.stories-grad-bg{
  background: #D6A8F7;
background: linear-gradient(180deg, rgba(214, 168, 247, 1) 0%, rgba(252, 223, 177, 1) 54%, rgba(196, 94, 165, 1) 100%);
}

.sally-desc {
  font-size: 20px;
}

/*Articles, shared */

.dropcap:first-child::first-letter {
  line-height: 1;
  margin-right: 0.2rem;
  float: left; 
  font-size: 6rem;
  float: left;
  line-height: 0.8;
  padding-right: 0.5rem;
  padding-top: 0.2rem;
  font-weight: bold;

  -webkit-initial-letter: 3;
  initial-letter: 3;
}


/*Juls Article*/

.juls-article{
 background: #E4F1F5;
 background: radial-gradient(circle, rgba(228, 241, 245, 1) 76%, rgba(255, 245, 253, 1) 100%);
}

.pau-article{
  background: #F5E4E9;
  background: radial-gradient(circle, rgba(245, 228, 233, 1) 76%, rgba(235, 249, 252, 1) 100%);
}

.sally-article{
  background: #e7d5f7;
  background: radial-gradient(circle, rgba(231, 213, 247, 1) 76%, rgba(230, 252, 252, 1) 100%);
}

/* Button to Sally's article */

.read-sally {
  width: 210px; 
  height: 60px;
  border-radius: 20px;
  border: solid;
  border-color:#000;
  color: #000;
  background: #8941B5;
  background: linear-gradient(90deg, rgba(137, 65, 181, 1) 0%, rgba(228, 188, 245, 1) 50%, rgba(137, 65, 181, 1) 100%);
  transition: all 0.7s ease;
  font-weight: bold;
  
}

/* Optional hover effect */
.read-sally:hover {
  transform: scale(1.05);
  cursor: pointer;
  background: #ffdfba;
  background: radial-gradient(circle, rgba(255, 223, 186, 1) 0%, rgba(255, 189, 202, 1) 100%);
  transition: 0.7 ease;
}

.stories-blue-bg {
  min-height: 700px;
}

.sally-desc {
  width: 800px;
}

.section-3 {
  width: 600px;
}

.stories-sally-end .sally-desc-1 {
  width: 900px;
}

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

/* stories main page */

.stories-img-bg,
.stories-gif-bg,
.stories-norm-bg,
.stories-pinkgreen-bg,
.pau-gif-bg,
.stories-trans-bg,
.pau-img-bg,
.pau-bg-cont   {
  background-size: cover;
}

.pau-img-bg {
  background-size: cover;
  min-height: auto;
}

.stories-main .description {
  width: 300px !important;
}

.story-btn {
  max-width: 300px;
}

/* juls story page */

.story-header-img{
  max-width: 300px;
}

.blurb {
  font-size: 18px;
}

.sally-desc {
  width: auto;
  font-size: 15px;
}

.section-3 {
  width: auto;
}

.rights-bg .revealed .h1-bold {
  font-size: 1.3rem;
}

.stories-sally-end .sally-desc-1 {
  width: auto;
}

}
