/*
Theme Name: Author Theme
Theme URI: 
Description: Theme for authors
Author: Cristian Cobra
Author URI: 
Version: 0.1
*/

@import url("../author-theme/style.css");

/* Adicione suas personalizações CSS abaixo desta linha */

/* variables*/

:root {
  --border-normal: 20px;
  --white: #f6f6f6;
  --white-dark: #b9b9b9;
  --black: #36383F;
  --black-dark: #292A2F;
  --red: #d71920ff;
  --red-dark: #a11318;
  --primary-color: #5c84a0;
  --primary-hover-color: #34495e; /* Darkened blue-gray for a calm feel */
  --highlight-color: #e74c3c; /* Coral red for highlight points */
  --background-color: #4A2C1D; /* Light gray for a soft and readable background */
  --background-text-color: #F9F4E7; /* Light gray for a soft and readable background */
  --text-color: #2c3e50;
  --text-color-light: #F9F4E7;
  --title-color: #4A2C1D;
}

/* reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Estilos para desktop */
body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  background-color: var(--background-text-color);
}

.main-container {
  flex-direction: row;
  margin-top: 6vh;
  padding: 5%;
}

footer p {
  padding-top: 1rem;
}

a {
  color: var(--red);
}

p {
  font-size: 18px;
  line-height: 2.3;
  padding-bottom: 2rem;
  text-align: justify;
  font-weight: normal;
}

h1 {
  color: var(--primary-color);
  font-size: 2rem;
  line-height: 1.5;
  padding-bottom: 3vh;
}


h2 {
  color: var(--primary-color);
  font-size: 1.1rem;
  line-height: 1.5;
  padding-bottom: 1.5vh;
  text-align: justify;
}

article a {
  color: var(--highlight-color);
}


article a:hover {
  color: var(--highlight-color);
}


aside h2 {
  font-size: 1.1rem;
}


/* Estilos para dispositivos de tamanho intermediário */
@media (max-width: 991px) {

  p {
    font-size: 16px;
    line-height: 1.7rem;
  }

  h1 {
    font-size: 28px;
    /* line-height: 1.5;
    padding-bottom: 3vh; */
  }
}

/* Estilos para celular */
@media (max-width: 767px) {

  p {
    font-size: 14px;
  }

  h1 {
    font-size: 1.8rem;
    /* line-height: 1.5;
    padding-bottom: 3vh; */
  }

  h2 {
    font-size: 1.1rem;
  }
}

.button-light {
  background-color: var(--background-text-color);
  color: var(--text-color);
  font-weight: 700;
  padding-top: 3px;
  padding-bottom: 3px;
  padding-left: 12px;
  padding-right: 12px;
  border-radius: 8px;
  border-style: solid;
  margin-top: -4px;
}

.button-light:hover {
  background-color: var(--background-color);
  color: var(--text-color-light);
  border-style: solid;
  border-color: var(--text-color-light);
}

.button {
  background-color: var(--background-color);
  color: var(--text-color-light);
  font-weight: 700;
  padding-top: 6px;
  padding-bottom: 6px;
  padding-left: 12px;
  padding-right: 12px;
  border-radius: 8px;
  border-style: solid;
  margin-top: -4px;
}

.button:hover {
  background-color: var(--background-color-light);
  color: var(--text-color);
  border-style: solid;
  border-color: var(--text-color);
}

.category {
  font-weight: 800;
}

.center {
  text-align: center;
}

.content {
  width: 70%;
  padding: 1rem;
}

.content iframe {
  width: 100vh;
  height: 55vh;
}


.comments {
  background-color: var(--white);
  margin-top: 10vh;
  text-align: justify;
}


@media screen and (max-width: 768px) {
  /* Aplique as alterações para dispositivos com largura menor que 768 pixels */

  .content {
    width: 100%;
    padding: 0.1rem 3rem 1rem 3rem;
  }

  .comments textarea {
    width: 100%;
  }

  .comments label {
    display: block;
  }

  .main-container {
    flex-direction: column;
  }

}

.featured-image {
  width: 100%;
  margin-top: 2rem;
  margin-bottom: 2rem;
  padding-right: 2rem;
  /* max-height: 60vh; */
  /* overflow: hidden; */
}

.label {
  font-weight: 800;
  padding-right: 6px;
}

.labels-container {
  padding-bottom: 6vh;
}


/* Estilos para dispositivos de tamanho intermediário */
@media (max-width: 991px) {

  .img-fluid {
    width: 92vw;
  }
}

/* Estilo para celular */
@media (max-width: 767px) {

  .featured-image {
    padding-bottom: 1rem;
    width: 100%;
    padding-right: 0rem;
  }

  .img-fluid {
    width: 80vw;
  }

}

.featured-image {
  display: flex;
  justify-content: center;
}

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

.label {
  font-weight: 800;
  padding-right: 8px;
}

.labels-container {
  display: flex;
  flex-direction: row;
  padding-bottom: 3vh;
}

