/* GIT480 Senior Project: Angela Cash */
/* Validated 12/4/2025: https://jigsaw.w3.org/css-validator/#validate_by_input */
/* #region || Variables */
:root {
/* ------- COLORS ------- */
	--dkpurple: #561b75;
	--transparent-purple: #561b7580;
	--mdpurple: #ca95e7;
	--ltpurple: #ead5f5;
	--highlight: #0000E0;
    --black: #000000;
    --white: #ffffff;

/* ------- FONT ------- */
	--pri-font: "latienne-pro", serif;
	--sec-font:  "adorn-smooth-slab-serif", serif;
	--titles: "adorn-smooth-condensed-sans", sans-serif;

	--light: 300;
	--regular: 400;
	--bold: 700;
}
/* #endregion || Variables */

/* #region || Skip Link Styles */
#skip {
	position: absolute;
	left: -10000px;
	top: auto;
	height: 1px;
	width: 1px;
	overflow: hidden;
}
#skip:focus {
		position: static;
		width: auto;			
		height: auto;
}
/* #endregion || Skip Link Styles */

/* #region || Hidden Content Styles */
.sr-only {
	position: absolute;
	left: -10000px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
/* #endregion || Hidden Content Styles */

/* #region || General Styles */
/* ------- GENERAL STYLES -------*/
html {
	box-sizing: border-box;
	background: linear-gradient(var(--dkpurple),var(--mdpurple),var(--dkpurple));
	height: 100dvh;
	background-repeat:repeat-y;
	color: var(--dkpurple);
}
header {
	background-color: var(--ltpurple);
	display: grid;
	grid-template-columns: 1fr 5fr;
	align-items: center;
	justify-items: center;
	align-content: space-between;
	padding: 5px;
}
body {
	max-width: 1200px;
	margin: 0 auto;
	line-height: 1.6;
	background-color: white;
	font-size: 1rem; 
	font-family: var(--pri-font);
	font-weight: var(--regular);
}
hr {
	border: none;
	border-top: 3px double var(--dkpurple);
	overflow: visible;
	height: 5px;
}
a {
	font-size: 24px;
	text-decoration: none;
	color: var(--dkpurple);
	font-weight: var(--regular);
}
a:focus, button:focus, input:focus {
	outline: 4px solid var(--dkpurple);
}
a:hover {
	color: var(--dkpurple);
	font-weight: var(--bold);
}
h1, h2, h3, h4, h5 {
	font-family: var(--pri-font);
	color: var(--dkpurple);
	text-align: center;
}
h1 {
	font-size: 2.5em;
	font-weight: var(--bold);
}
h2 {
	font-size: 1.5em;
	font-weight: var(--bold);
}
h3 {
	font-size: 1.17em;
	font-weight: var(--bold);
}
h4 {
	font-size: 1em;
	font-weight: var(--bold);
}
h5 {
	font-size: .83em;
	font-weight: var(--bold);
}
main {
	margin: 50px auto;
	padding: 20px;
}
#primary p {
	margin: 0 auto;
	max-width: 450px;	
}
p {
	padding: 10px;
}
#main-content .dfj-button {
	margin: 10px auto;
}
/* ------- GENERAL CLASSES ------- */
.center {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 20px;
}
.flex {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
}
.active {
	color: var(--dkpurple);
	font-weight: 700;
}
.shrink {
	max-width: 300px;
	height: auto;
}
.bold {
	font-weight: 700;
	text-decoration: underline;
}
.spacing {
	margin: 30px 0;
	max-width: 70vw;
	text-align: start;
	align-items: center;
	margin: 0 auto;
}
.border-effect {
	border: 4mm ridge var(--mdpurple);
}
#back-to-top {
	display: none;
	position: fixed;
	bottom: 60px;
	right: 40px;
	padding: 10px;
	color: var(--dkpurple);
	border-radius: 15px;
	background-color: var(--ltpurple);
	box-shadow: inset 2px 2px 3px rgb(255 255 255 / 0.6);
	transition: all .3s ease-in-out;
	z-index: 1000;
	cursor: pointer;
	border-style: inset;
	max-width: 120px;
	font-size: 1em;
}
#back-to-top.show {
	display: block;
	opacity: 1;
}
/* ------- BUTTON STYLES (General Styles) ------- */
.dfj-button {
	display: block;
	margin: 0 auto;
	border: 0;
	line-height: 2;
	padding: 10px;
	font-size: 1em;
	text-align: center;
	color: white;
	border-radius: 15px;
	background-color: var(--dkpurple);
	box-shadow: inset 2px 2px 3px rgb(255 255 255 / 0.6);
	transition: all .3s ease-in-out;
	width: fit-content;
}
.dfj-button:hover {
	background-color: var(--white);
	color: var(--dkpurple);
	outline: 2px solid var(--dkpurple);
}
.dfj-button:active {
	box-shadow:
	inset -2px -2px 3px rgb(255 255 255 / 0.6),
	inset 2px 2px 3px rgb(0 0 0 /0.6);
}
/* ------- BUTTON STYLES END ------- */
/* ------- NAVIGATION (General Styles) ------- */
nav {
	display: block;
	width: 100%;
}
#mainnav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
/* For nav input checkbox */
#dropdown {
	position: absolute;
	left: -9999px;
	top: -9999px;
}
/* ------- NAVIGATION END------- */
/* ------- HOMEPAGE (General Styles) ------- */
#secondary {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}
/* ------- HOMEPAGE END ------- */
/* ------- STUDIO (General Styles) ------- */
.grid-container {
	display: grid;
	grid-template-rows: repeat(1, 1fr);
}
.video-wrapper {
	position: relative;
	width: 80%;
	height: 0;
	padding-bottom: 56.25%;
	overflow: hidden;
	margin: 0 auto;
}
.video-wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: none;
}
.left p, .right p, #primary p {
	width: 100%;
	padding: 15px 0 15px 0;
	height: fit-content;
}
.right img {
	width: 50%;
	height: auto;
}
.person {
	padding: 10px 10px 0 10px;
	text-align: center;
	box-shadow: var(--transparent-purple) 2px 2px 8px 2px;
	border-radius: 15px;
	margin: 10px auto;
	height: fit-content;
	line-height: 1;
}
.person p:nth-child(2) {
	font-size: 1.2em;
	font-weight: var(--bold);
}
.person p:nth-child(3) {
	font-size: 1em;
	font-weight: var(--regular);
}
#career {
	text-align: center;
	height: 150px;
	width: 400px;
	margin: 0 auto;
	line-height: 1;
	padding-top: 10px;
}
/* ------- STUDIO END ------- */
/* ------- CLASSES ------- */
#genre-gallery .genre {
	display: flex; 
	flex-direction: column;
	text-align:start;
	border-radius: 15px;
}
/* ------- PROGRAMS (General Styles)------- */
.summer-images {
	display: flex;
	flex-direction: column;
	width: 100%;
	gap: 20px;
	margin-top: 25px;
}
.programs-intro {
	background-color: #FFFFFFBB;
}
.programs-intro h4 {
	margin: 0 auto;
	font-weight: var(--bold);
	font-family: var(--pri-font);
}
.programs-intro ul {
	list-style: none;
	
}
.bus-container img {
	border-radius: 0;
	display: none;
}
.busright h3 {
	color: var(--dkpurple);
	font-family: var(--pri-font);
	font-size: 1.8em;
}
/* ------- PARTIES (General Styles) ------- */
.party {
	padding: 15px;
	box-shadow: var(--transparent-purple) 7px 7px 15px 7px;
	background-color: var(--white);
	color: var(--dkpurple);
	border-radius: 15px;
	margin: 10px auto;
	line-height: 1;
	display: flex;
	flex-direction: column;
}
.card {
	background-color: var(--ltpurple);
	color: var(--dkpurple);
	padding: 20px;
	border-radius: 15px;
	outline: 5px solid var(--dkpurple); 
	font-family: var(--sec-font);
	font-weight: var(--regular);
}
/* ------- JOY COMPANY (General Styles) ------- */
.company {
	padding: 10px 20px 10px 20px;
	text-align: center;
	box-shadow: var(--transparent-purple) 4px 4px 12px 4px;
	background-color: var(--dkpurple);
	color: var(--white);
	border-radius: 15px;
	margin: 10px 50px;
	height: fit-content;
	line-height: 1;
}
.company p:nth-child(2) {
	font-size: 1.2em;
	font-weight: var(--bold);
}
.company p:nth-child(3) {
	font-size: 1em;
	font-weight: var(--regular);
}
#calendar h2, #calendar h3 {
	text-align: start;
}
/* ------- FAQ (General Styles) ------- */
  #faq-title {
	display: grid;
	grid-template-columns: 1fr;
	align-items: center;
	justify-content: center;
  }
 #faq-title img {
	max-height: 150px;
	border-radius: 0;
  }
  .magic-trick {
	display: none;
  }
  #faq-container {
	margin-left: 20px;
  }
  #faq-container img {
	border-radius: 0;
	max-width: 50vw;
  }
  #faq-container h3, #faq-container h4 {
	text-align: left;
  }
  details summary {
	padding: 10px;
	margin-left: 30px;
  }
  details div {
	margin-left: 25px;
	background-color: var(--ltpurple);
	padding: 15px;
	border-radius: 15px;
	margin-bottom: 20px;
  }

