*{
	margin: 0;
	padding: 0;
}
:root::-webkit-scrollbar{
  display: none;
}

:root {
  scrollbar-width: none;
  -ms-overflow-style: none;
  --wiggle-color: #dec2a1;
}
.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.wiggle-bg {
  position: fixed;
  top: 50%;
  left: 50%;

  /* sized pre-rotation so the 90deg turn lands it back on 100vw x 100vh */
  width: 100vh;
  height: 100vw;

  background-color: var(--wiggle-color);

  -webkit-mask-image: url("./media/images/wigglebackground.svg");
  mask-image: url("./media/images/wigglebackground.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: cover;
  mask-size: cover;
  -webkit-mask-position: center;
  mask-position: center;
  mask-mode: alpha;

  transform: translate(-50%, -50%) rotate(90deg);
  z-index: -1;
}



@font-face {
    font-family: 'oiregular';
    src: url(media/fonts/oi-regular-webfont.woff2) format('woff2');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'dongle';
    src: url(media/fonts/Dongle-Regular.woff2) format('woff2');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'dongle';
    src: url(media/fonts/Dongle-Bold.woff2) format('woff2');
    font-weight: bold;
    font-style: normal;
}

body{
	background-color: #ecd8c0;
}
/*disable filters button*/
body.no-filters *, 
body.no-filters *::before, 
body.no-filters *::after {
    filter: none !important;
    backdrop-filter: none !important;
}

h1{
	text-align:center;
	font-family:oiregular;
	font-weight:normal;
	max-width:80%;
	margin: 30px auto 15px;
	font-size:50px;
	filter: url(#wiggle-med);
}

nav ul{
	display: flex;
	justify-content:space-between;
	max-width:1400px;
	list-style-type:none;
	margin:10px auto;
	height:50px;
	gap:10px;
}

nav li{
	position:relative;
	font-family:dongle;
	font-weight:bold;
	width:800px;
	font-size: 30px;
	filter: url(#wiggle-med);
}

a{
	display:flex;
	width:100%;
	height:100%;
	text-decoration:none;
	color:black;
	align-items:center;
	justify-content:center;
	padding-top:.1em;
}


main{
	display:flex;
	justify-content:space-between;
	max-width:1400px;
	margin:0 auto;
	gap:10px;
	font-family: dongle;
	font-weight: normal;
	line-height: 1em;
}

.panel{
	position: relative;
}

.panel h2{
	font-size: 35px;
	margin: 0.45em 0.3em 0.1em;
	filter: url(#wiggle-med);
	line-height:.5em;
}



.panel::before, .left-subpanel::before, #filtertogglecontainer::before, li::before, .right-subpanel::before{
	content: "";
	position: absolute;
  /* inset: 0 stretches this pseudo-element to match the exact size of the parent box */
	inset: 0; 
  /* border and radius here instead of the parent */
	border: 6px solid black;
	border-radius: 10px;
	background-color:#b5c2a6;
  /* Apply the filter ONLY to this layer */
	filter: url(#wiggle-lrg);
  /* Push it behind the text */
	z-index: -1;
  /* Prevents the invisible layer from accidentally blocking clicks*/
	pointer-events: none; 
}
/*///////////////////////////////////////////////////////////////////////
///////////////////////Lightbox (image viewer)///////////////////////////
///////////////////////////////////////////////////////////////////////*/
.lightbox{
	font-family: dongle;
	z-index: 999;
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	visibility: hidden;
	opacity: 0;
	background: rgba(0, 0, 0, 0.65);
	transition: opacity 0.2s ease;
	padding: 20px;
}
.lightbox.show{
	visibility: visible;
	opacity: 1;
}
.lightbox-figure{
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 90vw;
	max-height: 90vh;
}
.lightbox-figure img{
	max-width: 90vw;
	max-height: 75vh;
	object-fit: contain;
	border-radius: 10px;
}
.lightbox-figure figcaption{
	color: #fff;
	text-align: center;
	margin-top: 12px;
	max-width: 90vw;
}
.lightbox-title{
	font-size: 1.6rem;
}
.lightbox-description{
	font-size: 1.3rem;
	opacity: 0.85;
	margin-top: 2px;
}

/*///////////////////////////////////////////////////////////////////////
///////////////////Left Panel Section (mostly)///////////////////////////
///////////////////////////////////////////////////////////////////////*/


#left-panel{
		display:flex;
		border:0;
		background-color:transparent;
		width:25%;
		flex-direction:column;
		gap:10px;
		text-align:start;
}
#left-panel::before{
		border:0;
		background-color:transparent;
}

.left-subpanel{
	display:flex;
	flex-direction:column;
	position:relative;
}

#photooftheday img{
	display: block;
	max-width:90%;
	max-height:300px;
	margin: 0 auto 5%;
	border-radius:10px;
	cursor: pointer;
	
}

@keyframes marquee {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

/*This removes the default button styling so i can use the fontawesome icons without issue*/
button[class*="fa-"] {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: inherit;
}

#music-player,
#ambiance-player{
	display:flex;
	flex-direction: column;
	align-items: center;
	width:100%;
	z-index: +1;
}
#music-player-top,
#ambiance-player-top{
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: space-between;
}
#music-volume-controls,
#ambiance-volume-controls{
	display: flex;
	justify-content: right;
	align-items: center;
	min-width: 0;
}
#music-volume-slider,
#ambiance-volume-slider{
	max-width: 40%;
	min-width: 0;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	margin: 1em .5em 0 0;
	height: .3em;
	border-radius: 10px;
	background-color:#000000;
	z-index: +2;
	filter: url(#wiggle-med);
}
#music-volume-slider::-webkit-slider-thumb,
#ambiance-volume-slider::-webkit-slider-thumb{
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	width:7px;
	height:15px;
	background-color: #93cbed;
	border: 2px solid black;
	border-radius: 30%;
}
#music-volume-slider::-moz-range-thumb,
#ambiance-volume-slider::-moz-range-thumb{
	appearance: none;
	width:7px;
	height:15px;
	background-color: #93cbed;
	border: 2px solid black;
	border-radius: 30%;
}
#music-volume,
#ambiance-volume{
	margin: 1em .7em 0 0;
	filter: url(#wiggle-med);
}

