/* ------------------ Misc ------------------ */

* {
  font-family: "Trebuchet MS", "Lucida Grande", "Lucida Sans Unicode",
    "Lucida Sans", sans-serif;
  box-sizing: border-box;
}

body {
  background-color: var(--main);
  color: white;
}

:root {
  --main: #1e272e;
  --second: #29363d;
  --second-text: #adb0b3;
  --round: 15px;
  --padding: 60px;
  --grad: linear-gradient(to right, #c471ed, #f64f59);
  --offset: 0px;
  --shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}

:focus {
  outline: none;
}

::selection {
  background: #f64f59; /* WebKit/Blink Browsers */
  color: white;
}
::-moz-selection {
  background: #f64f59; /* Gecko Browsers */
  color: white;
}

.noSelect,
img {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* ------------------ Tags ------------------ */

input {
  box-sizing: border-box;
  width: 100%;
  border: none;
  padding: 15px 20px;
  background-color: white;
  position: relative;
  margin: 0 auto;
  border-radius: var(--round);
  font-size: 16px;
  color: white;
  background: var(--grad);
}

button {
  box-sizing: border-box;
  border: none;
  padding: 15px 20px;
  background-color: var(--second);
  border-bottom-left-radius: var(--round);
  border-bottom-right-radius: var(--round);
  font-size: 16px;
  color: white;
  cursor: pointer;
  transition-duration: 0.1s;
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--round);
}

a {
  color: white;
  text-decoration: none;
}

li img {
  text-align: center;
  align-items: center;
}

/* ------------------ Classes ------------------ */

.info {
  margin-top: var(--padding);
  width: 100%;
  box-sizing: border-box;
  height: 200px;
  transition-duration: 0.4s;
}

.second-text {
  color: var(--second-text);
  opacity: 0.7;
  margin-top: -20px;
}

.vert-holder {
  width: 100%;
  position: relative;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.videoDesc {
  margin-top: calc(-1 * var(--padding) * 0.8);
  padding-top: 0;
  white-space: -moz-pre-wrap;
  white-space: -pre-wrap;
  white-space: -o-pre-wrap;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.videoControls {
  padding: 1px 20px;
  display: none;
  border-radius: var(--round);
}

.videoControls button {
  box-sizing: border-box;
  border: none;
  padding: 15px 20px;
  font-size: 16px;
  color: white;
  cursor: pointer;
  transition-property: box-shadow;
  transition-duration: 0.2s;
  background-color: var(--second);
  border-radius: var(--round);
}

.wrapper {
  width: 65%;
  position: absolute;
  left: var(--padding);
  top: 0px;
  box-sizing: border-box;
  padding-right: 10px;
  border-radius: var(--round);
  display: none;
  transition-property: width, height;
  transition-duration: 0.2s;
}

.holder {
  top: var(--padding);
  left: 0;
  width: 100%;
  position: relative;
  padding-bottom: 56.25%;
  box-sizing: border-box;
}

.gradBG {
  background: var(--grad);
}

.drag {
  height: 100%;
  width: 20px;
  background-color: rgba(255, 0, 0, 0);
  position: absolute;
  top: 0;
  right: 0;
  z-index: 3;
  cursor: e-resize;
}

.cover {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 2;
  display: none;
  cursor: e-resize;
}

.container {
  background-color: var(--second);
  border-radius: var(--round);
  width: 100%;
  box-sizing: border-box;
  padding: none;
  margin-top: calc(var(--padding) / 2);
}

.modalbg {
  position: absolute;
  z-index: 4;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: var(--main);
  box-sizing: border-box;
  display: none;
}

.modal {
  color: white;
  padding: var(--padding);
  width: 30%;
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  background-color: rgba(255, 255, 255, 0);
  border-radius: var(--round);
  text-align: center;
  background-color: var(--main);
}

.modal2 {
  color: white;
  padding: var(--padding);
  margin: 0;
  position: absolute;
  left: 50%;
  -ms-transform: translate(-50%, 0%);
  transform: translate(-50%, 0%);
  background-color: rgba(255, 255, 255, 0);
  border-radius: var(--round);
  text-align: center;
  top: var(--padding);
  width: 30%;
}

.result {
  padding: 15px 20px;
}

.sidenav {
  width: var(--padding);
  top: var(--padding);
  left: 0px;
  position: fixed;
  padding: none;
  height: 50%;
  z-index: 5;
}

.mini {
  overflow-y: auto;
  overflow-x: hidden;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
}

.mini-mini-menu {
  top: 0 !important;
  overflow-y: auto;
  overflow-x: hidden;
  height: 100%;
  position: fixed !important;
  border-radius: 0 !important;
}

.side-button {
  width: var(--padding);
  height: var(--padding);
  display: flex;
  justify-content: center;
  align-items: center;
  transition-duration: 0.2s;
  transition-property: margin-left;
  cursor: pointer;
  transition-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
}

.side-button h2 {
  font-size: 40px;
  padding: none;
}

.side-button img {
  width: calc(var(--padding) / 3);
  height: calc(var(--padding) / 3);
}

.side-button:hover {
  margin-left: calc(var(--padding) / 9);
}

.resultImg {
  border-top-left-radius: var(--round);
  border-top-right-radius: var(--round);
  width: 100%;
}

.watchBtn {
  display: block;
  box-sizing: border-box;
  border: none;
  padding: 0;
  border-radius: var(--round);
  font-size: 16px;
  color: white;
  cursor: pointer;
  transition-property: box-shadow;
  transition-duration: 0.2s;
  width: 100%;
}

.watchBtn:hover {
  box-shadow: 0px 20px 30px rgba(0, 0, 0, 0.4);
}

.watchText {
  box-sizing: border-box;
  border: none;
  padding: 15px 20px;
  background-color: var(--second);
  border-bottom-left-radius: var(--round);
  border-bottom-right-radius: var(--round);
  font-size: 16px;
  color: white;
  cursor: pointer;
  transition-property: box-shadow;
  transition-duration: 0.2s;
  width: 100%;
  margin-top: -4px;
}

.smallMenu {
  background-color: var(--second);
  padding: calc(var(--padding) / 4);
  display: none;
  z-index: 6;
  border-radius: var(--round);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  width: calc(var(--padding) * 4);
  position: fixed;
  flex-direction: column;
  gap: 15px;
}

#displayDuringVideo {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.smallMenu button,
.smallMenu a {
  width: 100%;
  box-sizing: border-box;
  border: none;
  padding: 15px 20px;
  font-size: 16px;
  color: white;
  cursor: pointer;
  transition-duration: 0.2s;
  background-color: var(--main);
  border-radius: var(--round);
  transition-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
}

.smallMenu button:hover,
.smallMenu a:hover {
  width: 95%;
  background-color: #13161d;
  /* box-shadow: var(--shadow); */
}

.indic-holder {
  position: fixed;
  left: 0;
  top: 0;
  width: var(--padding);
  height: 100%;
  z-index: 4;
}

.indicator {
  position: fixed;
  height: calc(var(--padding) / 2);
  width: calc(var(--padding) / 16);
  background-color: white;
  border-top-right-radius: var(--round);
  border-bottom-right-radius: var(--round);
  left: 0;
  top: var(--padding);
  display: none;
}

.snackbar {
  z-index: 6;
  color: white;
  padding: 0 var(--padding);
  margin: 0;
  position: fixed;
  left: 50%;
  -ms-transform: translate(-50%, 0%);
  transform: translate(-50%, 0%);
  background-color: rgba(255, 255, 255, 0);
  border-radius: var(--round);
  text-align: center;
  background-image: var(--grad);
  bottom: -60px;
  transition-duration: 0.75s;
  transition-property: bottom;
}
/*
.line-parent {
    line-height: 0.5;
}

.line-child {
    line-height: 0.9;
}
*/
/* ------------------ Animation ------------------ */

.animate-bottom {
  position: relative;
  -webkit-animation-name: animatebottom;
  -webkit-animation-duration: 0.5s;
  animation-name: animatebottom;
  animation-duration: 0.5s;
}

@-webkit-keyframes animatebottom {
  from {
    bottom: -100px;
    opacity: 0;
  }
  to {
    bottom: 0px;
    opacity: 1;
  }
}

@keyframes animatebottom {
  from {
    bottom: -100px;
    opacity: 0;
  }
  to {
    bottom: 0;
    opacity: 1;
  }
}

.animate-left {
  position: relative;
  -webkit-animation-name: animateleft;
  -webkit-animation-duration: 0.5s;
  animation-name: animateleft;
  animation-duration: 0.5s;
}

@-webkit-keyframes animateleft {
  from {
    left: -100px;
    opacity: 0;
  }
  to {
    left: 0px;
    opacity: 1;
  }
}

@keyframes animateleft {
  from {
    left: -100px;
    opacity: 0;
  }
  to {
    left: 0;
    opacity: 1;
  }
}

.animate-fade {
  -webkit-animation-name: animatefade;
  -webkit-animation-duration: 1s;
  animation-name: animatefade;
  animation-duration: 1s;
}

@-webkit-keyframes animatefade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes animatefade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.animate-width {
  position: absolute;
  -webkit-animation-name: animatewidth;
  -webkit-animation-duration: 0.25s;
  animation-name: animatewidth;
  animation-duration: 0.25s;
}

@-webkit-keyframes animatewidth {
  from {
    width: 0;
  }
  to {
    width: calc(var(--padding) / 16);
  }
}

@keyframes animatewidth {
  from {
    width: 0;
  }
  to {
    width: calc(var(--padding) / 16);
  }
}

.loader-container {
  left: 0;
  top: 0;
  position: absolute;
  background-color: var(--main);
  z-index: 4;
  display: none;
  place-items: center;
  width: 100%;
  height: 100%;
  overflow: auto;
  transition-duration: 0.25s;
  transition-property: opacity;
  opacity: 1;
}

.loader {
  text-align: center;
  border-radius: var(--round);
  width: 50px;
  height: 50px;
  background-image: var(--grad);
  -webkit-animation: spin 1s ease-in-out infinite;
  animation: spin 1s ease-in-out infinite;
  margin: 0;
  text-align: center;
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }
  25% {
    width: 25px;
    height: 100px;
  }
  100% {
    -webkit-transform: rotate(360deg);
    width: 50px;
    height: 50px;
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  25% {
    width: 25px;
    height: 100px;
  }
  100% {
    transform: rotate(360deg);
    width: 50px;
    height: 50px;
  }
}

/* ------------------ Small Width ------------------ */

@media screen and (max-width: 1100px) {
  .wrapper {
    box-sizing: border-box;
    width: calc(100% - var(--padding) * 2);
  }

  .modal2,
  .modal {
    color: white;
    width: 80%;
  }
}

/* ------------------ IDs ------------------ */

#channelVideos {
  color: white;
  padding: calc(var(--padding) * 2);
  margin: 0;
  text-align: center;
  top: var(--padding);
  position: absolute;
  width: 50%;
  left: 50%;
  box-sizing: border-box;
}

#channelInfo {
  color: white;
  padding: calc(var(--padding) * 2);
  margin: 0;
  text-align: center;
  top: var(--padding);
  position: fixed;
  width: 50%;
  left: 0;
  box-sizing: border-box;
  display: table;
}

#channelPfp {
  width: 50%;
  border-radius: var(--round);
}

#modal1 {
  display: block;
}
