/* style.css */
:root {
    --text-color: #6084d1; /* blue */
    --ulb: #554ca8; /* purple */
    --violet: #7C34B3;
    --white: #646464;
    --background: #000000;
}

body {
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--background);
  overflow: hidden;
  perspective: 2000px;
  cursor: none;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

h1 {
    color: var(--text-color);
    transform: rotateX(40deg) rotateY(10deg) rotateZ(20deg);
}

label {
    color: var(--text-color);
}

ul {
    list-style-type: none; /* Remove default list styles */
    padding: 0; /* Remove default padding */
    margin: 0; /* Remove default margin */
    display: flex; /* Use flexbox for horizontal layout */
}

button {
    background-color: var(--ulb);
    color: #000000;
}

#chronoutput, 
#imperialoutput {
    color: #FFFFFF;
}

#container {
  width: 140rem;
  aspect-ratio: 1;
  display: grid;
  grid-template-rows: repeat(80, 1fr);
  grid-template-columns: repeat(80, 1fr);
  position: absolute;
  transform: rotateX(40deg) rotateY(10deg) rotateZ(20deg) scale(1.25);
}

#container:after,
#container:before {
  content: "";
  position: absolute;
  inset: 0px;
  pointer-events: none;
}

#container:before {
  z-index: 2;
  background-image: url("https://assets.codepen.io/1468070/plus-pattern-center.png");
  background-size: 5%;
  background-repeat: repeat;
  opacity: 0.25;
}

#container:after {
  z-index: 3;
  background: radial-gradient(circle, transparent 25%, var(--background) 80%);
}

.tile {
  border: 1px solid rgb(50 50 50 / 25%);
  transition: background-color 2000ms;
}

.tile:hover {
  transition-duration: 0ms;
}

.tile:nth-child(4n):hover {
  background-color: var(--ulb);
}

.tile:nth-child(4n + 1):hover {
  background-color: var(--text-color);
}

.tile:nth-child(4n + 2):hover {
  background-color: var(--white);
}

.tile:nth-child(4n + 3):hover {
  background-color: var(--white);
}

.tile:nth-child(7n + 1):hover {
  background-color: var(--ulb);
}

.tile:nth-child(7n + 3):hover {
  background-color: var(--text-color);
}

.tile:nth-child(7n + 5):hover {
  background-color: var(--violet);
}

.center {
    display: flex;
    justify-content: center;
    transform: rotateX(40deg) rotateY(10deg) rotateZ(20deg);
}

.ulb {
    margin-left: 100px;
    margin-right: 100px;
    margin-top: 60px;
    font-size: 1.5em;
    background-color: var(--ulb);
    color: #000000;
}

.conversioninput {
  background-color: #333; 
  color: white;
}

.conversionlabel {
  color: var(--text-color);
}

.trail {
  position: absolute;
  width: 15px;
  height: 15px;
  background-color: var(--violet);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.8;
  transition: transform 0.1s ease-out;
}
