@charset "utf-8";
/* CSS Document */

body {
	text-align: center;
	background:#FF9DA8;
	max-width: 1500px;
}

.curve {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.curve svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 150px;
}

.curve {
    fill: #FFC79A;
}

/* hero img */
    .hero {
      position: relative;
      height: 50vh;
      background: url("images/family graphic.jpg");
      background-size: contain;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
}
    
    .hero::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.4);
    }
    
    .hero-content {
      position: relative;
      z-index: 1;
      max-width: 800px;
      padding: 20px;
    }
    
    .hero p {
      font-size: 1.5rem;
      margin-bottom: 2rem;
    }

/* Remove margin-top for h1 on the index page */
body.index-page h1 {
    margin-top: 20px;
}

body.index-page .hero {
    height: auto; 
    padding-top: 0; 
}

body.index-page .hero-content {
    padding-top: 0; 
}

/* headers */
    
h1 {
	font-family: "Bubblegum Sans", sans-serif;
	font-size: 40px;
	max-width: 900px;
	margin-top: 100px;
}

header {
	background:#FFFBAC;
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
	border-radius: 100rem 100rem 100rem 100rem;
}

h2 {
	background: #87D8FD;
	max-width: 900px;
	font-size: 26px;
	margin-left: auto;
	margin-right: auto;
	font-family: "Bubblegum Sans", sans-serif;
	letter-spacing: 1px;
	border-radius: 6rem 6rem 6rem 6rem;
	text-align: center;
}

h3 {
	font-family: "Bubblegum Sans", sans-serif;
	font-size: 23px;
	max-width: 800px;
	margin-right: auto;
	margin-left: auto;
	letter-spacing: 1px;
	background: #87D8FD;
	border-radius: 6rem 6rem 6rem 6rem;
}

h4 {
	font-family: "Bubblegum Sans", sans-serif;
	font-size: 20px;
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
}

/* Nav Bar */

ul {
	list-style: none;
	align-content: center;
	text-align: center;
	font-size: 20px;
	font-weight: 500;
}

li {
	display: inline-block;
	font-family: "Patrick Hand SC", cursive;
}

ul li a {
    background-color: #FFC79A;
    color: black;
    border: none;
    border-radius: 7px;
    font-size: 20px;
	padding: 0 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
	font-family: "Unkempt", cursive;
	max-width: 1000px;
	display: inline;
        }

ul li a:hover {
    background-color: #CAFFBF;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
	border-radius: 7px;
        }

ul li a:active {
    transform: translateY(0);
        }

/* sidebar */

.sidebar {
	position: fixed;
	top: 0px;
	right: 0px;
	height: 90vh;
	width: 200px;
	z-index: 999;
	background-color: none;
	backdrop-filter: blur(10px);
	box-shadow: -10px 0 10px gray;
	display: none;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
}

.sidebar li {
	width: 100%;
	padding: 8px;
}

.sidebar a {
	width: 100%;
}

.menu-button {
	display: none;
}

@media(max-width: 600px){
	.hideOnMobile{
		display: none;
	}
	.menu-button{
	display: block;
	}
}

@media(max-width: 400px){
	.sidebar{
		width: 100%;
}
}

article {
	text-align: center;
	max-width: 1000px;
	margin-left: auto;
	margin-right: auto;
	font-family: "Unkempt", cursive;
	padding-bottom: 20px;
}

.main {
	max-width: 1300px;
	margin: 0 auto;
	background:#FFFBAC;
	border-radius: 2rem 2rem 2rem 2rem;
	padding: 1px;
	padding-bottom: 20px;
	margin-bottom: 20px;
	margin-left: auto;
	margin-right: auto;
	height: inherit;
	margin-top: 10px;
}

p {
	text-align: center;
	max-width: 1000px;
	margin-left: auto;
	margin-right: auto;
	font-family: "Unkempt", cursive;
	padding-bottom: 20px;
}

/* Keyframes */
@keyframes appear {
	from {
		opacity: 0;
		scale: 0.5;
		transform: translateX(-60px);
		}
	
	to {
		opacity: 1;
		scale: 1;
		transform: translateX(0px);
		}
}

.calendar {
	animation: appear linear;
	animation-timeline: view();
	animation-range: entry 0% cover 40%;
}

.click {
	animation: appear linear;
	animation-timeline: view();
	animation-range: entry 0% cover 40%;
}

.img-container {
	animation: appear linear;
	animation-timeline: view();
	animation-range: entry 0% cover 40%;
}

.calendar {
	margin: 0 auto;
	max-width: 800px;
	font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
	color: black;
	display: inline-block;
	background-color: #CAFFBF;
	margin-bottom: 20px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
	transition: all 0.3s ease;
}

.month {
	text-align: center;
	letter-spacing: 2px;
	border: solid black 1px;
}

.table th td {
	width: 100%;
	text-align: center;
	align-content: center;
	table-layout: fixed;
	border: 5px solid black;
}

tr th td {
	padding: 15px;
}

th {
	background: #F0EFEF;
}

button {
    padding: 7px 20px;
    background-color: #FF9DA8;
    color: white;
    border: none;
    border-radius:18px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
	font-family: "Unkempt", cursive;
        }

button:hover {
    background-color: #CAFFBF;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
        }

button:active {
    transform: translateY(0);
        }

article {
	max-width: 800px;
	margin: 0 auto;
}

.img-container {
	display: inline-flex;
	padding-bottom: 30px;
}

footer {
	font-family: "Patrick Hand SC", cursive;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	margin-bottom: 100px;
}

.bottom {
	position: relative;
}

.curve2 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.curve2 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 150px;
}

.curve2 .shape-fill {
    fill: #FFC79A;
}

/* fonts */

.patrick-hand-sc-regular {
  font-family: "Patrick Hand SC", cursive;
  font-weight: 400;
  font-style: normal;
}


.bubblegum-sans-regular {
  font-family: "Bubblegum Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.unkempt-regular {
  font-family: "Unkempt", cursive;
  font-weight: 400;
  font-style: normal;
}

.unkempt-bold {
  font-family: "Unkempt", cursive;
  font-weight: 700;
  font-style: normal;
}
