@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');

:root {
	--bg-color: #222;
	--font-fam: 'Inter', sans-serif;
}

* {
	-webkit-touch-callout: none; /* iOS Safari */
      -webkit-user-select: none; /* Safari */
       -khtml-user-select: none; /* Konqueror HTML */
         -moz-user-select: none; /* Old versions of Firefox */
          -ms-user-select: none; /* Internet Explorer/Edge */
              user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */

				-webkit-user-drag: none;
              	user-drag: none;
}

body {
	background-color: var(--bg-color);
	transition: background-color 200ms;
}

h1, h2 {
	color: white;
	font-family: var(--font-fam);
	font-size: 48px;
	font-weight: bold;
	margin-top: 30px;
	margin-bottom: 45px;
}

h2 {
	font-size: 28px;
	margin-top: 15px;
	margin-bottom: 15px;
}

p {
	font-family: var(--font-fam);
}

#algorhythm-header {
	transition: all 200ms;
}

#algorhythm-header:hover {
	cursor: pointer;
	opacity: 85%;
}

.share-header {
	transform: translateY(15px);
}

#nameHeader, #fname-form {
	position: absolute;
}

#fname:hover {
	cursor: text;
	text-decoration: underline;
	text-decoration-style: dotted;
}

#fname-form {
	display: none;
}

#fname-form > input[type=text] {
	all: revert;
	display: inline;
	background-color: transparent;
	outline: none;
	border: none;
	color: white;
	font-family: var(--font-fam);
	font-size: 28px;
	font-weight: bold;
	margin-bottom: 15px;
	width: 100%;
}

#app-container {
	width: 362px;
	margin: auto;
}

#search-container {
	height: 48px;
}

input[type=text] {
	background-color: #D9D9D9;
	font-family: var(--font-fam);
	font-size: 20px;
	border: 2px solid #D9D9D9;
	border-radius: 15px;
	width: 362px;
	height: 48px;
	position: absolute;
	outline: none;

	box-sizing: border-box;
	padding-left: 23px;

	transition: border-color 200ms;
}

input[type=text]:focus {
	border-color: #FFF;
}

.placeholder {
	color: black;
	opacity: 65%;
	font-family: var(--font-fam);
	position: absolute;
	line-height: 48px;
	margin-left: 25px;
	pointer-events: none;

	transition: transform 200ms, color 200ms, opacity 200ms;
}

input[type=text]:focus ~ .placeholder  /* Input has focus */ {
	opacity: 90%;
}

input[type=text]:not(:placeholder-shown) ~ .placeholder  /* Input has a value */ {
	transform: translate(-18px, -25px) scale(0.75);
	color: white;
	opacity: 100%;
}

.pocket {
	background-color: var(--bg-color);
	border-radius: 10px;
	width: 123px;
	height: 15px;
	position: absolute;
	margin-left: 18px;
	margin-top: -20px;
	pointer-events: none;

	transition: transform 200ms;
}

input[type=text]:not(:placeholder-shown) ~ .pocket {
	transform: translateY(14px);
}

#results-container {
	background-color: #434343;
	border-radius: 24px;
	width: 362px;
	height: 476px;
	overflow-y: scroll;
	overflow-x: hidden;

	box-sizing: border-box;
	margin-top: 20px;
	padding: 25px;
	padding-top: 10px;
	padding-bottom: 10px;

	color: white;
	font-family: var(--font-fam);
}

#results-container > ul {
	list-style: none;
	padding-left: 0;
}

.result {
	height: 63px;
	width: 362px;
	margin-bottom: 12px;

	transition: background-color 200ms, outline 200ms, transform 200ms;
}

.result:hover {
	background-color: #5a5a5a;
	outline: 8px solid #5a5a5a;
	transform: scale(1.05);

	cursor: pointer;
}

.result-wrapper {
	position: relative;
}

.album-art {
	width: 63px;
	margin-right: 20px;
}

.info-container {
	display: inline-block;
	position: absolute;
	color: white;
	width: 249px;
}

.info-name {
	font-size: 20px;
	font-weight: bold;

	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.info-artist {
	font-size: 16px;

	text-overflow: ellipsis;
	overflow: hidden;
	display: block;
	white-space: nowrap;
}

.info-name-overflow-analysis {
	font-size: 20px;
	font-weight: bold;

	text-overflow: ellipsis;
	overflow: hidden;
	display: block;
	white-space: nowrap;
}

.prompt-downscale {
	font-size: 36px;
}

#emoji-picker-text {
	flex-direction: column;
	background-color: transparent;
	pointer-events: none;
}

#emoji-picker-text h1 {
	margin-bottom: 350px;
}

#emoji-picker h1,
#emoji-ident {
	transition: all 200ms;
}

#emoji-ident:not(.material-symbols-outlined):hover {
	cursor: pointer;
	text-shadow: 0 2px 8px rgba(255, 255, 255, 0.5);
}

#emoji-ident.material-symbols-outlined {
	font-size: 48px;
	transform: translateY(7px);
	opacity: 30%;
}