#music-player-middle,
#ambiance-player-middle{
	display:flex;
	width: 90%;
	margin-top: .6em;
	margin-bottom: 1em;
	margin-right: 7%;
	margin-left: 2.5%;
	gap: 3.5%;
	justify-content: space-between;
	align-items: center;
}
#music-play-pause,
#ambiance-play-pause{
	filter: url(#wiggle-med);
}
#music-slider,
#ambiance-slider{
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	width:85%;
	height: .3em;
	border-radius: 10px;
	background-color:black;
	filter: url(#wiggle-med);
	z-index: +1;
}
#music-slider::-webkit-slider-thumb,
#ambiance-slider::-webkit-slider-thumb{
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	width:7px;
	height:15px;
	background-color: #93cbed;
	border: 2px solid black;
	border-radius: 30%;
}
#music-slider::-moz-range-thumb,
#ambiance-slider::-moz-range-thumb{
	appearance: none;
	width:7px;
	height:15px;
	background-color: #93cbed;
	border: 2px solid black;
	border-radius: 30%;
}
#music-player-bottom,
#ambiance-player-bottom{
	display:flex;
	justify-content:space-between;
	align-items: center;
	width: 90%;
	flex-wrap: nowrap;
	margin-bottom: 13px;
}
#music-player-bottom p,
#ambiance-player-bottom p{
	font-size: 1.5em;
	padding-top:  0.1em;
}
#music-back-song,
#ambiance-back-song{
	color: black;
	filter: url(#wiggle-med);
}
#music-next-song,
#ambiance-next-song{
	color: black;
	filter: url(#wiggle-med);
}
#music-song-title, #music-song-title-duplicate,
#ambiance-song-title, #ambiance-song-title-duplicate{
	color: black;
	text-align: center;
	filter: url(#wiggle-med);
}
/*For Audio Title hover animation - based on this stack overflow comment: https://stackoverflow.com/a/31951552*/
.music-wrapper,
.ambiance-wrapper{
  width: 75%; 
  overflow: hidden;
}
.music-marquee,
.ambiance-marquee{
  white-space: nowrap;
  overflow: hidden;
  display: inline-block;
}
.music-marquee p,
.ambiance-marquee p{
  display: inline-block;
  padding-right: 2em;
}
/* This class will be applied by JavaScript */
.music-marquee.is-animating,
.ambiance-marquee.is-animating{
  animation: marquee 10s linear 1; /* '1' makes it runs only once instead of infinitely forever and ever and ever*/
}

