@font-face {
    font-family: 'Civette';
    src: url('fonts/Civette-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Civette';
    src: url('fonts/Civette-Italic.otf') format('opentype');
    font-weight: normal;
    font-style: italic;
}

:root {
	--page-width: 900px;

	--bg-color: rgb(0,0,0);
	--bg-footer: rgb(0,0,0);

	--link-bg-hover: rgba(250,250,250,0.1);

	--button-text: rgb(0, 0, 0);
	--button-bg: rgb(246, 206, 215);
	--button-bg-hover: rgb(250,175,200);
}

html {
    overflow-x: hidden;
    scroll-padding-top: 80px;
	scroll-behavior: smooth;
}

/* body and font styles */
body {
    position: relative;
	height: 100%;
    padding-top: 80px;
    overflow-y: scroll;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    font-family: 'Civette',system-ui,Helvetica,Arial,sans-serif;
    background-color: var(--bg-color);
    cursor: url('./graphics/teardropcursor_2x.png'), auto;
}

/* hide scrollbar for firefox */
html, body {
    scrollbar-width: none;
    margin: 0;
    padding: 0;
}

/* hide scrollbar for chrome, safari, and opera */
body::-webkit-scrollbar {
    display: none;
}
/* hiding the scrollbar for other browsers */
html, body {
  -ms-overflow-style: none; /* ie and edge */
  overflow: -moz-scrollbars-none; /* older firefox */
}

.page {
	max-width: var(--page-width);
	/* center horizontally */
	margin-left: auto;
	margin-right: auto;
}

.center {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.left {
	text-align: left;
}

.w20{width:20%}
.w30{width:30%}
.w40{width:40%}
.w50{width:50%}
.w60{width:60%}
.w80{width:80%}
.w20, .w30, .w40, .w50, .w60, .w80 {
	margin: auto;
}


/* header styles */
header {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--bg-color);
    width: 100%;
    height: auto;
    position: fixed;
    top: 0px;
    text-align: center;
    padding: 20px 0px 15px 0px;
    z-index: 2;
	transition: all 0.45s ease;
	transform: translateY(0px);
}

.logo {
    margin-top: -12px;
    margin-right: 35px;
}
footer .logo {
	margin-right: 0;
}

header h1 {
    font-family: 'Civette';
    font-size: 3.5rem;
    color: #f6ced7;
    margin: 0;
    margin-right: 25px;
}

header nav a {
    color: #FDEDF0;
    font-size: 1.3rem;
    letter-spacing: 2px;
    text-decoration: none;
    padding: 5px 10px;
}

header nav a:hover {
    color: #dae3ec;
	border-radius: 0.2rem;
	background: var(--link-bg-hover);
    cursor: url('./graphics/glovecursor_2x.png'), auto;
}

header nav a:active {
    color: #dae3ec;
}


/* Generic elements */
a {
	color: #f6ced7;
	text-decoration: none;
}

a:hover {
	color: #dae3ec;
	cursor: url('./graphics/glovecursor_2x.png'), auto;
}


/* Section styles */
section {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    margin-top: 0px;
    margin-bottom: 0px;
    padding-top: 32px;
    padding-bottom: 32px;
    background-color: transparent;
	border-top: 32px solid transparent;
    border-image: url('./graphics/heart-border-black.png') 32 round;
	border-image-repeat: repeat;
}

section#top {
    background-image: url('./graphics/y2kluckycharmsbackground_2x.png');
    height: 100vh;
	margin-top: 28px;
}

#banner {
    background-image: url('./graphics/promotional_banner.png');
    background-attachment: scroll;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    z-index: 2;
}

.cta {
	display: inline-block;
	position: relative;
	top: 25%;
	left: 5%;
	width: 396px;
	height: 299px;
	background-size: 100%;
	background-repeat: no-repeat;
	background-image: url('./graphics/cloud_bubble1-small.png');
	animation: floating 1.2s alternate infinite, backgroundChange 5s infinite alternate;
}
.cta img {

}

