/*
Theme Name: Purple Bubble
Theme URI: https://www.instagram.com/add.a.push
Author: Rhe Hanel
Author URI: https://www.instagram.com/add.a.push
Description: Custom theme for Purple Bubble.
Requires at least: 6.4
Tested up to: 6.4
Requires PHP: 8.1.23
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: Purple Bubble
Tags: one-column, custom-menu, custom-logo, fetured-images, translation-ready
*/

/* ------ fonts ------ */



@font-face {
    font-family: "Microgramma D Bold Extended";
    src: url("https://db.onlinewebfonts.com/t/49441315ab9ce55176682715f25ea4b2.eot");
    src: url("https://db.onlinewebfonts.com/t/49441315ab9ce55176682715f25ea4b2.eot?#iefix")format("embedded-opentype"),
    url("https://db.onlinewebfonts.com/t/49441315ab9ce55176682715f25ea4b2.woff2")format("woff2"),
    url("https://db.onlinewebfonts.com/t/49441315ab9ce55176682715f25ea4b2.woff")format("woff"),
    url("https://db.onlinewebfonts.com/t/49441315ab9ce55176682715f25ea4b2.ttf")format("truetype"),
    url("https://db.onlinewebfonts.com/t/49441315ab9ce55176682715f25ea4b2.svg#Microgramma D Bold Extended")format("svg");
}

.poppins-thin {
	font-family: "Poppins", sans-serif;
	font-weight: 100;
	font-style: normal;
  }
  
  .poppins-extralight {
	font-family: "Poppins", sans-serif;
	font-weight: 200;
	font-style: normal;
  }
  
  .poppins-light {
	font-family: "Poppins", sans-serif;
	font-weight: 300;
	font-style: normal;
  }
  
  .poppins-regular {
	font-family: "Poppins", sans-serif;
	font-weight: 400;
	font-style: normal;
  }
  
  .poppins-medium {
	font-family: "Poppins", sans-serif;
	font-weight: 500;
	font-style: normal;
  }
  
  .poppins-semibold {
	font-family: "Poppins", sans-serif;
	font-weight: 600;
	font-style: normal;
  }
  
  .poppins-bold {
	font-family: "Poppins", sans-serif;
	font-weight: 700;
	font-style: normal;
  }
  
  .poppins-extrabold {
	font-family: "Poppins", sans-serif;
	font-weight: 800;
	font-style: normal;
  }
  
  .poppins-black {
	font-family: "Poppins", sans-serif;
	font-weight: 900;
	font-style: normal;
  }
  
  .poppins-thin-italic {
	font-family: "Poppins", sans-serif;
	font-weight: 100;
	font-style: italic;
  }
  
  .poppins-extralight-italic {
	font-family: "Poppins", sans-serif;
	font-weight: 200;
	font-style: italic;
  }
  
  .poppins-light-italic {
	font-family: "Poppins", sans-serif;
	font-weight: 300;
	font-style: italic;
  }
  
  .poppins-regular-italic {
	font-family: "Poppins", sans-serif;
	font-weight: 400;
	font-style: italic;
  }
  
  .poppins-medium-italic {
	font-family: "Poppins", sans-serif;
	font-weight: 500;
	font-style: italic;
  }
  
  .poppins-semibold-italic {
	font-family: "Poppins", sans-serif;
	font-weight: 600;
	font-style: italic;
  }
  
  .poppins-bold-italic {
	font-family: "Poppins", sans-serif;
	font-weight: 700;
	font-style: italic;
  }
  
  .poppins-extrabold-italic {
	font-family: "Poppins", sans-serif;
	font-weight: 800;
	font-style: italic;
  }
  
  .poppins-black-italic {
	font-family: "Poppins", sans-serif;
	font-weight: 900;
	font-style: italic;
  }

/* ------ css reset ------ */

html, body, div, span applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video,table td {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
    font-family: "Poppins", "pretendard", sans-serif;
    text-decoration: none;
    color: #222;
	letter-spacing: 0.2px;
	font-size: 20px;
	line-height: 1.3em;
	word-break: keep-all;
}

