:root {
  --blue: #007bff;
  --indigo: #6610f2;
  --purple: #6f42c1;
  --pink: #e83e8c;
  --red: #dc3545;
  --orange: #fd7e14;
  --yellow: #ffc107;
  --green: #28a745;
  --teal: #20c997;
  --cyan: #17a2b8;
  --white: #fff;
  --gray: #6c757d;
  --gray-dark: #343a40;
  --primary: #007bff;
  --secondary: #6c757d;
  --success: #28a745;
  --info: #17a2b8;
  --warning: #ffc107;
  --danger: #dc3545;
  --light: #f8f9fa;
  --dark: #22262a;
  --darker1: #24282d;
  --darker2: #181b1f;
  --darker3: #1b1f23;
  --margin: 5vw;
  --header-height: 100px;
  --transition: 0.15s linear;
  --nunito: 'Nunito', sans-serif;
  --roboto: 'Roboto', sans-serif;
  --oswald: 'Oswald', sans-serif;
  --ease-out: cubic-bezier(0.32, 0.32, 0, 1);
  --ease-in: cubic-bezier(0.78, 0.08, 0.91, 0.6);
  --ease-elastic: cubic-bezier(0.7, 0, 0.2, 2);
  --text-color: rgba(255, 255, 255, 0.7);
}

* {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 0;
  outline: 0;
  box-sizing: border-box;
  text-decoration: none;
  line-height: 1.1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

html {
  margin: 0;
  padding: 0;
  font-size: 18px;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
  font-family: var(--roboto);
  background-color: var(--dark);
  color: var(--text-color);
  font-weight: normal;
  position: relative;
}
body.preload * {
  transition: none !important;
  -webkit-animation-duration: 0s !important;
  animation-duration: 0s !important;
  transition: background-color 0s, opacity 0s, color 0s, width 0s, height 0s,
    padding 0s, margin 0s !important;
}

h1,
h2,
h3 {
  font-family: var(--nunito);
}

img {
  max-width: 100%;
}

.toggle {
  display: none;
}

.button {
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  border: 0;
  outline: 0;
  background-color: var(--cyan);
  color: var(--light);
  text-transform: uppercase;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.25);
  transition: box-shadow 0.25s linear;
}
.button.danger {
  background-color: var(--red);
}
.button.small {
  font-size: 0.8rem;
  padding: 0.5rem 1rem;
}
.button:hover {
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.35);
}
.button:active {
  box-shadow: none;
}
.button.disabled,
.button:disabled {
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.hidden {
  display: none !important;
}

.spin {
  width: 50px;
  height: 50px;
  position: relative;
  border-radius: 50%;
}
.spin::before {
  content: '';
  box-sizing: border-box;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  aspect-ratio: 1/1;
  border-top: 3px solid rgba(255, 255, 255, 0.7);
  border-right: 3px solid rgba(255, 255, 255, 0.7);
  border-bottom: 3px solid rgba(255, 255, 255, 0.7);
  border-left: 3px solid transparent;
  border-radius: 50%;
  -webkit-animation: rotate 0.7s linear infinite;
  animation: rotate 0.7s linear infinite;
}
.spin::after {
  content: '';
  box-sizing: border-box;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  aspect-ratio: 1/1;
  border-top: 3px solid transparent;
  border-right: 3px solid transparent;
  border-bottom: 3px solid rgba(255, 255, 255, 0.7);
  border-left: 3px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  -webkit-animation: rotate 0.35s linear infinite;
  animation: rotate 0.35s linear infinite;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  padding: 0 var(--margin);
}
header a.logo {
  margin-right: 2.5rem;
}
header a.logo svg {
  height: calc(var(--header-height) / 2);
  transform: translateY(-4px);
  width: auto;
}
header a.logo svg path {
  fill: rgba(255, 255, 255, 0.75);
}
header a.logo svg #p,
header a.logo svg #r,
header a.logo svg #r-2,
header a.logo svg #g,
header a.logo svg #a {
  display: none;
}
header ul.nav {
  position: relative;
  z-index: 1;
  display: flex;
}
header ul.nav a {
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  padding: 0.5rem 0.75rem;
  font-family: var(--oswald);
  font-weight: 300;
}
header ul.social-icons {
  margin-left: auto;
  position: relative;
  z-index: 1;
  display: flex;
}
header ul.social-icons a {
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  padding: 0.5rem 0.5rem;
}
header ul li a {
  transition: color var(--transition);
}
header ul li a:hover {
  color: rgba(255, 255, 255, 0.95);
}
header.on,
header.dark {
  transition: background-color 0.25s linear, height 0.25s var(--ease-out),
    box-shadow 0.25s linear;
  --header-height: 60px;
  background-color: var(--darker2);
  box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.15);
}
header.on::before,
header.dark::before {
  display: none;
}

