

/*@import url('https://fonts.googleapis.com/css2?family=Lato&family=Montserrat&family=Open+Sans&family=Roboto&display=swap');
*/

* {
  box-sizing: border-box;
}

img, video {
  width: 100%;
  display: block;
  margin: 1%;
  
}

body {
  color:#000;
}



audio {
  display: block;
}

.audio {
  display: flex;
  justify-content: center; 
  align-items: center; 
}

.margin{
  margin-top: 8%;
  margin-bottom: 8%;
}

.margintop{
  margin-top: 10%;
}

.blackbg{
  background-color: #000;
  font-size:1.2em;
  padding-top: 0.1%;
  
}



/*fornav*/



.chapter-nav{
  position:sticky;
  top:0;
  background: #fff;
  border-bottom: 2px solid #eee;
  padding: 10px 0;
  text-align: center;
  z-index: 1000; 
}



.chapter-nav a {
  margin: 0 20px;
  color: #ee1d52;
  font-weight: bold;
  text-decoration: none;
  font-size: 1em;
}

.chapter-nav a:hover{
  color: #a8052e;
}

/*google analytics*/
/* basic styles for the charts */
#trends-widget, #regret-kids-trends {
  width: 98%; 
  height: auto; 
  max-width: 98%; 
  overflow: hidden;
  margin-bottom: 20px; 
  position: relative; 
}

/*charts maintain aspect ratio */
#trends-widget iframe, #regret-kids-trends iframe {
  width: 100% !important; 
  height: 100% !important; 
  border: none; 
}

/* adjustments for smaller screen sizes */
@media (max-width: 768px) {
  #trends-widget, #regret-kids-trends {
    height: 300px; 
  }
}

@media (max-width: 480px) {
  #trends-widget, #regret-kids-trends {
    height: 250px; 
  }
}




/* Adjust layout for mobile */
@media (max-width: 768px) {
  .side-by-side {
    flex-direction: column; /* Stacks the items vertically on smaller screens */
    align-items: stretch; /* Ensures items take full width */
  }

  .side-by-side blockquote, .side-by-side img {
    max-width: 100%; /* Ensures they take up full width on mobile */
    min-width: 0;
  }
}





/*link style*/

a {
  text-decoration: none;
  color: #ee1d52;
}

a:visited {
  color: #ee1d52;
}

a:hover, a:active {
  color: #a8052e;
} 

body, html {
  font-family: 'DM Sans ', sans-serif; 

}

h1, h2, h3, h4 {
  color:#101010;
    font-family: 'Merriweather';

}



.bluetext{
  color: #444444;
  position: relative;
  display: flex;
  justify-content: left;
  margin-top: 8%;
}

.greytext{
  color: rgb(97, 97, 97);
  font-size: 1.1em;
  position: relative;
  display: flex;
  justify-content: center;
  margin-top: 8%;
}

.whitetext{
  color:#308ee5;
  font-size: 1.1em;
  position: relative;
  display: flex;
  justify-content: center;
  margin-top: 8%;
}

.whitertext{
  color:#dadada;
  font-size: 1.1em;
  position: relative;
  display: flex;
  justify-content: center;
  margin-top: 8%;
}

h3{
  margin-top: 6%;
}

.timeline{
  margin-top: 5%;
  margin-bottom: 5%;

}

.three{
  display:flex;

}

header {
  width: 100%;
  /* position: sticky;
  top: 0;
  z-index: -1; */
  background-color: black;
  margin: auto;
  padding: 2%;

  /* max-height: 600px; */
}
#ugh{
  background-color: black;
  height: 100vh;
  display: flex;
  justify-content: center; /* this is horizontal centering !!! */
  align-items: center;  
  position:relative;
}






/* Modal container */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
}

/* Modal content box */
.modal-content {
  margin: 5% auto;
  /* background: #FFFDF4; */
  padding: 20px;
  width: 90%;
  max-width: 600px;
  position: relative;
  border-radius: 8px;
  /* box-shadow: 0 5px 15px rgba(0,0,0,0.3); */
  text-align: center;
  color: white;
}


.close-button {
  position: absolute;
  top: 23px;
  right: 25px;
  font-size: 28px;
  color: #333;
  cursor: pointer;
}

/* Image inside modal */
.modal-img {
  width: 100%;
  height: auto;
  margin-bottom: 1rem;
}

.captioninmodal{
  color: white;
  background-color: #363636;
}


