@import url('https://fonts.googleapis.com/css2?family=Shantell+Sans:ital,wght@0,300..800;1,300..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Tilt+Neon&display=swap');

body {
    background-color: #000000;
    color: #fff;
    font-family: "Shantell Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-variation-settings:
      "BNCE" 0,
      "INFM" 0,
      "SPAC" 0;
    margin: 0px 40px;
    text-align: center;
}
a {
  color: #fff;
  transition: color 1.5s;
}
a:hover {
    color: #C959BB;
}
header {
    color: #BC3DD4;
    padding-top: 20px;
    margin: 20px 0px;
}
main {
    /*margin-bottom: 90px;*/
}
footer {
    color: #BC3DD4;
    padding: 20px;
    margin: 20px 0px;
    /*position: fixed;
    bottom: 0;
    width: 100%;*/
}

.navbar {
  display: flex;
  justify-content: center;
  padding: 12px 0;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
}

.nav-list li a {
  text-decoration: none;
  font-weight: bold;
  transition: color 1.5s;
}

.nav-list li a:hover {
  color: #C959BB;
}

.content-box {
    margin: 20px 0px;
}

.padded {
    padding: 10px;
}

.buttons {
    margin-bottom: 20px;
}

.marquee {
    width: 100%;
    padding: 10px;
    font-size: 1.2em;
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
}
.marquee div {
    animation: marquee 10s linear infinite;
}
@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.profiles {
    width: 100%;
}

.profiles td {
    text-align: center;
}

.fixed {
    text-align: left;
    margin: 0px auto;
    max-width: 812px;
}

.peek-image {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 180px;
  pointer-events: none;
  z-index: 1000;
  user-select: none;
  image-rendering: auto;
}

@media (max-width: 600px) {
  .peek-image {
    width: 120px;
  }
}

#canvas {
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: -1;
    inset: 0;
}

/* portfolio */

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}
.grid a {
    max-width: 255px;
}
.card {
    backdrop-filter: blur(10px);
    background: rgba(188, 61, 212, 0.5);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
    text-align: center;
}
.card img {
    width: 100%;
    height: auto;
    display: block;
}
.caption {
    padding: 12px;
    font-size: 16px;
}
a.card {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

/* lightbox */

.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 0 16px rgba(255,255,255,0.2);
}

.lightbox:target {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 32px;
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.note {
  font-style: italic;
  color: #999;
  margin-top: 0.5rem;
}

a.commission_request {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", "Ubuntu", sans-serif;
  font-size: 16px;
  font-weight: 500;
  display: inline-block;
  background-color: #BC3DD4;
  color: white;
  text-decoration: none;
  height: 44px;
  border-radius: 8px;
  transition: background-color 0.3s;
  width: 288px;
  line-height: 44px;
  transition: background-color 1.5s, box-shadow 1.5s;
}

  /* make button glow really vibrantly on hover */
a.commission_request:hover {
    background-color: #C959BB;
    box-shadow: 0 0 6px #C959BB, 0 0 12px #C959BB, 0 0 18px #C959BB;
    /* transition slowly */
}

.commissions {
    font-family: "Tilt Neon", sans-serif;
    font-size: 60px;
    text-align: center;
    margin: 20px 0;
    letter-spacing: 2px;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 10px;
    display: inline-block;
    width: 288px;
    line-height: 44px;
    line-height: 44px;
    box-sizing: border-box;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: block;
    margin: 0px auto;
    margin-bottom: 25px;
    animation: flicker 5s linear infinite;
}

@keyframes flicker {
	0%, 19.999%, 22%, 62.999%, 64%, 64.999%, 70%, 100% {
        opacity: 1;
	}
	20%, 21.999%, 63%, 63.999%, 65%, 69.999% {
		opacity: 0.75;
	}
}
.commissions.open {
    border: 2px solid #55ff55;
    box-shadow: 0 0 10px #55ff55;
    color: #55ff55;
    text-shadow: 2px 2px 4px #55ff55;
}

.commissions.closed {
    border: 2px solid #ff5555;
    box-shadow: 0 0 10px #ff5555;
    color: #ff5555;
    text-shadow: 2px 2px 4px #ff5555;
}