html,
body {
  margin: 0;
  font-family: "Open Sans", sans-serif;
  color: #2f2d2e;
}

/* Backdrop */
[data-backdrop="true"] {
  height: 100vh;
  position: sticky;
  top: 0;
  left: 0;
  z-index: -3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: azure;
  font-size: 20vw;
  font-family: "Bungee Shade", cursive;
  text-align: center;
}
[data-backdrop="true"] span:nth-of-type(2) {
  color: grey;
  font-size: 5rem;
  animation: bouncing 500ms ease-in-out infinite;
}
[data-backdrop="true"] span:nth-of-type(3) {
  color: grey;
  font-family: "Gloria Hallelujah", cursive;
  font-size: 1.5rem;
  line-height: 0;
}
[data-hello="true"] {
  position: relative;
  line-height: 90%;
  animation: backdrop-text 1s ease-in-out;
}

@keyframes bouncing {
  0% {
    transform: rotate(-90deg) translateX(-0.15rem);
  }
  50% {
    transform: rotate(-90deg) translateX(0);
  }
  100% {
    transform: rotate(-90deg) translateX(-0.15rem);
  }
}
@keyframes backdrop-text {
  0% {
    line-height: 0%;
  }
  100% {
    line-height: 90%;
  }
}
/* ----- */

/* Content */
header {
  position: sticky;
  top: 0;
  z-index: -2;
  font-family: "Bebas Neue", cursive;
  color: black;
  font-size: 64pt;
  text-align: center;
}
header u {
  padding: 1rem;
  background: azure;
}
footer {
  padding: 8px 16px;
  font-family: monospace;
  font-weight: lighter;
  color: #fff;
  background-color: #2f2d2e;
  text-align: center;
}

h1 {
  margin: 0 auto 12px auto;
  position: relative;
  color: #2f2d2e;
}
h1::after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 4'%3E%3Cstyle type='text/css'%3E.line-anime{animation:shift 0.3s linear infinite; transform:translateY(10px);}@keyframes shift {from {transform:translateX(0);}to {transform:translateX(-20px);}}%3C/style%3E%3Cpath fill='none' stroke='%23000000' stroke-width='1' class='line-anime' d='M0,3.5 c 5,0,5,-3,10,-3 s 5,3,10,3 c 5,0,5,-3,10,-3 s 5,3,10,3'/%3E%3C/svg%3E");
  height: 4px;
  width: 100%;
  transition: all 0.3s ease-in-out;
}

hr {
  margin: 0;
}

p {
  text-align: center;
}

.container {
  margin: 0 8px;
  position: relative;
  border: thick solid #2f2d2e;
}
.container::before {
  width: 100%;
  height: 100%;
  content: " ";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -2;
  background: white;
}
.row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.column {
  display: flex;
  flex-direction: column;
}

