/*
  Theme Name: FilmeX
  Theme URI: https://www.torresmo.net/
  Author: Clóvis Basílio dos Santos
  Author URI: https://i.imgur.com/0ek4PHb.jpg
  Description: Tema feito para exibir posters de filmes.
  Tags: Filmes, Series, Layout grid, Responsive
  Version: 1.0.0
  Requires at least: 5.0
  Tested up to: 5.4
  Requires PHP: 8.0.10
  License: Proprietary Software
  License URI: https://en.wikipedia.org/wiki/Proprietary_software
  Text Domain: filmex
*/

* {
  padding: 0;
  margin: 0;
}

a {
  color: red;
}

html,
body {
  height: 100%;
  display: flex;
  flex-direction: column;
}

html {
  /*remove margin from admin bar wordpress*/
  margin-top: 0 !important;
}

::-webkit-input-placeholder {
  /* WebKit, Blink, Edge */
  color: #f7fdff;
}
:-moz-placeholder {
  /* Mozilla Firefox 4 to 18 */
  color: #f7fdff;
  opacity: 1;
}
::-moz-placeholder {
  /* Mozilla Firefox 19+ */
  color: #f7fdff;
  opacity: 1;
}
:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: #f7fdff;
}
::-ms-input-placeholder {
  /* Microsoft Edge */
  color: #f7fdff;
}

::placeholder {
  /* Most modern browsers support this now. */
  color: #f7fdff;
}

.site-name {
  color: #f7fdff;
  font-weight: 400;
  word-spacing: 1px;
  text-shadow: 0px 1px 2px rgb(0 0 0 / 20%);
}

.site-name a {
  font-weight: bolder;
  font-size: 32px;
  color: #f7fdff;
  letter-spacing: 2px;
  text-decoration: none;
  transition-property: letter-spacing;
  transition-duration: 0.3s;
  transition-timing-function: ease;
  transition-delay: 0s;
}

.site-name a:hover {
  letter-spacing: 0px;
  transition-property: letter-spacing;
  transition-duration: 0.3s;
  transition-timing-function: ease;
  transition-delay: 0s;
}

.container {
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
}

.hidden {
  transform: translateY(-100px) !important;
  transition: transform 0.2s ease-out, visibility 1s !important;
}

body {
  font-family: "Roboto", sans-serif;
  background-color: #eeeeee;
  color: #f7fdff;
}

.header {
  color: #f7fdff;
  text-align: center;
  background-color: #c9343e;
}

.header .container {
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 2;
}

#search-form {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  background-color: #fff;
  transform: translateY(-0px);
  transition: transform 0.2s ease-out, visibility 0s;
}

.box-input-btn {
  display: flex;
}

#input-search {
  color: #c9343e;
  width: 100%;
  margin-left: 11px;
  font-size: 23px;
  border: none;
  height: 64px;
  outline: none;
  background-color: transparent;
}

#input-search::placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #c9343e;
  opacity: 1; /* Firefox */
}

#input-search:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: #c9343e;
}

#input-search::-ms-input-placeholder {
  /* Microsoft Edge */
  color: #c9343e;
}

.btn-search-show {
  position: absolute;
  top: 14px;
  right: 0;
  border: none;
  background: #0000;
  cursor: pointer;
}

.btn-search-show .icon-search {
  width: 38px;
  fill: #f7fdff;
}

.btn-search-hidden {
  border: none;
  background: #0000;
  cursor: pointer;
}

.icon-close {
  width: 38px;
  fill: #c9343e;
}

.not-found-message {
  margin-top: 50%;
  text-align: center;
  font-size: 18px;
  padding: 0 20px;
}

.not-found-message span {
  font-weight: bolder;
  margin: 0 6px;
  text-decoration: underline;
}

.movies-grid {
  display: grid;
  gap: 24px;
  max-width: 1320px;
  margin: 0 auto;
  align-self: center;
  grid-template-columns: repeat(auto-fit, minmax(196px, auto));
  align-content: center;
  justify-content: center;
}

.post-link {
  position: relative;
  display: block;
  text-decoration: none;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.post-link:hover {
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.poster {
  display: flex;
  background-color: #1d1d1d;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 66%), 0 1px 3px 1px rgb(0 0 0 / 2%);
}

.post-views {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 13px;
  background-color: rgb(0 0 0 / 36%);
  padding: 3px;
}

.post-title {
  margin-top: 4px;
  max-width: 196px;
  color: #1d1d1d;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.0178571429em;
  line-height: 1.25rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -moz-box-orient: horizontal;
  -moz-line-clamp: 2;
  display: -moz-box;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0.9;
}

.card-movie {
  max-width: 900px;
  max-height: 282px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 196px auto;
  background-color: #202024;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 40%), 0 1px 3px 1px rgb(0 0 0 / 2%);
}

.card-movie-poster {
  display: flex;
}

.card-movie-title {
  margin-bottom: 18px;
  font-weight: 500;
  font-size: 28px;
}

.card-subtitle-infos {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  margin: 10px 0px;
}

.class-ind-18,
.class-ind-16,
.class-ind-14,
.class-ind-12,
.class-ind-10,
.class-ind-l {
  display: block;
  padding: 2px 3px 2px 3px;
  border-radius: 2px;
}

.class-ind-18 {
  background-color: #000000;
}
.class-ind-16 {
  background-color: #ec1a23;
}
.class-ind-14 {
  background-color: #f6821f;
}
.class-ind-12 {
  background-color: #ffcc03;
}
.class-ind-10 {
  background-color: #0095d9;
}
.class-ind-l {
  background-color: #01a54f;
  text-transform: uppercase;
  font-weight: 500;
  padding-right: 6px;
  padding-left: 7px;
}

.card-movie-infos {
  padding: 24px;
}

.movie-categories {
  list-style: none;
  display: flex;
  gap: 10px;
}

.movie-categories::after,
.movie-categories::before {
  content: "‧";
  display: flex;
  align-items: center;
}

.movie-categories a {
  font-size: 12px;
  text-decoration: none;
  border: 1px solid #444;
  border-radius: 2px;
  padding: 2px 4px;
}

.movie-categories a {
  text-decoration: none;
}

.card-movie-sinopse {
  font-size: 14px;
  margin-top: 24px;
  opacity: 0.8;
  overflow: auto;
  max-height: 156px;
}

.download-movie {
  max-width: 900px;
  margin: 0 auto;
  padding: 30px;
  color: rgba(0, 0, 0, 0.87);
  background-color: #ffffff;
  -webkit-box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.14);
  box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.14);
}