#caption:hover {
    cursor: url('./graphics/glovecursor_2x.png'), auto;
}

@keyframes floating {
    0% {
        transform: translateY(5%);
    }
    100% {
        transform: translateY(-5%);
    }
}

@keyframes backgroundChange {
    0% {
        background-image: url('./graphics/cloud_bubble1-small.png');
    }
    50% {
        background-image: url('./graphics/cloud_bubble1-small.png');
    }
    100% {
        background-image: url('./graphics/cloud_bubble2-small.png');
    }
}

section#about {
    background-color: transparent;
    background-image: url('./graphics/teddybackground_2x.png');
}

section#news {
    background-color: transparent;
    background-image: url('./graphics/teapartybackground_2x.png');
}

section#socials {
    background-color: transparent;
    background-image: url('./graphics/y2kluckycharmsbackground_2x.png');
}

section#socials a {
	padding-top: 1rem;
	border-radius: 1rem;
	transition: transform 0.2s ease;
}

section#socials a:hover {
	transform: translateY(-20px);
	background: var(--link-bg-hover);
}

section#contact {
    background-color: transparent;
    background-image: url('./graphics/teddybackground_2x.png');
}
section#contact .box {
	text-align: left;
}
section#contact form {
	margin-top: 1.25rem;
}
section#newsletter {
	background-color: transparent;
    background-image: url('./graphics/teapartybackground_2x.png');
}

section#sent {
	padding-top: 32px;
	margin-top: 96px;
	background-color: transparent;
    background-image: url('./graphics/teddybackground_2x.png');
}
section#sent a {
	text-decoration: underline;
}

form input, form select, form textarea {
	padding: 0.25rem;
}

input[type=submit], button[type=submit] {
	border: none;
	font-weight: bold;
	font-family: 'Civette';
	color: var(--button-text);
	background: var(--button-bg);
	transition: all 0.2s ease;
}
input[type=submit]:hover, button[type=submit]:hover {
	cursor: url('./graphics/glovecursor_2x.png'), pointer;
	background: #dae3ec;
	background: var(--button-bg-hover);
	transform: translateY(-20%);
}


/* -grids- */
.grid {
    display: grid;
    row-gap: 1rem;
    column-gap: 2rem;
}
.x2 {grid-template-columns: auto auto;}
.x3 {grid-template-columns: auto auto auto;}
.x4 {grid-template-columns: auto auto auto auto;}
.x5 {grid-template-columns: auto auto auto auto auto;}
.x6 {grid-template-columns: auto auto auto auto auto auto;}

/* rigid grids, each column is equal width*/
.x2r {grid-template-columns: 1fr 1fr;}
.x3r {grid-template-columns: 1fr 1fr 1fr;}
.x4r {grid-template-columns: 1fr 1fr 1fr 1fr;}
.x5r {grid-template-columns: 1fr 1fr 1fr 1fr 1fr;}
.x6r {grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;}

.grid-wrap { /* grid that shrink-wraps to the left */
	display: inline-grid;
    row-gap: 1rem;
    column-gap: 2rem;
}

.foot-grid {
	display: grid;
    row-gap: 1rem;
    column-gap: 1rem;
	grid-template-columns: auto auto auto auto;
	grid-template-columns: 1.2fr 0.4fr 0.4fr 1fr;
}


.grid-container {
    display: grid;
    grid-template-columns: auto auto auto;
    gap: 10px;
    background-color: transparent;
    padding: 10px;
    margin-bottom: 10px;
}

.grid-container > div {
    background-color: transparent;
    padding: 10px 10px;
}

.item1 {
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 1;
    grid-row-end: 3;
}

.item2 {
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 1;
    grid-row-end: 3;
}

.grid-container2 {
    display: grid;
    grid-template-columns: auto auto auto auto;
    gap: 10px;
    background-color: transparent;
    padding: 10px;
    margin-bottom: 10px;
}

