:root {
  --bg_color: #080D21;
  --primary_text: #EDC3A9;
  --primary_text_hover: #957b6b;
  --header_bg: rgba(237, 195, 169, 0.06);
  --secondary_text: #D8D3DA;
  --decor_text: #E781AD;
  --drop_shadow: rgba(64, 64, 64, 0.55);
  --inset_shadow: rgba(216, 211, 218, 0.90);
}

/* common styles */

html {
  scroll-behavior: smooth;
}

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

body {
  position: relative;
  margin: 0 auto;
  box-sizing: border-box;
  width: 1280px;
  position: relative;
  background-color: var(--bg_color);
}

a {
  text-decoration: none;
}

li {
  list-style-type: none;
}

.horizontal-flip {
  transform: scaleX(-1);
}


/* scrollbar */

::-webkit-scrollbar {
  width: 6px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background-color: var(--header_bg);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background-color: var(--primary_text);
  border-radius: 10px;
  transition: all 200ms;
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--primary_text_hover);
}

/* scrollbar */

/* common styles */

/* text styles */

@font-face {
  font-family: "arcane";
  src: url(fonts/Arcane\ Nine.otf);
}

@font-face {
  font-family: "NBA";
  src: url(fonts/NBAMAVER.TTF);
}

h1 {
  font-size: 96px;
}

h2 {
  font-size: 64px;
}

h3 {
  font-size: 40px;
}

h4 {
  font-size: 24px;
}

h6 {
  font-size: 18px;
}

/* text styles */

/* preloader */

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg_color);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.preloader-video {
  position: relative;
  width: 500px;
  margin: 0 auto;
}

.preloader-video video {
  display: block;
  width: 100%;
}

.preloader-video:before {
  content: '';
  position: absolute;
  background: rgba(0, 0, 0, 0.7);
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.loader {
  width: 120px;
  height: 22px;
  border-radius: 20px;
  color: #ffffff;
  border: 2px solid;
  position: absolute;
}

.loader::before {
  content: "";
  top: 300px;
  position: absolute;
  z-index: 999;
  margin: 2px;
  inset: 0 100% 0 0;
  border-radius: inherit;
  background: currentColor;
  animation: loader 2.1s;
}

@keyframes loader {
    100% {inset:0}
}

/* preloader */

/* header start */

header {
  top: 0;
  position: fixed;
  z-index: 1;
  width: 1280px;
  background-color: var(--header_bg);
  backdrop-filter: blur(15px);
  padding: 0 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  height: 90px;
}

header button {
  background-color: var(--primary_text);
  color: var(--bg_color);
  border-radius: 100px;
  border: none;
  font-family: "arcane";
  font-size: 20px;
  cursor: pointer;
  max-height: 40px;
  box-shadow: 0 4px 8px 0 var(--drop_shadow), 0 4px 4px 0 var(--inset_shadow) inset;
  transition: all 200ms ease;
}

header button:hover {
  box-shadow: none;
  background-color: var(--primary_text_hover);
}

header li {
  width: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#loginBtn {
  padding: 6px 18px;
}

#cartBtn {
  display: flex;
  gap: 11px;
  align-items: center;
  padding: 6px 10px;
  height: fit-content;
  width: 87px;
}

#cartBtn img {
  width: 20px;
  height: 20px;
}

header nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

header ul {
  display: flex;
  gap: 24px;
}

header a {
  font-family: "arcane";
  font-size: 20px;
  color: var(--primary_text);
  font-weight: 400;
}

header a:hover {
  color: var(--primary_text_hover);
}

.line {
  width: 100%;
  height: 1px;
  background-color: var(--primary_text);
}

.nav-decor {
  display: flex;
  align-items: center;
  width: 100%;
}

.logo {
  height: 56px;
  width: auto;
}

.logo:hover {
  text-shadow: 0 0 5px #ff0000;
}

/* header start */

/* hero start */

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 122px 0 32px 0;
  height: 100vh;
  justify-content: center;
  width: 1280px;
}

.hero-bg {
  width: 1216px;
}

.hero-logo {
  position: absolute;
  cursor: pointer;
  top: 45%;
  left: 30%;
  transition: all 200ms ease;
}

.hero-logo:hover {
  scale: 1.3;
}

/* hero end */

/* about start */

.about {
  display: flex;
  padding: 60px 100px;
  justify-content: space-between;
  align-items: center;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 520px;
}

.about-poster {
  display: flex;
  flex-direction: column;
}

.lol-logo {
  width: 355px;
}

.poster {
  margin-top: -20px;
  width: 330px;
  border-radius: 68px;
  border: 2px solid var(--primary_text);
  transition: all 200ms ease;
}

