* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	background: #fefefe url(bk.jpg) no-repeat top left;
	background-attachment: fixed;
	background-size: 100%;
	color: #333333;
	text-align: left;
	padding: 0px;
	margin: 0px;
	transition: background 0.3s ease, color 0.3s ease;
	overflow-x: hidden;
	min-width: 350px;
  	font-family: Arial, sans-serif;
  	font-size: 16px;
  	font-weight: 400;
  	line-height: 1.6;
}

h1 { font-size: 1.8rem; margin-bottom: 1.5rem; text-align: center; color: #6c5ce7; }
h2 { font-size: 1.2rem; font-weight: 700; margin: 2rem 0rem 0.5rem; color: #6c5ce7; }
p { margin-bottom: 1rem; }
ul { margin-bottom: 1rem; padding-left: 1.5rem; }
li { margin-bottom: 0.5rem; }
a { color: #6c5ce7; text-decoration: none; }
a:hover { color: #5a4e7c; text-decoration: none; }

input, textarea, select {
	font-family: Arial, sans-serif;
  	font-size: 1rem;
  	width: 100%;
	padding: 0.6rem;
	border: 1px solid #cccccc; 
	border-radius: 0.5rem;
	margin: 0.5rem 0px 1rem;
	color: #333333;
}
    
button, .btn {
	font-family: Arial, sans-serif;
	background-color: #f9f9f9;
	border: 1px solid #cccccc;
    color: #333333;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 0.5rem;
    padding: 0.8rem 1rem;
}

button:hover, .btn:hover {
	background-color: #6c5ce7;
	color: #fefefe;
}

header {
	margin: 10px 20px 0px;
	border-radius: 30px;
	background: rgba(108, 92, 231, 0.7);
	padding: 8px 5px 0px;
	color: #ffffff;
	position: fixed;
	width: calc(100% - 40px);
	box-shadow: 0 4px 4px rgba(108, 92, 231, 0.3);
	backdrop-filter: blur(10px);         
  	-webkit-backdrop-filter: blur(10px);
	height: 75px; 
	display: flex;
 	align-items: center;
 	justify-content: center;
 	flex-direction: column;  
 	z-index: 1000; 
}

header .title {
	font-size: 1.8rem;
	line-height: 1.8rem;
	font-weight: 700;
}

header .subtitle {
	font-size: 1.1rem;
	font-style: italic;
}

header .menu-toggle {
	position: absolute;
	top: 18px; 
	right: 30px;
	cursor: pointer; 
	font-size: 1.5rem; 
	font-weight: 800;
}
 
header nav { 
	position: absolute; 
	top: 85px; 
	right: 0px; 
	background: #fefefe; 
	width: 300px; 
	padding: 10px 20px; 
	border: 1px solid #6c5ce7;
	border-radius: 30px;
	box-shadow: 0px 4px 4px #c0c0c0;
	max-height: 0;
  	opacity: 0;
	transition: max-height 0.30s ease, opacity 0.30s ease;
	overflow: hidden;
}

header nav.open {
	max-height: 800px;
  	opacity: 1;
}
      
header nav a { 
	display: block;
	padding: 0.8rem 1rem;
	font-size: 1.2rem;
	border-bottom: 1px dotted #e0e4ec;
}

header nav a:last-child { 
	border-bottom: 0px;
}
    
main {
	 min-height: 95vh;
	 padding: 8rem 5% 0px;
}

section {
	margin: 0px auto 50px;
}

.intro {
	max-width: 70%;
}

.card { 
	width: 29%; 
	margin: 0px 2% 50px;
	border: 1px solid #e0e4ec; 
	border-radius: 18px; 
	padding: 20px; 
	box-shadow: 0 2px 8px rgba(0,0,0,.06);
	display: inline-block; 
	min-height: 250px; 
	transition: transform .18s ease, 
	box-shadow .18s ease, 
	border-color .18s ease; 
	vertical-align: top;
	background: rgba(255, 255, 255, 0.5);
}

.card:hover {
	transform: translateY(-5px);
  	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  	transition: all 0.3s ease;
}

.card h2 { 
	margin: 0px; 
	font-size: 1.3rem;
}

.card strong { 
	display: block;
	font-weight: 700;
	margin-bottom: 5px; 
}

.card p { 
	padding-bottom: 10px; 
}
   
.caption {
	text-align: center;
	max-width: 70%;
	margin: 0px auto;
}

.caption em {
	color: #6c5ce7;
}

.blog-box {
	width: 70%;
  	scroll-margin-top: 120px;
  	margin: 0px auto;
}

.blog-box .wrapper {
	text-align: center;
	margin-top: 10px;
}

.reflection-box {
	border: 1px solid #cccccc;
	width: 100%;
	max-width: 600px;
	font-size: 1.1rem;
	line-height: 1.5rem;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  	border-radius: 12px;
  	padding: 15px 15px;
  	margin: 0px auto 50px;
  	background: rgba(255, 255, 255, 0.5);
}

.reflection-box h3 {
	margin-bottom: 5px;
}

.reflection-box b {
	display: block;
	margin-bottom: 5px;
	font-style: italic;
}

.reflection-box .action, .blog-box .action {
  	background-color: #f9f9f9;
  	border: 1px solid #cccccc;
  	color: #333333;
  	font-size: 1rem;
  	margin: 15px 5px 0px;
  	padding: 6px 10px 8px;
  	cursor: pointer;
 	border-radius: 6px;
 	display: inline-block;
 	height: 40px;
}

.reflection-box .share, .blog-box .share {
  	background-color: #f9f9f9;
  	border: 1px solid #cccccc;
  	color: #333333;
  	font-size: 1rem;
  	margin: 15px 5px 0px;
  	padding: 6px 10px 8px 8px;
  	cursor: pointer;
 	border-radius: 6px;
 	display: inline-block;
 	height: 40px;
}

.reflection-box .prompt, .blog-box .prompt {
	color: #6c5ce7;
	font-weight: 400;
	font-size: 1.1rem;
	margin-top: 30px;
	display: none;
}

.blog-box .prompt {
	margin: 20px 0px 30px;
}


.blog-box .prompt.active {
	display: block;
}

.reflection-box textarea, .blog-box textarea {
	width: 100%;
	max-width: 600px;
	margin: 10px 0px 0px;
	padding: 10px;
	font-size: 1.1rem;
	border: 1px solid #cccccc;
  	color: #333333;
  	border-radius: 6px;
  	min-height: 200px;
    resize: none; 
    overflow-y: hidden; 
    box-sizing: border-box;
}

.reflection-box .save-btn, .reflection-box .later-btn, .blog-box .save-btn, .blog-box .later-btn {
	width: 49%;
	max-width: 300px;
	display: inline-block;
	background-color: #f9f9f9;
  	border: 1px solid #cccccc;
  	color: #333333;
  	font-size: 1rem;
  	margin: 10px auto 0px;
  	padding: 6px 15px 8px;
  	cursor: pointer;
 	border-radius: 6px;
 	height: 40px;
}

.reflection-details {
	display: none;
	margin-top: 20px;
}

.sharemenu {
	display: none; 
	position: absolute; 
	background: #fff; 
	border: 1px solid #ccc; 
	border-radius: 6px; 
	padding: 0px 15px; 
	box-shadow: 0 4px 10px rgba(0,0,0,0.1); 
	z-index: 100;
	text-align: left;
}

.sharemenu a {
	display: block; 
	margin: 15px 0px;
	text-decoration: none;
}

.save-list {
	line-height: 1.4rem;
}

.save-list .save-btn {
	width: 200px;
	display: inline-block;
	background-color: #f9f9f9;
  	border: 1px solid #cccccc;
  	color: #333333;
  	font-size: 1rem;
  	margin: 10px auto 0px;
  	padding: 6px 15px 8px;
  	cursor: pointer;
 	border-radius: 6px;
}

.reflection-box .message, .blog-box .message {
	display: none;
	margin-top: 10px;
}

.journal-details {
	text-align: left;
}

.journal-details div {
	margin-bottom: 10px;
}

.journal-details div:nth-child(4) {
	text-align: right;
}

.journal-content {
	display: none;	
	margin: 10px 0px;
}

.prompt-text {
	color: #6c5ce7;
}

footer {
	padding: 10px 5px;
	font-size: 0.9rem;
	text-align: center;
}

footer .wave {
    position: fixed;
    width: 200%;
    height: 100px;
    background-repeat: repeat-x;
    background-size: auto 100px;
	background-position: left bottom;
    bottom: 0;
    left: 0;
 	pointer-events: none;
}

footer .wave.back {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="1440" height="100"><path fill="%23999" fill-opacity="0.05" d="M0 40 Q360 80 720 40 T1440 40 V100 H0z"/></svg>');
    animation: waveBack 20s linear infinite;
    z-index: 1;
}

footer .wave.front {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="1440" height="100"><path fill="%23999" fill-opacity="0.10" d="M0 30 Q360 90 720 30 T1440 30 V100 H0z"/></svg>');
    animation: waveFront 12s linear infinite;
    z-index: 2;
}

@keyframes waveFront {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes waveBack {
    0% { transform: translateX(0); }
	100% { transform: translateX(-25%); }
}

@media (max-width: 1050px) {
	.card { 
		width: 100%;
		min-height: 50px;
		margin: 0px 0px 50px;
		display: block;
	}
}

@media (max-width: 600px) {
	body {
		background: #fefefe url(bk.jpg) no-repeat top center;
		background-attachment: fixed;
		background-size: 250%;
	}
	
	header {
		padding: 0px 0px 0px 20px;
		height: 60px;
		border-radius: 20px;
		margin: 10px 10px 0px;
		width: calc(100% - 20px);
		align-items: flex-start; 
	}
	
	header .title {
		font-size: 1.4rem;
	}
	
	header .subtitle {
		font-size: 1rem;
	}
	
	header nav {
		top: 70px;
		width: 100%;
		border-radius: 20px;
	}
	
	header .menu-toggle {
		top: 12px; 
		right: 20px;
	}
	
	main {
		 padding: 7rem 5% 0px;
	}
	
	.intro {
		max-width: 100%;
	}
	
	.intro h1, .blog-box h1{
		font-size: 1.5rem;
	}
	
	.caption {
		max-width: 100%;
	}
	
	.blog-box {
		width: 100%;
	}
  	
  	footer .wave {
	  	height: 300px;
	 	background-size: auto 300px;
	}
	
	footer .wave.back {
	  	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="1440" height="300"><path fill="%23999" fill-opacity="0.05" d="M0 120 Q360 240 720 120 T1440 120 V300 H0z"/></svg>');
	  	animation: waveBack 20s linear infinite;
	}
	
	footer .wave.front {
	  	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="1440" height="300"><path fill="%23999" fill-opacity="0.10" d="M0 90 Q360 270 720 90 T1440 90 V300 H0z"/></svg>');
	  	animation: waveFront 12s linear infinite;
	}
}