@charset "UTF-8";
/* CSS Document */

@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@400;700&family=Yanone+Kaffeesatz:wght@200;300;400;700&display=swap');

.container {
	display: flex;
	justify-content: center;
	width: 95vw;
	height: 95vh;
	max-width: 1000px;

	margin: auto;
}
.column {
	flex: 1;
	margin: 1em;
	box-sizing: border-box;
}
.smaller {
	flex: 0.3;
}

body {
	font-family: ui-sans-serif, Helvetica, Arial, sans-serif;
    font-size: 14px;
    background-color: #fff;
    color: #333;
}

h1,h2,h3,h4,h5,h6 {
	font-family: "Yanone Kaffeesatz", ui-sans-serif, Arial, Helvetica, sans-serif;
}

h1 {
	font-size: 32px;
	margin-top: 15px;
	}
	
h2 {
	font-size: 28px;
	color:#666;
}

h3 {
	font-size: 24px;
	color:#333;
	margin-bottom: 10px;
}

a {
	color: chocolate;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}	

#column-3 {
	text-align: center;
	padding: 2em 0;
}

#albums {
	height: 87vh;
}

#selection {
	height: 62vh;
}

#moveButtons, #links, #divCount {
	margin: 25px 0;
}

#spots {
	margin: 10px 0;
}

#albums option, #selection option {
    border-bottom: 1px solid #DDD;
    cursor: pointer;
    padding: 4px;
	font-size: 13px;
	}

#divDesc {
	line-height: 1.4em;
}

#footer {
	border-top: 1px solid #DDD;
	color: #666;
	margin-top: 15px;
	padding-bottom: 10px;
	text-align: center;
}

.formFields {
	font-family: ui-sans-serif, Helvetica, Arial, sans-serif;
	font-size: 12px;
	margin-top: 8px;
}
.formTextFields {
	font-family: Helvetica, Arial, sans-serif;
	font-size: 12px;
	margin: 8px 0 2px;
	min-height: 2em;
	/*padding: 5px;*/
}
	
.counter {
	font-family: 'Yanone Kaffeesatz', Georgia, ui-sans-serif, "Times New Roman", Times, serif;
	font-size: 22px;
	color:#999;
	padding-bottom: 10px;
}
abbr {
	border-bottom-width: thin;
	border-bottom-style: dashed;
}

.move-button {
	background-color: chocolate;
    color: #fff;
	border: 1px solid chocolate;
    border-radius: 3px;
    padding: 6px 20px;
    cursor: pointer;
    font-weight: bold;
    font-size: large;
	margin: 5px 0;
    min-width: 60px;
    min-height: 37px;
}

.move-button:hover {
    background-color: white;
    color: chocolate;
}	


select, #selection, textarea {
	width: 50ch;
}

.highlights {
	background-color: #ffe4ca;;
	font-size: 15px;
	border-radius: 3px;
	font-weight: bold;
    font-family: 'Roboto Slab', Georgia, ui-sans-serif, "Times New Roman", Times, serif;
    padding: 5px;
    margin: 0 0 5px;
}

.section-title {
	margin-top:1em;
}

p.label {
	font-size: 14px;
	font-weight: bold;
	margin-bottom: 0;
}

p.intro {
	margin: 5px;
	line-height: 1.4em;
}

.ongoing {
	font-size: 16px;
    font-weight: bold;
    margin: 2em 1em;
    padding: 7px;
    font-family: 'Roboto Slab', Georgia, ui-sans-serif, "Times New Roman", Times, serif;	
}

.ongoing a {
	position: absolute;
	transform: translate(-50%, -50%);
	padding: 0.5em 2em;
	border: 2px solid #ffe4ca;
	border-radius: 3px;
	transition: 0.02s 0.2s cubic-bezier(0.1, 0, 0.1, 1);
	text-decoration: underline;
  }

  .ongoing a::before {
	content: "";
	display: inline-block;
	position: absolute;
	top: 0;
	left: 0;
	right: 100%;
	bottom: 0;
	background: #ffe4ca;
	transition: 0.3s 0.2s cubic-bezier(0.1, 0, 0.1, 1), left 0.3s cubic-bezier(0.1, 0, 0.1, 1);
	z-index: -1;
  }
  .ongoing a::after {
	content: "";
	display: inline-block;
	background-image: url("https://cdn-icons-png.flaticon.com/128/109/109617.png");
	position: absolute;
	top: 0;
	left: calc(100% - 3em);
	right: 3em;
	bottom: 0;
	background-size: 1.5em;
	background-repeat: no-repeat;
	background-position: center;
	transition: right 0.3s cubic-bezier(0.1, 0, 0.1, 1);
  }
  .ongoing a:hover {
	padding: 0.5em 3.5em 0.5em 0.5em;
	text-decoration: none;
  }
  .ongoing a:hover::before {
	left: calc(100% - 3em);
	right: 0;
	transition: 0.3s cubic-bezier(0.1, 0, 0.1, 1), left 0.3s 0.2s cubic-bezier(0.1, 0, 0.1, 1);
  }
  .ongoing a:hover::after {
	right: 0;
	transition: right 0.3s 0.2s cubic-bezier(0.1, 0, 0.1, 1);
  }

.contact {
	font-size: .8em;
	color: #666;
}

.submitted-songs-list {
	font-family: Georgia, 'Times New Roman', Times, serif;
	line-height: 1.6em;
}