.user-block {
  margin-left: auto;
  display: flex;
  align-items: center;
  align-self: stretch;
  z-index: initial;
  cursor: pointer;
}
.user-block .icon svg {
  width: auto;
  height: 20px;
}
.user-block .icon svg path {
  fill: rgba(255, 255, 255, 0.75);
}
.user-block .arrow {
  margin-left: 0.35rem;
  transition: transform 0.2s ease-in-out;
}
.user-block .arrow svg {
  width: auto;
  height: 10px;
}
.user-block .arrow svg path {
  fill: rgba(255, 255, 255, 0.75);
}
.user-block.on .arrow {
  transform: rotate(-180deg);
}

main {
  flex: 1;
  position: relative;
  padding-top: 3rem;
}
main > * {
  position: relative;
  z-index: 1;
}
main::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url(/img/noise.svg);
  background-size: 200px;
  background-repeat: repeat;
  mix-blend-mode: multiply;
}

section {
  display: flex;
  flex-direction: column;
  padding: 3.5rem var(--margin);
}
section h1 {
  text-transform: uppercase;
  margin: 0 auto 3.5rem;
  font-size: 2.5rem;
  opacity: 0.7;
  text-align: center;
}

#rmenu {
  margin-top: 15px !important;
  transition: margin-top 250ms ease-in-out;
}
#rmenu.show {
  margin-top: 0 !important;
  z-index: 1000;
  position: absolute;
  padding: 2px;
  display: block;
  margin: 0;
  list-style-type: none;
  list-style: none;
}
#rmenu.show ul {
  display: flex;
  flex-direction: column;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.5);
  border-radius: 6px;
  overflow: hidden;
  background-color: var(--dark);
}
#rmenu.show li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
#rmenu.show li:last-child {
  border: none;
}
#rmenu.show li.credits a {
  text-align: right;
  font-size: 0.6rem;
  font-weight: 300;
  background-color: rgba(0, 0, 0, 0.1);
  color: rgba(255, 255, 255, 0.5) !important;
}
#rmenu.show li.credits a span {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--blue);
  margin-right: 0.3rem;
}
#rmenu.show li.credits a span span {
  font-weight: 700;
  margin-right: 0;
  color: var(--red);
}
#rmenu.show a {
  display: block;
  padding: 0.5rem 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  transition: color 0.15s linear, background-color 0.15s linear;
  font-weight: 300;
}
#rmenu.show a:hover {
  color: rgba(255, 255, 255, 0.95);
}
#rmenu.hide {
  transition: opacity 0.15s linear;
  display: none;
}

.thumbs {
  display: flex;
  gap: 1rem;
}
.thumbs.container {
  width: calc(100% + 1rem);
  margin-right: -1rem;
}
.thumbs .thumb {
  flex-basis: calc(25% - 1rem);
  border-radius: 7px;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s linear, transform 0.6s var(--ease-out);
  display: flex;
  flex-direction: column;
}
.thumbs .thumb picture {
  width: 100%;
  aspect-ratio: 16/9;
  padding: 0;
  display: block;
  position: relative;
  border-radius: 7px;
  overflow: hidden;
}
.thumbs .thumb picture::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: var(--percentage);
  height: 4px;
  background-color: red;
  z-index: 1;
  pointer-events: none;
  border-radius: 7px;
}
.thumbs .thumb picture img {
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  z-index: 0;
  border-radius: 7px;
  transition: all 250ms ease-in-out;
}
.thumbs .thumb .data {
  display: flex;
  flex-direction: column;
}
.thumbs .thumb h3 {
  padding: 0.5rem;
  font-size: 1rem;
  font-weight: normal;
  z-index: 5;
  color: #fff;
  line-height: 1.1;
  transition: transform 0.4s ease-in-out;
  transition-delay: 0.1s;
}
.thumbs .thumb .date {
  flex: 1;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  font-weight: 300;
  padding: 0 0.5rem 0.5rem;
}
.thumbs .thumb.in {
  transform: translateY(0);
  opacity: 1;
}
.thumbs .thumb .statistic {
  margin-top: auto;
  display: flex;
  align-items: center;
  fill: rgba(255, 255, 255, 0.7);
  padding: 0.5rem;
  gap: 1rem;
}
.thumbs .thumb .statistic div {
  display: flex;
  align-items: center;
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8rem;
  font-weight: 300;
  gap: 0.35rem;
}
.thumbs .thumb .statistic div.thumb-comments {
  margin-left: auto;
}
.thumbs .thumb .statistic svg {
  height: 16px;
  width: auto;
}
.thumbs .thumb .statistic svg path {
  fill: rgba(255, 255, 255, 0.75);
}
.thumbs .thumb:hover picture img {
  width: 120%;
}
.thumbs .thumb.watched .watched-text {
  position: absolute;
  z-index: 4;
  top: 0.25rem;
  left: 0.25rem;
  padding: 0.25rem 0.5rem;
  background-color: #222222;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.5rem;
  text-transform: uppercase;
  border-radius: 3px;
}
.thumbs.wrap {
  flex-wrap: wrap;
}
.thumbs.wrap .thumb {
  margin-bottom: 2rem;
}

