/* CSS Document */


:root {
	--accent-color: black; 
/*	--accent-color: brown; */
	--background-color: white;
	--grey: #999;
}


* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Body takes full viewport height, background color optional */
body {
  font-family: "Passion", serif; 
  line-height: 1.6;
  padding: 40px;       /* generous margin */
  display: flex;
  flex-direction: column; /* stack content vertically */
  align-items: center;    /* center horizontally */
  background-color: var(--background-color); /* optional background */
  min-height: 100vh;
	justify-content: center;
}

/* Wrapper for each section */
#welcome, #schedule, #registry {
  max-width: 600px;     /* prevent overly wide text */
  width: 100%;
  text-align: center;   /* center the text */
	margin-top: 100px;
	margin-bottom: 100px;
/*  margin-bottom: 40px;   space between sections */
}

#welcome {
	margin-top: 150px;	
}

/* Headings */
h1 {
  font-size: 3rem;
  margin-bottom: 20px;
	color: var(--accent-color);
}

h2 {
  font-size: 2rem;
  margin-bottom: 30px;
		color: var(--accent-color);
}

/* Paragraphs */
p {
  font-size: 1.2rem;
  margin-bottom: 10px;
		color: var(--accent-color);
}

/* Links */
a {
	color: var(--accent-color);
  text-decoration: none;
  font-weight: bold;
}

a:hover {
  text-decoration: underline;
}

.pw-container {
  text-align: center;
  max-width: 300px;
  width: 100%;
}

.date {
	font-weight: 600;
	font-size: 0.9em;
}

.small {
	font-size: .9em;
}

.line {
  border: none;
  border-top: .5px solid #ccc;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  width: 100%;
}

/* Form layout: input + button inline */
#pwForm {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
	margin-left: 50px;
	margin-right: 50px;
}

/* Input styling */
#pw {
  width: 100%;
	font-family: "Passion", serif;
	flex: 1;
  padding: 10px 15px;
  font-size: 1rem;
  border: none;
  border-radius: 10px;
  background-color: #eee;
  outline: none;
}

#pw::placeholder {
	color: var(--grey);
	font-family: "Passion", serif; 
	font-size: 1em;
}

/* Arrow button styling */
.arrow-btn {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background-color: var(--accent-color); /* grey by default */
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, box-shadow 0.2s;
  padding: 0;
}

/* Disabled state: grey + no hover */
.arrow-btn:disabled {
  background-color: #eee;  /* greyed out */
  cursor: default;
  box-shadow: none;        /* no hover shadow */
  pointer-events: none;    /* prevents accidental clicks */
}

/* Enabled state hover effect */
.arrow-btn:not(:disabled):hover {
/*  background-color: var(--accent-color);  example accent color */
  box-shadow: 0 4px 8px rgba(0,0,0,0.25);
}

.arrow-btn:disabled .triangle {
  border-left-color: var(--grey); /* muted triangle color */
}

/* Triangle inside the button */
.triangle {
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid white; /* triangle color */
}

/* Error message */
#error {
  color: var(--grey);
  margin-top: 15px;
  font-size: 1rem;
}


@font-face {
  font-family: "Passion";
  src: url("fonts/Passion.woff2") format("woff2"),
       url("fonts/Passion.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}


.doodle {
  display: block;
	position: absolute;
  width: 200px;         /* adjust size as needed */
  height: auto;
  z-index: -1;          /* behind content */
  pointer-events: none; /* lets users click through */
  transition: transform 0.5s ease; /* for future rotation animation */
}


.doodle-1 {
  top: 40%;
  left: calc(50% - 400px);
}

.doodle-2 {
  top: 40%;
  right: calc(50% - 400px);
}

/* Hide on small screens */
@media (max-width: 767px) {
  .doodle {
    display: none;
  }
}

