@import "loader.css";

:root {
  --bg: #1f1f40;
  --bg-light: #32325d;
  --bg-dark: #070713;
  --text: #fff;
  --fonts: Inter, -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Ubuntu,Oxygen,Ubuntu,Droid Sans,sans-serif;
}

* {
  box-sizing: border-box;
}

*:focus {
  outline: none;
}

::placeholder {
  color: rgba(255, 255, 255, 0.8);
  opacity: 1;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--fonts);
}

.nav {
  padding: 40px 10px;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  margin-bottom: 50px;
  background: var(--bg-light);
  color: rgba(255, 255, 255, 0.9);
  flex-flow: column;
}

.nav-success {
  text-align: center;
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: center;
}

.nav-success-icon {
  width: 72px;
  margin-bottom: 30px;
}

.nav-success-text {
  font-size: 16px;
  font-weight: 500;
  opacity: 0.9;
}

.nav-error {
  color: #f85f73;
  font-size: 14px;
  margin-top: 15px;
}

.nav-text {
  margin-bottom: 20px;
  max-width: 500px;
  text-align: center;
  line-height: 150%;
}

.nav-form {
  width: 100%;
  display: grid;
  grid-template-columns: 240px auto;
  grid-gap: 5px;
  align-items: center;
  justify-content: center;
}

@media (max-width: 600px) {
  .nav-form {
    grid-template-columns: 1fr;
  }
}

.nav-input {
  border: none;
  height: 35px;
  border-radius: 3px;
  padding: 2px 10px;
  background: inherit;
  border: 2px solid var(--bg);
  color: #fff;
}

.nav-input:focus {
  border-color: #f85f73;
}

.nav-btn {
  height: 35px;
  border: none;
  border-radius: 3px;
  padding: 2px 10px;
  background: var(--bg);
  color: rgba(255, 255, 255, 0.9);
  border: 2px solid var(--bg);
  cursor: pointer;
  font-weight: 600;
}

.nav-btn:disabled, .nav-btn:disabled:hover {
  background: var(--bg-light);
  border-color: var(--bg-light);
  cursor: not-allowed;
}

.nav-btn:hover {
  border-color: var(--bg-dark);
  background: var(--bg-dark);
  color: #fff;
}

.splash {
  margin-top: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-flow: column;
  text-align: center;
}

.icon {
  margin-bottom: 40px;
}

.title {
  font-size: 54px;
  font-weight: 900;
  background-image: -webkit-linear-gradient(250deg, #d93b82 50%, #f8623f 120.5%);
  background-image: linear-gradient(250deg, #d93b82 50%, #f8623f 120.5%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 30px;
  line-height: 140%;
}

.lead {
  opacity: 0.8;
  font-size: 20px;
  line-height: 150%;
  font-weight: 500;
  max-width: 800px;
  margin-bottom: 60px;
}

.link {
  color: inherit;
  text-decoration: none;
  border-bottom: 2px solid #f85f73;
  line-height: 100%;
  padding-bottom: -10px;
}

.link:hover {
  border: none;
  text-decoration: underline;
  text-decoration-style: wavy;
  text-decoration-color: #f85f73;
}

.pixels-container {
  padding: 0px 100px;
}

.pixels {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-gap: 20px;
  max-width: 1600px;
  margin: 0 auto;
}

.pixel {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-flow: column;
  overflow: hidden;
  border-radius: 5px;
}

.pixel-link {
  width: 100%;
  height: 200px;
}

.pixel-img {
  height: 100%;
  width: 100%;
  background-position: center;
  background-size: cover;
}

.pixel-footer {
  background: var(--bg-light);
  height: 40px;
  width: 100%;
  border-radius: 0px 0px 5px 5px;
  display: flex;
  align-items: center;
  padding: 10px;
}

.pixel-colors {
  display: grid;
  grid-template-columns: repeat(5, 20px);
  grid-gap: 5px;
}

.pixel-color {
  width: 100%;
  height: 20px;
  border-radius: 2px;
  cursor: pointer;
}

.modal-drop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal {
  width: 100%;
  max-width: 900px;
  height: auto;
  min-height: 200px;
  background: #1c1c3a;
  flex-flow: column;
  border: 1px solid #1c1c3a;
  border-radius: 4px;
  overflow: hidden;
}

.modal-img {
  width: 100%;
}

.modal-footer {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 20px;
}

.modal-action {
  color: #fff;
  opacity: 0.5;
}

.modal-action:hover {
  opacity: 1;
}

.flash {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #3fb35e;
  top: 10px;
  left: 10px;
  padding: 20px;
  border-radius: 5px;
  font-weight: 500;
  z-index: 99999;
}

.timeline {
  position: fixed;
  left: 25px;
  top: 50%;
}

@media (max-width: 600px) {
  .timeline {
    display: none;
  }
  .pixels-container {
    padding: 0px 10px;
  }
}

.year {
  font-size: 18px;
  line-height: 130%;
  font-weight: bold;
  opacity: 0.1;
  font-family: monospace;
  transition: opacity .1s ease;
  cursor: pointer;
}

.year:hover {
  opacity: 0.7;
}

.year.year--active {
  opacity: 0.9;
}

.ph-notice {
  padding: 15px 15px;
  color: rgba(255, 255, 255, 0.8);
  background: rgb(236 83 87);
  position: fixed;
  bottom: 10px;
  right: 10px;
  border-radius: 5px;
}

.ph-notice-link {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.sponsor {
  position: fixed;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  background: var(--bg-light);
  width: 100%;
  max-width: 450px;
  padding: 15px;
  line-height: 140%;
  align-items: center;
  justify-content: center;
  border-radius: 5px 5px 0px 0px;
  color: rgba(255,255,255,0.8);
  flex-wrap: wrap;
  flex-shrink: 0;
  text-align: center;
  z-index: 9999999;
}

.sponsor-link {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}
