/* Basic styles */
body, html {
    margin: 0;
     background-color: #1a1b25;
    color: #fff;
    font-size: 1.18rem;
    user-select: none;
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    overflow-x: hidden;
}



.kristi-regular {
	font-family: "Kristi", cursive;
	font-weight: 400;
	font-style: normal;
	font-size: 48px;
}

.shadows-into-light-regular {
	font-family: "Shadows Into Light", cursive;
	font-weight: 400;
	font-style: normal;
}

h1 {
            margin: 0;
            color: #fff;
         font-weight: 500;
            font-size: 1.4rem;
        }
h2 {
            margin: 0;
            color: #fff;
         font-weight: 400;
            font-size: 1rem;
        }
        
h3{
            margin: 0;
            color: #fff;
           font-weight: 100;
            font-size: 10px;
        }        



p{color:#fff;margin-left:14px;margin-right:14px;}

/* Header styling */
header {
    display:none;
    height:0;
overflow-x: hidden;
    top: 0;
    z-index: 1000;

margin:auto;
}

/* Header content */
.header-content {
    display: flex;
    align-items: center;
}

.CheckboxContainer { 
  width: 90%;
  height: 400px; /* Changed to auto */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
  gap: 2px;
  overflow-y: auto; 
    border-style: solid;
  border-width: thin;

 background-color: #E8E8E9;
}

.item {

  padding: 0px;
  margin: 0px; /* Added margin */
}

.form-control {
  margin-bottom: 5px; /* Added margin to the labels */
}
        

        


.hamburger {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 1200;
}

.hamburger div {
    width: 30px;
    height: 3px;
    background-color: #E8E8E9; /* Default color */
    margin: 5px 0;
    transition: background-color 0.3s;
}

/* Change color of hamburger divs when the menu is open */
.hamburger.open div {
    background-color: #111; /* Black color when menu is open */
}
#slideForm{z-index: 1300; background-color: #333;}
.menu {
    overflow-x: hidden;
    min-height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #E8E8E9;
    color: #111;
    transform: translateX(-100%);
    transition: 0.5s;
    z-index: 1;
}

.menu.open {
    transform: translateX(0);
}

.menu-content a {
    text-decoration: none;
    color: #1a1b25;
    display: block;
    padding: 10px;
}

/* Container styling */
.container {
    min-height: 100vh;
    width: 100%;
    max-width: 800px;
    
    margin: 0 auto;
    position: relative;
    background-color: #1a1b25;
    overflow-y: auto;
    padding-bottom: 64px;
    overflow: hidden;
    
}

/* Other styles */
.slider {
    width: 60%;
    height: 10px;
    background: #8C8D92;
    outline: none;
    opacity: 0.7;
}
.slider:hover {
    opacity: 1;
}
.clickable{width:100%;position:relative;overflow-x: hidden;cursor:pointer;
}


.navBack{
color: #E8E8E9;
    font-size: 1rem; /* Adjust font size as needed */
    margin-top: 4px; /* Adds space between the h4 and span */  
    
    
}
/* Flex container for logo and text */
#title {
    display: flex;
    align-items: center; /* Align items vertically centered */
    padding: 10px;
    background-color: #1a1b25;
}

/* Logo styling */
.logo {
    width: 80px; /* Size of the logo */
    margin-right: 10px; /* Space between logo and text */
}

/* Wrapper for h4 and span to stack them vertically */
.title-text {
    display: flex;
    flex-direction: column; /* Stack h4 and span vertically */
    justify-content: center; /* Center vertically within the #title */
}

/* Header title styling */
h4 {
    margin: 0;
    color: #fff;
    font-family: 'Griffy', cursive;
    font-size: 2.2rem;
}

/* Subtitle styling */
.navBack {
    
    font-size: .8rem;
    margin-top: 4px; /* Space between h4 and span */
}

.navBack a{color:#fff;text-decoration: none;}


.audio-player button {
	background-color: transparent;
	border: 0;
	cursor: pointer;
	margin: 12px;
	width: 10%;
	float: left;
	left: 0;
}

.audio-player {
	position: relative;
	margin: 0;
		bottom: 0;
	margin-right: 12px;

	width: 100%;
	/* background-color:#dbd8e3*/
	display:inline-block;
}

.slider-container {
	display: flex;
	align-items: center;
	width: 80%;
	margin-top: 5%;
	float: right;
	/* background-color:red;*/
}

.slider {
	-webkit-appearance: none;
	appearance: none;
	width: 60%;
	height: 10px;
	background: #8C8D92;
	outline: none;
	opacity: 0.7;
	transition: opacity .2s;
	/*   margin: 10px;*/
}

.slider:hover {
	opacity: 1;
}

.slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 15px;
	height: 15px;
	background: #E8E8E9;
	cursor: pointer;
	border-radius: 0%;
}

.slider::-moz-range-thumb {
	width: 15px;
	height: 15px;
	background: #E8E8E9;
	cursor: pointer;
	border-radius: 0%;
}

.audio-controls {}

.audio-time {
	font-size: 14px;
	margin: 5px;
}


   /* Image container and swipe styling */
.image-container {
    position: relative;
    overflow: hidden;
    
}

.like-info {
    position: absolute;
    bottom: 10px; /* Distance from the bottom */
    right: 10px; /* Distance from the right */
    display: flex;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.9); /* Optional: semi-transparent background */
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 1rem;
    
}