/* ------- FOOTER (General Styles)------- */
footer {
	line-height: 1.5em;
	text-align: center;
	background-color: var(--white);
	margin-top: 20px;
}
#flex-footer {
	display: flex;
	flex-direction: column;
}
footer a, footer address {
	color: var(--dkpurple);
	font-weight: var(--regular);
	font-size: 16px;
}
footer a:hover {
	color: var(--mdpurple);
}
#social-media {
	margin: 0 auto;
	padding-top: 50px;
}
#social-media a {
	padding: 5px;
}
#copyright {
	font-size: 14px;
	line-height: 1.2;
	text-align: center;
	margin-top: 50px;
	color: var(--black);
	background-color: var(--mdpurple);
	padding: 10px 0;
	text-transform: uppercase;
}
/* ------- FOOTER END ------- */
/* #endregion || General Styles */

/* #region || Mobile First */
#logo {
	grid-column: 1 / span 1;
	position: relative;
	top: 0;
	z-index: 9999;
}
/* ------- NAVIGATION (Mobile) ------- */
/* #portal is for Sign Up and Login links, to be placed in the dropdown menu  or top of screen*/
#dropmenu, #portal {
	overflow: hidden;
	max-height: 0;
}
#dropmenu ul {
	background-color: var(--ltpurple);
	top: 60px;
	width: 100%;
	text-align: center;
	left: 0;
	/*height: 100dvh;*/
}
#dropmenu ul li {
	padding: 30px;
}
#dropdown:checked ~ #dropmenu {
	display:block;
}
#dropdown:checked ~ #dropmenu ul {
	display: flex;
	flex-direction: column;
	position: absolute;
}
#mainnav > ul > li > a {
	position: relative;
	display: block;
	margin: 0 15px;
}
/*
#mainnav ul li a:hover {
	font-weight: var(--bold);
}
	*/
