:root {
	--primary-color: #41B6E6;
	--secondary-color: #D01C65;
	--text-color-blue: #005587;
}

body {
	font-family: 'Georgia', serif; 
	padding: 0;
	margin: 0;
}

h1, h2, h3, h4, h5, h6, .button, .emailFormInputWrapper>label, #customFormsiteEmailForm>label, #emailCheckboxLabel, button, #loading-icon {
	font-family: "Rubik", Arial;
	font-optical-sizing: auto;
	font-weight: 500;
}
#indexContainer {
	width: 100%;
	height: 100vh;
	background-color: #ffffff;
	background-size: 105% auto;
	background-position: top left;
	margin-left: 0px;
	padding-left: 0px;
	overflow-x: hidden;
}

#flash-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: white;
	opacity: 0;
	pointer-events: none; /* Prevent interaction */
	z-index: 9999; /* Ensure it’s above other elements */
	transition: opacity 0.4s ease-out; /* Smooth fade-out effect */
  }

#loading-icon {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 24px;
	color: #ffffff;
	background: rgba(0, 0, 0, 0.7);
	padding: 100% 100%;
	border-radius: 5px;
	z-index: 1000;
	display: none;
	text-shadow: 2px 2px 4px #786452, -2px -2px 4px #786452, 2px -2px 4px #786452, -2px 2px 4px #786452;
  }

#intro-screen {
	text-align: center;
	padding: 2rem;
}
@media screen and (max-width: 500px) {
	#intro-screen {
		background-image: url("../images/splash-background.png");
		background-size: contain;
		background-repeat: no-repeat;
		background-position: center;
	}
}

#indexHeader {
	text-align: center;
}

.paragraph {
	font-size: 22px;
}

#startButton ,#start-heart-button, #saveCannedMessage, #addSelfieButton, #skipSelfieButton, #donateButton, #addMessageButton , #skipMessageButton, #cannedCustomToggle, .editHeartButton, #emailFormSubmitButton, #continueButton {
	font-size: 24px;
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
	padding: 2rem;
	width: 100%;
	max-width: 300px;
}

#startButton ,#start-heart-button, #saveCannedMessage, #addSelfieButton,  #donateButton, #addMessageButton , #donateButton, #emailFormSubmitButton {
	background-color: var(--secondary-color);
}

#selfie-photo {
	max-width:90%;
	margin:5%;
}

#skipSelfieButton, #skipMessageButton, .editHeartButton, #continueButton, #cannedCustomToggle {
	background-color: var(--primary-color);
}

.editHeartButton {
	margin: 10px;
	max-width: 600px;
}

#ToU {
	text-decoration: underline;
	color: #1773F0;
}
.chopCornerLogo {
	width: 250px;
  	height: 250px;
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 1;
	background-repeat: no-repeat;
	pointer-events: none;
}
#chopHomeCornerLogo {
	background-image: url("../images/chop.svg");
}
#chopHeartModalCornerLogo {
	background-image: url("../images/chop-white.svg");
}
#heartModalTitleContainer {
	width: 100%;
	display: flex;
	justify-content: flex-end;
	margin: 40px 0px 0px 0px;
}
#heartModalTitleContainer h1 {
	display: none;
	color: white;
	font-size: 25px;
	font-weight: lighter;
	margin: 0px;
}

.buttonContainer {
	display: flex;
	justify-content: center;
	align-items: center;
	position: absolute;
	z-index: 1;
	bottom: 25px; 
	right: 0px; 
	width: 100%;
}
#heartButton, #clearButton, #acceptButton, #selfie-exit, #screenshot-button,#retakeSelfieButton, #acceptSelfieButton {
	display: flex; 
	width: 100px; 
	height: 100px;
	max-width: 100px;
	font-size: 100px;
    background-repeat: no-repeat;
    background-position: center;
	
	background-color: transparent;
	border: none;
}

#heartButton, #screenshot-button {
	background-image: url("../assets/plusButton.svg");
	background-size: 75px 75px;
	max-width: 100px;
}
 #screenshot-button {
	background-image: url("../assets/cameraBtn.svg");
	background-size: 75px 75px;
	max-width: 100px;
}

#heartButton {
	display: none;
	/* display: flex; */
	background-image: url("../assets/plusButton.svg");
	background-size: 59.41px 59.41px;
	max-width: 59.41px;
	padding: 0;
	border: none;
	padding: 0px 40px;
}
#donateButton, #continueButton {
	display: none;
	justify-content: center;
	flex-grow: 1;
	max-width: 300px;
	margin: 0px 35px;
}

#donateButton {
	margin-left: 10px;
}

#heartModal, #formModal {
  display: none;
  transform: scale(0.95);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

#heartModal.show, #formModal.show {
	display: flex;
	opacity: 1;
	transform: scale(1);
  }


