@import url('https://fonts.googleapis.com/css2?family=Zalando+Sans+Expanded:wght@200;300;400;500;600;700;800;900&display=swap');

:root {
  --pink: rgb(255, 121, 224);
  --cyan: #39e5e8;
  --black: #0a0a0a;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Zalando Sans Expanded', sans-serif;
}

body {
  background: #fff;
  scroll-behavior: smooth;
}
@media screen and (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}


/* LOADING SCREEN */
#loadingScreen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: black;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 99999;
}

#animationWrapper {
  width: 50px;
  height: 50px;
  background-image: url('../images/frames.png');
  background-repeat: no-repeat;
  background-size: 400px 50px;
  image-rendering: pixelated;
  animation: playFrames .8s steps(8, jump-none) infinite;
  transform: scale(4);
  transform-origin: center;
}

@keyframes playFrames {
  from { background-position: 0% 0%; }
  to { background-position: 100% 0%; }
}

#loadingScreen p {
  color: white;
  position: absolute;
  bottom: 50px;
  font-size: 16px;
  animation: pulse 1s infinite alternate;
}

@keyframes pulse {
  0% { opacity: 0.3; }
  100% { opacity: 1; }
}

/* HEADER */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 25px;
  background: white;
  color: #F7D0E4;
  position: sticky;
  top: 0;
  z-index: 3000;
  text-transform: lowercase;
   -webkit-text-stroke: 1px #541b38;
}

.logo {
  font-size: clamp(30px, 6vw, 60px);
}

/* HAMBURGER */
.toggle {
  width: 40px;
  height: 40px;
  background: url('../images/menu.png') center/contain no-repeat;
  cursor: pointer;
  position: relative;
  z-index: 4000;
}

.toggle.active {
  background: url('../images/icone-x-rose.png') center/contain no-repeat;
}

/* MENU */
.menu {
  position: fixed;
  top: 70px;
  right: 0;
  width: 250px;
  height: calc(100vh - 70px);
  background: white;
  transform: translateX(100%);
  transition: 0.4s ease;
  z-index: 2500;

  display: flex;
  justify-content: center;
  align-items: center;

  border-left: 2px solid black;
}

.menu.active {
  transform: translateX(0);
}

.menu ul {
  list-style: none;
}

.menu li {
  margin: 18px 0;
  transition: transform 0.2s ease;
}

.menu a {
  text-decoration: none;
  font-size: 20px;
  color: black;
  transition: color 0.2s ease;
}

.menu li:hover {
  transform: scale(1.1);
}

.menu li:hover a,
.menu a:hover {
  color: var(--pink);
}

/* HERO */
.hero {
  width: 100%;
  height: 70vh;
  overflow: hidden;
  position: relative;
}

.hero picture,
.hero img {
  width: 100%;
  height: 100%;
  display: block;
}

.hero img {
  object-fit: cover;
  object-position: center;
}

/* TEXT LOOP */
.text-loop {
  width: 100%;
  overflow: hidden;
  background: #000;
  border-top: 2px solid var(--pink);
  border-bottom: 2px solid var(--pink);
  padding: 2px 0;
}

.text-loop-track {
  display: flex;
  width: max-content;
  animation: loopText 14s linear infinite;
}

.text-loop-track span {
  white-space: nowrap;
  font-size: 15px;
  font-weight: 700;
  text-transform: lowercase;
  color: #D4FB86;
  padding-right: 30px;
  letter-spacing: 7px;
}

@keyframes loopText {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* STARTER PACK */
.starter-pack {
 padding: 80px 20px;
  text-align: center;
}

.starter-editorial-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 175px;
  border-bottom: 2px solid black;
  padding-bottom: 10px;
}

.starter-editorial-header h2 {
  font-size: clamp(28px, 5vw, 64px);
  line-height: 0.9;
  text-transform: lowercase;
  letter-spacing: -2px;
}

.starter-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: black;
}
@media (max-width: 768px) {
  .starter-editorial-header {
    display: block;
  }

  .starter-editorial-header h2 {
    margin-top: 10px;
    font-size: 42px;
  }

  .starter-label {
    font-size: 10px;
  }
}
.starter-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: 500px;
  margin: 0 auto;
}



    iframe {
      width: 100%;
    display: block;
  max-width: 800px;
  height: 450px;
  position: relative;
  margin: 0 auto;
    }



/* tablet */
@media (max-width: 900px) {
  .clothes-card {
    flex-basis: calc((100% - 24px) / 2);
  }
}

/* mobile */
@media (max-width: 600px) {
  .clothes-carousel {
    padding: 50px 15px;
  }

  .carousel-track {
    gap: 18px;
  }

  .clothes-card {
    flex-basis: 72%;
  }

  .carousel-buttons button {
    padding: 6px 10px;
  }
}


#home a {
color: #111;
text-align: center;
text-decoration: none;
list-style-type: none;
display: block;
}

#home a:hover,
#home a:focus {
    color: rgb(255, 121, 224);
    letter-spacing: 6px;
    text-decoration: none;
}


.footer {
  overflow: hidden;
  padding: 60px 0 20px;
  text-align: center;
}

.footer-logo {
  font-size: clamp(60px, 15vw, 220px);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -5px;
  color: black;
  white-space: nowrap;
}

.footer-logo span {
  display: inline-block;
  transition: transform 0.25s ease, color 0.25s ease;
  cursor: default;
}

.footer-logo span:hover {
  transform: translateY(-25px) rotate(8deg);
  color: var(--pink);
}

.footer-logo span:nth-child(even):hover {
  transform: translateY(-30px) rotate(-8deg);
}

/* MOBILE */
@media (max-width: 768px) {
  .hero {
    height: 40vh;
  }

  .hero img {
    object-position: center top;
  }

  .menu {
    top: 65px;
    height: calc(100vh - 65px);
    width: 220px;
  }

  .text-loop {
    padding: 8px 0;
  }

  .text-loop-track span {
    font-size: 16px;
    letter-spacing: 4px;
  }

  .starter-container {
    height: 420px;
  }

  .starter-title {
    font-size: 32px;
    margin-bottom: 50px;
  }

  .character img {
    width: 120px;
  }

  .item {
    width: 55px;
  }

  .xp-window {
    width: 250px;
  }

  footer {
    font-size: 42px;
  }
}