.dub-or-leg {
  text-align: center;
  margin-top: 34px;
  font-size: 18px;
  opacity: 0.6;
}

.download-infos {
  display: flex;
  justify-content: space-between;
  align-items: center;
  align-content: center;
  margin-top: 24px;
  padding: 14px 22px;
  background-color: #202024;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 40%), 0 1px 3px 1px rgb(0 0 0 / 2%);
}

.download-infos .qualidade span {
  color: #c9343e;
}

.download-infos .tamanho::before {
  position: relative;
  bottom: 1.5px;
  content: "📄";
  font-size: 15px;
  opacity: 0.7;
  margin-right: 2px;
}

.download-infos .link a::before {
  position: relative;
  top: 4px;
  content: "↶";
  font-size: 36px;
  margin-right: 8px;
}

.download-infos .link {
  display: flex;
  background: #01a54f;
  border-radius: 2px;
  padding: 6px 14px;
}

.download-infos .link a {
  display: flex;
  text-decoration: none;
}

.download-infos .link a:hover {
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.download-infos .link a span {
  display: block;
}

.download-infos .link b {
  display: block;
  font-size: 20px;
}

.generic-page {
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
  background-color: #202024;
  padding: 28px;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 40%), 0 1px 3px 1px rgb(0 0 0 / 2%);
  opacity: 0.8;
}

.title-generic-page {
  margin: 0 0 20px;
}

.generic-page p {
  margin: 0 0 16px;
}

.generic-page ul {
  padding-left: 36px;
  margin-bottom: 16px;
}

.comments-disqus {
  max-width: 900px;
  margin: 0 auto;
}

.related-movies {
  display: grid;
  gap: 38px;
  max-width: 900px;
  margin: 38px auto 38px;
  align-self: center;
  grid-template-columns: repeat(auto-fit, minmax(196px, auto));
  align-content: center;
  justify-content: center;
}

.pagination {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 10vh;
}

.movies-genres {
  max-width: 900px;
  margin: 24px auto;
}

.movies-genres .movies-genres-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
  justify-content: center;
}

.movies-genres-list a {
  display: block;
  color: #999999;
  font-weight: 500;
  text-decoration: none;
  padding: 6px;
  border: 2px solid;
  border-radius: 3px;
  background-color: transparent;
  transition: color 0.3s, color 0.3s;
}

.movies-genres-list a:hover {
  color: #c9343e;
  transition: color 0.3s, color 0.3s;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.nav-links a,
.nav-links span {
  padding: 0 16px;
  line-height: 2;
  color: #f7fdff;
  text-decoration: none;
  font-size: 20px;
  background-color: #c9343e;
  border-radius: 2px;
  border: 1px solid #c9343e;
  -webkit-transition: all 150ms ease-in-out;
  transition: all 150ms ease-in-out;
}

.nav-links a:hover {
  color: #c9343e;
  background-color: #f7fdff;
  border: 1px solid #ddd;
  -webkit-transition: all 150ms ease-in-out;
  transition: all 150ms ease-in-out;
}

.nav-links .current {
  color: #c9343e;
  background-color: #f7fdff;
  border: 1px solid #ddd;
  cursor: default;
}

.nav-links .dots {
  font-weight: bolder;
  cursor: default;
}

.nav-links svg {
  position: relative;
  top: 5px;
  fill: #f7fdff;
  -webkit-transition: all 150ms ease-in-out;
  transition: all 150ms ease-in-out;
}

.nav-links a:hover svg {
  fill: #c9343e;
  -webkit-transition: all 150ms ease-in-out;
  transition: all 150ms ease-in-out;
}

.footer {
  margin-top: auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50px;
}

.footer-list-links {
  list-style: none;
  justify-content: center;
  display: flex;
  gap: 20px;
}

.footer-list-links a {
  color: #1d1d1d;
  text-decoration: none;
  opacity: 0.6;
  font-size: 14px;
}

.footer-list-links a:hover {
  opacity: 1;
}

.copyrights {
  color: #1d1d1d;
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  height: 50px;
  cursor: default;
}
.copyrights span {
  opacity: 0.6;
}
.filmes-torrent {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  background: linear-gradient(to right, #1d4ed8, #c026d3, #22d3ee);
  color: white;
  padding: 12px 20px;
  height: 50px;
  margin-bottom: 24px;
}
.filmes-torrent a {
  background-color: #1d1d1d;
  color: white;
  padding: 10px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bolder;
  white-space: nowrap;
}