#heartModalButtonContainer {
	position: absolute;
	bottom: 20px;
	left: 0%;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	margin: 0px 10px;
}
#selfieButtonContainer, #messageButtonContainer {
	display: none;
}

#toggleButtonsContainer {
	display: flex;
	gap: 10px
}


#selfieButtonContainer, #messageButtonContainer, #toggleButtonsContainer {
	width: 100%;
	position: absolute;
	bottom: 20px;
	align-items: center;
	width: 100vw;
	justify-content: center;
	flex-direction: column;
}

@media only screen and (max-height: 569px){
	#toggleButtonsContainer {
		position: inherit;
	}
}


#selfieButtonContainer button , #messageButtonContainer button {
	max-width: 300px;
	margin-top: 10px;
}


.drawingCanvasStyle {
    width: 100%; 
	height: 100%;
}

.instructionContainer {
	position: absolute;
	z-index: 1;
	inset: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	height: auto;
}

@media screen and (max-height: 700px){
	.instructionContainer {
		overflow-y: scroll;
	}
	
}

.instruction {	
	text-align: center;
	color: white;
	font-size: 42px;
	padding: 35px;
	text-shadow: 2px 2px 4px #786452, -2px -2px 4px #786452, 2px -2px 4px #786452, -2px 2px 4px #786452;
}
/* Not the best solution, but font is too large on smaller phones, like SE */
@media only screen and (max-width: 500px){
	.instruction {
		font-size: 32px;
	}
}
#instruction1 {
	display: block;
	max-width: 80%;
    max-height: 80%;
}

#fingerTapIcon {
	min-width: 150px;
  	max-width: 300px;
	transform: translate(5%, 0px) rotate(-11deg);
}
@media only screen and (max-width: 500px){
	#instruction1 {
		margin-top: 50px;
	}
}
#instruction2 {
	display: none;
}

.modal {
	display: none; 
	position: fixed; 
	z-index: 3;
	left: 0;
	top: 0;
	width: 100%; 
	height: 100%; 
	overflow: auto; 
	transition: opacity 3s ease;
	overflow: hidden;
}

@media only screen and (max-height: 675px){
	.modal {
		overflow-x: hidden;
		overflow-y: scroll;
	}
}
.modal.show {
	z-index: 4;
}

.modal-content {
	background-color: #fefefe;
	border: 1px solid #888;
}

/*** Email Form Modal */
#asyncEmailFormModal {
	background-color: #fff;
}
#customFormsiteEmailForm {
	display: flex;
	flex-direction: column;
	margin: 0 15px;
	justify-content: space-between;
}
#customFormInputContainer {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}
#emailFormHeader {
	margin: 40px 20px 0px 20px;
}
#emailFormHeader p {
	font-size: 1.5em;
	color: var(--text-color-blue);
}
#emailFormSubmitButtonContainer {
	position: fixed;
	left: 0;
	bottom: 20px;
	width: 100%;
	max-width: 300px;
	display: flex;
	justify-content: center;
	left: 50%;
	transform: translateX(-50%);
}
#emailFormSubmitButton {
	max-width: 380px;
}
#emailFormUpdateText {
	margin: 10px;
}
#emailFormUpdateText p {
	font-size: 1rem;
	color: var(--text-color-blue);
}
.customInput {
	height: 50px;
	width: 100%;
	box-sizing: border-box;
	font-size: 19px;
	margin: 10px 0px;
	color: var(--text-color-blue);
}
/* Email Form Modal - Mobile */
@media screen and (max-width: 500px) {
	#customFormsiteEmailForm {
		height: 55%;
	}
	#emailFormHeader p {
		font-size: 1.75em;
		font-weight: 700;
		line-height: 120%;
		text-align: center;
		background-image: url(../images/email-form-background-top.png);
		background-repeat: no-repeat;
		background-origin: padding-box;
		background-position: center;
		background-size: contain;
		margin: 0;
		padding: 30px 0 40px;
	}
	#emailFormUpdateText {
		position: relative;
		text-align: center;
		background-image: url(../images/email-form-background-bottom.png);
		background-repeat: no-repeat;
		background-origin: padding-box;
		background-size: contain;
		background-position: top;
		flex-grow: 1;
		margin: 0;
		padding: 0;
		height: 100%;
	}
	#emailFormUpdateText p {
		font-size: 0.85rem;
		position: absolute;
		display: block;
		text-align: left;
		width: 60%;
		top: 45%;
		color: #000;
	}
}
@media screen and (max-width: 500px) and (max-height: 740px) {
	#emailFormHeader p {
		font-size: 1.25em;
		padding: 20px 0 30px;
	}
	#emailFormUpdateText p {
		font-size: 0.8rem;
		top: 50%;
	}
}

