@import url('https://fonts.googleapis.com/css2?family=Averia+Libre:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap');

body {
  background-color: #222640;
  margin: 0 auto; /* This centers the content horizontally */
  padding-bottom: 45px;
  max-width: 1300px; 
  min-width: 555px;
}

/* fonts */
p {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1em;
}

h1 {
  font-family: 'Averia Libre', Arial, sans-serif;
  font-size: 1.6em;
}

h2 {
  font-family: 'Averia Libre', Arial, sans-serif;
  font-size: 1.4em;
}

ol, li {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1em;
}

.navbar li a {
  font-family: 'Averia Libre', Arial, sans-serif;
  font-size: 1.2em;
}

.page-wrapper p {
  color: #222640;
  font-family: 'Averia Libre', Arial, sans-serif;
  font-size: 2.3em;
  line-height: 0%;
}

/*links*/
a {
  color: #a9b2d8; /* Light slate - Default */
  text-decoration: none;
}

a:visited {
  color: #767fa7; /* Slate Blue - Clicked */
}

a:hover {
  color: #89DDFF; /* Sky Blue - Hover */
  text-decoration: underline;
}

/*positioning */
.site-logo {
  z-index: 2;
  position: fixed;
  margin-left: 10px;
  margin-top: 10px;
  left: 0px;
  top: 5px;
  background-color: #767fa7;
  padding: 20px;
  width: 185px; /* Set width and height to be equal */
  height: 185px;
  border-radius: 50%; 
  display: flex; 
  justify-content: center; 
  align-items: center; 
}


.site-logo img {
  display: block;
  width: 150px;
  height: auto; 
  padding: 38px;
}

.page-wrapper {
  z-index: 1;
  background-color: #767fa7;
  position: fixed;
  left: 130px;
  top: 15px;
  padding-left: 115px;
  padding-right: 15px;
  min-width: 555px;
  width: calc(100% - 160px);
  max-width: calc(100% - 20px);
  border-top-left-radius: 0px;
  border-top-right-radius: 20px;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 20px;
  box-sizing: border-box; 
}

.navbar {
  border-radius: 10px;
  list-style-type: none;
  margin: 0;
  padding: 0;
  width: 200px;
  background-color: #767fa7;
  position: fixed;
  left: 10px;
  top: 270px;
  overflow: hidden;
}

.navbar li a {
  display: block;
  color: #222640;
  padding: 8px 16px;
  text-decoration: none;
  width: calc(100% - 32px); 
}

.navbar li a:hover {
  background-color: #72558C;
  color:#e6e8eb;
  border-radius: 0;
}

/* buttons */
.button-container {
  display: inline-block;
  margin: 10px;
}

.button {
  background-color: #767fa7;
  color: #222640;
  font-family: Averia Libre, Arial, sans-serif;
  font-size: 1.2em;
  border: none;
  border-radius: 10px;
  padding: 8px 16px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  margin: 5px;
}

.button:hover {
  background-color: #72558C;
  color: #e6e8eb; 
}

 /*content*/

.page-content {
  color: #e6e8eb;
  margin-left: 230px; /* 200px (navbar width) + 30px (10px initial + 20px separation) */
  padding: 10px;
  display: block;
}

h1 {
    margin-left: 0px;
    margin-top: 100px;
    text-align: left;
}

h2 {
    margin-left: 0px;
    text-align: left;
}

.page-content .alone-image {
  justify: left;
  margin: 20px auto;
  max-width: 100%;
  height: auto;
  max-height: 400px;
  border: 5px solid #e6e8eb;
  border-radius: 20px;
}

/* styles for filter container and dropdowns */
.filter-container {
  margin: 15px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.filter-container label {
  color: #e6e8eb;
  font-family: 'Averia Libre', Arial, sans-serif;
  font-size: 1.4em;
}

.filter-dropdown {
  background-color: #767fa7;
  color: #222640;
  font-family: 'Averia Libre', Arial, sans-serif;
  font-size: 1.2em;
  border: none;
  border-radius: 5px;
  padding: 8px 16px;
  cursor: pointer;
}

.filter-dropdown:hover {
  background-color: #72558C;
  color: #e6e8eb;
}

footer {
  position: fixed;
  left: 10px;
  bottom: 0px;
  margin-left: 0px;
  z-index: -1;
}

footer p {
  color: #767fa7;
  font-size: .7em;
  font-family: 'Open Sans', Arial, sans-serif;
}


/* style for reviews tiles */
#reviews-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    justify-content: center;
}

.review-tile {
    position: relative;
    background-color: #767fa7;
    border: 4px solid #72558C;
    border-radius: 8px;
    overflow: hidden;
    width: 300px;
    height: auto;
}

.album-img {
    width: 100%;
    height: 300px;
    object-fit: contain;
    background-color: #72558C;
}

.review-info {
    padding: 15px;
    font-family: 'Open Sans', Arial, sans-serif;
}

.review-info h3 {
    margin: 0;
    font-size: 1.1em;
    display: flex;
    align-items: center;
}

.rating {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 10px;
}

.review-info p {
    margin: 5px 0;
}

.review-info .notes {
    font-size: .9em;
    max-height: 200px; /* Adjust based on expected content size */
    overflow: auto;
    white-space: pre-wrap;
}

.review-info .notes::-webkit-scrollbar {
    width: 12px;  /* Width of the scroll bar */
}

.review-info .notes::-webkit-scrollbar-track {
    background: #767fa7;  /* Background color of the track */
}

.review-info .notes::-webkit-scrollbar-thumb {
    background-color: #72558C;  /* Color of the scroll bar thumb */
    border-radius: 20px;  /* Rounding corners of the thumb */
    border: 3px solid #767fa7;  /* Border around the thumb */
}

.review-info .notes::-webkit-scrollbar-thumb:hover {
    background-color: #5d4e76;  /* Color when hovering over the thumb */
}

.review-meta, .media-type {
    position: absolute;
    bottom: 10px;
    font-size: 0.8em;
    color: #b3b9d4;
    font-family: 'Open Sans', Arial, sans-serif;
}

.review-meta {
    right: 10px;
}

.media-type {
    left: 10px;
    text-transform: capitalize;
}

.review-info p:last-child {
    margin-bottom: 40px;
}

.review-meta p, .media-type p {
    margin: 0;
}

@media (max-width: 600px) {
    #reviews-container {
        gap: 10px;
        padding: 10px;
    }

    .review-tile {
        width: 100%;
    }
}

/* styles for pagination */
#pagination-container {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}