/* Restuls Styles */
#datatable, .header-table {
	display: table;
	/* border-spacing: 2px; */
	border-collapse: separate;
	width: 100%;
	max-width: 1050px;
	margin: auto;
}

.header-row {
	display: table-header-group;
	width: 100%;
	margin-bottom: 10px;
}

.header-cell {
	display: table-cell;
	vertical-align: middle;
	padding: 10px 5px;
    border-bottom: 2px solid chocolate;
}

.table-row {
	display: table-row;
	width: 100%;
}

.table-cell {
	display: table-cell;
	vertical-align: middle;
	padding: 5px;
	border-bottom: 1px solid #ddd;
}

.left {
	text-align: left;
}

.right {
  	text-align: right;
}

input.search {
	border: solid 1px #ccc;
    border-radius: 5px;
    padding: 8px;
    margin-bottom: 15px;
    width: 50ch;
    max-width: 90%;
    font-size: 16px;
}

#datatable {
	position: relative;
  }
  
.header-row {
position: sticky;
top: 0;
background-color: #f5f5f5;
z-index: 1;
}

.header-song, .header-percentage {
	cursor: pointer;
}

/* End Results page styles */

@keyframes pulsate {
	0%   { transform: scale(1); }
	50%  { transform: scale(1.1); }
	100% { transform: scale(1); }
  }
  
  .pulsate {
	animation: pulsate 0.8s 1;
  }
  
  #notification {
	display: inline-block;
	background-color: chocolate;  /* Green background */
	color: white;
	padding: 10px 20px;
	border-radius: 4px;
	/* position: absolute; */
	bottom: 100px;  /* Adjust based on button's height and desired gap */
	transition: opacity 0.3s ease-in-out;  /* Fade in/out effect */
	opacity: 0;  /* Initially hidden */
	pointer-events: none;  /* Ensures it doesn't interfere with other UI elements */
	position: fixed;       /* Changed from absolute to fixed */
    top: 0;                /* Added to center vertically */
    bottom: 0;             /* Adjusted for centering */
    left: 0;               /* Added to center horizontally */
    right: 0;              /* Added to center horizontally */
    margin: auto;          /* Centers the element */
    height: fit-content;   /* Adjust the height to fit content */
    width: fit-content;    /* Adjust the width to fit content */
	z-index: 1000;         /* Ensures the notification is above other elements */
  }
  
  #notification.show {
	opacity: 1;  
  }

/* Media Queries */

@media (max-width: 600px) {
	.container {
	  flex-direction: column;
	  justify-content: normal;
	  height:auto;
	}

	#column-3 {
	  margin: auto;
	  padding: 10px 0;
	}

	.smaller {
		display: flex; /* Make the contents of the smaller column flow horizontally */
		flex: 0.2;
	}
    .smaller .item {
		display: flex;
        margin-right: 10px; /* Add some space between the items */
		flex-direction: column;
		gap: 10px;
		padding-right: 30px;
		justify-content: center;
	}

	#moveButtons, #links, #divCount, #spots {
		margin: 0;
	}

	#spots {
		padding-top: 15px;
	}

	#divCount .label {
		display: none;
	}
	#albums {
		height: auto;
	}
	
	#selection {
		height: auto;
	}
	#selection, #albums {
		/* styling */
		background-color: white;
		border: thin solid chocolate;
		border-radius: 4px;
		display: inline-block;
		font: inherit;
		line-height: 1.5em;
		padding: 0.5em 3.5em 0.5em 1em;
		width: 100%;
	  
		/* reset */
	  
		margin: 0;      
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
		-webkit-appearance: none;
		-moz-appearance: none;
	}
	select.formFields {
		background-image:
		linear-gradient(45deg, transparent 50%, chocolate 50%),
		linear-gradient(135deg, chocolate 50%, transparent 50%),
		linear-gradient(to right, rgb(235, 212, 135), rgb(235, 212, 135));
		background-position:
			calc(100% - 20px) calc(1em + 2px),
			calc(100% - 15px) calc(1em + 2px),
			100% 0;
		background-size:
			5px 5px,
			5px 5px,
			2.5em 2.5em;
		background-repeat: no-repeat;
	}
	select.formFields:focus {
		background-image:
		  linear-gradient(45deg, white 50%, transparent 50%),
		  linear-gradient(135deg, transparent 50%, white 50%),
		  linear-gradient(to right, gray, gray);
		background-position:
		  calc(100% - 15px) 1em,
		  calc(100% - 20px) 1em,
		  100% 0;
		background-size:
		  5px 5px,
		  5px 5px,
		  2.5em 2.5em;
		background-repeat: no-repeat;
		border-color: grey;
		outline: 0;
	}

	/* Results styles */

	.header-row {
		display: none;
	}

	.table-row, .table-cell {
		display: block;
	}

	.table-row {
		border-bottom: 1px solid #ddd;
		padding: 5px;
	}

	.table-cell {
		border: none;
		text-align: left;
	}

	.col-song, .col-song-h, .col-percentage {
		font-family: 'Roboto Slab', slabo, serif;
		font-size: 1.2em;
		font-weight: bold;
	}

	.col-album, .col-year {
		font-size: 1.1em;
	}

	.ongoing a {
		padding: .1em .3em;
		width: 90%;
    	text-align: center;
	}

	.ongoing a:hover {
		padding: .1em .3em;
	}


  }