:root {
  --black: #242424;
  --black_d: #191919;
  --white: #fff;
  --white_d: #cecece;
  --red: #ed1c24;
  --red_d: #c61017;
  --side_dist: 30px;
}

*:focus {
  outline: none;
}

/*---fonts---*/
@font-face {
  font-family: "manrope";
  font-weight: 200;
  src: url("/assets/fonts/manrope-thin.woff2");
}
@font-face {
  font-family: "manrope";
  font-weight: 300;
  src: url("/assets/fonts/manrope-light.woff2");
}
@font-face {
  font-family: "manrope";
  font-weight: 500;
  src: url("/assets/fonts/manrope-medium.woff2");
}
@font-face {
  font-family: "manrope";
  font-weight: 600;
  src: url("/assets/fonts/manrope-semibold.woff2");
}
@font-face {
  font-family: "manrope";
  font-weight: 700;
  src: url("/assets/fonts/manrope-bold.woff2");
}
/*---typography---*/
.h1 {
  font: 600 32px manrope;
}
.h2 {
  font: 600 27px manrope;
}
.h3 {
  font: 500 23px manrope;
}

.p {
  font: 200 18px manrope;
}

.fw200 {
  font-weight: 200;
}
.fw500 {
  font-weight: 500;
}
.fw600 {
  font-weight: 600;
}
.fw700 {
  font-weight: 700;
}

.fs14 {
  font-size: 14px;
}
.fs12 {
  font-size: 12px;
}

.tu {
  text-transform: uppercase;
}
/*---positioning---*/
.top,
.bottom,
.right,
.left {
  position: fixed;
}

.top {
  top: 0;
}
.bottom {
  bottom: 0;
}
.right {
  right: var(--side_dist);
}
.left {
  left: var(--side_dist);
}
/*---colors---*/
.black_t {
  color: var(--black);
}
.black_d_t {
  color: var(--black_d);
}
.white_t {
  color: var(--white);
}
.white_d_t {
  color: var(--white_d);
}
.red_t {
  color: var(--red);
}
.red_d_t {
  color: var(--red_d);
}

.black_b {
  background-color: var(--black);
}
.black_d_b {
  background-color: var(--black_d);
}
.white_b {
  background-color: var(--white);
}
.white_d_b {
  background-color: var(--white_d);
}
.red_b {
  background-color: var(--red);
}
.red_d_b {
  background-color: var(--red_d);
}
/*---shadows---*/
.shadow_h {
  box-shadow: 0px 0px 34px rgba(0, 0, 0, 0.16);
}
.shadow_b {
  box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.5);
}
/*---components---*/
body {
  margin: 0;
  font-family: manrope;
  height: 100vh;
  display: grid;
  grid-template-columns: 100vw;
  grid-template-rows: 100vh 100vh;
  overflow-x: hidden;
  background-color: var(--black_d);
}

.scroll {
  overflow-x: hidden;
  overflow-y: auto;
  perspective: 1px;
  height: 100vh;
}

.scroll-layer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.base-scroll {
  transform: translateZ(0);
}

.back-scroll {
  height: 200%;
  overflow-y: hidden;
  background: url("/assets/images/retro-furnish.png") repeat var(--black_d);
  transform: translateZ(-4px) scale(5.1);
}

.back-noscroll {
  background: url("/assets/images/retro-furnish.png") repeat var(--black_d);
}

.page {
  width: 0;
  height: 100%
}

#dragger {
  position: absolute;
  width: 100vw;
  height: 20px;
  -webkit-app-region: drag;
}

.wrapper {
  position: relative;
  padding: var(--side_dist);
}
.wrapper.flex {
  display: flex;
  width: 100vw;
  margin: auto;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.67);
}

.btns {
  list-style: none;
  padding: 0;
}
.btns .btn {
  margin-bottom: 8px;
}

.btn {
  padding: 10px 30px;
  border-radius: 20px;
  cursor: pointer;
  transition: ease 0.3s;
  background-color: var(--red);
}

a {
  text-decoration: none;
}

.btn:hover {
  transition: ease 0.3s;
  background-color: var(--red_d);
}
.btn.selected {
  background-color: var(--red);
}
.btn.bottom {
  padding: 10px 19px;
  border-radius: 20px 20px 0 0;
}

.btn.icon {
  border-radius: 50%;
  padding: 12px;
  display: flex;
}
.btn.icon img {
  filter: invert(1);
  width: 20px;
  height: 20px;
  vertical-align: middle;
}

.posters {
  list-style: none;
  padding: 0;
  margin: 0;
}

.poster {
  position: relative;
  width: 140px;
  height: 190px;
  margin-right: 20px;
  display: inline-block;
  transition: all 400ms ease;
  cursor: pointer;
}
.poster:hover {
  filter: grayscale(50%);
}
.poster:last-child {
  margin-right: 0;
}
.poster.big {
  width: 236px;
  height: 324px;
}

.poster img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.poster,
.poster img {
  border-radius: 10px;
}

.above_all {
  z-index: 5;
}

.vertical_align {
  display: grid;
  grid-template-rows: 1fr auto 1fr;
}

.vertical_align * {
  grid-row: 2;
}

.wrapper.login {
  padding: 0;
  min-height: 100vh;
}

.login {
  padding: 100px;
  text-align: center;
  margin: auto;
  border-radius: 17px;
}

.login .right_box {
  margin-left: 5%;
  transition: ease 0.2s;
}

.login .left_box {
  margin-right: 5%;
  transition: ease 0.2s;
}

.login .right_box, .left_box {
  width: 220px;
  overflow-x: visible; 
}

.login .right_box:hover, .left_box:hover {
  transform: scale(1.03, 1.03);
  transition: ease 0.2s;
}

.login h1 {
  font-size: 32px;
}

.logo img {
  width: 213px;
  height: 213px;
  margin-bottom: 35px;
}

.profile img {
  border-radius: 100%;
  border-width: 3px;
  border-style: solid;
  border-color: var(--red);
}

.bio {
  text-align: center;
  margin-bottom: 0; 
}

.logo div {
  font-size: 50px;
  line-height: 20px;
}
.logo div span {
  font-size: 15px;
  letter-spacing: 1.7px;
}

@media screen and (max-height: 650px) {
  .login {
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    width: -webkit-fill-available;
    height: -webkit-fill-available;
  }
}
