@font-face {
	font-family: "bebas";
	src: url("../fonts/BebasNeue-Regular.ttf") format("truetype");
	font-weight: normal;
	font-display: swap;
}

@font-face {
	font-family: "naru";
	src: url("../fonts/NaruMonoDemo-Regular.ttf") format("truetype");
	font-weight: normal;
	font-display: swap;
}

@font-face {
	font-family: "josefin";
	src: url("../fonts/JosefinSans-Regular.ttf") format("truetype");
	font-weight: normal;
	font-display: swap;
}

:root {
	--pri-color: #b8473e;
	--sec-color: #bdbdbd;
	--ter-color: #deb541;
	--dark-gray: #333333;
}

html {
	scroll-behavior: smooth;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	color: var(--dark-gray);
	background-color: #ffffff;
	font-size: 0.8rem;
	line-height: 1.5;
	font-family: naru;
	font-weight: bold;
	overflow-x: hidden;
}

input,
textarea {
	font-family: naru;
	font-weight: bold;
}

a {
	text-decoration: none;
	color: inherit;
}

svg {
	pointer-events: none;
}

li {
	list-style-type: none;
}

ul {
	margin: 0;
	padding: 0;
}

button {
	font-family: inherit;
	cursor: pointer;
	font-weight: bold;
}

nav {
	background-color: hsla(0, 0%, 80%, 1);
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 1;
}

.nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 5em;
}

.nav-trail {
	height: 3em;
	position: fixed;
	top: 5em;
	z-index: -1;
	background-color: hsla(0, 0%, 80%, 1);
	width: 100%;
}

img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.container {
	width: min(110em, 95%);
	margin-inline: auto;
}

.alt-logo {
	width: 8em;
	translate: 0 4px;
}

