@import url('https://fonts.googleapis.com/css2?family=Cherry+Bomb+One&family=Yomogi&family=Gaegu&display=swap');

@font-face {
    font-family: "Tama";
    src: url("/fonts/tamaconnecttype.ttf");
}

:root {
	--body-bg: #B2C6F9;
	/* light blue */
	--nav-button-bg: #df81df;
	/* darker green */
	/* --content-bg: #f7e0f7; */
	--content-bg: #fff;
	/* lighter green */
	--accent-dark-one: #ff239a;
	/* bold pink */
	--accent-dark-two: #84405c;
	/* bold blue */
	--accent-light-one: #A3B0DD;
	/* light blue */
	--accent-light-two: #F9B3CF;
	/* light pink */
	--accent-light-three: #4173f2;
	/* blue */
	--list-elt: #dbc132;
	/* Yellow */
	--accent-purple: #5D3FD3;
	--accent-light-purple: #876cf0;
}

* {
    cursor: url('../img/cursor2.gif'), auto !important;
}

html,
body {
	margin: 0;
	font-size: 1em;
	overflow-x: hidden;
	font-family: "Yomogi";
}

strong {
	color: var(--accent-dark-one);
}

em {
	color: var(--accent-dark-two);
}

u {
	color: var(--accent-dark-one);
}

a, a img {
	color: var(--accent-light-purple);
	font-weight: bold;
	cursor: url('../img/cursor_cow.gif'), pointer !important;
	text-decoration: none;
}

.cursor-p:hover, h2.blog-post-title:hover {
	cursor: url('../img/cursor_cow.gif'), pointer !important;
}

.clean-link {
	text-decoration: none;
}

a:not(.clean-link, .title):hover {
	text-decoration: none;
	color: white !important;
	background: var(--accent-light-purple);
}

img:not(.stamp) {
	max-width:100%;
}

.w-50 {
	max-width: 50% !important;
	margin: auto;
}

.stamp:hover {
	transform: scale(1.1);
}

.nav li {
	background-color: var(--nav-button-bg);
	margin-bottom: 2px;
	text-align: center;
	display: block;
	padding: 5px;
}

.nav li:first-child {
	margin-top:16px;
}

.nav li a {
	font-weight: bold;
	text-decoration: none;
	color: white;
	cursor: url('../img/cursor_cow.gif'), pointer !important;
	display: block;
}

.nav {
	padding-left: 0;
	margin: 0;
	margin-top: 5px;
	list-style-type: none;
	margin-bottom: 10px;
}

nav.ul {
	padding: none;
	margin: none;
	padding-bottom: 10px;
}

.nav-full {
	text-align: center;
	font-family: "Cherry Bomb One";
}

.nav-full a {
	color: var(--accent-dark-one);
	font-size: 1.5em;
}
.nav-full a:hover, .nav-full a.selected {
	background-color: var(--accent-dark-one);
	color: white;
}

body {
	background-color: var(--body-bg);
}

.container {
	width: 800px;
	
}

.alignment {
	display: flex;
	justify-content: center;
}

.header-img {
    max-width:100%;
}

.content-wrapper {
	max-width: 800px;
	margin-right: 0px;
	margin-top: -1px;
    border-top: none;
    border-bottom: none;
}

.content, .content-full {
	background-color: var(--content-bg);
    border: none;
	display: flex;
	flex-wrap: nowrap;
	max-width: 100%;
	border-radius: 20px 20px 0 0;
}

.content-full {
	flex-direction: column;
	padding: 15px;
}

.content-full video {
	max-width: 100%;
}

.content-full h1:first-of-type, .left-content h1:first-of-type {
	margin: 10px 0;
}

.footer {
	font-family: "Tama";
	font-size: 10px;
    color: var(--accent-dark-one);
    background-color: var(--content-bg);
    text-align: center;
    padding: 10px 0;
    position: relative;
    margin-bottom: 20px;
	border-radius: 0 0 20px 20px;
}

.footer p {
	display: inline-block;
	line-height: normal;
	vertical-align: middle;
}

.left-content {
    padding: 10px;
	width: 550px;
}

.right-content {
	width: 250px;
	flex: 1;
    padding: 10px;
}

.header {
	margin: 0 auto;
	max-width: 713px;
}

.header-img {
	position: absolute;
	margin-left: auto;
	margin-right: auto;
	left: 0;
	right: 0;
	text-align: center;
	z-index:1;
}

.header-transparent {
	text-align:center;
}

.header-img img, .header-transparent img {
	max-width: 100%;
}

div {
	margin: 0;
	padding: 0;
}

#main-title::after {
	display: block;
	content: url(/img/pink-heart-wings.gif);
}