.likeSpan {
    margin-right: 5px;
}

.like-box {
    position: absolute;
    top: 0;
    left: 100%; /* Positioned outside the image container initially */
    transform: translateY(-50%) translateX(100%);
    /*
    transition: transform 0.3s ease; 
*/
background:#32cd32;
    
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    

    font-size: 1.2rem;
  
}

/* Large "+1" transition effect */
/* Initial style for the +1 */
.plus-one {
    position: absolute;
    
    color: #000; /* Light green color */
    
    font-size: 2rem; /* Initial size */
    opacity: 0;
    transform: translateY(10px) scale(0.5); /* Start slightly below and smaller */
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Keyframe animation for the dramatic +1 */
@keyframes dramaticPlusOne {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1.5); /* Enlarge at the beginning */
    }
    50% {
        transform: translateY(-10px) scale(2); /* Move upward and enlarge */
    }
    100% {
        opacity: 0;
        transform: translateY(-20px) scale(2); /* Fade out while moving up */
    }
}

/* Trigger the animation when 'active' class is added */
.plus-one.active {
    animation: dramaticPlusOne 1.2s forwards;
}

.plus-one.show {
    opacity: 1;
    transform: translateY(-20px);
}


#navcontent {
	flex: 1;
}

.dots {
	width: 100%;
	bottom: 24px;
	position: fixed;
	display: flex;
	justify-content: center;
	padding: 10px;
	cursor: pointer;
	z-index:25;
}

.dot {
	height: 20px;
	width: 20px;
	margin: 0 10px;
	background-color: #FFF;
	border: 2px solid #1a1b25;
	/* Corrected border definition */
	border-radius: 50%;
	display: inline-block;
	transition: background-color 0.3s;
}

.active {
	background-color: #fd8087;
	
}



















	
.form-control {
  display: grid;
  grid-template-columns: 1em auto;
  gap: 0.5em;
}

/* Make a gap between each option */
.form-control + .form-control {
  margin-top: 1em;
}


input[type="checkbox"] {
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  outline: 0;
  background: #fd8087;
  height: 24px;
  width: 24px;
  border: 1px solid #000;
  margin:4px;
}

input[type="checkbox"]:checked {
  background: #111;
}

input[type="checkbox"]:hover {
  filter: brightness(90%);
}

input[type="checkbox"]:disabled {
  background: #333;
  opacity: 0.6;
  pointer-events: none;
}

input[type="checkbox"]:after {
  content: '';
  position: relative;
  left: 40%;
  top: 20%;
  width: 15%;
  height: 40%;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  display: none;
}

input[type="checkbox"]:checked:after {
  display: block;
}

input[type="checkbox"]:disabled:after {
  border-color: #222;
}



label {

  text-align: left;
  color: #000;

  line-height: normal;
  padding-left: 4px;
}


select{
	margin:8px;
border: 0.15em solid currentColor;
  border-radius: 0.15em;
transform: translateY(-0.075em);
  height:34px;

}	
	
	.toggle-button{
		  height:34px;
			margin:8px;
border: 0.15em solid currentColor;
  border-radius: 0.15em;
transform: translateY(-0.075em);
	}



.menu2 {
	min-height: 100%;
	width: 100%;
	/*	max-width: 700px;*/
	position: absolute;
	top: 0;
	left: 0;
	font-family: 'Griffy', sans-serif;
	background-color: #E8E8E9;
	color:#111;
	transform: translateX(-100%);
	/* Initially hides the menu by translating it outside */
	transition: 0.5s;
	z-index: 1;
}



/* Slide out the menu */
.menu2.open {
	transform: translateX(0);
	/* Slides the menu into the container */
}


.storyButtons{
	display: inline-block;
	position:relative;
	width:160px;height:24px;
	background-color: #fd8087;
	color:#000;
	font-size: 18px;
	font-weight: 400;
	text-align:center;

	border-radius:4px 4px 0 0  ;
	margin-left:8px;
	
	cursor:pointer;
	border-left:1px solid #FFF;
	border-top:1px solid #FFF;
	border-right:1px solid #FFF;
	
}



.hidden{display:none}
.show{display:block}

#slideForm {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
  padding: 1em;
  transition: transform 0.6s ease, opacity 0.6s ease;
  z-index: 999;
  display: grid;

  transform: translateX(100%); /* Initially positioned off-screen to the right */
  opacity: 0; /* Hidden initially */
}

#slideForm.visible {
  transform: translateX(0); /* Slide into view */
  opacity: 1;
}


/* Ensure the menu overlays the image when open */
.menu.open {
    z-index: 1000; /* High enough to cover the image but below the hamburger */
}

/* Lower z-index for the MA15 image */
.ma15-image {
    z-index: 1; /* Keeps the image behind the open menu */
}

.likeButton{
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background-color: transparent;
    position: absolute; 
    bottom: 10px; /* Adjust the distance from the bottom as desired */
    left: 10px;   /* Adjust the distance from the left as desired */
    transition: transform 0.2s ease; /* Smooth transformation on click */
}
/* Example CSS for the condensed view */
.condensed .story {
    display: none; /* Hide elements as an example */
}

/* Add specific rules to show only certain content */
.condensed .story.condensed-visible {
    display: block; /* Show only elements you want visible in the condensed state */
}

