*{
	margin:0;
	padding:0;
	border:0;
	outline:0;
	font-size:100%;
	vertical-align:baseline;
	background:transparent;
	box-sizing:border-box;
}

@font-face {
	font-family: cabin;
	src:url("../media/ui/cabin.ttf");
}

html{
	min-height:100vh;
}

body{
	min-height:100vh;
	background-color:#84c2e7;
	font-family:cabin;
}

#wrapper{
	position:relative;
	top:29px;
	width:1000px;
	min-height:100vh;
	background-color:#ffffff;
	margin:0 auto;
	display:flex;
	flex-direction:column;
	border-right:1px solid #2a5091;
	border-left:1px solid #2a5091;
}

header {
	text-align: center;
	padding:10px;
	font-size:20px;
}

.autocomplete {
	width:177px;
	position:relative;
}

#search{
	border:1px solid #000;
	background-color:#f1f1f1;
	padding:10px;
	text-align: center;
}

#search::-webkit-input-placeholder {
    color:#a3a3a3;
 }
 
 .autocomplete-items {
  position: absolute;
  border: 1px solid #d4d4d4;
  border-bottom: none;
  border-top: none;
  z-index: 99;
  /*position the autocomplete items to be the same width as the container:*/
  top: 100%;
  left: 0;
  right: 0;
}
.autocomplete-items div {
  padding: 10px;
  cursor: pointer;
  background-color: #fff;
  border-bottom: 1px solid #d4d4d4;
}
.autocomplete-items div:hover {
  /*when hovering an item:*/
  background-color: #e9e9e9;
}
.autocomplete-active {
  /*when navigating through the items using the arrow keys:*/
  background-color: DodgerBlue !important;
  color: #ffffff;
}
 
 #add {
	border:2px solid #000000;
	border-radius:20px;
	text-align: center;
	font-size:30px;
	padding: 0 8px;
	background-color:#e3e3e3;
	cursor:pointer;
 }
 
 #topflex{
	display:flex;
	justify-content:center;
	gap:8px;
	align-items:center;
 }
 
 main {
	display:flex;
	flex-grow:1;
	align-items:stretch;
	border-top:1px solid #a3a3a3;
	margin-top:10px;
 }
 
 #sidebar {	
	width:230px;
	border-right:1px solid #a3a3a3;
	padding:20px;
 }
 
 #sidebar ul, #sidebar ol{
	list-style-position:inside;
	margin-left:10px;
 }
 
 #sidebar li {
	cursor:pointer;
 }
 
 #sidebar li:hover {
	 text-decoration:underline;
 }
 
 #sidebar p{
	margin:10px 0 5px 0;
 }
 
 h2 {
	font-size:18px;
 }
 
 #resultsArea{
	padding:15px;
	width:770px;
 }
 
 #results {
	margin-bottom:10px;
 }
 
.result{
	display:inline-block;
	margin:5px;
	position:relative;
}

.result img {
	max-width:730px;
	cursor:pointer;
}

#tooltip {
	position: absolute;
	background-color:#fff;
	border:1px solid #000;
	width:200px;
	padding:10px;
	z-index:99;
}

#bottomflex{
	margin-top:10px;
	display:flex;
	justify-content:center;
}

.keyword{
	border:1px solid black;
	display:inline-block;
	border-radius:20px;
	padding:10px;
	background-color: #e3e3e3;
	cursor:pointer;
	margin-right:5px;
}

.keyword:hover{
	background-color:#aaaaaa;
}


/*----player stuff----*/

#player {
	width: 100%;
	height: 28px;
	background-color:#2a5091;
	outline: 1px solid black;
	position: fixed;
	z-index: 50;
	display: flex; /*flexes prevtrack btn, play/pause btn, nexttrack btn, marquee, duration, and playlist btn*/
	justify-content: space-evenly;
	padding: 5px 10px 0 8px;
	gap: 10px;
}

#player img {
	cursor: pointer;
}

#player * {
	filter:drop-shadow(-1px 1px 1px #5e2100);
}

#prevTrack, #playTrack, #pauseTrack, #nextTrack {
	height: 14px;
	position: relative;
	top: 2px;
}

#playlistBtn {
	height: 18px;
}

#marquee {
	width: 260px;
	height: 18px;
	overflow: hidden;
	background-color: #fff;
	padding: 1px 5px 0 5px;
	border-radius: 5px;
	overflow:hidden;
	font-size:14px;
}

#fullDuration {
	border-radius: 5px;
	height: 18px;
	flex-grow: 1;
	overflow: hidden;
	background-color: #fff;
}

#playedDuration {
	background-color:#c5e2f3;
	width: 0px;
	height: 18px;
	border-radius:3px;
	border-right:1px solid #2a5091;
}

.smooth {
	transition: width 0.3s linear;
}

#playlist {
	position: fixed;
	right: 0;
	top: 28px;
	min-width:260px;
	background-color: #fff;
	border: 1px solid black;
	z-index: 100;
	padding: 8px 16px;
}

#tracklist {
	list-style: none;
}

#tracklist li {
	cursor: pointer;
	font-size:14px;
}

.currentsong {
	text-decoration:underline;
}

.hidden{
	display:none;
}