h1.title {
	font-family: "Cherry Bomb One";
	font-weight: 700;
	font-size: 55px;
	letter-spacing: 0.02em;
	text-align: center;
	text-shadow: 4px 2px 0px var(--nav-button-bg), 7px 4px var(--accent-dark-one);
	background-clip: text;
	-webkit-background-clip: text;
	filter: drop-shadow(3px 3px 3px #deb1c8);
	margin: 30px auto 30px auto;
}

.title a {
	color: #ffe6ff;
	text-decoration: none;
}

h1 {
	color: var(--accent-light-three);
	text-align: center;
}

h1:not(.title)::after {
	display: block;
	content: url("/img/pink-heart-wings.gif");
}

.blog_content_list h1 {
	font-size: 1.8em;
	color: var(--accent-dark-one);
}
.blog_content_list h1::after {
	display: none;
	color: var(--accent-dark-one);
}

h2 {
	color: var(--nav-button-bg);
	padding: 3px;
	margin: 10px 0;
	font-size: 1.7em;
}

h3,
h4,
h5 {
	margin: 10px 0;
}

h3 {
	color: var(--accent-purple);
	font-size: 1.5em;
}

h4 {
	color: var(--accent-light-one);
	font-size: 1.4em;
}

h5 {
	color: var(--accent-dark-two);
	font-size: 1.2em;
}

.infos {
	font-weight: bold;
	color: var(--accent-dark-one);
	font-size: 16px;
	border-bottom: 2px dashed var(--nav-button-bg);
}

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

.infos-content-left img {
	vertical-align: middle;
}
.infos-content-left p {
	margin: .5em 0;
	font-size: 14px;
}

.infos-content a {
	margin-right:5px;
	text-decoration: none;
	cursor: url('../img/cursor_cow.gif'), pointer !important;
}

.infos-content-grid {
	margin-top: 5px;
}
.infos-content-grid img {
	margin-right: 5px;
	margin-bottom: 5px;
}

details {
	margin-bottom: 15px;
}

details summary {
	font-size: 1.55em;
	font-weight: bold;
	color: var(--accent-dark-one);
	list-style: none;
}

details:nth-child(odd) summary {
	color: var(--accent-purple);
}

summary::before {
	content: '▼';
	display: inline-block;
	margin-right: 10px;
	vertical-align: middle;
	font-size: 14px;
}

details[open] summary::before {
	content: '▶';
	transform: rotate(0deg);
}

summary::marker {
	font-size: 14px;
	color: black
}

/* STATUS CAFE*/
#statuscafe {
    padding: .5em 0;
	font-size: 14px;
}
#statuscafe-username {
    margin-bottom: .5em;
	text-align: right;
}
#statuscafe-username a {
	display: none;
}
/* STATUS CAFE*/

/* DIARY */
#months-list  {
	list-style: none;
	margin-left: 0;
	padding-left: 0;
}

#months-list li {
	font-weight:900;
	font-size: 16px;
	color: var(--accent-light-three);
	cursor: url('../img/cursor_cow.gif'), pointer !important;
}

#months-list li:nth-child(odd):before {
	content: "┛ ";
	color: var(--list-elt);
}
#months-list li:nth-child(even):before {
	content: "☆ ";
	color: var(--list-elt);
}

.tag {
	text-decoration: underline;
	padding: 5px;
	cursor: url('../img/cursor_cow.gif'), pointer !important;
	color: var(--accent-dark-two)
}

#notes-liste a {
	text-decoration: none;
}

.notes-li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	align-items: baseline;
	margin-bottom: 10px;
}

.notes-li a {
	margin-right: auto;
}

.notes-li img {
	margin-right: 10px;
}

.notes-date {
	margin-left: auto;
}

h2.blog-post-title{
	text-decoration: none;
	text-align:center;
	background-color: var(--nav-button-bg);
    color: white;
}

.blog_content {
	padding: 0 15px 15px 15px;
	text-align: justify;
}

.blog_content_article p img:nth-of-type(n+2) {
	display: inline-block;
}

.blog_content_article p:has(img:nth-of-type(2)) {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
}

.blog_content_list a > img {
	transition: 0.3s;
}

.blog_content_list a > img:hover, .blog_content_article a > img:hover {
	cursor: url("../img/cursor_cow.gif"), pointer !important;
	outline: 5px solid var(--accent-light-purple);
	outline-offset: 0px;
}

#blog_pagination_list a {
	padding: 0 10px;
}
[aria-current]:not([aria-current="false"]) {
	color: white !important;
	background-color: var(--accent-light-purple);
	text-decoration: none;
}
/* /BLOG */