/* #region || Hamburger Menu & Animation (Mobile) from Mikael Ainalme ( https://codepen.io/ainalem/pen/LJYRxz?editors=1100 ) */
nav label {
	width: 115px;
	position: absolute;
	top: 0;
	right: 0;
}
.ham {
	cursor: pointer;
}
.hamRotate.active {
  transform: rotate(45deg);
}
.line {
  fill: none;
  transition: stroke-dasharray 400ms, stroke-dashoffset 400ms;
  stroke: var(--dkpurple);
  stroke-width: 5.5;
  stroke-linecap: round;
}
.ham .top {
  stroke-dasharray: 40 160;
}
.ham .middle {
  /*stroke-dasharray: 40 142;*/
  transform-origin: 50%;
  transition: transform 400ms;
}
.ham .bottom {
  stroke-dasharray: 40 85;
  transform-origin: 50%;
  transition: transform 400ms, stroke-dashoffset 400ms;
}
.ham.active .top {
  stroke-dashoffset: -64px; 
  stroke: var(--mdpurple);
}
.ham.active .middle {
  stroke-dashoffset: -20px;
  transform: rotate(90deg);
  stroke: var(--mdpurple);
}
.ham.active .bottom {
  stroke-dashoffset: -64px;
  stroke: var(--mdpurple);
}
/* #endregion || END OF HAMBURGER MENU */
/* ------- NAVIGATION (Mobile) (Cont.) ------- */
main {
	font-size: 18px;
}
main img { 
	max-width: 85vw;
	height: auto;
	border-radius: 55px;
	display: block;
	margin: 10px auto;
}
.intro {
	margin: 0 auto;
}
/* ------- INSTRUCTOR GALLERY (Mobile) ------- */
#instructors ul {
	margin-left: 50px;
}
#int-gallery {
	display: flex;
	flex-direction: column;
	align-items: center;
}
#int-gallery .person img {
	max-width: 65vw;
}
#int-gallery .person img:hover {
	transition: scale .3s ease-in-out;
}
/* ------- INSTRUCTOR GALLERY END (Mobile) ------- */
/* ------- JOY COMPANY GALLERY (Mobile) ------- */
#company-gallery {
	display: flex;
	flex-direction: column;
	align-items: center;
}
#company-gallery .company img {
	max-width: 75vw;
	box-shadow: 0px 10px 8px -8px rgb(255 255 255 / 0.6);
}
/* ------- CLASSES 768px ------- */
#genre-gallery {
	display: flex;
	flex-direction: column;
}
.genre p {
	padding: 10px;
}
/* ------- FOOTER (Mobile) ------- */
footer {
	font-size: 24px;
}
#contact {
	display: flex;
	flex-direction: column;
}
/* #endregion || Mobile First */

