/*-- 300x600 Banner Styles --*/
* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
  color: white;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-font-smoothing: antialiased;
  -o-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-smooth: never;
  font-synthesis: none;
  text-align: center;
}

/*//# Fonts  */
.ff-h {
  font-family: "Athelas", serif;
}
.ff-b {
  font-family: "Atyp Display", sans-serif;
}

.p-rel {
  position: relative;
}
.p-abs {
  position: absolute;
}
.top {
  top: 0;
}
.bottom {
  bottom: 0;
}
.left {
  left: 0;
}
.center {
  top: 50%;
  left: 50%;
  translate: -50% -50%;
}
.fill {
  width: 100%;
  height: 100%;
}
.flex-cen {
  display: flex;
  align-items: center;
  justify-content: center;
}
.mi-a {
  margin-inline: auto;
}

/*//# Banner Styles  */
#banner-300x250 {
  width: 300px;
  height: 250px;
  overflow: hidden;
  cursor: pointer;
  background-color: rgb(0 0 0 / 0.2);
  isolation: isolate;
}

#bg {
  position: absolute;
  height: calc(var(--img-size) * 1%);
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  scale: var(--scale-from);
  z-index: -1;

  &.zoom-in {
    animation: zoom-in var(--duration) linear;
  }
}


.card {
  padding-inline: 10px;
  padding-top: 12px;
  padding-bottom: 20px;
  isolation: isolate;
  text-align: center;

  bottom: 0;
  right: 0;
  margin-inline: 8px;

  &[data-left] {
    right: unset;
    left: 0;
  }

  &[data-top] {
    bottom: unset;
    top: 0;
  }

  .bg {
    left: 0;
    background-color: rgb(0 0 0 / var(--backdrop-opacity));
    z-index: -1;
    /* backdrop-filter: brightness(var(--backdrop-brightness)); */
  }

  .logo {
    width: 120px;
    object-fit: contain;
  }

  .title {
    font-size: 15px;
    line-height: 1.15em;
  }

  .btn {
    font-size: 14px;
    letter-spacing: 0.05em;
    padding: 8px 20px;
    background-color: #f36e21;
    width: fit-content;
    margin-top: 16px;
    padding-top: 5px;
    z-index: 5;
    position: relative;
  }
}

.fade-in {
  animation: fade-in 1000ms 200ms ease-in-out forwards;
  opacity: 0;
  filter: blur(2px);
}

.scale-in {
  animation: scale-in 800ms calc((var(--order) + 2) * 200ms) ease-in-out
    forwards;
  scale: 0;
}

.slide-in {
  animation: slide-in 1000ms ease-out forwards;
  transform: translateY(-100%);
  opacity: 0;
  animation-delay: 300ms;
}



@keyframes zoom-in {
  from {
  }
  to {
    scale: 1;
  }
}

@keyframes scale-in {
  from {
  }
  to {
    scale: 1;
  }
}

@keyframes fade-in {
  from {
  }
  to {
    opacity: 1;
    filter: blur(0px);
  }
}

@keyframes slide-in {
  from {
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
