/* Style Settings */
/*@import url('https://fonts.googleapis.com/css?family=Karla:400,700&display=swap');*/
:root {
	--bgColor: white;
	--accentColor: white /*#9bff00/*#30cf8c*/;
	--accentColor2: black;
	--accentColor3: #e1d3b6; /*#54E47A;*/
	--accentColor4: #062e77;
	--font: "Playfair Display";
}

html,
body {
	height: 100%;
	margin: 0;
	padding: 0;
}

body {
	background-color: var(--bgColor);
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: center;
}

#userPhoto {
	width: 96px;
	height: 96px; /*96*/
	margin: 5px auto 5px;
	border-radius: 50%;
	border: 3px;
	/* border-radius: 100%; */
	border-style: solid;
	border-color: var(--bgColor);
}

#userName {
	color: black;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.25;
	display: block;
	font-family: var(--font);
	width: 100%;
	text-align: center;
	text-decoration: none;
}

#links {
	max-width: 675px;
	width: auto;
	display: block;
	margin: 5px auto;
}

.link {
	display: block;
	background-color: var(--accentColor);
	color: black;
	font-family: var(--font);
	text-align: center;
	margin-bottom: 20px;
	padding: 17px;
	text-decoration: none;
	font-size: 1.25rem;
	font-weight: bold;
	transition: all 0.25s cubic-bezier(0.08, 0.59, 0.29, 0.99);
	border: solid var(--accentColor2) 2px;
}

.link:hover {
	background-color: var(--accentColor3);
	color: var(--accentColor4);
}

.iframe-container {
	overflow: hidden;
	/* 16:9 aspect ratio */
	padding-top: 1000%;
	position: relative;
}

.iframe-container iframe {
	border: 0;
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
}

.unstyled-button {
	border: none;
	padding: 0;
	background: none;
}

.iconic {
	display: inline-block;
	position: relative;
	z-index: 1;
	padding: 0 0em 0 0em;
}

/*@media not screen and (min-width: 899px){

  .iconic {
    margin: 0 -2em;
  }
}

@media (min-width: 30em) and (orientation: landscape){
  .iconic {
      margin: 0 2em;
    }


  }
*/
/*https://stackoverflow.com/questions/11078509/how-to-increase-the-clickable-area-of-a-a-tag-button#:~:text=That%20said%2C%20if%20you%20really,a%20).&text=z%2Dindex%20can%20be%20used,of%20any%20text%20that%20follows./

/* only animate if the device supports hover */
@media (hover: hover) {
	#creditcard {
		/*  set start position */
		transform: translateY(110px);
		transition: transform 0.1s ease-in-out;
		/*  set transition for mouse enter & exit */
	}

	#money {
		/*  set start position */
		transform: translateY(180px);
		transition: transform 0.1s ease-in-out;
		/*  set transition for mouse enter & exit */
	}

	button:hover #creditcard {
		transform: translateY(0px);
		transition: transform 0.2s ease-in-out;
		/*  overide transition for mouse enter */
	}

	button:hover #money {
		transform: translateY(0px);
		transition: transform 0.3s ease-in-out;
		/*  overide transition for mouse enter */
	}
}

@keyframes bounce {
	0% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-0.25rem);
	}
	100% {
		transform: translateY(0);
	}
}

.button:hover .button__text span {
	transform: translateY(-0.25rem);
	transition: transform 0.2s ease-in-out;
}

/* styling */

.button {
	border: none;
	outline: none;
	padding: 1rem 90px 1rem 2rem;
	position: relative;
	border-radius: 8px;
	letter-spacing: 0.7px;
	background-color: var(--accentColor3);

	color: var(--accentColor4);
	font-size: 1.25rem;
	font-family: var(--font);
	font-weight: bold;
	cursor: pointer;
	box-shadow: rgba(0, 9, 61, 0.2) 0px 4px 8px 0px;
}

.button:active {
	transform: translateY(1px);
}

.button__svg {
	position: absolute;
	overflow: visible;
	bottom: 6px;
	right: 0.2rem;
	height: 4.7em;
}

.social-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 10px;
	margin-bottom: 20px;
}

#donate-btn {
	display: block;
	width: 100%;
	text-align: center;
}

.links {
	max-width: 675px;
	width: 100%;
}

.links h3 {
	font-weight: bold;
	text-align: center;
	margin-top: 1.5em;
	margin-bottom: 1.5em;
	font-size: 1.4em;
	letter-spacing: 0.02em;
}

main {
	flex: 1 0 auto;
	padding-bottom: 20px; /* Prevents footer overlap */
}

/* Collapsible Archive Section */
.archive-header {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	position: relative;
}

.archive-header h3 {
	margin: 1.5em 0;
}

.toggle-btn {
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	cursor: pointer;
	font-size: 1.8em;
	font-weight: bold;
	padding: 0 10px;
	line-height: 1;
}

.collapsible-content {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.2s ease-out;
	width: 100%;
}

.collapsible-content.open {
	max-height: 10000px;
}
/* End of collapsible archive section */

/* Footer styling */
footer {
	width: 100%;
	background-color: #e1d4b6;
	padding: 20px 15px;
	border-top: 1px solid #e0e0e0;
}

.footer-content-wrapper {
	max-width: 700px;
	margin: 0 auto;
	text-align: center;
}

.footer-text {
	font-size: 0.875rem;
	color: #333;
}

.footer-text a {
	color: #2e4989;
	text-decoration: none;
	font-weight: 500;
}

.footer-text a:hover {
	text-decoration: underline;
}
/* End footer styling */