.poster:hover {
  box-shadow: 3px 3px 60px 0 var(--primary_text);
}

.about-content h1 {
  font-family: "NBA";
  font-style: normal;
  font-weight: 400;
  color: var(--primary_text);
}

.about-content h4 {
  font-family: "arcane";
  font-weight: 400;
  font-style: normal;
}

#aboutSecText1 {
  color: var(--secondary_text);
}

#aboutSecText2 {
  color: var(--decor_text);
}

/* about end */


/* characters start */

.characters {
  padding: 60px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  background-image: url(imgs/characters-sec-bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 90vh;
}

.characters-array {
  display: flex;
  gap: 60px;
}

.characters h2 {
  font-family: "NBA";
  font-style: normal;
  font-weight: 400;
  color: var(--secondary_text);
}

.characters h3 {
  font-family: "arcane";
  font-style: normal;
  font-weight: 400;
  color: var(--secondary_text);
}

.character-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.character {
  width: 320px;
  transition: all 200ms ease;
}

.character:hover {
  scale: 1.1;
}


/* characters end */


/* footer start */

footer {
  padding: 24px 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 1280px;
  background-color: var(--header_bg);
  backdrop-filter: blur(15px);
}

.footer-decor {
  width: 300px;
  height: auto;
}

.align-left {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

footer ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

footer a {
  font-family: "arcane";
  font-size: 20px;
  color: var(--primary_text);
  font-weight: 400;
}

footer a:hover {
  color: var(--primary_text_hover);
}

.footer-logo {
  height: 94px;
  width: 83px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

#copyrights {
  font-family: "arcane";
  color: var(--secondary_text);
}

/* footer end */


/* login page */

.login-container {
  display: flex;
  margin: 0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px;
  width: 900px;
}

.login-box {
  background-image: url(icons/login-frame.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  padding: 60px;
  width: 900px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.login-box h1 {
  font-family: "NBA";
  color: var(--primary_text);
}

form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  min-width: 300px;
}

form label {
  font-family: "arcane";
  font-size: 20px;
  color: var(--secondary_text);
}

form input {
  padding: 12px 20px;
  border-radius: 10px;
  border: 2px solid var(--primary_text);
  background-color: var(--bg_color);
  color: var(--secondary_text);
  font-family: "arcane";
  font-size: 18px;
}

form input:focus {
outline: none;
box-shadow: 0 0 10px var(--primary_text);
}

.login-button {
  min-width: 300px;
  background-color: var(--primary_text);
  color: var(--bg_color);
  border-radius: 100px;
  border: none;
  font-family: "arcane";
  font-size: 20px;
  cursor: pointer;
  padding: 12px 36px;
  box-shadow: 0 4px 8px 0 var(--drop_shadow), 0 4px 4px 0 var(--inset_shadow) inset;
  transition: all 200ms ease;
}

.login-button:hover {
  box-shadow: none;
  background-color: var(--primary_text_hover);
}

.error-message {
  display: none;
  font-family: "arcane";
  font-size: 18px;
  color: #ff4444;
  text-align: center;
  padding: 12px;
  background-color: rgba(255, 68, 68, 0.1);
  border-radius: 10px;
  border: 1px solid #ff4444;
}

.back-link a {
  font-family: "arcane";
  font-size: 18px;
  color: var(--primary_text);
}

.back-link a:hover {
  color: var(--primary_text_hover);
}

/* login page */


/* profile page */

.profile-container {
  margin: 0 auto;
  padding: 100px;
  height: 90vh;
}

.profile-container h1 {
  font-family: "NBA";
  color: var(--primary_text);
}

.profile-content {
  background-image: url(icons/login-frame.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  padding: 120px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  width: 100%;
  height: 80vh;
}

.profile-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background-color: var(--header_bg);
  border-radius: 10px;
  min-width: 100%;
}

.info-label {
  font-family: "arcane";
  font-size: 20px;
  color: var(--primary_text);
  font-weight: 400;
}

.info-value {
  font-family: "arcane";
  font-size: 20px;
  color: var(--secondary_text);
}

.profile-button {
  background-color: var(--primary_text);
  color: var(--bg_color);
  border-radius: 100px;
  border: none;
  font-family: "arcane";
  font-size: 20px;
  cursor: pointer;
  padding: 12px 36px;
  max-width: 200px;
  box-shadow: 0 4px 8px 0 var(--drop_shadow), 0 4px 4px 0 var(--inset_shadow) inset;
  transition: all 200ms ease;
}

.logout-button {
  background-color: transparent;
  border: 2px solid var(--decor_text);
  color: var(--decor_text);
}

.logout-button:hover {
  background-color: var(--decor_text);
  color: var(--bg_color);
}

/* profile page */