a {
	color: #7069FF;
	margin: 0;
	padding: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
    font-family: "Poppins", "pretendard", sans-serif;
    text-decoration: none;
}

em {
	font-style: italic;
}

s {
	text-decoration: line-through;
}

strong {
	font-weight: 700;
}

html, body {
	overscroll-behavior-y: none;
	overscroll-behavior-x: none;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* ------ global ------ */

.desktop {
	display: block;
}

.mobile {
	display: none;
}

#page {
	position: relative;
}

.wp-block-image > a {
	display: block;
	width: 100%;
}

.wp-block-image img {
	width: 100%;
}

.wp-block-cover, .wp-block-cover-image {
	width: 100%;
}

.wp-block-heading {
	font-weight: 900;
}

@media all and (max-width: 800px) {
	
	.desktop {
		display: none;
	}

	.mobile {
		display: block;
	}
	
}

/* ------ header ------ */

.logo {
	font-size: 33px;
	padding: 4px 14px;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 99;
}

.logo a {
	font-family: 'Microgramma D Bold Extended', "pretendard", sans-serif;
	color: #7069FF;
}

.main-menu input {
	display: none;
}

.main-menu [for="ham-menu"] {
	display: block;
	position: fixed;
	top: 50px;
    left: 10px;
	z-index: 99;
    border: 0;
    padding: 10px 5px;
    margin: 0;
	color: #7069FF;
	font-size: 25px;
	font-family: 'Microgramma D Bold Extended', "pretendard", sans-serif;
	cursor: pointer;
}

.hide-des {
	color: #7069FF;
	font-size: 20px;
	font-family: 'Microgramma D Bold Extended', "pretendard", sans-serif;
}

#menu-main-menu {
	transform: translateX(-310px);
	transition: all 0.6s;
}

.menu-bg {
	content:"";
	background: rgba(100, 100, 100, 0.1);
    backdrop-filter: blur(8px);
	z-index: 8;
	width: 310px;
	position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
	transform: translateX(-310px);
	transition: all 0.6s;
}

#ham-menu:checked ~ div.menu-bg {
	transform: translateX(0px);
}

#ham-menu:checked ~ div.ham-menu #menu-main-menu {
	transform: translateX(0px);
}

.menu {
    position: fixed;
    top: 120px;
    left: 0;
	bottom:0;
    padding: 0 16px;
	z-index: 9;
	display: flex;
    flex-direction: column;
}

.menu li a {
	font-size: 16px;
}

.menu-main-menu-container::before {
	animation-duration: 5s;
	animation-name: slide-in;
	animation-timing-function: ease-in;
	animation-iteration-count: 1;
	animation-fill-mode: forwards;
}

@media all and (max-width: 800px) {
	header.mobile {
		position: fixed;
		top:0;
		left: 0;
		right: 0;
		z-index: 99999;
	}

	.logo {
		position: relative;
		text-align: center;
		font-size: 22px;
	}

	.main-menu [for="ham-menu-mobile"] {
		top: 0;
		left: 0;
		padding: 10px 12px;
		position: fixed;
		z-index: 99999;
		transition: all 0.6s;
	}

	.main-menu [for="ham-menu-mobile"] i {
		color: #7069FF;
		display: block;
		transform-origin: 10px 10px;
		transition: all 0.6s;
	}

	#menu-main-menu-1 {
		/* transform: translateX(-310px); */
		transition: all 0.6s;
		top: 50px;
		display: block;
		bottom: unset;
		transform: translateY(-130px);
	}
	
	.menu-bg {
		content:"";
		background: rgba(100, 100, 100, 0.1);
		z-index: 8;
		width: 100vw;
		position: fixed;
		top: 0;
		left: 0;
		bottom: unset;
		height: 130px;
		transform: translateX(0) translateY(-130px);
		opacity: 0;
		transition: all 0.6s;
	}
	
	#ham-menu-mobile:checked ~ div.menu-bg {
		transform: translateX(0px) translateY(0);
		opacity: 1;
	}
	
	#ham-menu-mobile:checked ~ div.ham-menu #menu-main-menu-1 {
		transform: translateY(0);
	}

	#ham-menu-mobile:checked ~ [for="ham-menu-mobile"] i {
		transform: rotate(270deg);
	}

	
}