/* #region || Medium 768px */
@media screen and (min-width: 768px) {
/* ------- NAVIGATION 768px ------- */
#signupnav {
	position: absolute;
	top: -6px;
	left: 50%;
	transform: translateX(-50%);
	max-height: 100%;
	z-index: 9999;
}
#signupnav a {
	font-weight: var(--bold);
}
#dropdown:checked ~ #dropmenu #signupnav {
	transform: translateX(-50%) translateY(-52.7%);
}
/* ------- PAGES 768px ------- */
main img { 
	max-width: 75vw;
	height: auto;
}
.pri-content {
	display: flex;
	flex-direction: column;
}
.pri-content img {
	text-align: left;
}
blockquote {
	max-width: 350px;
	margin-left: 50%;
}
/* ------- STUDIO 768px ------- */
#int-gallery {
	display: flex;
	flex-direction: row;
	max-width: 900px;
	flex-wrap: wrap;
	gap: 50px;
	justify-content: center;
	margin: 0 auto;
}
#int-gallery .person img {
	width: auto;
	max-height: 300px;
}
#instructors ul {
	margin-left: 200px;
}
#primary p {
	margin: 0 auto;
	max-width:  75%;	
}
.grid-container {
	grid-template-columns: repeat(2, 1fr);
}
/* ------- CLASSES 768px ------- */
#genre-gallery {
	display: flex;
	flex-direction: row;
	max-width: 1100px;
	flex-wrap: wrap;
	gap: 25px;
	justify-content: space-around;
	margin: 25px auto;
	align-items: flex-start;
}
#genre-gallery h3 {
	font-size: 1.5em;
	padding: 0;
	margin: 0;
}
#genre-gallery .genre {
	width: 400px;
	padding: 10px;
	background-color: var(--ltpurple);
	border: solid 3px var(--dkpurple);
}
#genre-gallery .genre img {
	max-width: 350px;
}
.shrink-img {
	max-width: 300px;
	height: auto;
}
/* ------- PROGRAMS 768px ------- */
.summer-images {
	display: flex;
	flex-direction: row;
	gap: 20px;
	flex-grow: 1;
	max-width: 100%;
}
.summer-images img {
	flex: 1;
	min-width: 0;
	height: auto;
	width: 100%;
	object-fit: cover;
	border-radius: 8px;
}
.bus-container {
	position: relative;
}
.busright h3 {
	color: var(--dkpurple);
}
/* ------- JOY COMPANY 768px ------- */
#company-gallery {
	display: flex;
	flex-direction: row;
	max-width: 1100px;
	flex-wrap: wrap;
	gap: 50px;
	justify-content: center;
	margin: 0 auto;
}
#company-gallery .company img {
	width: auto;
	max-height: 250px;
}
/* ------- PARTIES 768px ------- */
.party {
	flex-direction: column;
	max-width: 33%;
}
#party-trio {
	display: flex;
	flex-direction: row;
	gap: 10px;
}
.party-intro {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: auto auto auto 1fr auto auto;
	max-width: 90%;
	justify-items: center;
}
.party-intro h3, .party-intro p:nth-child(2), .party-intro p:nth-child(3) {
	grid-column: 1 / span 2;
}
.party-info {
	grid-column: 1 / span 2;
	grid-row: 4 / span 1;
}
.party-intro img {
	grid-column: 1 / span 1;
	grid-row: 5 / span 2;
}
.party-intro h4 {
	grid-column: 2 / span 1;
	grid-row: 5 / span 1;
	font-size: 1.5em;
	font-family: var(--pri-font);
}
.party-intro p:nth-child(6) {
	grid-column: 2 / span 1;
	grid-row: 6 / span 1;
	margin: 0 auto;
}
#included {
	grid-column: 1 / span 1;
	grid-row: 4 / span 1;
}
#pricing {
	grid-column: 2 / span 1;
	grid-row: 4 / span 1;
}
/* ------- FAQ 768px ------- */
  #faq-title {
	display: grid;
	grid-template-columns: 10% 45% 10%;
	align-items: center;
	justify-items: center;
  }
  .magic-trick {
	display: block;
  }