#emoji-ident.material-symbols-outlined:hover {
	cursor: pointer;
	opacity: 100%;
}

#emoji-picker h1 {
	animation: float 4s ease-in-out infinite;
}

#emoji-picker h1:hover {
	cursor: pointer;
	font-size: 54px;
	transform: translateY(-12px);
	filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.4));
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

#emoji-picker h1:nth-child(1) { animation-delay: 0s; }
#emoji-picker h1:nth-child(2) { animation-delay: 0.2s; }
#emoji-picker h1:nth-child(3) { animation-delay: 0.4s; }
#emoji-picker h1:nth-child(4) { animation-delay: 0.6s; }
#emoji-picker h1:nth-child(5) { animation-delay: 0.8s; }
#emoji-picker h1:nth-child(6) { animation-delay: 1s; }
#emoji-picker h1:nth-child(7) { animation-delay: 1.2s; }

#user-desc {
	flex-direction: column;
}

#user-desc textarea {
	width: 362px;
	height: 100px;
	background-color: #D9D9D9;
	border: none;
	border-radius: 10px;
	outline: none;
	font-family: var(--font-fam);
	font-size: 16px;
	color: #222;
	padding: 15px;
	resize: vertical;

	transition: background-color 200ms, color 200ms, border 200ms;
}

#user-desc textarea + p {
	font-size: 12px;
	position: absolute;
	transform: translate(338px, -35px);
	pointer-events: none;
	color: #222;
	opacity: 50%;
}

.highlight-red {
	border: 3px solid #EF323F !important;
}

.opaque {
	background-color: #222 !important;
}

.overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 999999;

	font-family: var(--font-fam);
	font-size: 16px;
}

.overlay-box {
	background-color: #FFF;
	width: 362px;
	padding: 20px;
	border-radius: 20px;
	text-align: center;
}

.overlay-box > p {
	margin-top: 10px;
}

.overlay-btn {
	background-color: #222;
	color: white;
	border: none;
	border-radius: 10px;
	padding: 10px 20px;

	font-size: 14px;

	transition: background-color 200ms;
}

.overlay-btn:hover {
	cursor: pointer;
	background-color: #000;
}

.info-box {
	height: 80%;
	/* overflow-y: scroll; */
}

.info-box table {
  border-collapse: collapse;
  width: 100%;
}

.info-box th, td {
  text-align: left;
  padding: 8px;
}

.info-box td:nth-child(1) {
	color: #222;
}

.info-box td:nth-child(2),
.info-box p {
	color: #444;
}

.info-box td, #features-table {
	border: solid 1px #DDD;
}

.info-box th {
  background-color: #222;
  color: white;
  text-align: center;
  font-weight: 600;
}

.info-box b {
	font-weight: 500;
}

#features-table {
	border-radius: 7px;
	overflow: hidden;
}

.info-box p {
	font-size: 14px;
	text-align: left;
}

.plaque {
	width: 400px;
	margin: auto;
	font-family: var(--font-fam);

	margin-top: 15px;
}

.plaque > img {
	width: 70px;
	border-radius: 3px;
}

.plaque-info {
	margin-left: 15px;
}

.loc {
	font-size: 28px;
	font-weight: bold;
	color: #fff;
	opacity: 15.5%;
}

#project-link {
	font-family: var(--font-fam);
	color: white;
	font-size: 12px;
	font-weight: 500;
	text-align: center;
	margin-top: 60px;
}

.icons > span {
	color: white;
	opacity: 50%;

	transition: opacity 200ms;
}

.icons > span:hover {
	cursor: pointer;
	opacity: 100%;
}

.color-selector {
	float: right;
	opacity: 100% !important;
	transform: translateY(-3px);
}

.color-selector > input[type=radio] {
	appearance: none;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background-clip: content-box;
	padding: 2px;
	border: 1px solid;
	transition: border 200ms;
}

.color-selector > input[type=radio]:checked {
	border: 2px solid white !important;
}

.color-selector > input[type=radio]:hover {
	cursor: pointer;
	border: 2px solid;
}

.feature-icons {
	position: absolute;
	margin-top: -625px;
	transform: translateX(-25px);

	display: flex;
	flex-direction: column;
	justify-content: space-around;
	height: 540px;
}

.feature-icons > span {
	color: white;
	opacity: 50%;
	font-size: 20px;
	line-height: 60px;

	flex-grow: 1;
}

.blurb {
	background-color: rgba(255, 255, 255, 0.5);
	color: rgba(0, 0, 0, 0.8);
	border-radius: 12px;
	padding: 10px;
	box-sizing: border-box;
}

.spotify-embed-horizontal {
	display: none;
}

@media only screen and (min-width: 846px) {
	.exhibit-container {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		column-gap: 30px;
	}

	.plaque-container {
		margin-top: 55px;
	}

	.share-exhibit-container {
		display: revert;
		flex-wrap: revert;
		justify-content: revert;
		column-gap: revert;
	}
	.share-plaque-container {
		margin-top: revert;
	}

	.spotify-embed-horizontal {
		display: block;
	}
	.spotify-embed-vertical {
		display: none;
	}
}