/* ------ home ------ */

.home :where(.wp-block-columns.is-layout-flex),
.home .is-layout-flex {
	gap: unset;
}

.home .wp-block-column:first-of-type {
	border-right: 1px solid #222;
}

.home .is-layout-flow {
	border-bottom: 1px solid #222;
}

.home .is-layout-flow .wp-block-image {
	width: 100%;
	border-bottom: 1px solid #222;
}

.home .wp-block-cover {
	aspect-ratio: 1;
	border-bottom: 1px solid #222;
	align-items: flex-end;
	padding: 40px;
}

.home .wp-block-cover img {
	aspect-ratio: 1;
    object-fit: cover;
    height: auto;
}

.home .wp-block-cover__inner-container {
	border-bottom: 0px;
}

.home .wp-block-heading {
	font-family: 'Microgramma D Bold Extended', "pretendard", sans-serif;
	margin-bottom: 10px;
}

.home .wp-block-buttons {
	max-width: 280px;
}

.home .wp-block-image a {
	display: block;
	overflow: hidden;
	background-color: #7069FF;
}

.home .wp-block-image a img {
	transition: all 0.5s;
}



.home .wp-block-button__link {
	font-family: 'Microgramma D Bold Extended', "pretendard", sans-serif;
}

.home .wp-block-columns:last-of-type .wp-block-column {
	border: 0;
}

/* ------ single ------ */

.single .container  .wp-block-columns {
	max-width: 70%;
	margin: 60px auto;
}

.wp-block-footnotes {
	max-width: 70%;
}

.single .post-title h1 {
	display: none;
}

/* .single figure {
	border: 1px solid #222;
} */

.single .wp-block-columns {
	margin-bottom: 40px;
}

.wp-block-heading {
	font-size: 50px;
	font-family: 'Microgramma D Bold Extended', "pretendard", sans-serif;
	font-weight: 900;
	margin-bottom: 10px;
}

.single :where(.wp-block-columns.is-layout-flex) {
	gap: 40px;
}

.single .wp-container-core-group-layout-2.wp-container-core-group-layout-2,
.single  .wp-container-core-group-layout-1.wp-container-core-group-layout-1 {
	height: 100%;
	gap: 40px;
}
/* .single .site-footer {
	border-top: 1px solid #222;
} */

.single .site-footer .container {
	margin:0;
	max-width: unset;
}

.single .wp-container-core-group-layout-1.wp-container-core-group-layout-1 {
	height: 100%;
}

.single p {
	margin-bottom: 10px;
}

.language {
	display: block;
    position: fixed;
	top:0;
    right: 0;
	padding: 10px 14px;
	font-weight: 700;
	font-size: 20px;
	z-index: 999999999;
}

#page .wp-block-audio {
	border: 0;
	margin: 10px 0
}

.single figure.wp-block-gallery.has-nested-images {
	gap:0;
}

.single figure.wp-block-gallery.has-nested-images figure {
	border: 0;
}

sup {
	vertical-align: super;
	font-size: smaller;
}

/* ------ post-items ------ */

.post-items {
	display: flex;
	flex-wrap: wrap;
	min-height: 97vh;
	width: 100%;
}

.post-items .post-item {
	width: 50%;
	text-align: center;
}

.post-items .post-item .image-link {
	width: 100%;
    display: block;
    padding-top: 100%;
    position: relative; /* If you want text inside of it */
    overflow: hidden;
}

.post-items .post-item .image-cont {
	display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
	background-color: #7069FF;
}

.post-items .post-item .image-cont img {
	object-fit: cover;
    width:100%;
    height: 100%;
}

.post-items .post-item .image-cont:hover img {
	filter: blur(4px);
}

.home .wp-block-image a:hover img {
	filter: blur(4px);
}

.post-item {
	position: relative;
}

.post-title {
	position: absolute;
	bottom:0;
	left:0;
}