#thankYouVideoModal {
	display: none;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: #000;
	z-index: 999;
}
#closeThankYouVideoModal {
	display: block;
	position: absolute;
	right: 30px;
	z-index: 999;
	font-size: 50px;
}

#cannedModalContent {
	max-height: calc(100vh - 180px);
	width: 100%;
	display: flex;
	justify-content: space-evenly;
	flex-direction: column;
	align-items: center;
	background: transparent;
	border: none;
}
#cannedModalContent h2, #cannedModalContent p {
	color: white;
	text-shadow: 2px 2px 4px #786452, -2px -2px 4px #786452, 2px -2px 4px #786452, -2px 2px 4px #786452;
}
#customMessage {
	max-width: 300px;
  	width: 100%;
	height: 150px;
	font-size: 18px;
	color: var(--text-color-blue);
}

#charCount {
	color: white;
	margin: 5px 0px 15px 0px;
}

#messageScrollerContainer {
	display: flex;
	max-width: calc(100vw - 20px);
	justify-content: center;
	align-items: center;
}

.close, #closeThankYouVideoModal {
	color: #aaa;
	float: right;
	font-weight: bold;
	right: 10px;
	position: absolute;
}
.close {
	font-size: 28px;
}
.close:hover,
.close:focus, #closeThankYouVideoModal:hover, #closeThankYouVideoModal:focus {
	text-decoration: none;
	cursor: pointer;
}
.close:hover,
.close:focus {	
	color: black;
}
 #closeThankYouVideoModal:hover, #closeThankYouVideoModal:focus {
	color: #fff;
 }
.editHeartButtonContainer {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	flex-direction: column;
	height: 100%;
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
}



.drawingContainer {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100vw;
	height: 100vh;
}

#instructionalDrawingContainer {
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
}
.preSelectionContainer {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
}
.option-button {
	flex: 1 0 50%;
	display: block;
	margin: 10px 0;
	padding: 10px;
	max-width: 50%;
	color: white;
	border: none;
	border-radius: 5px;
	font-size: 16px;
	cursor: pointer;
	text-align: center;
}
.option-button:hover {
	background-color: var(--primary-color);
}
.modalContent {
	width: 100%;
	height: 100%;
	background-color: transparent;
}
#iframeModalContent {
	background-color: #fff;
}


.emailFormInputWrapper {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}
.emailFormInputWrapper>label, #emailCheckboxLabel {
	font-size: 20px;
	margin-bottom: 5px;
}

#drawingModalBackground {
	display: none;
	position: absolute;
	top: 0;
	left:0;
	z-index: 2;
	width: 100%;
	height: 100%;
	background-color: rgba(51,51,51,0.8);
}


#drawingModalContent, #messageButtonContainer {
	display: none;
}

.colorPromt{
		position: fixed;
		width: 100vw;
		height: 100vh;
		top: 70%;
		left: 0;
		z-index: 100;
		background: transparent;
		  pointer-events: none;
		display: flex;
		justify-content: center;
	}
	.colorPickerContainer{
		display: flex;
		justify-content: center;
		align-items: start;	
	}

#dBlueBall, #lBlueBall, #pinkBall, #greenBall, #whiteBall {
    position: initial; /* Consider if 'initial' is the intended value */
    cursor: pointer;
    pointer-events: auto;
    min-width: 50px;
    min-height: 50px;
    max-width: 50px; 
    max-height: 50px;
    border-radius: 50%; /* This creates a circle */
    border: none; 
    outline: none; 
    padding: 0; /* You can omit 'px' here, as zero is unitless */
}

#dBlueBall{
		background-color: #032440;
}
#lBlueBall{
		background-color: #2196F3;
}
#pinkBall{
		background-color: #eb16a7;
}
#greenBall{
		background-color: #4CAF50;
}
#whiteBall{
		background-color: #fff;
}

.modalClose, #formModalClose {
	color: #aaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
}


#clearButton, #acceptButton,  #selfie-exit ,#screenshot-button, #retakeSelfieButton, #acceptSelfieButton {  /* This centers the button horizontally */
    padding: 10px 20px;
    font-size: 16px;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#clearButton, #selfie-exit, #retakeSelfieButton, #modalClose {
	background-size: 75px 75px;
	background-image: url("../assets/xButton.svg");
}
#selfie-exit {
	margin-left:auto;
}
#screenshot-button {
	position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
#acceptButton, #acceptSelfieButton {
	background-size: 90px 90px;
	background-image: url("../assets/checkButton.svg");
}
#clearCameraButton, #acceptCameraButton {  /* This centers the button horizontally */
    padding: 10px 20px;
    font-size: 16px;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#clearCameraButton {
	background-size: 75px 75px;
	background-image: url("../assets/xButton.svg");
}
#acceptCameraButton {
	background-size: 90px 90px;
	background-image: url("../assets/checkButton.svg");
}
#photo {
	width: 100%;
}

