html,
body {
  height: 100dvh;
  margin: 0;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #e50914;
}

.netflix {
  display: block;
  width: 100vmin;
  height: 100vmin;
  margin: 0 auto;
}

.netflix path {
  fill: black;
  animation-duration: 1s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

.no1 path:nth-child(odd),
.no2 path:nth-child(even) {
  fill: white;
}

.netflix path:nth-child(2) {
  animation-delay: -0.2s;
}
.netflix path:nth-child(3) {
  animation-delay: -0.4s;
}
.netflix path:nth-child(4) {
  animation-delay: -0.6s;
}
.netflix path:nth-child(5) {
  animation-delay: -0.8s;
}
.netflix path:nth-child(6) {
  animation-delay: -1s;
}

.no1 .n {
  animation-name: n1;
}
.no1 .e {
  animation-name: e1;
}
.no1 .t {
  animation-name: t1;
}
.no1 .f {
  animation-name: f1;
}
.no1 .l {
  animation-name: l1;
}
.no1 .i {
  animation-name: i1;
}
.no1 .x {
  animation-name: x1;
}

@keyframes n1 {
  to {
    d: path(
      "M4,14h4.22l3.96,25.53h0.07V14h3.46v45.72h-3.38L7.69,34.35H7.63v25.36H4V14z"
    );
  }
}
@keyframes e1 {
  to {
    d: path(
      "M20.86,14h9.79v3.66h-5.46v28.06h4.03v3.87h-4.03v6.46h5.7v3.66H20.86V14z"
    );
  }
}
@keyframes t1 {
  to {
    d: path("M37.08 17.66h-3.73V14h11.8v3.66h-3.73v42.06h-4.33V17.66h-.01z");
  }
}
@keyframes f1 {
  to {
    d: path("M48.7,14h9.7v3.66h-5.37V46H57v3.87h-3.96v9.85H48.7V14z");
  }
}
@keyframes l1 {
  to {
    d: path("M62.3,14h4.33v42.06h5.53v3.66H62.3V14z");
  }
}
@keyframes i1 {
  to {
    d: path("M76.35,14h4.33v45.72h-4.33V14z");
  }
}
@keyframes x1 {
  to {
    d: path(
      "M88.01 37.65l-3.8-23.63h4.33l1.81 16.34h.07L92.02 14h3.7l-3.53 23.03 4.2 22.67h-4.37l-2.08-15.11h-.06l-2 15.13H84.2l3.81-22.07z"
    );
  }
}

.no2 .n {
  animation-name: n2;
}
.no2 .e {
  animation-name: e2;
}
.no2 .t {
  animation-name: t2;
}
.no2 .f {
  animation-name: f2;
}
.no2 .l {
  animation-name: l2;
}
.no2 .i {
  animation-name: i2;
}
.no2 .x {
  animation-name: x2;
}

@keyframes n2 {
  from {
    d: path(
      "M4,41h4.22l3.96,24.53h0.07V41h3.46v45.72h-3.38L7.69,58.35H7.63v28.36H4V41z"
    );
  }
}
@keyframes e2 {
  from {
    d: path(
      "M20.86,41h9.79v3.66h-5.46v6.06h4.03v3.87h-4.03v28.46h5.7v3.66H20.86V41z"
    );
  }
}
@keyframes t2 {
  from {
    d: path("M37.08 44.66h-3.73V41h11.8v3.66h-3.73v42.06h-4.33V44.66h-.01z");
  }
}
@keyframes f2 {
  from {
    d: path("M48.7,41h9.7v3.66h-5.37V51H57v3.87h-3.96v31.85H48.7V41z");
  }
}
@keyframes l2 {
  from {
    d: path("M62.3,41h4.33v42.06h5.53v3.66H62.3V41z");
  }
}
@keyframes i2 {
  from {
    d: path("M76.35,41h4.33v45.72h-4.33V41z");
  }
}
@keyframes x2 {
  from {
    d: path(
      "M88.01 62.65l-3.8-21.63h4.33l1.81 14.34h.07L92.02 41h3.7l-3.53 21.03 4.2 24.67h-4.37l-2.08-17.11h-.06l-2 17.13H84.2l3.81-24.07z"
    );
  }
}