.container.videos {
  display: grid;
  grid-template-columns: 3fr 1fr;
  grid-template-rows: auto 1fr;
  grid-column-gap: 1.5rem;
  grid-row-gap: 1.5rem;
  align-items: start;
}
.container.videos .video-container {
  grid-column: 1/2;
  grid-row: 1/2;
}
.container.videos .links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  margin-top: 1rem;
  --link-color: rgba(255, 255, 255, 0.75);
}
.container.videos .links svg {
  height: 1rem;
  width: auto;
}
.container.videos .links svg path {
  transition: fill 150ms ease-in-out;
  fill: rgba(255, 255, 255, 0.75);
}
.container.videos .links a {
  display: flex;
  align-items: center;
  padding: 0px 0.75rem;
  height: 30px;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.75);
  border-radius: 6px;
  transition: background-color 150ms ease-in-out, border-color 150ms ease-in-out;
}
.container.videos .links a.facebook svg {
  height: 0.9rem;
}
.container.videos .links a:hover.facebook {
  --link-color: #3c5a99;
  background-color: #3c5a99;
}
.container.videos .links a:hover.instagram {
  background-color: #e1306c;
  --link-color: #e1306c;
}
.container.videos .links a:hover.youtube {
  background-color: #ff0000;
  --link-color: #ff0000;
}
.container.videos .thumbs {
  grid-column: 2/3;
  grid-row: 1/3;
  display: block;
}
.container.videos .thumbs .thumb {
  width: 100%;
  aspect-ratio: auto;
  margin-bottom: 0.75rem;
  display: flex;
  flex-direction: row;
  background-color: rgba(0, 0, 0, 0.15);
  border-radius: 7px;
  overflow: hidden;
}
.container.videos .thumbs .thumb::before {
  display: none;
}
.container.videos .thumbs .thumb picture {
  width: 50%;
  min-width: 50%;
  aspect-ratio: 16/9;
  order: 1;
  display: block;
  position: relative;
  margin: 0;
  padding: 0;
}
.container.videos .thumbs .thumb picture::before {
  height: 2px;
}
.container.videos .thumbs .thumb picture img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}
.container.videos .thumbs .thumb .data {
  order: 2;
  color: rgba(255, 255, 255, 0.7);
}
.container.videos .thumbs .thumb .data h3 {
  position: relative;
  top: auto;
  left: auto;
  bottom: auto;
  padding: 0;
  font-size: 0.7rem;
  padding: 0.5rem 0.75rem 0;
  margin-bottom: 0.5rem;
}
.container.videos .thumbs .thumb .data .date {
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.5);
  padding: 0 0.75rem 0.5rem;
  flex: 1;
}
.container.videos .thumbs .thumb .data .statistic {
  padding: 0 0.75rem 0.5rem;
}
.container.videos .thumbs .thumb .data .statistic div {
  font-size: 0.6rem;
}
.container.videos .thumbs .thumb .data .statistic .thumb-views span span {
  display: none;
}
.container.videos .thumbs .thumb .data .statistic svg {
  height: 12px;
}
.container.videos .thumbs .thumb:hover h3 {
  transform: translateY(0);
}
.container.videos .thumbs .thumb.watched .watched-text {
  position: absolute;
  z-index: 4;
  top: 0.25rem;
  left: 0.25rem;
  padding: 0.25rem 0.5rem;
  background-color: #222222;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.5rem;
  text-transform: uppercase;
  border-radius: 3px;
}
.container.videos .thumbs .thumb:last-child {
  margin-bottom: 1rem;
}
.container.videos .comments {
  grid-column: 1/2;
  grid-row: 2/3;
  align-self: start;
}
.container.videos .comments .video-data {
  display: flex;
  flex-direction: column;
}
.container.videos .comments .video-data .title {
  flex: 1;
}
.container.videos .comments .video-data .title h2 {
  font-weight: 400;
}
.container.videos .comments .video-data .statistic {
  padding-top: 0.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow: inset 0px 1px 0px rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  line-height: 1;
}
.container.videos .comments .video-data .statistic svg {
  width: 16px;
  height: auto;
  z-index: 0;
  margin-right: 0.5rem;
}
.container.videos .comments .video-data .statistic svg path {
  fill: rgba(255, 255, 255, 0.75);
}
.container.videos .comments .video-data .statistic .like {
  display: flex;
  margin-right: 1rem;
  align-items: center;
}
.container.videos .comments .video-data .statistic .like .count {
  color: rgba(255, 255, 255, 0.75);
}
.container.videos .comments .video-data .statistic .views {
  display: flex;
  align-items: center;
}
.container.videos .comments .video-data .statistic .date {
  display: flex;
  align-items: center;
  margin-left: auto;
  line-height: 1;
  gap: 0.3rem;
}
.container.videos .comments .video-data .statistic .date span {
  line-height: 1;
}
.container.videos .like svg {
  width: 24px !important;
  cursor: pointer;
}
.container.videos .like svg.on {
  -webkit-animation: grow 0.35s ease-in-out forwards;
  animation: grow 0.35s ease-in-out forwards;
}
.container.videos .like svg.on path {
  transition: fill 0.2s ease-in-out;
  fill: red !important;
}
.container.videos.theater {
  grid-template-columns: 2fr 1fr;
}
.container.videos.theater .video-container {
  grid-column: 1/3;
  grid-row: 1/2;
  height: 37.5vw !important;
  max-height: 37.5vw !important;
}
.container.videos.theater .thumbs {
  grid-column: 2/3;
  grid-row: 2/3;
}
.container.videos.theater .comments {
  grid-column: 1/2;
  grid-row: 2/3;
}

