* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Figtree', 'Franklin Gothic Medium';
}

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

body {
  margin: 0;
  padding: 0;
  background-color: rgb(202, 202, 202); 
  height: 100vh;
  margin-bottom: 500px;
}

.site-header {
  background-color: #D3D3D3;
  width: 100%; 
}

.main-content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
  height: 75vh;
}

.container {
  max-width: 900px;
  width: 100%;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background-color: #96cc9a;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.content {
  padding: 20px;
}

h1 {
  color: #000000;
  margin-bottom: 10px;
  font-size: 350%;
}

h2 {
  /* color: #333131;   */
  margin-bottom: 5px;
  margin-top: 10px;
}

.tagline {
  color: #333131;
  font-size: 1.2em;
}

#username {
  text-align: center;
  font-weight: bolder;
}

.description {
  color: #333131;
  line-height: 1.6;
  margin-bottom: 20px;
  margin-top: 20px;
  font-weight: normal;
}

.login-button {
  padding: 10px 20px;
  background-color: #ffffff;
  border: 2px solid #333;
  cursor: pointer;
  font-weight: bold;
  text-transform: uppercase;
}

.image-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-container img {
  max-width: 100%;
  height: auto;
}

footer {
  text-align: center;
  position: absolute;
  bottom: 5px;
  width: 100%;
  height: 40px;
  color: #ffffff;
}

.wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  justify-content:space-between;
  padding: 20px;
  background-color:#51ad57;
  max-width: 900px;
  width: 100%;
  margin: auto;
  margin-top: 40px;
  border-radius: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.settings {

  width: 50%;
  height: 100%;
  vertical-align: middle;
  padding: 20px;
}


.summary {
  width: 300px;
  height: 500px;  
  max-width: 500px; 
  border: 1px solid #000000;
  padding: 20px;
  overflow: hidden; 
  background-color: #6dddc1;
}


#data-title {
  font-weight: bold;
  text-align: center;
  width: 100%;
}


button {
  display: block;
  margin-bottom: 10px;
}

#user-photo {
  border: 1px solid #ccc; 
  height: 200px; 
  width: 200px; 
  margin: 15px auto; 
  display: flex;
  justify-content: center;
  align-items: center;
  /* changed this because content: url makes it permanent and not possible to change */
  background: url(http://placehold.it/200x200) no-repeat center center;
  background-size: cover;
}

.top-content {
  width: 100%;
  height: 150px;
  text-align: center; 
}

#top-title{
  font-style: italic;
  text-align: center;

}

.user-photo {
  border: 1px solid #ccc; 
  height: 200px; 
  width: 200px; 
  margin: 20px auto; 
  display: flex;
  justify-content: center;
  align-items: center;
  content:url(http://placehold.it/200x200);
}

.top-artists, .top-songs {
  width: 48%;
}

ol {
  margin-top: 2px;
  padding-left:20px;
  font-weight: bold;
}
.privacy_header {
  margin-top: 10px;
  margin-bottom: 5px;

}

/* The slider itself */
.slider {
  -webkit-appearance: none;  /* Override default CSS styles */
  appearance: none;
  width: 50%; /* Full-width */
  height: 15px; /* Specified height */
  border-radius: 5px;
  background: #d3d3d3; /* Grey background */
  opacity: 0.7; /* Set transparency (for mouse-over effects on hover) */
  -webkit-transition: .2s; /* 0.2 seconds transition on hover */
  transition: opacity .2s;
}

/* Mouse-over effects */
.slider:hover {
  opacity: 1; /* Fully shown on mouse-over */
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none; /* Override default look */
  appearance: none;
  width: 25px; /* Set a specific slider handle width */
  height: 25px; /* Slider handle height */
  border-radius: 50%;
  background: #04AA6D; /* Green background */
  cursor: pointer; /* Cursor on hover */
}

#time_range, #data_type {
  margin-top: 6px;
  height: 30px;
  width: 115px;
  font-size: 16px;
}

#bgcolor, #textcolor {
  margin-top: 6px;
  width: 100px;
  height: 28px;
}



.top_info {
  margin-top: 20px;
}

.color_headers h2{
  display: inline;
  margin-right: 40px; 
}

#bgcolor {
  margin-right: 104px;
}

#data_type {
  margin-right: 20px;
}

#input_num {
  width: 60px;  
}

#input_num:focus {
  outline:none;
}
.header-row h2{
  display: inline;
  margin-right: 23px;
}

#go {
  width: 80px;
  height: 40px;
  margin-top: 40px;
  margin-left: 130px;  
  cursor:pointer;
  border-radius: 20px;
  border: none;  
}

#go:hover {
  outline:none;
  border:none;
  background-color: rgb(226, 226, 226);
  transition: background-color 0.5s ease-in-out, box-shadow 0.3s ease-in-out;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#go:focus {
  background-color: rgb(226, 226, 226);
  outline:none;
}

#data {
  text-align: left;
}
  
.site-header {
  background-color: #D3D3D3; 
  padding: 0 20px;
  box-sizing: border-box;
  border-radius: 4px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 10vh; 
  max-height: 100px; 
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: black;
}

.logo-link img {
  height: auto;
  width: auto;
  max-height: 50px; 
}

.header-navigation a {
  text-decoration: none;
  margin: 0 10px;
  color: black;
  font-size: 1rem;
}

.header-navigation a:hover,
.header-navigation a:focus {
  text-decoration: underline;
}

.chart {
  width: 80vw;       /* Set the width of the chart container to 50% */
  margin: 0 auto;   /* Center the chart horizontally */
  padding: 20px;    /* Add some padding around the content */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);  /* Optional: Adds a subtle shadow around the chart */
  display: flex;   /* Use flexbox */
  flex-direction: column;  /* Stack children vertically */
  align-items: center;  /* Center-align the flex items vertically */
}

table {
  width: 100%;  
  border-collapse: collapse;  
}

th, td {
  border: 1px solid #ccc;  /* Light grey border for table cells */
  text-align: left;  /* Align text to the left */
  padding: 8px;  /* Padding inside table cells */
}

th {
  background-color: #f9f9f9;  /* Light grey background for table headers */
}

tr:nth-child(even) {
  background-color: #f9f9f9;
}

footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  text-align: center;
  background-color: #51ad57;
  border-top: 0.5px solid black;
  padding-top: 7px;
}