#cameraModalButtonContainer , #cameraButtonChoiceContainer {
	position:absolute;
	background:black;
	bottom:0;
	display: flex;
	justify-content: space-between;
	right:0;
	left:0;
}
#cameraButtonChoiceContainer {
	background:none;
	justify-content: center;
}
#cameraChoiceModal {
	background:rgba(0, 0, 0, 0.826)
}

.modalClose:hover,
.modalClose:focus {
	color: black;
	text-decoration: none;
	cursor: pointer;
}
.iframeFormContainer {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100vw;
	height: 100vh;
}

iframe {
	width: 100%;
	height: 100%;
	border: none;
}


#generateHeart>h2, #drawingInstruction {
	padding-top:50px;
	color:#fff;
	text-align: center;
	margin: 0px 10px;
}

#generateHeart #start-heart-button  {
	width: 100%;
	max-width: 300px;
    display: block;
	position: fixed; 
    bottom: 1rem; 
    left: 50%; 
    transform: translateX(-50%); 
}


/* Temp CSS*/


  /* Modal Content */
  #heartModal, .modal-content {
	background-color: rgb(65 182 230 / 72%);
	background-size: 105% auto;
	text-align: center;
	height:100%;
	width: 100%;
  }
  
  /* Close Button */
  #heartModal .close {
	color: #ffffff;
    float: right;
    font-size: 60px;
    line-height: 0px;
    font-weight: bold;
    padding: 0px;
    margin-bottom: 20px;
	height: 50px;
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 1;
	background-repeat: no-repeat;
	display: flex;
	justify-content: center;
	align-items: center;

  }

  #heartModal {
  	flex-direction: column;
	align-items: flex-end;
  }
  
  #heartModal .close:hover,
  #heartModal .close:focus {
	color: black;
	text-decoration: none;
	cursor: pointer;
  }
 
  /* Image Styling */
	.modal-content>img, #heartModalImage {
	width: 100%;
	height: 33vh;
	width: auto;	
	max-width: calc(100vw - 20px);
    object-fit: cover;
    border-radius: 10px;
  }
  
  /* Header Text */
  #heartModal .header-text {
	font-size: 1.2rem;
	color: #fff;
	padding: 5px;
	position: relative;
	font-weight: bold;
	letter-spacing: 1px;
  }
  
  /* Message Text */
  #heartModal .message {
	/*margin: 10px 0;*/
	font-size: 2.5rem;
	color: #fff;
	/*padding: 10px;*/
	border-radius: 5px;
	
  }
  
  /* Icon Bar */
  #heartModal .icon-bar {
	display: flex;
	justify-content: center;
	gap: 20px;
	margin-top: 10px;
	/*position: absolute;
	bottom: 10px;
	right:0;
	left:0;*/
  }
  
  #heartModal .icon {
	font-size: 5rem;
	color: #fff;
	cursor: pointer;
  }

  #shareIcon {
	display: flex;
	align-items: center;
	justify-content: center;
  }

  #shareIcon img, #heartIcon img {
	height: 70px;
  }

  #editIcon {
	display: none;
  }

  #heartModalMainContent {
	max-height: calc(100vh - 70px);
	min-height: 100%;
	width: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-evenly;
  }

  #heartModalMessage {
	max-width: 530px;
  }
  
  #swap-cam-btn {
	bottom: 3vh;
  }
  .toggle {
	width: 16vw;
	height: 10vh;
	left: 50%;
	transform: translateX(-50%);
	position: absolute;
	font-size: medium;
	font-family: sans-serif;
	color: white;
	background-color: #fff;
	border: none;
	border-radius: 60px;
	z-index: 10;
  }

  #slider-container {
    width: 300px;
    height: 150px;
	max-height: 200px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

#slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
    width: 100%;
	border: none;
	box-sizing: border-box;
}

.slide {
    flex: 0 0 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: #fff;
    padding: 27px; /* Add padding inside the slide */
    text-align: center; /* Center align the text */
	border-radius: 30px;
	box-sizing: border-box;
	color: var(--text-color-blue);
}

#dots {
    margin-top: 10px;
    display: flex;
    justify-content: center;
}

.dot {
    width: 10px;
    height: 10px;
    margin: 0 5px;
    border-radius: 50%;
    background:#fff;
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: var(--primary-color);
}

.chevron {
	height: 100%;
	display: flex;
	align-content: center;
	justify-content: center;
	flex-direction: column;
    background: transparent;
    border: none;
    font-size: 25px;
    cursor: pointer;
    z-index: 2;
	color: var(--primary-color);
	font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
}

#prev-btn {
    left: 5px;
}

#next-btn {
    right: 5px;
}

.accentHeartColor {
	fill: var(--secondary-color);
}
.primaryHeartColor {
	fill: #fff;
}