#filtertoggle::before{
		border:0;
		background-color:transparent;
}
#filtertoggle{
	border:0;
	background-color:transparent;
	display:flex;
	justify-content: right;
	align-self: flex-end;
}
#filtertogglecontainer{
	display:flex;
	align-items: center;
	justify-content: right;
	margin: 10px;
	width:fit-content;
	align-self: flex-end;
}
#filtertoggle h2{
	font-size: 1.5em;
}
#filtertoggle button{
	margin-top: 6px;
	filter: url(#wiggle-med);
}

/*///////////////////////////////////////////////////////////////////////
///////////////////////////Middle Panel Section//////////////////////////
///////////////////////////////////////////////////////////////////////*/
#middle-panel{
	display:flex;
	width:50%;
	justify-content:center;
	height:70vh;
}
#middleframe{
	border: none;
	margin: 10px 0 10px 0;
	width: 80%;
}
/*///////////////////////////////////////////////////////////////////////
///////////////////////////Right Panel Section//////////////////////////
///////////////////////////////////////////////////////////////////////*/

#right-panel{
		display:flex;
		border:0;
		background-color:transparent;
		width:25%;
		height:40vh;
		flex-direction:column;
		gap:10px;
		text-align:start;
}
#right-panel::before{
		border:0;
		background-color:transparent;
}

.right-subpanel{
	display:flex;
	flex-direction:column;
	position:relative;
	width: 100%;
	font-size: 1.2em;
}
.right-subpanel h2{
	text-align: center;
}

#personaldetails ul{
	list-style-type: none;
	padding-left: 0;
	width:90%;
	margin: 0 auto 1em auto;
	overflow-x:hidden;
	filter: url(#wiggle-sml);
}
#personaldetails li{
	position: relative;
	padding-left: 1.4em; /*creates space for the icon*/
	margin-bottom: 0.5em;
	text-wrap: nowrap;
}
#personaldetails a{
	display:inline;
}
#personaldetails a:link{
	color:rgb(61, 101, 30);
}
#personaldetails a:visited{
	color:rgb(23, 100, 145);
}
#personaldetails a:hover{
	color:rgb(111, 184, 54);
}
#personaldetails li::before{/*setting properties for all the icons*/
	border:none;
	font-family: "Font Awesome 7 Free";
	font-weight: 900;
	float:left;
	width:1.2em;
	height:auto;
}
.subdetail{
	margin-left: 1.5em;/*indent related / sub items*/
}
/*set each icon individually using the unicode for the icon (these are listed on the fontawesome download page for each icon)*/
#age::before{
	content: "\f073"
}
#pronouns::before{
	content: "\f075"
}
#nationality::before{
	content: "\f024";
}
#favcolor::before{
	content: "\f53f"; 
}
#currentread::before{
	content: "\f02d";
}
#bestbook::before{
	content: "\f004";
}
#currentplay::before{
	content: "\f11b";
}
#bestgame::before{
	content: "\f004";
}
#hyperfix::before{
	content: "\f5dc"
}