@-webkit-keyframes grow {
  0% {
    filter: drop-shadow(0 0 0 red);
  }
  30% {
    transform: scale(1.3);
  }
  75% {
    transform: scale(0.9);
    filter: drop-shadow(0 0 15px red);
  }
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 15px rgba(255, 0, 0, 0));
  }
}

@keyframes grow {
  0% {
    filter: drop-shadow(0 0 0 red);
  }
  30% {
    transform: scale(1.3);
  }
  75% {
    transform: scale(0.9);
    filter: drop-shadow(0 0 15px red);
  }
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 15px rgba(255, 0, 0, 0));
  }
}
.add-comment {
  display: flex;
  flex-direction: column;
  margin-top: 1.5rem;
}
.add-comment .actions {
  margin-top: 0.5rem;
  display: none;
  justify-content: flex-end;
}
.add-comment .actions div {
  padding: 0.75rem 1rem;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 0.8rem;
}
.add-comment .actions .submit {
  background-color: rgba(255, 255, 255, 0.75);
  color: var(--darker2);
  border-radius: 4px;
  margin-left: 1rem;
}
.add-comment textarea {
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  background-color: transparent;
  border-bottom: 2px solid rgba(255, 255, 255, 0.25);
  padding: 0.5rem;
  font-size: 0.8rem;
  font-family: var(--roboto);
  color: rgba(255, 255, 255, 0.75);
  min-height: 2rem;
  height: 2rem;
  resize: none;
  transition: border-color 0.2s ease-in-out;
  overflow-y: hidden;
}
.add-comment textarea:focus,
.add-comment textarea:active {
  border-color: rgba(255, 255, 255, 0.75);
}

.next-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 9000;
  background-color: rgba(0, 0, 0, 0.15);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  transition: opacity 0.3s ease-in-out;
  opacity: 0;
}
.next-video-overlay.in {
  opacity: 1;
}
.next-video-overlay.in.out {
  opacity: 0;
}

.next-video-container {
  position: absolute;
  z-index: 9000;
  background-color: var(--darker3);
  border-radius: 6px;
  overflow: hidden;
  top: 50%;
  left: 50%;
  transform: translate(-50%, calc(-1 * (50% - 50px)));
  width: 35%;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
}
.next-video-container .watched-text {
  display: none;
}
.next-video-container h4 {
  order: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-weight: normal;
  padding: 1rem;
  background-color: rgba(0, 0, 0, 0.1);
}
.next-video-container .data {
  margin: 0 1rem;
}
.next-video-container .next-video {
  order: 2;
  display: flex;
  flex-direction: column;
}
.next-video-container .next-video picture {
  display: block;
  margin: 0 1rem;
  order: 1;
  border-radius: 4px;
  overflow: hidden;
}
.next-video-container .next-video picture img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}
.next-video-container .next-video h3 {
  margin: 0.5rem 0;
  order: 2;
  font-size: 0.9rem;
  font-weight: normal;
}
.next-video-container .statistic {
  display: none;
}
.next-video-container .actions {
  order: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(0, 0, 0, 0.15);
  margin-top: 1rem;
  background-color: rgba(0, 0, 0, 0.2);
}
.next-video-container .actions div {
  flex-basis: 50%;
  text-align: center;
  cursor: pointer;
  padding: 0.75rem 1rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out;
}
.next-video-container .actions div.play-now {
  color: var(--cyan);
}
.next-video-container .actions div.play-now:hover {
  color: #fff;
  background-color: var(--cyan);
}
.next-video-container .actions div.cancel:hover {
  background-color: rgba(255, 255, 255, 0.1);
}
.next-video-container.in {
  transform: translate(-50%, -50%);
  opacity: 1;
}

.progress {
  position: absolute;
  top: 100%;
  left: 0;
  display: block;
  text-align: center;
  width: 0;
  height: 3px;
  background: red;
  transition: width 0.3s;
}

.progress.hide {
  opacity: 0;
  transition: opacity 1.3s;
}

footer {
  margin-top: auto;
  height: 300px;
  padding: calc(var(--margin) / 2) var(--margin);
  background-color: #171b20;
  border-top: 1px solid rgba(0, 0, 0, 0.15);
}

