@import url("https://fonts.googleapis.com/css2?family=Urbanist:ital,wght@0,100..900;1,100..900&display=swap");

@font-face {
  font-family: "myFont";
  src: url("fonts/bigfont.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

:root {
  --brand: #f60900;
  --white: #fff;
  --white-2: #e0e0e0;
  --white-3: #888888;
  --black: #000000;
  --black-2: #1c1a1a;
  --black-3: #121212;
  --border: 1px solid #272727;
  --shape: squircle;
  --myFont: "myFont", sans-serif;
}

body {
  font-family: "Urbanist", sans-serif;
  background: var(--black);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  max-width: 1100px;
  min-height: 100vh;
}

.parent {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  padding: 1rem 0;
}

.xeven,
.pixels {
  display: flex;
  flex-direction: row;
  gap: 10px;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  justify-content: center;
}

.pixels {
  grid-template-columns: repeat(6, 1fr);
}

.card {
  display: flex;
  padding: 10px;
  background: #4e4e4e47;
  border: var(--border);
  height: 80px;
  width: 80px;
  backdrop-filter: blur(4px);
  transition: all 1s ease;
  cursor: pointer;
  border-radius: 4px;
  align-items: center;
  justify-content: center;
  user-select: none;
  overflow: hidden;
}

.logo-words {
  margin-bottom: -8px;
  font-family: var(--myFont);
  font-weight: 400;
  font-size: 5rem;
  line-height: 0;
  user-select: none;
}

.card:nth-child(1) {
  transform: rotate(14deg);
  z-index: 1;
  color: var(--brand);

}

.card:nth-child(2) {
  transform: rotate(-14deg);
  margin-left: -2rem;
  z-index: 2;
}

.card:nth-child(3) {
  transform: rotate(14deg);
  margin-left: -2rem;
  z-index: 3;
}

.card:nth-child(4) {
  transform: rotate(-14deg);
  margin-left: -2rem;
  z-index: 4;
}

.card:nth-child(5) {
  transform: rotate(14deg);
  margin-left: -2rem;
  z-index: 5;
}

.card:nth-child(6) {
  transform: rotate(-14deg);
  margin-left: -2rem;
  z-index: 6;
}

.card:hover {
  transform: rotate(0deg);
}

.imgs {
  width: 100%;
  height: 100%;
}

@media (min-width: 1000px) {
  .parent {
    gap: 3rem;
  }

  .card {
    width: 200px;
    height: 200px;
  }

  .logo-words {
    margin-bottom: -14px;
    font-size: 16rem;
  }

  .card:nth-child(2) {
    transform: rotate(-14deg);
    margin-left: -3rem;
  }

  .card:nth-child(3) {
    transform: rotate(14deg);
    margin-left: -3rem;
  }

  .card:nth-child(4) {
    transform: rotate(-14deg);
    margin-left: -3rem;
  }

  .card:nth-child(5) {
    transform: rotate(14deg);
    margin-left: -3rem;
  }

  .card:hover {
    transform: rotate(0deg);
  }
}