.marquee {
  padding: 16px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.marquee::before,
.marquee::after {
  position: absolute;
  left: 0;
  z-index: -1;
  color: #2f2d2e;
  -webkit-text-fill-color: white; /* Will override color (regardless of order) */
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: #2f2d2e;
  font-size: 8vw;
  opacity: 0.2;
  transition: all 150ms ease-in-out;
}
.marquee::before {
  --offset: 20vw;
  --move-initial: calc(-25% + var(--offset));
  --move-final: calc(-50% + var(--offset));
  content: "Creative Dev Art Music Creative Dev Art Music";
  top: 0;
  animation: marquee 5s linear infinite;
  animation-play-state: paused;
}
.marquee::after {
  --offset: 1vw;
  --move-initial: calc(-24% + var(--offset));
  --move-final: calc(0 + var(--offset));
  content: "JS Rust Python Linux React Vue Typescript HTML CSS OSS";
  bottom: 0;
  animation: marquee 5s linear infinite;
  animation-play-state: paused;
}
.marquee:hover.marquee::before,
.marquee:hover.marquee::after {
  text-shadow: 0.5rem 0.5rem #f18f01;
  opacity: 0.4;
  animation-play-state: running;
}
@keyframes marquee {
  0% {
    transform: translate3d(var(--move-initial), 0, 0);
  }

  100% {
    transform: translate3d(var(--move-final), 0, 0);
  }
}

.profile {
  max-width: 720px;
  margin: 0 auto 0 auto;
  padding: 2rem 0;
  display: flex;
  gap: 2rem;
}
.profile p {
  text-align: left;
}
.profile-img {
  width: 150px;
  height: 150px;
}

.socmed a {
  padding: 0 4px;
  color: #fff;
  background: #2f2d2e;
  text-decoration: none;
}
.socmed a:hover {
  position: relative;
  bottom: 2px;
  right: 4px;
  color: #2f2d2e;
  background: #f18f01;
  box-shadow: 4px 2px 0 0 #2f2d2e;
}
.card-link {
  text-decoration: none;
}
.card-link[aria-disabled="true"] {
  pointer-events: none;
}
.card-link[aria-disabled="true"] .card {
  filter: opacity(0.4);
}
.card {
  width: fit-content;
  padding: 4px;
  color: #2f2d2e;
  border: thick solid #2f2d2e;
  font-size: 2rem;
}
.card:hover {
  position: relative;
  bottom: 4px;
  right: 8px;
  color: #2f2d2e;
  background: #f18f01;
  box-shadow: 8px 4px 0 0 #2f2d2e;
}
.card {
  width: 200px;
  height: 200px;
  object-fit: cover;
}
/* ----- */

/* funn */
.canvas-wrapper {
  /* position: relative; */
  outline: thick solid #f18f01;
}
.funn-toolbar {
  display: inline-block;
  /* position: absolute;
  top: 65px;
  left: 5px;
  z-index: 2; */
}
.funn-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  border-color: transparent !important;
}
.funn-btn:hover {
  position: relative;
  bottom: 2px;
  right: 4px;
  box-shadow: 4px 2px 0 0 #2f2d2e;
  /* opacity: 0.7; */
}
.btn-red {
  background-color: #c84630;
}
.btn-green {
  background-color: #99c24d;
}
.btn-blue {
  background-color: #048ba8;
}
.btn-orange {
  background-color: #f18f01;
}
.btn-yellow {
  background-color: #ffe66d;
}
.btn-black {
  background-color: #2f2d2e;
}
.btn-white {
  background-color: #ffffff;
  border: thin solid #2f2d2e !important;
}

.funn-tux {
  position: relative;
  top: 5px;
  background: #ffe66d;
  font-family: monospace;
}
.funn-sun {
  padding: 6px 2px 2px 10px;
  background: #f7b801;
  line-height: normal;
  font-weight: bold;
}
.funn-rusty {
  font-family: "Alfa Slab One", serif;
  font-weight: 500;
  font-size: 18px;
}
.funn-border {
  display: inline-block;
  border: thin solid #048ba8;
  transform: rotate(8deg);
}
.funn-forest {
  padding: 0 4px;
  display: inline-block;
  line-height: 32px;
  font-size: 18pt;
  font-weight: bold;
  line-height: 20px;
  background: #99c24d;
}
.funn-redd {
  color: #2f2d2e;
  font-size: 18pt;
  line-height: 32px;
  font-weight: 600;
  letter-spacing: -0.03em;
  -webkit-text-fill-color: #f4f7f6;
  -webkit-text-stroke-width: 2px;
  -webkit-text-stroke-color: #c84630;
  display: inline-block;
  transform: rotate(-5deg);
}
.funn-redd::after {
  content: "♫";
  vertical-align: super;
  font-size: 12pt;
}
/* ----- */

/* media query */
@media (max-width: 380px) {
  header {
    font-size: 48pt;
  }
  .container {
    border: none;
  }
}
@media (max-width: 470px) {
  [data-backdrop="true"] span:nth-of-type(2) {
    font-size: 3rem;
  }
}
@media (max-width: 720px) {
  .profile {
    padding-left: 1rem;
    padding-right: 1rem;
    flex-direction: column;
  }
}
/* ----- */