.list-preview {
  cursor: pointer;
  max-width: 100%;
  height: auto;
  transition: transform 0.2s;
  /* border: solid rgb(223, 223, 223); */
}

.list-preview:hover {
  transform: scale(1.03);
}

.list-preview,
.modal-img {
 border: 1px solid #999999;
 border-radius: 10px;
 
}

.disclaimer {
  font-size: 1rem;
  color: #606060;
  margin-top: -0.6em;
  line-height: 1.2;
  margin-bottom: -1.6em;
}

.list-instruction {
  font-size: 0.95rem;
  color: #555;
  margin-top: 0.6rem;
  text-align: center;
}



.chapter-title {
  background-color: #0e0e0e;
  padding: 4% 0;
  text-align: center;
  margin: 71% 0 71% 0;
  border-top: 4px solid #ee1d52;
  border-bottom: 4px solid #69c9d0;
}

.chapter-title h2 {
  font-size: 1.8em;
  letter-spacing: 1px;
  font-family: 'Merriweather', serif;
  color: #f6f6f6;
  margin: 0;
}



/* reddit */
.reddit-post {
  background-color: #f6f7f8;
  border: 1px solid rgba(117, 117, 117, 0.5);
  border-radius: 6px;
  padding: 16px;
  margin-bottom: 10%;
  font-family: 'Segoe UI', sans-serif;
  position: relative;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  max-width: 700px;
  margin-top: -15px;
}

.post-header {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 4px;
}

.username {
  font-weight: 600;
  color: #0079d3;
  text-decoration: none;
  cursor: pointer;
}
a.username {
  font-weight: 600;
  color: #0079d3 !important;
  cursor: pointer;
  transition: color 0.3s ease;
}