.full-video-container {
  padding-top: 2rem;
}
.full-video-container.theater {
  padding: 0;
}
.full-video-container.theater .videos .video-container {
  border-radius: 0;
  margin-right: 0;
  width: 100%;
  aspect-ratio: auto;
  max-height: calc((100vw - var(--margin) * 2) / 16 * 6);
  order: 1;
  background-color: #111;
}
.full-video-container.theater .videos .video-container video {
  width: auto;
  aspect-ratio: 16/9;
  max-width: calc(100% - var(--margin) * 2);
  max-height: calc((100vw - var(--margin) * 2) / 16 * 9);
}
.full-video-container.theater .videos .video-container video.vertical {
  width: auto;
  aspect-ratio: 9/16;
  max-height: calc((100vw - var(--margin) * 2) / 16 * 9);
}
.full-video-container.theater .videos .video-container.full-screen video {
  max-width: 100%;
  max-height: 100%;
}
.full-video-container.theater .videos .comments {
  order: 2;
  margin-left: var(--margin);
  flex: 1;
}
.full-video-container.theater .videos aside {
  margin-left: 3rem;
  order: 3;
  margin-right: var(--margin);
}
input[type='range'] {
  -webkit-appearance: none;
  height: 6px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 5px;
  background-image: linear-gradient(#fff, #fff);
  background-size: 70% 100%;
  background-repeat: no-repeat;
  opacity: 0.85;
}
input[type='range']:hover {
  opacity: 1;
}

input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 14px;
  width: 14px;
  border-radius: 50%;
  background: #f4f4f4;
  cursor: pointer;
  box-shadow: 0 0 2px 0 #555;
  -webkit-transition: background 0.3s ease-in-out;
  transition: background 0.3s ease-in-out;
}

input[type='range']::-webkit-slider-runnable-track {
  -webkit-appearance: none;
  box-shadow: none;
  border: none;
  background: transparent;
}

.loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9000;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  filter: drop-shadow(0px 1px 1px rgba(0, 0, 0, 0.25));
}
.loading::before {
  content: '';
  box-sizing: border-box;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9000;
  width: 60px;
  height: 60px;
  border-top: 6px solid #eee;
  border-right: 6px solid #eee;
  border-bottom: 6px solid #eee;
  border-left: 6px solid transparent;
  border-radius: 50%;
  -webkit-animation: rotate 1s linear infinite;
  animation: rotate 1s linear infinite;
}
.loading.hide {
  display: none;
}

@-webkit-keyframes rotate {
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes rotate {
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999999;
}
.overlay .content {
  max-width: 400px;
  max-height: 80vh;
  background-color: var(--dark);
  border-radius: 6px;
  box-shadow: 0px 5px 25px rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, calc((50% - 150px) * -1));
  z-index: 9999999;
  opacity: 0;
  transition: opacity 0.2s ease-in-out, transform 0.4s var(--ease-out),
    width 0.25s ease-in-out, height 0.25s ease-in-out;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.overlay .content.in {
  transform: translate(-50%, -50%);
  opacity: 1;
}
.overlay .content.in.out {
  transform: translate(-50%, calc((50% - 50px) * -1));
  opacity: 0;
}
.overlay .content .spin {
  margin: 3rem;
}
.overlay .content .top {
  display: flex;
  align-items: center;
  padding: 1rem 1.5rem;
  background-color: rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
}
.overlay .content .top h3 {
  font-weight: normal;
  text-transform: uppercase;
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--oswald);
}
.overlay .content .top .close {
  margin-left: auto;
  cursor: pointer;
}
.overlay .content .top .close svg {
  width: 16px;
  height: auto;
}
.overlay .content .top .close svg path {
  fill: rgba(255, 255, 255, 0.75);
}
.overlay .content .blur {
  background-color: rgba(0, 0, 0, 0.25);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  position: absolute;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.overlay .body {
  padding: 1.5rem;
}
.overlay .body small {
  margin-top: 0.5rem;
  font-size: 0.7rem;
  font-weight: 300;
  color: orange;
  line-height: 1;
  display: block;
}
.overlay .actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 1rem 1.5rem;
  background-color: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.overlay .actions .spin {
  margin: 0 0.5rem 0 0;
  width: 30px;
  height: 30px;
}

.form {
  width: 400px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}
.form .row {
  width: 100%;
  margin-bottom: 1rem;
  position: relative;
}
.form .row:last-of-type {
  margin-bottom: 0;
  margin-top: 1.5rem;
}
.form .row:last-of-type .spin {
  margin: auto;
  width: 2.5rem;
  height: 2.5rem;
}
.form .row:last-of-type .button {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.form .row input {
  width: 100%;
  height: 40px;
  background-color: transparent;
  padding: 0 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  transition: border-color 0.2s ease-in-out, color 0.2s ease-in-out;
  font-size: 1rem;
  font-family: var(--roboto);
  color: rgba(255, 255, 255, 0.75);
}
.form .row input::-moz-placeholder {
  -moz-transition: color 0.2s ease-in-out;
  transition: color 0.2s ease-in-out;
  font-size: 1rem;
}
.form .row input:-ms-input-placeholder {
  -ms-transition: color 0.2s ease-in-out;
  transition: color 0.2s ease-in-out;
  font-size: 1rem;
}
.form .row input::placeholder {
  transition: color 0.2s ease-in-out;
  font-size: 1rem;
}
.form .row input:focus,
.form .row input:active {
  border-color: rgba(255, 255, 255, 0.75);
}
.form .row input.invalid {
  border-color: orangered;
  color: orangered;
}
.form .row input.invalid::-moz-placeholder {
  color: orangered;
}
.form .row input.invalid:-ms-input-placeholder {
  color: orangered;
}
.form .row input.invalid::placeholder {
  color: orangered;
}
.form .row input.success {
  border-color: var(--success);
  color: var(--success);
}
.form .row input.success::-moz-placeholder {
  color: var(--success);
}
.form .row input.success:-ms-input-placeholder {
  color: var(--success);
}
.form .row input.success::placeholder {
  color: var(--success);
}
.form .row .error {
  position: absolute;
  left: 0;
  bottom: 100%;
  padding: 0.25rem 0.5rem;
  font-size: 0.7rem;
  background-color: orangered;
  color: rgba(255, 255, 255, 0.75);
  border-radius: 4px;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.15));
}
.form .row .error::before {
  content: '';
  position: absolute;
  left: 1.5rem;
  top: calc(100% - 1px);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 5px 0 5px;
  border-color: orangered transparent transparent transparent;
}
.form .new-user,
.form .login-user {
  margin-top: 1rem;
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--cyan);
  display: flex;
  align-items: center;
}
.form .new-user svg,
.form .login-user svg {
  height: 12px;
  width: auto;
  margin-right: 0.35rem;
}
.form .new-user svg path,
.form .login-user svg path {
  fill: var(--cyan);
}