/* MONTLY */
.monthly_log_content {
	padding: 0 10px 10px 10px;
	text-align: justify;
}
.monthly_log_content h2 {
	background-color: var(--nav-button-bg);
	color: white;
	text-align: center;
}
.monthly_log_content hr {
	border:none;
	text-align:center
}
.monthly_log_content hr::after{
	display: block;
	content: url(/img/longbow.png);
}
#media-legends {
    text-align: center;
}
#media-legends img {
	max-width: 100%;
	margin-top:20px;
}
#media-legends p {
	max-width: 100%;
	margin-top:0px;
	font-size: 18px;
	font-weight: bold;
	color:#5D3FD3
}

.monthly_log_content h1 {
	margin-top: 0px;
	font-size: 1.8em;
}
.monthly_logs_pagination {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 10px auto 0px auto;
	width: 100%; /* Ajuste la largeur selon le besoin */
	max-width: 500px; /* Ou une autre valeur selon la taille souhaitée */
}

.monthly_logs_pagination div {
	padding: 0 10px;
	flex: 1; /* Chaque élément prend la même quantité d'espace */
}

.monthly_logs_pagination a {
	text-decoration: none;
}
/* /MONTLY */

.recap-bottom {
	background-color: var(--accent-light-two);
	border-radius: 10px;
	padding: 10px;
	display: flex;
	background-image: url(/img/SMS_17.gif);
	background-repeat: no-repeat;
	background-position: right;
	background-position-y: bottom;
}

.recap-bottom p {
	margin: 5px;
}

.mood-avatar {
	height: 100px;
	vertical-align: middle;
	border: 3px solid var(--accent-light-purple);
}

.zine-gallery {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: normal;
	align-content: normal;
}

.zine-items {
	position: relative; /* Contexte pour l'overlay */
	width: 160px;
	max-height: 255px;
	margin: 5px;
	display: block;
	flex-grow: 0;
	flex-shrink: 1;
	flex-basis: auto;
	align-self: auto;
	order: 0;
}

.zine-items img {
	object-fit: cover;
	height: 100%;
}

.zine-items .overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(249, 179, 207, 0.7);
	color: #4173f2;;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.3s ease;
	pointer-events: none; /* Empêche l'overlay d'interférer avec les clics sur le lien */
	text-align:center;
	text-shadow: 1px 1px #A3B0DD;
}  

.zine-items:hover .overlay {
	opacity: 1;
}

.book-gallery {
	display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
}

.book-items img {
	object-fit: cover;
	height: 100%;
}

.book-items img:hover {
	transform: scale(1.1);
	cursor: url('../img/cursor_cow.gif'), pointer !important;
}

.book-items .overlay {
	display: none;
}  

.divider {
	width: fit-content;
	margin: 20px auto;
}

/* MODAL */
/* .modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background: rgba(0, 0, 0, 0.9);
	justify-content: center;
	align-items: center;
	padding: 20px;
	z-index: 10;
}
.modal-content {
	background: white;
	padding: 20px;
	border-radius: 10px;
	max-width: 60%;
	max-height: 80%;
	overflow-y: auto;
	text-align: center;
}
.close {
	cursor: pointer;
}

#modalText h2, #modalText h3 {
	margin: 0px;
} */

/* Arrière-plan semi-transparent */
.modal {
	display: none;
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.6);
}

/* Contenu centré */
.modal-content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 80%;
	height: 80%;
	background: white;
	border-radius: 10px;
	overflow: hidden;
	justify-content: center;
	align-items: center;
	padding: 20px;

}

/* Fermer (croix) */
.close {
	position: absolute;
	right: 15px;
	top: 10px;
	font-size: 24px;
	cursor: pointer;
	z-index: 10;
}

/* L’iframe occupe tout l’espace */
#modalFrame {
	width: 100%;
	height: 100%;
	border: none;
}

.w-50 {
	width: 50%;
}

footer {
	margin-top: -1px;
}

@media only screen and (max-width: 820px) {
	.nav li:first-child {
		margin-top:0px;
	}
	
	.header-img img, .header-transparent img {
		max-width: 80%;
	}

	.content, .content-full {
		flex-direction: column;
		flex-wrap: nowrap;
	}

    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

	.right-content {
		display: block;
		width: auto;
		order: 1;
	}

	.left-content {
		order: 1;
		display: block;
		width: 100%;
		margin-right: 0;
        padding: 0;
	}

	h1.title {
		margin: unset;
		max-width: 100%;
		margin: 30px auto 30px auto;
		font-size: 40px;
	}

	.w-50 {
		max-width: 100% !important;
		margin: initial;
	}

	.modal-content {
		max-width: 80%;
	}
}

@media only screen and (max-width: 600px) {
	.blog_content_article p:has(img:nth-of-type(2)) {
		grid-template-columns: 1fr;
	}
}

@media only screen and (max-width: 400px) {
	.zine-items {
		width: 130px;
		max-height: 225px;
	}	
}