@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

body {
  font-family: 'Roboto', sans-serif;
  background-color: #2979e1;
  color: #000;
  max-width: 800px;
  margin: auto;
  padding: 2em;
}

h1 {
  text-align: left;
  color: #000000;
  font-size: 2.5em;
  margin-bottom: 1.5em;
}

h3 {
  text-align: left;
  color: #000000;
  font-size: 2.5em;
  margin-bottom: 1.5em;
  
}

/* container for layout */
.review-container {
  display: flex;
  gap: 1.5em;
  overflow-x: auto;
  padding-bottom: 0.5em;
  scrollbar-width: thin;
  scrollbar-color: #394cdb #e4ebf5;
}

.review-container::-webkit-scrollbar {
  height: 8px;
}
.review-container::-webkit-scrollbar-track {
  background: #aecbfc;
  border-radius: 10px;
}
.review-container::-webkit-scrollbar-thumb {
  background-color: #251bab;
  border-radius: 10px;
}

/* review box */
.review-box {
  flex: 0 0 250px;       /* fixed width */
  background-color: #fff;
  border: 3px solid #000;          /* no border */
  border-radius: 0;      /* no rounded corners */
  padding: 1em;
  /* keep the rest */
  display: flex;
  flex-direction: column;
  height: 320px;         /* fixed height */
  transition: transform 0.2s ease;  /* keep hover scale */
}

.review-box:hover {
  box-shadow: none;
}

.review-text {
  overflow-y: auto;
  flex-grow: 1;          
  margin-bottom: 0.8em;
  padding-right: 0.3em;  
  font-size: 1em;
  line-height: 1.4em;
}

/* scollbar */
.review-text::-webkit-scrollbar {
  width: 6px;
}
.review-text::-webkit-scrollbar-track {
  background: #8ca5ff;
  border-radius: 10px;
}
.review-text::-webkit-scrollbar-thumb {
  background-color: #230e99;
  border-radius: 10px;
}
.review-box {
  flex-grow: 1;
  overflow-y: auto;
  max-height: 100%;
  margin-bottom: 0.8em;
  padding-right: 0.3em;
  font-size: 1em;
  line-height: 1.4em;
  word-wrap: break-word;
  overflow-wrap: anywhere;
  white-space: normal;       
}
a {
  color: #0048ff;
  text-decoration: none;
  font-weight: bold;
  align-self: flex-start;
}

.comicPage img {
    width: 200px;
    max-width: 100%;
}


a:hover {
  text-decoration: underline;
}