.user-comments {
  margin: 1rem 0 3rem;
}
.user-comments .comment {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.75);
  border-radius: 4px;
  transition: box-shadow 0.25s ease-in-out;
}
.user-comments .comment .user-data {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  background-color: rgba(0, 0, 0, 0.15);
  border-radius: 4px 4px 0 0;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
  transition: background-color 1.5s ease-in-out;
}
.user-comments .comment .user-data .date {
  margin-left: auto;
  font-size: 0.7rem;
}
.user-comments .comment .comment {
  margin-left: 3rem;
  margin-top: 0.5rem;
  margin-bottom: 0;
  position: relative;
}
.user-comments .comment .comment::before {
  box-sizing: border-box;
  content: '';
  width: 1.8rem;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.1);
  position: absolute;
  left: -1.8rem;
  top: 50%;
  transform: translateY(-50%);
}
.user-comments .comment .comment::after {
  box-sizing: border-box;
  content: '';
  height: calc(100% + 0.5rem);
  width: 1px;
  background-color: rgba(255, 255, 255, 0.1);
  position: absolute;
  left: -1.8rem;
  top: -0.5rem;
}
.user-comments .comment .comment:last-of-type::before {
  box-sizing: border-box;
  content: '';
  width: 1.8rem;
  height: 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: absolute;
  left: -1.8rem;
  top: 50%;
  transform: translateY(-10px);
  border-radius: 0 0 0 6px;
  background-color: transparent;
}
.user-comments .comment .comment:last-of-type::after {
  height: calc(50% + 0.5rem - 10px);
}
.user-comments .comment .comment .add-comment {
  margin-left: 0;
}
.user-comments .comment.on > .user-data {
  transition: background-color 0.1s ease-in-out;
  background-color: var(--cyan);
}
.user-comments .content {
  padding: 0.75rem;
  font-size: 0.8rem;
  background-color: rgba(255, 255, 255, 0.025);
  display: flex;
  flex-direction: column;
}
.user-comments .content small {
  margin-top: -0.35rem;
  margin-bottom: 0.35rem;
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.4);
  font-size: 300;
}
.user-comments .content textarea {
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  background-color: transparent;
  border-bottom: 2px solid rgba(255, 255, 255, 0.25);
  padding: 0.5rem;
  font-size: 0.8rem;
  font-family: var(--roboto);
  color: rgba(255, 255, 255, 0.75);
  min-height: 2rem;
  height: 2rem;
  resize: none;
  transition: border-color 0.2s ease-in-out;
  overflow-y: hidden;
}
.user-comments .content textarea:focus,
.user-comments .content textarea:active {
  border-color: rgba(255, 255, 255, 0.75);
}
.user-comments .content .edit-actions {
  margin-top: 0.25rem;
  display: flex;
  justify-content: flex-end;
}
.user-comments .content .edit-actions div {
  cursor: pointer;
  text-transform: uppercase;
  font-size: 0.7rem;
}
.user-comments .content .edit-actions .update {
  color: var(--teal);
  margin-left: 0.5rem;
}
.user-comments .comment-actions {
  display: flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  background-color: rgba(0, 0, 0, 0.15);
  border-radius: 0 0 4px 4px;
}
.user-comments .comment-actions .comment-like {
  display: flex;
  align-items: center;
  font-size: 0.7rem;
}
.user-comments .comment-actions .comment-like svg {
  width: 1rem !important;
  height: auto;
  margin-right: 0.35rem;
  cursor: pointer;
}
.user-comments .comment-actions .comment-like svg path {
  fill: rgba(255, 255, 255, 0.75);
}
.user-comments .comment-actions .comment-like svg.on {
  -webkit-animation: grow 0.35s ease-in-out forwards;
  animation: grow 0.35s ease-in-out forwards;
}
.user-comments .comment-actions .comment-like svg.on path {
  transition: fill 0.2s ease-in-out;
  fill: red !important;
}
.user-comments .comment-actions .reply {
  font-size: 0.7rem;
  cursor: pointer;
  color: var(--cyan);
  margin-left: auto;
}
.user-comments .comment-actions .edit,
.user-comments .comment-actions .delete {
  font-size: 0.6rem;
  cursor: pointer;
  color: red;
  margin-left: 0.5rem;
}
.user-comments .comment-actions .edit.edit,
.user-comments .comment-actions .delete.edit {
  margin-left: auto;
  color: orange;
}
.user-comments .scroll-to-comment {
  cursor: pointer;
  color: var(--cyan);
}
.user-comments .add-comment {
  margin-left: 3rem;
  margin-top: 0.5rem;
}