.post-title h3 {
	color: #7069FF;
	padding: 30px;
	font-weight: 500;
	text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

/* ------ post-items ------ */

.container.about {
	min-height: 91vh;
}

.container.about .wp-block-columns {
	max-width: 80%;
	margin: 60px auto;
}

.container.about .has-x-large-font-size {
	font-size: 11vw !important;
	color: transparent;
	-webkit-text-stroke: 1px black;
}

.container.about p {
	margin-bottom: 10px;
	word-break: keep-all;
}

#page .container.about .wp-block-image img {
	width: 100% !important;
}
/* ------ footer ------ */

.site-footer {
	padding: 5px 10px;
	background-color: #7069FF;
	border-top: 1px solid #222;
}

.home .site-footer { 
	border: 0px;
}

.site-footer p {
	font-size: 14px;
	text-align: end;
	margin-bottom:0;
}

.not-found {
	display: flex;
    align-items: center;
    justify-content: center;
	min-height: 97vh;
}

.not-found a {
	display: inline-block;
	margin-top: 30px;
	background-color: #7069FF;
	border: 1px solid #222;
	border-radius: 50px;
	color: #222;
	padding: 10px 20px;

}



@media all and (max-width: 800px) {
	.site-footer p {
		font-size: 10px;
		text-align: center;
	}

	.wp-block-heading {
		font-size: 30px;
		text-align: center;
	}

	.single .container .wp-block-columns {
		gap: 10px;
	}

	.single .container .wp-block-columns {
		max-width: 100%;
		margin: 10px auto;
		padding: 0 10px;
	}

	.single .container .wp-block-columns:first-of-type {
		margin: 10px auto;
	}

	.single .container .wp-block-heading {
		max-width: 90%;
		margin: 0 auto 10px;
	}

	.single .container .wp-block-columns p {
		max-width: 90%;
		margin: 0 auto 5px;
		font-size: 14px;
		line-height: 1.35em;
	}

	.wp-block-footnotes {
		max-width: 90%;
	}

	.has-medium-font-size {
		font-size: 14px !important;
	}

	.single .wp-container-core-group-layout-2.wp-container-core-group-layout-2, .single .wp-container-core-group-layout-1.wp-container-core-group-layout-1 {
		gap: 10px;
	}


	.language {
		padding: 6px 10px;
	}

	.wp-block-cover, .wp-block-cover-image {
		max-height: 100vh;
	}

	.wp-block-spacer {
		max-height: 500px;
	}

	.container.about .has-x-large-font-size {
		font-size: 18vw !important;
		line-height: 1em;
	}

	.about .wp-block-heading {
		text-align: inherit;
	}

	.about .wp-block-spacer {
		display: none;
	}

	.container.about .wp-block-columns {
		margin: 10px auto;
		max-width: 90%;
	}

	:where(.wp-block-columns.is-layout-flex) {
		gap: 10px;
	}

	.about p {
		font-size: 14px;
	}

	.about .wp-block-columns:last-of-type {
		margin-bottom: 20px;
	}

	.cont-list .container {
		min-height: 90vh;
	}

	.post-items {
		width: 100%;
		margin: 44px auto 0;
		gap: 0;
		row-gap: 0;
		min-height: unset;
	}

	.post-items .post-item {
		width: 100%;
	}

	.cont-list h3 {
		font-size: 14px;
		text-align: left;
		margin-left: 8px;
		padding: 18px 15px;
	}

	.home .wp-block-heading {
		text-align: center;
		margin-top: 20px;
	}

	.home .wp-block-buttons {
		max-width: unset;
		margin-bottom: 20px;
	}

	.not-found {
		max-width: 90%;
		margin: 0 auto;
	}

	.not-found p {
		font-size: 18px;
		margin-bottom: 5px;
		text-align: center;
	}

	.not-found .btn {
		display: flex;
		justify-content: center;
		align-items: center;
	}

	.not-found a {
		font-size: 18px;
		margin: 10px auto;
	}

	.post-items .post-item .image-link {
		width: 100%;
		display: block;
		padding-top: 70%;
		position: relative; /* If you want text inside of it */
		overflow: hidden;
	}

	.post-items .post-item .image-cont:hover img {
		filter: blur(0px);
	}
	
	.home .wp-block-image a:hover img {
		filter: blur(0px);
	}
}