/* Username default style */
a.username {
  font-weight: 600;
  color: #0079d3;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

a.username:hover, a.username:active {
  color: #072135;
}


.timestamp {
  color: #888;
}

.post-title {
  font-size: 1.1rem;
  font-weight: bolder;
  font-family: 'Arial', sans-serif; 
  margin: 8px 0;
  color: #222;
}

.post-body {
  font-size: 0.95rem;
  
  color: #3b3b3b;
  line-height: 1.5;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.post-body.collapsed {
  max-height: 3.6em; 
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.read-more-btn {
  background: none;
  border: none;
  color: #0079d3;
  cursor: pointer;
  font-size: 0.9rem;
  margin-top: 8px;
}

.post-votes {
  position: absolute;
  left: -40px;
  top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 1.2rem;
  color: #888;
}

.vote-icon {
  cursor: default;
}

.vote-count {
  font-weight: bold;
  margin: 4px 0;
}




.podcastbox{
  padding-right:30%;
  padding-left:30%;
  padding-top: 10%;
  padding-bottom: 10%;
  background-color: #000;

}


/* flipcards */
.flip-card {
  background-color: transparent;
  width: 350px;
  height: 250px;
  perspective: 1000px;
  margin: 4rem auto; 

}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}

.flip-card-front {
  background-color: #000;
  border: 2px solid #EE1D52;
}

.flip-card-back {
  background-color: #000;
  transform: rotateY(180deg);
  border: 2px solid #69C9D0;
}

.label {
  font-size: 1rem;
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: #EE1D52;
}

.flip-card-back .label {
  color: #69C9D0;
}

.card-text {
  font-size: 1.05rem;
  line-height: 1.5;
  padding: 0 5px;
}




#margin{
  margin-top: 5em;
}


.blackbg img{
  position: relative;
  display: flex;
  padding-left: 10%;
  padding-right: 10%;
  padding-bottom: 10%;
  align-items: center;
  justify-content: center;
  /* margin-top:5%; */
  /* margin-bottom:5%; */
}

.tiktok-embed iframe {
  border-radius: 30px;
}


.iphone-container {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 1%;
  padding-bottom: 10%;

  
 
}

.iphone-frame {
  position: relative;
  background-color: black;
  border-radius: 30px;
  width: 90%; /* Make it responsive based on screen size */
  max-width: 360px; /*  maxwidth for larger screens */
  display: flex;
  justify-content: center;
  align-items: center;
  border: solid 1px rgb(108, 108, 108);
  box-shadow:
    0 0 50px 3px rgba(105, 201, 208, 0.2),
    0 0 60px 3px rgba(238, 29, 82, 0.17);
}


.stroke {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 10px solid transparent; 
  border-radius: 30px;

  background-origin: border-box;
  background-clip: border-box;
}

.tiktok-container {

  max-width: 100%;
  border-radius: 30px; 
  overflow: hidden;
  background-color: black; 
}

.tiktok-embed {
  width: 100%;
  border-radius: 30px; 
  box-sizing: border-box;
  
}



.title2 {
  width: 100%;
  margin-top: 5%;
  color: darkslategray;
  text-align: center;
  padding: 3% 10%;
}

.title2 h1 {
  font-size: 3.5em;
  margin-bottom: -4px;
}

.title2 h2 {
  font-size: 1.6em;
  
}

.title2 h3 {
  margin-top: 10%;
  margin-bottom: 0;
  font-size: 1.1em;
  font-style: italic;
}

.content {
  width: 100%;
  background-color: white;
  /* overflow-x: hidden; */
}

.maintext {
  max-width: 640px;
  margin: auto;
  color: rgb(0, 0, 0);
  font-size: 1.2em;
  line-height: 1.7em;
  text-align: justify;
  padding: 1%;
}



.name {
  font-size: 0.7em;
  text-align: center;
  line-height: 0.1em;
  padding-bottom: 30px;
}

.left {
  float: left;
  padding-left:-40px;
  margin-right: 20px;
  margin-top: 10px;

  
}

.right {
  float: right;
  padding-left: 20px;
  margin-right: -40px;
}

.sidevid{
  width: 60%;

}

.sidepic {
  width: 38%;
  
}


.sidepic audio {
  width: 100%;
  margin-top: 5px;
}

.sidecap {
  margin-top: 16px;
  font-size:  0.8em;
  text-align: center;
  line-height: normal;
  color:#5f5f5f;

}

.ah {
  display: block;
  box-shadow: 
    7px 7px 0 #ee1d52, 
   -7px -7px 0 #69C9D0;
  margin: 0 auto; 
}


audio{
  margin-top: 4%;
  margin-bottom: 4%;
}

.sectionhead {
  text-align: center;
  color: darkslategray;
}



.cycle-slideshow {
  max-width: 700px;
  margin: auto;
}

.knightlab {
  max-width: 700px;
  margin: auto;
}

.googlemap {
  overflow:hidden;
  padding-bottom:56.25%;
  position:relative;
  height:0;
  max-width: 700px;
  margin: auto;
}



.youtube {
  max-width: 700px;
  margin: auto;
}

.responsivecontainer {
  position: relative; 
  padding-bottom: 56.25%; 
  padding-top: 30px; 
  height: 0; 
  overflow: hidden;
}

.responsivecontainer iframe, .responsivecontainer object, .responsivecontainer embed { 
  position: absolute; 
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%;
}


 
/* .fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
} */

/* @-webkit-keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
} */


/*footer */

footer {
  background-color: black;
  color: white;
  padding: 1%;
  text-align: right;
}

/*popup modal*/

/* .overlay {
  position: fixed;
  top: 0px;
  left: 0px;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  overflow-y: scroll;
  display: none;
  z-index:  10;
}

.modal {
  width: 70%;
  margin: 2% auto;
} */

.closer {
  position: absolute;
  right: 1vh;
  top:  1vh;
  width: 8%;
  cursor: pointer;
}

/*media query for responsive design */

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

  .title1 {
    top: 5%;
  }

  .title1 h1 {
    font-size: 3.5em;
  }

  .title1 h2 {
    font-size: 1.5em
  }

  .title1 h3 {
    font-size: 1.1em;
  }

}


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

 

  .left, .right {
    margin: 0px;
    padding: 10px;
  }

  .sidepic {
    width:  100%;
    margin: 0px;
    padding:  0px;
  }

  .popup {
    margin-bottom: 15px;
  }

  .popup .sidecap {
    display: none;
  }  

}


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

  .title1 {
    top: 1%;
  }

  .title1 h1 {
    font-size: 3em;
  }

  .title1 h2 {
    display: none;
  }

  .title1 h3 {
    font-size: 0.9em;
  }

  .title2 h1 {
    font-size: 2em;
    margin-top: 2%;
  }

  .title2 h2 {
    font-size: 1.3em;
  }

  .title2 h3 {
    font-size: 1em;
  }

  .maintext {
    font-size: 1.4em;
    line-height: 1.6em;
    text-align: left;
    margin: 0px 15px;
  }

  .voxgrid {
    grid-template-columns: 1fr 1fr;
  }

  .person audio {
    background-color: black;  
  }

  .modal {
    width: 97%;
    margin: 10% auto;
  }

}