.logo {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.logo span:first-of-type {
	font-family: bebas;
	font-size: 2.5rem;
	padding: 0;
}

.logo span:last-of-type {
	font-family: josefin;
	text-transform: uppercase;
	font-size: 0.5rem;
	position: relative;
	translate: 0 -14px;
	color: var(--pri-color);
}

.logo span:last-of-type::after {
	position: absolute;
	content: "";
	top: 50%;
	translate: 0 -50%;
	left: calc(100% + 1px);
	width: 15px;
	height: 0.1px;
	background-color: hsla(18, 50%, 48%, 1);
}

.logo span:last-of-type::before {
	position: absolute;
	content: "";
	top: 50%;
	right: calc(100% + 1px);
	translate: 0 -50%;
	width: 15px;
	height: 0.1px;
	background-color: hsla(18, 50%, 48%, 1);
}

.links {
	display: flex;
	gap: 3em;
}

.menu {
	background-color: transparent;
	width: 14px;
	height: 25px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	padding: 0;
	border: none;
}

.menu span {
	height: 2.4px;
	width: 100%;
	background-color: #333;
	border-radius: 10em;
}

.menu span:nth-of-type(2) {
	translate: 2px 0;
}

.link a {
	position: relative;
	z-index: 10;
}

.link a::after {
	position: absolute;
	content: "";
	width: 4px;
	height: 4px;
	bottom: 3px;
	left: calc(100% + 0.5px);
	background-color: var(--ter-color);
	transition: 0.2s;
	z-index: -1;
}

.link a:hover::after {
	background-color: var(--pri-color);
}

.link a.active::after {
	background-color: var(--pri-color);
}

.sidebar-container {
	position: fixed;
	background-color: rgba(0, 0, 0, 0.3);
	z-index: 100;
	inset: 0;
	display: none;
	transition: 0.2s;
}

.sidebar-container.open {
	display: block;
}

.sidebar {
	position: absolute;
	right: 0;
	background-color: var(--sec-color);
	padding: 2em;
	width: 95%;
	height: 100%;
}

.sidebar-container.open .sidebar {
	animation: slide-in 0.3s linear;
}

.sidebar-container.open .sidebar.close {
	animation: slide-out 0.3s linear;
}

@keyframes slide-in {
	from {
		opacity: 0;
		transform: translateX(100px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes slide-out {
	from {
		opacity: 1;
		transform: translateX(0);
	}
	to {
		opacity: 0;
		transform: translateX(100px);
	}
}

.sidebar .logo {
	width: fit-content;
	margin-bottom: 3em;
}

.sidebar .link a {
	font-size: 1rem;
	border-bottom: 0.3px solid rgba(0, 0, 0, 0.2);
	width: 95%;
	display: inline-block;
	padding: 0.5em 0;
}

.sidebar .close-btn {
	background-color: transparent;
	border: none;
	padding: 0;
	position: absolute;
	right: 2em;
	top: 3em;
}

.sidebar .close-btn svg {
	width: 1.2em;
	height: 1.2em;
	stroke-width: 3px;
	transition: 0.2s;
	opacity: 0.7;
}

.sidebar .close-btn:hover svg {
	opacity: 1;
}

.sidebar .link a:after {
	width: 6px;
	height: 6px;
}

.sidebar .socials {
	background-color: #000;
	position: absolute;
	inset: 0;
	top: 30em;
}

.sidebar .socials i {
	color: hsla(18, 50%, 68%, 1);
	transition: 0.2s;
}

.sidebar .socials a:hover i {
	color: hsla(18, 50%, 85%, 1);
}

.sidebar .socials ul {
	padding: 1.5em 2em;
	display: flex;
	gap: 0.8em;
}

@media screen and (max-width: 800px) {
	.link a {
		font-size: 0.7rem;
	}
}

@media screen and (width < 640px) {
	.links {
		display: none;
	}
}

@media screen and (width >= 641px) {
	.menu {
		display: none;
	}

	.sidebar {
		display: none;
	}

	.sidebar-container.open {
		display: none;
	}

	nav .overlay {
		display: none;
	}
}

.hero {
	height: 100vh;
	position: relative;
	background-image:
		linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
		url("../images/img-1.jpg");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	color: #fff;
}

.hero-content {
	position: absolute;
	top: 50%;
	left: 50%;
	translate: -50% -50%;
	width: min(650px, 90%);
	text-align: center;
}

.hero p {
	margin: 0;
	font-size: 2.8rem;
	margin-bottom: 0.2em;
}

.hero small {
	font-size: 0.65rem;
	color: #000;
	padding: 0.2em;
	background-color: var(--ter-color);
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(10px);
}

@media screen and (max-width: 752px) {
	.hero p {
		font-size: 2.3rem;
	}
}

@media screen and (max-width: 610px) {
	.hero p {
		font-size: 1.9rem;
	}

	.hero small {
		font-size: 0.6rem;
	}
}

.hero .down-btn {
	position: absolute;
	bottom: 2em;
	left: 50%;
	translate: -50% 0;
	border: none;
	background-color: transparent;
	animation: bounce 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite alternate;
}

.hero .down-btn svg {
	stroke: hsla(18, 50%, 85%, 1);
	stroke-width: 3px;
}

@keyframes bounce {
	from {
		transform: translateY(0);
	}
	to {
		transform: translateY(-10px);
	}
}

#contact,
#gallery,
#events-calender,
#about {
	scroll-margin-top: 6em;
}

.about-summary {
	background-color: #111;
	color: #fff;
	padding: 8em 2em 3em 2em;
	position: relative;
	min-height: 30em;
}

@media screen and (width <= 840px) {
	.about-summary {
		padding-top: 6em;
	}
}

@media screen and (width <= 720px) {
	.about-summary {
		padding-top: 5em;
	}
}

.contact aside,
.gallery aside,
.events aside,
.about-summary aside {
	font-size: 5rem;
	position: absolute;
	top: 0.3em;
	opacity: 0.2;
	letter-spacing: 0.8px;
	font-family: bebas;
	pointer-events: none;
}

@media screen and (width <= 840px) {
	.contact aside,
	.gallery aside,
	.events aside,
	.about-summary aside {
		font-size: 4.5rem;
	}
}

@media screen and (width <= 720px) {
	.contact aside,
	.gallery aside,
	.events aside,
	.about-summary aside {
		font-size: 4rem;
	}
}

@media screen and (width <= 704px) {
	.contact aside,
	.gallery aside,
	.events aside,
	.about-summary aside {
		font-size: 3.5rem;
	}
}

@media screen and (width <= 650px) {
	.contact aside,
	.gallery aside,
	.events aside,
	.about-summary aside {
		font-size: 3rem;
	}
}

@media screen and (width <= 550px) {
	.contact aside,
	.gallery aside,
	.events aside,
	.about-summary aside {
		font-size: 2.5rem;
	}
}

.summary-wrapper {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	min-height: inherit;
}

.summary-image-wrapper > div {
	position: relative;
	height: 100%;
}

@media screen and (width <= 640px) {
	.summary-wrapper {
		grid-template-columns: 1fr;
	}

	.summary-image-wrapper > div {
		height: 31em;
	}
}

.summary-image-wrapper > div .img-container {
	position: absolute;
	top: 50%;
	left: 50%;
	translate: -50% -50%;
	width: 19em;
	height: 24em;
}

@media screen and (width <= 704px) {
	.summary-image-wrapper > div .img-container {
		width: 17em;
		height: 21em;
	}
}

@media screen and (width <= 649px) {
	.summary-image-wrapper > div .img-container {
		width: 15em;
		height: 19em;
	}
}

.summary-image-wrapper > div .img-container::after {
	position: absolute;
	content: "";
	inset: 0;
}

.summary-image-wrapper > div .img-container:last-of-type::before {
	position: absolute;
	content: "";
	width: 1.5em;
	height: 1.5em;
	background-color: var(--pri-color);
	z-index: 10;
	bottom: 1em;
	right: calc(100% - 0.6em);
	rotate: 2deg;
}

.summary-image-wrapper > div .img-container:first-of-type {
	rotate: -7deg;
	border: 1.5px solid hsla(0, 0%, 80%, 1);
}

.summary-image-wrapper > div .img-container:first-of-type::after {
	position: absolute;
	content: "";
	width: 2.1em;
	height: 1px;
	top: 3em;
	z-index: 10;
	background-color: hsla(44, 70%, 56%, 1);
	left: 100%;
	rotate: 7deg;
}

@media screen and (width <= 357px) {
	.summary-image-wrapper > div .img-container:first-of-type::after {
		width: 1.5em;
	}
}

.summary-image-wrapper > div .img-container:first-of-type span {
	position: absolute;
	left: calc(100% + 3em);
	top: 3.9em;
	width: 3.2em;
	font-family: bebas;
	letter-spacing: 0.2px;
	font-size: 0.6rem;
	rotate: 7deg;
}

@media screen and (width <= 357px) {
	.summary-image-wrapper > div .img-container:first-of-type span {
		left: calc(100% + 2.3em);
	}
}

.summary-image-wrapper > div .img-container:last-of-type {
	rotate: -2deg;
	border: 1.5px solid hsla(44, 70%, 56%, 1);
}

.summary-content {
	display: grid;
	place-content: center;
	padding-right: 2em;
}

.summary-content .heading {
	font-size: 2rem;
	margin-bottom: 0.6em;
	position: relative;
}

.summary-content .heading::after {
	position: absolute;
	content: "";
	width: 3em;
	height: 2px;
	top: 105%;
	left: 0;
	background-color: hsla(44, 70%, 56%, 1);
}

@media screen and (width <= 840px) {
	.summary-content .heading {
		font-size: 1.8rem;
	}
}

@media screen and (width <= 764px) {
	.summary-content .heading {
		font-size: 1.5rem;
	}
}

@media screen and (width <= 704px) {
	.summary-content .heading {
		font-size: 1.3rem;
	}
}

.summary-content .content {
	font-size: 0.6rem;
}

.summary-content .content > .our-space p,
.summary-content .content > .idea p {
	opacity: 0.7;
	margin: 0;
}

.summary-content .content .sub-title {
	color: #fff;
	font-size: 0.7rem;
	margin: 0.5em 0;
}

.summary-content .mini-banner {
	font-size: 0.6rem;
	background-color: hsla(44, 70%, 56%, 1);
	width: fit-content;
	padding: 0.3em 0.5em;
	margin-top: 1em;
	color: #333;
}

.events {
	background-color: #d6ad32;
	color: #1f1f1f;
	min-height: 55vh;
	position: relative;
	padding: 5em 2em 3em 2em;
}

.events-wrapper {
	display: grid;
	grid-template-columns: 1fr 3fr;
	gap: 0.5em;
	align-items: center;
	height: inherit;
	padding-top: 2em;
	margin-top: 5em;
}

@media screen and (width <= 740px) {
	.events-wrapper {
		margin-top: 2em;
		grid-template-columns: 1fr;
	}
}

.contact .contact-details-wrapper .heading,
.events-wrapper > div:first-of-type .heading {
	font-size: 2rem;
	position: relative;
	margin-bottom: 0.6em;
}

@media screen and (width <= 840px) {
	.contact .contact-details-wrapper .heading,
	.events-wrapper > div:first-of-type .heading {
		font-size: 1.8rem;
	}
}

@media screen and (width <= 764px) {
	.contact .contact-details-wrapper .heading,
	.events-wrapper > div:first-of-type .heading {
		font-size: 1.5rem;
	}
}

@media screen and (width <= 704px) {
	.contact .contact-details-wrapper .heading,
	.events-wrapper > div:first-of-type .heading {
		font-size: 1.3rem;
	}
}

.contact .contact-details-wrapper .heading::after,
.events-wrapper > div:first-of-type .heading::after {
	position: absolute;
	content: "";
	top: 100%;
	left: 0;
	width: 3em;
	height: 2px;
	background-color: hsla(18, 50%, 48%, 1);
}

.contact .contact-details-wrapper > div p:nth-of-type(2),
.events-wrapper > div:first-of-type p {
	font-size: 0.65rem;
	margin: 0;
	opacity: 0.8;
	margin-bottom: 1em;
}

@media screen and (width <= 604px) {
	.contact .contact-details-wrapper > div p:nth-of-type(2),
	.events-wrapper > div:first-of-type p {
		font-size: 0.6rem;
	}
}

.contact .contact-details-wrapper > div a.mail-link,
.events-wrapper > div:first-of-type button {
	font-size: 0.7rem;
	display: flex;
	align-items: center;
	gap: 0.5em;
	padding: 0.7em;
	text-transform: capitalize;
	background-color: #1f1f1f;
	color: #fff;
	border: none;
	transition: 0.2s;
}

.contact .contact-details-wrapper > div a.mail-link:hover,
.events-wrapper > div:first-of-type button:hover {
	opacity: 0.88;
}

.contact .contact-details-wrapper > div a.mail-link:active,
.events-wrapper > div:first-of-type button:active {
	translate: 0 1px;
}

@media screen and (width <= 764px) {
	.events-wrapper > div:first-of-type button {
		font-size: 0.6rem;
	}
}

.contact .contact-details-wrapper > div a.mail-link svg,
.events-wrapper > div:first-of-type button svg {
	width: 1.8em;
	height: 1.2em;
	stroke-width: 3px;
}

.event-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: auto auto auto;
	gap: 0.5em;
	padding-top: 1em;
}

@media screen and (width <= 530px) {
	.event-cards {
		grid-template-columns: 1fr;
	}
}

.event-card {
	height: 28em;
	background-color: #1f1f1f;
	color: #fff;
	position: relative;
	display: grid;
	overflow-wrap: break-word;
	grid-row: span 3;
	grid-template-rows: subgrid;
	min-width: 0;
	overflow-wrap: break-word;
}

.event-date {
	display: inline-block;
	font-size: 0.5rem;
	width: 3em;
	padding: 0.5em;
	text-align: center;
	background-color: hsla(18, 50%, 48%, 0.8);
	text-transform: uppercase;
	position: absolute;
	left: 1.5em;
	line-height: 1.4;
}

.event-card .image-placeholder {
	height: 15em;
}

@media screen and (width <= 820px) {
	.event-card .image-placeholder {
		height: 12em;
	}
}

.event-card:nth-child(even) .event-date {
	background-color: hsla(44, 70%, 56%, 0.8);
}

.event-info {
	font-size: 0.6rem;
	padding: 1em;
	display: grid;
	grid-row: 2 / span 2;
	grid-template-rows: subgrid;
	min-width: 0;
}

.event-info .heading {
	font-size: 0.7rem;
	text-transform: capitalize;
	min-width: 0;
}

.event-info .info {
	position: relative;
	font-size: 0.5rem;
}

.event-info .info > div {
	display: flex;
	align-items: center;
	gap: 1em;
	margin: 1em 0;
	min-width: 0;
}

.event-info .info > div:first-of-type > span {
	display: inline-block;
	width: 80%;
	min-width: 0;
}

.event-info .info > div svg {
	width: 1.5em;
	height: 1.2em;
	stroke-width: 3px;
}

.event-card:nth-child(even) .info > svg {
	stroke: hsla(44, 70%, 56%, 1);
}

.event-info .info > svg {
	position: absolute;
	right: 0;
	width: 2em;
	height: 1.5em;
	stroke: hsla(18, 50%, 48%, 1);
	stroke-width: 3px;
}

.gallery {
	background-color: #111;
	color: #fff;
	padding: 2em;
	position: relative;
	min-height: 55vh;
}

.gallery-photo-wrapper {
	padding-top: 9em;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
}

@media screen and (width <= 740px) {
	.gallery-photo-wrapper {
		grid-template-columns: repeat(2, 1fr);
		padding-top: 7em;
	}
}

@media screen and (width <= 555px) {
	.gallery-photo-wrapper {
		padding-top: 5em;
	}
}

@media screen and (width <= 420px) {
	.gallery-photo-wrapper {
		grid-template-columns: 1fr;
	}
}

.gallery-photo-wrapper > div {
	position: relative;
	cursor: grab;
	transition: 0.2s;
	height: 17em;
	opacity: 0;
	animation: fade-in 0.2s ease forwards;
	animation-delay: calc(var(--i) * 0.2s);
}

@keyframes fade-in {
	to {
		opacity: 1;
	}
}

.gallery-photo-wrapper > div::after {
	position: absolute;
	content: "";
	inset: 0;
	background-color: rgba(0, 0, 0, 0.1);
}

.gallery-photo-wrapper > div:hover {
	scale: 0.97;
}

.gallery-photo-wrapper > div:active {
	cursor: grabbing;
}

.gallery button.gallery-btn {
	width: 4em;
	height: 4em;
	border-radius: 50%;
	border: none;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: hsla(44, 70%, 56%, 0.8);
	transition: 0.2s ease;
	position: absolute;
	right: 2em;
	bottom: 2em;
}

.gallery button.gallery-btn:hover {
	transform: scale(0.95);
}

.gallery button.gallery-btn:active {
	translate: 0 1px;
}

.gallery .btn-wrapper button svg {
	stroke-width: 3px;
	stroke: #333;
}

.contact {
	background-color: hsla(44, 70%, 56%, 1);
	min-height: 55vh;
	position: relative;
	padding: 2em;
	padding-top: 10em;
}

@media screen and (width <= 704px) {
	.contact {
		padding-top: 7em;
	}
}

@media screen and (width <= 555px) {
	.contact {
		padding-top: 5em;
	}
}

.contact .contact-details-wrapper > div a.mail-link {
	font-size: 0.7rem;
	width: fit-content;
}

.contact .contact-details-wrapper {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1em;
	min-height: 26em;
}

.contact .contact-details-wrapper > div:first-of-type {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-bottom: 3em;
}

.contact .contact-details-wrapper > div:last-of-type {
	background-color: #111;
	color: #fff;
	position: relative;
	margin-right: 2em;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.contact .contact-details-wrapper > div:last-of-type::after {
	position: absolute;
	content: "";
	width: 4em;
	height: 4em;
	right: 0;
	background-color: var(--pri-color);
	bottom: calc(100% - 0.8em);
}

.contact .contact-details-wrapper > div:last-of-type::before {
	position: absolute;
	content: "";
	width: 3em;
	height: 3em;
	background-color: var(--sec-color);
	left: calc(100% + 0.7em);
	top: 0.8em;
}

.contact .contact-details {
	display: flex;
	flex-direction: column;
	gap: 3em;
	font-size: 0.65rem;
	padding: 2em;
}

.contact .contact-details svg {
	width: 2em;
	height: 2em;
	stroke: hsla(44, 70%, 56%, 1);
}

.contact .contact-details > div {
	display: flex;
	gap: 1.2em;
	align-items: center;
	position: relative;
}

.contact .contact-details > div::after {
	position: absolute;
	content: "";
	width: 6em;
	height: 0.05em;
	background-color: var(--ter-color);
	top: calc(100% + 6px);
}

.contact .contact-details div div {
	display: flex;
	flex-direction: column;
	gap: 1em;
}

.contact .contact-details div div > span:first-of-type {
	font-size: 0.8rem;
	color: hsla(44, 70%, 56%, 1);
}

.contact .contact-details div div > span:last-of-type {
	opacity: 0.8;
}

.contact .socials {
	font-size: 0.9rem;
	display: flex;
	gap: 1em;
	color: hsla(44, 70%, 56%, 1);
}

.contact .socials a:hover i {
	color: hsla(44, 70%, 56%, 0.8);
}

@media screen and (width <= 604px) {
	.contact .contact-details div div > span:first-of-type {
		font-size: 0.7rem;
	}
}

@media screen and (width <= 555px) {
	.contact .contact-details-wrapper {
		grid-template-columns: 1fr;
		gap: 5em;
	}

	.contact .contact-details-wrapper > div:first-of-type {
		padding-bottom: 0;
	}
}

footer {
	background-color: hsla(0, 0%, 80%, 1);
	height: 7em;
	padding: 2em;
}

footer > div {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

footer img {
	max-width: 5em;
	object-fit: contain;
}

footer .copy {
	font-family: system-ui;
}

.designer-link {
	color: var(--pri-color);
}

@media screen and (width <= 555px) {
	footer {
		font-size: 0.6rem;
	}
}

.spinner {
	display: inline-block;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	border: 2px solid #fff;
	border-right-color: #333;
	animation: spin 0.6s linear infinite;
	position: absolute;
	top: 50%;
	left: 50%;
	translate: -50% -50%;
}

.spinner.hide {
	display: none;
}

@keyframes spin {
	to {
		rotate: 360deg;
	}
}

.no-events {
	height: 70vh;
	text-align: center;
	position: relative;
}

.no-events svg {
	width: 10em;
	height: 10em;
	margin: auto;
	padding: 0;
	translate: 0 -2em;
}

.no-events p {
	font-size: 2rem;
	margin: 0;
	position: relative;
	margin-bottom: 0.5em;
}

.no-events .message {
	translate: 0 -4em;
}

.no-events p::after {
	position: absolute;
	content: "";
	width: 3em;
	height: 2px;
	background-color: var(--pri-color);
	bottom: -2px;
	left: 50%;
	translate: -50% 0;
}

.no-events small {
	font-size: 0.6rem;
}

.no-events > div {
	position: absolute;
	top: 50%;
	left: 50%;
	translate: -50% -50%;
	width: 100%;
	height: 13.4em;
	overflow: hidden;
}

@media screen and (width <= 550px) {
	.no-events p {
		font-size: 1.5rem;
	}
}