.input {
  padding-right: 8px;
}

@media screen and (max-width: 768px) {
  /* Aplique as alterações para dispositivos com largura menor que 768 pixels */

  .date {
    font-size: 0.8rem;
    white-space: nowrap;
  }

  .label {
    font-size: 0.8rem;
  }

  .input {
    font-size: 0.8rem;
  }

}

.tag {
  display: inline-block;
  padding: 0.5rem;
  border-style: solid;
  border-width: 1px;
}


.tag-link {
  text-decoration: none;
  color: var(--primary-color);
}

.tag-link:hover {
  color: var(--black); /* Cor para o estado de hover */
}
/* 
.tag-link.primary {
  text-decoration: none;
  color: var(--primary-color);
} */

.tag-link.primary:hover {
  color: var(--white); /* Mantém a cor do texto no hover */
}

.primary {
  color: var(--white);
  border-color: var(--primary-color);
  background-color: var(--primary-color);
}

.red {
  color: var(--white);
  border-color: var(--red);
  background-color: var(--red);
}
/* 
.red:hover {
  color: var(--red);
  border-color: var(--red);
  background-color: var(--white);
} */

/* .tag > a.red {
  color: var(--white);
} */

/* .tag .white {
  color: var(--white);
  border-color: var(--black);
  background-color: var(--white);
} */

/* .white:hover {
  color: var(--white);
  border-color: var(--white);
  background-color: var(--black);
} */
/* 
.tag > a.white {
  color: var(--black);
} */

.no-link {
  text-decoration: none;
}




/* //////////////////////////////// */
/* navBar */

 /* Header */
 .header {
  background-color: #382418;
  box-shadow: 1px 1px 5px 0px var(--black);
  position: fixed;
  top: 0;
  width: 100vw;
  height: 6vh;
  z-index: 10;
  color: white;
  transition: all 0.5s ease; 
}

.header-transparent {
  position: fixed;
  top: 0;
  width: 100vw;
  height: 6vh;
  z-index: 10;
  color: white;
  transition: all 0.5s ease; 
}



/* Logo */
.author-photo {
  display: inline-block;
  margin-left: 3vw;
  margin-top: 0.8vw;
  height: 150%;
  border-radius: 50%;
  box-shadow: 2px 2px 8px 0px var(--black);
  transition: width 1s ease;
}

.author-photo-big {
  width: 100%;
  border-radius: 50%;
  transition: width 1s ease;
  box-shadow: 2px 2px 8px 0px var(--black);
}

.nav {
  width: 100vw;
  max-height: 0;
  position: fixed;
  background-color: var(--white);
  overflow: hidden;
  /* border-bottom-style: solid;
  border-bottom-width: 1px;
  border-bottom-color: lightgray; */
  padding-right: 4vh;
  padding-left: 4vh;
  padding-top: 1vh;
}

.nav ul li {
  list-style: none;

}

.menu a {
  display: block;
  padding: 0.7rem;
  color: #F9F4E7;
  font-size: 1rem;
  font-weight: 500;
}

.menu a:hover {
  background-color: var(--gray);
}

.nav {
  max-height: 0;
  transition: max-height .5s ease-out;
}

/* Menu Icon */
.hamb {
  cursor: pointer;
  float: right;
  padding: 3vh;
}

/* Style label tag */

.hamb-line {
  background: var(--black);
  display: block;
  height: 2px;
  position: relative;
  width: 24px;

}

/* Style span tag */

.hamb-line::before,
.hamb-line::after {
  background: var(--black);
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  transition: all .2s ease-out;
  width: 100%;
}

.hamb-line::before {
  top: 5px;
}

.hamb-line::after {
  top: -5px;
}

.side-menu {
  display: none;
}

/* Hide checkbox */

/* Toggle menu icon */
.side-menu:checked~nav {
  max-height: 100%;
}

.side-menu:checked~.hamb .hamb-line {
  background: transparent;
}

.side-menu:checked~.hamb .hamb-line::before {
  transform: rotate(-45deg);
  top: 0;
}

.side-menu:checked~.hamb .hamb-line::after {
  transform: rotate(45deg);
  top: 0;
}

/*  */
@media (min-width: 768px) {
  .nav {
    max-height: none;
    top: 0;
    position: relative;
    float: right;
    width: fit-content;
    background-color: transparent;
  }

  .menu li {
    float: left;
  }

  .menu a:hover {
    background-color: transparent;
    color: var(--gray);

  }

  .hamb {
    display: none;
  }
}

.widget a {
  font-weight: bold;
  text-decoration: none;
}

/* correcoes do bootstrap */

.wp-block-latest-posts__post-title {
  text-decoration: none;
  font-weight: bold;
}

.wp-block-latest-comments__comment-author {
  color: var(--red-dark) !important;
}

.wp-block-latest-comments__comment-author:hover {
  color: var(--red) !important;
}