/* ------- FOOTER 768px ------- */
#flex-footer {
	margin: 0 auto;
	display: flex;
	flex-direction: row;
}
#flex-footer section {
	margin: 0 auto;
	display: flex;
}
#connect {
	flex-direction: column;
	align-items: center;
}
#contact {
	flex-direction: column;
	align-items: end;
}
footer {
	font-size: 18px;
	margin-top: 15px;
}
}
/* #endregion || Medium 768px */

/* #region || Large 992px */
@media screen and (min-width: 992px) {
main {
	font-size: 24px;
}
/* ------- Classes 992px ------- */
.center {
	gap: 100px;
}
/* ------- NAVIGATION 992px ------- */
nav label {
	display: none;
}
nav a {
	font-size: 18px;
}
#mainnav {
	height: 50px;
}
#dropmenu {
	overflow: visible;
	max-height: 100dvh;
	justify-content: space-evenly;
}
#dropmenu ul {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
	background-color:transparent;
	height: 100px;
}
#dropmenu ul li {
	padding: 0;
}
#dropmenu ul li:not(:last-child) {
	position: relative;
	font-size: 16px;
	text-align: center;
	padding: 10px;
}
#dropmenu > ul > li > ul {
	flex-direction: column;
	height:max-content;
	width: 100%;
	padding-top: 10px;
}
#signupnav {
	position: absolute;
	top: 110px;
	z-index: 9999;
	background-color: transparent;
	transform: translateX(155%);
	width: fit-content;
}
/* ------- MAIN ------- */
#main-content .dfj-button {
	margin: 10px auto;
}
.pri-content {
	display: grid;
	grid-template-rows: 10% auto 12%;
	grid-template-columns: 1fr 1fr;
	margin: 40px 0;
}
.pri-content img {
	grid-row: 1 / span 3;
	max-height: 500px;
}
.pri-content h3 {
	grid-row: 1 / span 1;
	grid-column: 2 / span 1;
}
.pri-content p {
	grid-row: 2 / span 1;
	grid-column: 2 / span 1;
}
/* ------- 992px Styles ------- */
main {
	font-size: 18px;
}
main img { 
	max-width: 900px;
	height: auto;
}
#schedule > h3, #schedule > h4, #schedule > h5 {
	text-align: start;
}
#schedule img {
	max-width: 50vw;
}
blockquote {
	margin-left: 20%;
}
.busright {
	position: absolute;
	top: 0;
	left: 35%;
	font-size: 2em;
}
.busright h3 {
	color: white;
}
.bus-container img {
	border-radius: 15px;
	display:block;
}
#program-container {
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	gap: 25px;
}
.program-left, .program-right {
	flex: 2;
	text-align:start;
}
}
/* #endregion || Large 992px */

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}