.user-menu {
  position: absolute;
  top: 100%;
  transform: translateY(15px);
  z-index: 999;
  background-color: var(--darker2);
  right: var(--margin);
  transition: transform 0.6s var(--ease-out), opacity 0.4s ease-in-out 0.2s;
  --top: var(--header-height);
  border-radius: 0 0 6px 6px;
  box-shadow: 0px 3px 7px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.user-menu ul {
  display: flex;
  flex-direction: column;
}
.user-menu ul li a {
  display: block;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  transition: background-color 0.15s ease-in-out;
}
.user-menu ul li a:hover {
  background-color: var(--dark);
}
.user-menu.on {
  transition: transform 0.6s var(--ease-out), opacity 0.4s ease-in-out;
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.user-menu.on.dark {
  transform: translateY(0);
}
.user-menu.border {
  transition: transform 0.1s var(--ease-out), opacity 0.1s ease-in-out;
  border-radius: 6px;
}
.user-menu.no-border {
  transition: transform 0.1s var(--ease-out), opacity 0.1s ease-in-out;
}

.autoplay-container {
  display: flex;
  align-items: center;
  font-size: 0.7rem;
  line-height: 1;
}
.autoplay-container .text {
  margin-right: 0.5rem;
}
.autoplay-container .switch {
  box-sizing: border-box;
  width: 30px;
  height: 12px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 6px;
  position: relative;
  cursor: pointer;
  transition: border-color 0.25s ease-in-out, background-color 0.25s ease-in-out;
}
.autoplay-container .switch::before {
  content: '';
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #ccc;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-2px, -50%);
  transition: transform 0.25s ease-in-out;
}
.autoplay-container .switch.on {
  border-color: #fff;
  background-color: #fff;
}
.autoplay-container .switch.on::before {
  transform: translate(calc(32px - 100%), -50%);
}

@media only screen and (max-width: 1366px) {
  :root {
    --margin: 2rem;
  }
  .thumbs .thumb {
    flex-basis: calc(33.3333% - 1rem);
  }
}
@media only screen and (max-width: 1280px) {
  .container.videos .video-container {
    grid-column: 1/3;
    grid-row: 1/2;
  }
  .container.videos .thumbs {
    grid-column: 2/3;
    grid-row: 2/3;
  }
  .container.videos .comments {
    grid-column: 1/2;
    grid-row: 2/3;
  }
}
@media only screen and (max-width: 1024px) {
  :root {
    --margin: 1rem;
  }
  .full-video-container {
    padding-top: 60px;
    margin-top: -3rem;
  }
  .theater-btn {
    display: none !important;
  }
  .container.videos .video-container {
    border-radius: 0;
    grid-column: 1/3;
    grid-row: 1/2;
    width: calc(100% + var(--margin) * 2);
    margin-left: calc(var(--margin) * -1);
    margin-right: calc(var(--margin) * -1);
  }
  .container.videos .video-container.vertical {
    height: auto !important;
  }
  .container.videos .video-container .top-panel {
    display: none;
  }
  .container.videos .video-container .volume-container {
    display: none;
  }
  .container.videos .video-container .duration-container {
    font-size: 0.8rem;
  }
  .container.videos .comments {
    grid-column: 1/3;
    grid-row: 2/3;
  }
  .container.videos .comments .statistic .date span {
    display: none;
  }
  .container.videos .comments .links {
    flex-wrap: wrap;
  }
  .container.videos .comments .links span {
    width: 100%;
  }
  .container.videos .comments .links a {
    padding: 0.35rem 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
  }
  .container.videos .thumbs {
    grid-column: 1/3;
    grid-row: 3/4;
  }
  .container.videos .thumbs .thumb .data h3 {
    font-size: 1.3rem;
  }
  .container.videos .thumbs .thumb .data .date {
    font-size: 1rem;
  }
  .container.videos .thumbs .thumb .data .statistic div {
    font-size: 0.9rem;
  }
  .container.videos .thumbs .thumb .data .statistic div.thumb-views span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
  }
  .container.videos .thumbs .thumb .data .statistic div.thumb-views span span {
    display: inline-block;
  }
  .container.videos .thumbs .thumb .data .statistic svg {
    height: 18px;
  }
  .container.videos .video-title {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .thumbs .thumb {
    flex-basis: calc(50% - 1rem);
  }
  .overlay {
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
  }
  .overlay .content {
    width: calc(100% - var(--margin) * 2);
    max-width: calc(100% - var(--margin) * 2);
  }
  .overlay .content .form {
    width: 100%;
  }
  header nav {
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    z-index: 999999;
    display: none;
  }
  header ul.nav {
    background-color: var(--dark);
    border-radius: 6px;
    box-shadow: 0px 5px 25px rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, calc((50% - 150px) * -1));
    z-index: 9999999;
    flex-direction: column;
    width: calc(100% - var(--margin) * 2);
    max-width: calc(100% - var(--margin) * 2);
    transition: opacity 0.2s ease-in-out, transform 0.4s var(--ease-out);
    opacity: 0;
  }
  header ul.nav li {
    display: block;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0px 1px 0px rgba(255, 255, 255, 0.1);
  }
  header ul.nav li a {
    display: block;
    padding: 1rem;
    text-align: center;
    font-size: 1.1rem;
  }
  header ul.nav.on {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
  header .logo {
    margin-left: calc(40px + var(--margin));
  }
  header .toggle {
    display: block;
    background-color: transparent;
    border: none;
    cursor: pointer;
    position: fixed;
    top: 30px;
    height: 40px;
    left: var(--margin);
    z-index: 99999999;
  }
  header .toggle svg {
    width: 40px;
    height: 40px;
  }
  header .toggle .line {
    fill: none;
    stroke: rgba(255, 255, 255, 0.75);
    stroke-width: 8;
    transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
      stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1), stroke 600ms linear;
  }
  header .toggle .line1 {
    stroke-dasharray: 60 207;
    stroke-width: 8;
  }
  header .toggle .line2 {
    stroke-dasharray: 60 60;
    stroke-width: 8;
  }
  header .toggle .line3 {
    stroke-dasharray: 60 207;
    stroke-width: 8;
  }
  header .toggle.on .line1 {
    stroke-dasharray: 90 207;
    stroke-dashoffset: -134;
    stroke-width: 8;
  }
  header .toggle.on .line2 {
    stroke-dasharray: 1 60;
    stroke-dashoffset: -30;
    stroke-width: 8;
  }
  header .toggle.on .line3 {
    stroke-dasharray: 90 207;
    stroke-dashoffset: -134;
    stroke-width: 8;
  }
  header.on .toggle,
  header.dark .toggle {
    transition: top 0.25s var(--ease-out);
    top: 10px;
  }
  .next-video-container {
    width: 50%;
  }
  .next-video-container .date,
  .next-video-container .statistic {
    display: none;
  }
  #slider {
    height: 100vw;
    display: none;
  }
}
@media only screen and (max-width: 768px) {
  .container {
    flex-direction: column !important;
  }
  .container.thumbs {
    width: 100%;
    margin-right: 0;
  }
  .container.videos .thumbs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  .container.videos .thumbs .thumb {
    flex-direction: column;
    background-color: transparent;
  }
  .container.videos .thumbs .thumb picture {
    width: 100%;
  }
  .container.videos .thumbs .thumb .data h3 {
    font-size: 1.3rem;
  }
  .container.videos .thumbs .thumb .data .date {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
  .container.videos .thumbs .thumb .data .statistic div {
    font-size: 0.9rem;
  }
  .container.videos .thumbs .thumb .data .statistic div.thumb-views span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
  }
  .container.videos .thumbs .thumb .data .statistic div.thumb-views span span {
    display: inline-block;
  }
  .container.videos .thumbs .thumb .data .statistic svg {
    height: 18px;
  }
  .next-video-container {
    width: 50%;
  }
  .next-video-container h4 {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
  .next-video-container .data h3 {
    margin-top: 0;
    font-size: 0.8rem;
  }
  .next-video-container .actions {
    margin-top: 0.5rem;
  }
  .next-video-container .actions div {
    padding: 0.5rem;
    font-size: 0.8rem;
  }
  .next-video-container .date,
  .next-video-container .statistic {
    display: none;
  }
} /*# sourceMappingURL=style.css.map */
