/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

body {
  background-color: #303b3d;
  background-image: url('../images/asphalt_bg2.jpg');
	background-position: top;
  font-size: 18px;
  font-family: Georgia, "Times New Roman", serif;
  margin: 0;
}

p {
  line-height: 1.6em; /*I find the default HTML line-height tends to be a bit claustrophobic for main text*/
}

hr {
  border: solid #9a8e78;
  border-width: 2px 0 0 0;
}

img {
  max-width: 100%;
  height: auto;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}
.right {
  float: right;
  margin-left: 1em;
}
.left {
  float: left;
  margin-right: 1em;
}
.center {
  display: block;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}
@media only screen and (min-width: 600px) {
  .small {
    max-width: 60%;
    height: auto;
  }
}
.caption {
  margin-top: 0;
  font-size: 0.9em;
  font-style: italic;
}

a:hover { 
  background-color: #d8cfbb;
}

h1, h2, h3, h4, h5 {
  font-family: Tahoma, Geneva, sans-serif;
  color: #343f40;
}

.blog-title {
  display: flex;
  align-items: center;
  gap: 14px;
}

.blog-title h1 {
  margin: 0;
}

.blog-title .title-icon {
  width: 90px;
  height: 90px;
  object-fit: contain;
  image-rendering: pixelated;
  margin: 0;
}

/*#CONTAINER is the rectangle that contains everything but the background!*/
#container {
  margin: 3em auto;
  width: 90%;
	max-width: 700px;
	background-color: #e8dfca;
  color: #151515; 
  outline-color: #a9a9a9;
  outline-style: ridge;
  outline-width: 4px;
  outline-offset: 0;
}

#content {
  padding: 10px 5% 20px 5%;
}


/*HEADER STYLE*/
#header {
  background-color: #303b3d;
  padding: 0 5%;
  border-color: #a9a9a9;
  border-style: ridge;
  border-width: 0 0 4px 0;
}
#header ul {
  list-style-type: none;
  padding: 0.5em 0;
  margin: 0;
}
#header li {
  font-size: 1.2em;
  display: inline-block;
  margin-right: 1.5em;
  margin-bottom: 0.2em;
  margin-top: 0.2em;
}
#header li a {
  color: white;
  text-decoration: none;
  background-color: inherit;
}
#header li a:hover {
  text-decoration: underline;
}

/*POST LIST STYLE*/
#postlistdiv ul {
  font-size: 1.2em;
  padding: 0;
  list-style-type: none;
}
#recentpostlistdiv ul {
  font-size: 1.2em;
  padding: 0;
  list-style-type: none;
}
.moreposts {
  font-size: 0.8em;
  margin-top: 0.2em;
}

/*NEXT AND PREVIOUS LINKS STYLE*/
#nextprev {
  text-align: center;
  margin-top: 1.4em;
}

/*DISQUS STYLE*/
#disqus_thread {
  margin-top: 1.6em;
}

/*FOOTER STYLE*/
#footer {
  font-size: 0.8em;
  padding: 0 5% 10px 5%;
}

/*BUTTONS 88x31*/
.buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 18px 0;
}

.buttons img {
  width: 88px;
  height: 31px;
  margin: 0;
  image-rendering: pixelated;
}

.buttons a {
  display: inline-block;
  height: 31px;
}

.buttons a:hover {
  background-color: transparent;
}

#status {
  margin: 1.8em 0;
  padding: 0.8em 0;
  border-top: 2px solid #9a8e78;
  border-bottom: 2px solid #9a8e78;
}

#status h2 {
  margin-top: 0;
  margin-bottom: 0.5em;
}

.status-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  padding: 5px 8px;
  border-bottom: 1px dashed #b8ad98;
}

.status-row:last-child {
  border-bottom: none;
}

.status-label {
  font-family: Tahoma, Geneva, sans-serif;
  font-weight: bold;
  color: #343f40;
}

#status a,
.review-list a,
#postlistdiv a {
    color: #343f40;
    text-decoration: none;
    font-weight: normal;
}

#status a:hover,
.review-list a:hover,
#postlistdiv a:hover {
    color: #6b4b1f;
    text-decoration: underline;
    background: transparent;
}

@media only screen and (max-width: 600px) {
  .status-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

.preview {
    position: relative;
    display: inline-block;
}

.preview img {
    position: absolute;
    top: 26px;
    left: 0;

    width: 160px;
    height: auto;

    border: 2px solid #9a8e78;
    background: #e9dfc7;
    padding: 2px;

    box-shadow: 2px 2px 8px rgba(0,0,0,.35);

    opacity: 0;
    visibility: hidden;

    transition: opacity .25s ease;

    z-index: 999;
}

.preview:hover img {
    opacity: 1;
    visibility: visible;
}

.guestbook-frame {
  width: 100%;
  height: 650px;
  border: none;
  display: block;
  margin-top: 1em;
}

.review-list {
  line-height: 1.8em;
}

.review-cover {
  display: block;
  max-width: 250px;
  height: auto;
  margin: 1.5em auto;
}

.review-meta {
  font-size: 0.9em;
  font-style: italic;
  color: #555;
}

/* REVIEWS */

.review-meta {
  margin-top: -0.5em;
  color: #555;
  font-style: italic;
}

.review-cover {
  display: block;
  width: 65%;
  max-width: 400px;
  height: auto;
  margin: 1.5em auto;
}

.band-photo {
  display: block;
  max-width: 80%;
  height: auto;
  margin: 1em auto 1.5em auto;
}

/* TABELA DE INFORMAÇÕES */

.review-info {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 0.95em;
}

.review-info th,
.review-info td {
  padding: 8px 10px;
  border-bottom: 1px dashed #b8ad98;
  text-align: left;
  vertical-align: top;
}

.review-info th {
  width: 35%;
  font-family: Tahoma, Geneva, sans-serif;
  color: #343f40;
}

.review-info tr:last-child th,
.review-info tr:last-child td {
  border-bottom: none;
}

/* PLAYER */

.music-player {
  max-width: 400px;
  margin: 1.5em auto;
}

.music-player iframe {
  display: block;
  width: 100%;
  height: 225px;
  border: 2px solid #9a8e78;
}

/* VOLTAR */

.back-link {
  margin-top: 2em;
  text-align: center;
}

.back-link a {
  color: #343f40;
  text-decoration: none;
}

.back-link a:hover {
  color: #6b4b1f;
  text-decoration: underline;
  background: transparent;
}

.review-source {
  margin-top: 1.5em;
  font-size: 0.8em;
  font-style: italic;
  color: #555;
}

.review-source a {
  color: #343f40;
}

.review-source a:hover {
  color: #6b4b1f;
  background: transparent;
}