
* {
  font-family: sans-serif, Helvetica;
  font-size: 15px;
}

:not(.textBlock, p, h1, h2, h3, h4, a, #artistEntry){
  -moz-user-select: -moz-none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.container{
  display:grid;
}

.textBlock {
  margin-left: 10px;
  width: min(100%, 1000px);
  padding-top: 50px;
  -moz-user-select: text;
  -khtml-user-select: text;
  -webkit-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

.textBlock > p, a {
  font-size: large;
}

.textBlock > h1, h2, h3 {
  font-size:x-large;
}

.links line {
  stroke: #191414;
  stroke-width: 2.5px;
}
  
.nodes circle {
  stroke: green;
  stroke-width: 0.5px;
  transition: r 0.1s;
}

.nodes image {
  transition: x 0.05s;
  transition: y 0.05s;
  transition: height 0.05s;
  transition: width 0.05s;
}

.nodes clipPath {
  transition: 0.1s;
}

.nodeLabel {
  -moz-user-select: -moz-none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

#sidebar {
  background-color: #fafafa;
  border: #666;
  border-style: solid;
  border-width: 3px;
  height: 650px;
  margin-top: 50px;
  margin-left: 10px;
  width: 250px;
  position: absolute;
  transition: margin-left 0.5s;
  padding-left: 1%;
  -moz-user-select: -moz-none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

#sidebar > * {
  margin-left: 0px;
  -moz-user-select: -moz-none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.tooltip .tooltiptext {
  visibility: hidden;
  opacity: 0;
  width: min-content;
  min-width: fit-content;
  background-color: #1db954;
  color: #fff;
  text-align: center;
  padding: 3px;
  border-radius: 6px;
  font-size: small;
  border: 1px solid black;

  position: absolute;
  z-index: 1;
  bottom: 100%;

  pointer-events: none;
}

.tooltip {
  position: relative;
  min-width: fit-content;
}

.tooltip:hover .tooltiptext{
  visibility: visible;
  opacity: 1;
  transition-delay: 1s;
  transition-duration: 0.1s;
  transition-property: all;
  transition-timing-function: ease-in-out;
}

#loginButton {
  background-color: #1ed760; 
  border-radius: 200px;
  margin-bottom: 0%;
  width: 93%;
  height: 4%;
  color: white;
  font-size: large;
  font-family: sans-serif, Helvetica;
  border-width: 0px;
  margin-top: 4%;
}

#loginButton:hover {
  background-color: #1DB954;
}

#loginButton:disabled {
  background-color: #eee;
  color: lightgray;
  border-color: lightgray;
}

#artistEntry {
  width: 90%;
  margin-right: auto;
  margin-top: 4%;
  -moz-user-select: text !important;
  -khtml-user-select: text !important;
  -webkit-user-select: text !important;
  -ms-user-select: text !important;
  user-select: text !important;
}

.searchButton {
  margin-top: 0.5em;
  width: 93%;
}

#searchArtist {
  height: 3em;
}

#searchModeSelection, #displayModeSelection {
  margin-top: 4%;
  width: 100%;
}

#sidebar p {
  margin-right: 4%;
  width: 90%;
  font-weight: bolder;
  font-size: 11pt;
}

#songName {
  font-weight: normal !important;
}

#loading {
  position: fixed;
  top: 0.5%;
  right: 0.5%;
  width: 60px;
  height: 60px;
  object-fit: none;
}

#attempts {
  position: fixed;
  top: 70px;
  right: 0.5%;
  font-size: large;
}

#degreeLabel {
  -moz-user-select: -moz-none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  color: #cccccc;
  font-size: larger;
  font-weight: bolder;
  
}

.controls {
  display: flex;
  position: absolute;
  justify-content: center;
  margin-left: -15%;
  top: 102%;
}

#mute {
  width: 30px;
  height: 30px;
  margin-right: 5px;
  background-image: url("images/playing.jpg");
  background-size: contain;
  background-position: center;
  border: 2px solid #333;
  border-radius: 5px;
  background-color: white;
  background-repeat: no-repeat;
}

#zoomIn, #zoomOut{
  height: 30px;
  width: 30px;
  margin-right: 5px;
  font-size: 20px;
  text-align: center;
  font-weight: bolder;
}

#moveSidebarLeft {
  position: absolute;
  top: -3px;
  left: 101%;
  height: 5%;
  font-size: larger;
  width: min-content;
}

#links {
  position: absolute;
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  margin-left: 10px;  
  transition: margin-left 0.5s;
}

#githubLink {  
  margin-left: -3px;
  width: 30px;
  height: 30px;
  margin-right: 5px;
  background-image: url("images/githubLogo.png");
  background-position: center;
  background-size: contain;
  border-width: 0px;
  background-repeat: no-repeat;
}

#aboutLink, #guideLink, #privacyPolicyLink, #homeLink {
  margin-right: 5px;
  width: max-content;
  height: 30px;
}

#ib-d3-graph-div {
  height: 100vh;
  width: 100vw;
}
  
#backgroundId {
  height: 100vh;
}

body {
  margin: 0px;
  padding: 0px;
}

.degreeLabel {
  transition: font-size 0.1s;
}

#zoomWarning {
  position: absolute;
  margin-top: 40px;
  margin-left: 40%;
  font-size: x-large;
  text-align: center;
  width: 20%;
  background-color: #1db954;
  border: 2px solid black;
  border-radius: 3%;
  opacity: 0;
  transition: opacity 0.3s;
}

#nameOfSongDiv {
  position: absolute;
  bottom: 70px;
  width: 100%;
}

#songEmbed {
  position: absolute;
  width: 100.1%; 
  height: 80px; 
  bottom: 0;
  left: 0;
  right: 0;
  margin-bottom: -1px;
}

#getStarted{
  position: absolute;
  left: 300px;
  top: 20%;
  width: 80% - 300px;
  font-size: xx-large;
  color: #bbb;
  text-align: center;
  -moz-user-select: -moz-none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