.grid-container2 > div {
    background-color: transparent;
    padding: 10px 10px;
}

.grid-container2 a {
    color: #f6ced7;
    text-decoration: none;
}

.grid-container2 a:hover {
    color: #dae3ec;
    cursor: url('./graphics/glovecursor_2x.png'), auto;
}

.grid-container2 a:active {
    color: #dae3ec;
}

.image {
    display: block;
    margin: auto;
}

.chibi-wrapper {
    position: relative;
}

.chibis {
    display: block;
    height: 100%;
	width: 100%;
}

.chibis-heart {
	position: absolute;
	margin: auto;
    top: 45%;
    left: 42%;
	height: 100px;
    width: 125px;
	background-image: url('./graphics/pink_heart.png');
	background-repeat: no-repeat;
	background-size: 100%;
	animation: bouncing 1.2s alternate infinite, colorChange 5s infinite alternate;
}

@keyframes bouncing {
    0% {
        transform: translateY(10%);
    }
    100% {
        transform: translateY(-10%);
    }
}

@keyframes colorChange {
    0% {
        background-image: url('./graphics/pink_heart.png');
    }
    25% {
        background-image: url('./graphics/pink_heart.png');
    }
    50% {
        background-image: url('./graphics/pink_heart.png');
    }
    75% {
        background-image: url('./graphics/red_heart.png');
    }
    100% {
        background-image: url('./graphics/red_heart.png');
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

section h1 {
	font-size: 3rem;
	font-style: italic;
	margin-top: 0px;
	margin-bottom: 0px;
}

section h2 {
    font-family: 'Civette';
    font-size: 3rem;
	font-style: italic;
    text-align: center;
    margin-top: 0px;
    margin-bottom: 8px;
    color: #f6ced7;
    animation: fadeIn 1.2s ease-in-out;
}

.content-container {
    background-color: transparent;
    max-width: 800px;
    margin: 0px auto;
}

.content-container p,
.content-container ul {
    font-size: 1.3rem;
    color: #FDEDF0;
    text-align: center;
    line-height: 1.7;
}

.box {
    padding: 32px;
    border: 32px solid transparent;
    border-image: url('./graphics/heart-border-clipped.png') 32 round;
	border-radius: 10px
	font-size: 1.3rem;
    line-height: 1.7;
	text-align: center;
	color: #fdedf0;
	color: #f6ced7;
	background: var(--bg-color);
}


/* footer styles */
footer {
    background-color: var(--bg-footer);
    height: auto;
    text-align: left;
    font-size: 0.9rem;
    color: rgb(246, 206, 215);
    margin: 0px auto;
    padding: 64px 0 16px 0;
	border-top: 32px solid transparent;
    border-image: url('./graphics/heart-border-clipped.png') 32 round;
	border-image-repeat: repeat;
}

footer .grid {
	text-align: left;
	display: inline-grid;
}

footer .logo {
	text-align: left;
}
footer .logo img {
	margin-left: -0.9rem;
}

footer .site-links {
	text-align: left;
}
footer .site-links b {
	padding: 0 0 1rem 0.5rem;
}
footer .site-links a {
	display: block;
	padding: 0.5rem;
	transition: all 0.35s ease;
}
footer .site-links a:hover {
	border-radius: 0.2rem;
	background: var(--link-bg-hover);
}

footer .footer-chibi {
	margin-top: 2rem;
	text-align: center;
}
footer .footer-chibi img {
	width: 128px;
	height: 128px;
}
footer .footer-chibi img:hover {
/* 	animation: name 	duration	timing		delay	iterations	direction */
	animation: jiggle	0.5s		linear		0s		1 			normal;
}

@keyframes jiggle {
    0%	{transform: rotate(15deg);}
	10% {transform: rotate(-15deg);}
	20% {transform: rotate(15deg);}
	30% {transform: rotate(15deg);}
	40% {transform: rotate(-15deg);}
	50% {transform: rotate(15deg);}
	60% {transform: rotate(-15deg);}
	70% {transform: rotate(15deg);}
	80% {transform: rotate(-15deg);}
	90% {transform: rotate(15deg);}
	100% {transform: translateY(-15deg);}
}

footer .socials p {
	font-size: 0.8em;
	text-align: center;
}
footer .socials img {
	height: 48px;
}

.back-to-top {
	position: fixed;
	bottom: 16px;
	right: 16px;
	transition: all 0.35s ease;
	transform: translateY(200px);
}
.back-to-top img {
	height: 48px;
	width: 48px;
}

.copyright {
	text-align: center;
	margin-top: 32px;
}
.copyright p {
	max-width: 540px;
	margin: 1rem auto;
}

.lost-chibi img { /* 404 image */
	width: 221px;
	height: 200px;
	margin-top: 2rem;
	/* 	animation: name 	duration	timing		delay	iterations	direction */
	animation: jiggle	0.5s		linear		0s		1 			alternate;
}
.lost-chibi:hover {
	/* 	animation: name 	duration	timing		delay	iterations	direction */
	animation: jiggle	0.5s		linear		0s		1 			normal;
}


@media (max-width: 800px) {

    #banner {
        background-image: url('graphics/promotional_banner(mobile).png');
    }

    #caption {
        background-image: url('graphics/cloud_bubble1(mobile)-small.png');
    }

    @keyframes backgroundChange {
        0% {
            background-image: url('graphics/cloud_bubble1(mobile)-small.png');
        }
        50% {
            background-image: url('graphics/cloud_bubble1(mobile)-small.png');
        }
        100% {
            background-image: url('graphics/cloud_bubble2(mobile)-small.png');
        }
    }

    header {
        flex-direction: column;
        padding-top: 10px;
    }

    header h1 {
        font-size: 2.5rem;
        margin-right: 0;
        margin-bottom: 15px;
    }

    header nav {
        margin-top: 5px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    .logo {
        margin-top: -5px;
        margin-right: 0;
    }

	section h2 {
		font-size: 2rem;
	}

	.cta {
		top: 25%;
		left: 1%;
		width: 50%;
		height: 30%;
		background-size: 100%;
		background-image: url('./graphics/cloud_bubble1-small.png');
		animation: floating 1.2s alternate infinite, backgroundChange 5s infinite alternate;
	}

    .grid-container2 {
        grid-template-columns: auto auto;
    }

    .x2 {grid-template-columns: auto;}
    .x3 {grid-template-columns: auto;}
    .x4 { grid-template-columns: auto auto;}
    .x5 { grid-template-columns: auto auto;}
    .x6 {  grid-template-columns: auto auto;}

	.x2r {grid-template-columns: 1fr;}
    .x3r {grid-template-columns: 1fr;}
    .x4r {grid-template-columns: 1fr 1fr;}
    .x5r {grid-template-columns: 1fr 1fr;}
    .x6r {grid-template-columns: 1fr 1fr;}
	
	.w20, .w30, .w40, .w50, .w60 {
		width: 100%;
	}


	footer {
		padding-left: 0.9rem;
		font-size: 1.2rem;
	}
	.foot-grid {
		display: inline-grid;
		grid-template-columns: 1fr;
	}

	footer .logo {
		margin-bottom: 2rem;
		text-align: center;
	}

	footer .socials img {
		height: 32px;
	}

	footer .site-links {
		width: 50%;
	}
	footer .copyright{
		font-size: 0.85rem;
	}

	.back-to-top {
		display: none;
		bottom: 8px;
		right: 8px;
	}

	section#socials img {
		height: 64px;
	}

	.box {
		padding: 15px;
	}

    .chibi-wrapper {
        
    }

    .chibis {
        height: 50%;
    }

    .chibis-heart {
    height: 50%;
    width: 16%;
	margin: auto;
    top: 45%;
    left: 42%;
    }

	.desktop {
		display: none;
	}
}
