:root {
  --delve: #484848;
  --accent: #ca4043;
  --light: #ededed;
  font-family: "Arimo", sans-serif;
}

body,
html {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
}

#container {
  position: relative;
  width: 100%;
  height: 100vh;
  background-color: #2b2b2b;
  display: grid;
  grid-template-columns: repeat(
    auto-fill,
    minmax(10px, 1fr)
  ); /* Creates columns that are 10px wide */
  grid-template-rows: repeat(
    auto-fill,
    10px
  ); /* Creates rows that are 10px high */
  gap: 5px;
  z-index: 0; /* Ensures this is below the content like text */
}
#container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  backdrop-filter: blur(0px);
  z-index: 1;
}
#header {
  position: absolute;

  /* background-color: rgb(255, 255, 255); */
  /* box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3); Horizontal offset, vertical offset, blur radius, color */
  top: 0;
  left: 0;
  text-align: center;
  align-self: start;
  justify-self: start;
  padding: 30px;
  display: flex;
  justify-content: start;
  align-items: center;
}

#quote-container {
  position: absolute;
  z-index: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#quote {
  text-align: center;
  width: 75vw;
  padding: 2px 3px;
  border-radius: 10px;
  color: white;
  display: flex;
  flex-direction: column;
}

#counter {
  color: var(--accent);
  /* background-color: #cfcfcf; */
  border-radius: 2px;
  font-weight: 700;
  font-size: 1.2em;
}

.grid-box {
  width: 10px;
  height: 10px;
  opacity: 0.9;
  /* background-color: rgba(0, 0, 0, 0); Light grid color */
  border: 1px solid rgba(255, 255, 255, 0.05); /* Dark grid color */
  border-radius: 3px;
}

.filled {
  background-color: var(--accent);
  /* animation: moveBox 5s infinite; */
}

.form-container {
  border-radius: 8px;
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

form {
  flex-grow: 1;
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  --square-color: #ededed;
}

form::before {
  content: ""; /* Necessary to display the pseudo-element */
  display: block;
  width: 12px;
  height: 12px;
  background-color: var(--square-color);
  border-radius: 4px;
  margin-right: 10px; /* Adds space between the square and the form */
  flex: 0 0 auto; /* Prevents the square from growing or shrinking */
}

label {
  margin-bottom: 5px;
  font-weight: bold;
  color: var(--delve);
}

input[type="email"],
textarea {
  width: 300px;
  height: 40px;
  padding: 0px 10px;
  /* margin-bottom: 20px;
  margin-right: 20px; */
  border: 2px solid #ddd;
  border-radius: 4px;
  resize: none;
  font-weight: medium;
  font-size: 1.15em;
  color: rgba(72, 72, 72, 0.85);
  background-color: #ededed;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  border-color: var(--accent);
  outline: none;
}

input[type="email"]::placeholder {
  color: rgba(72, 72, 72, 0.3);
}
button {
  height: 42px;
  background-color: var(--accent);
  color: var(--light);
  padding: 10px 20px;
  margin: 10px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 0.75em;
}

button:hover {
  background-color: var(--accent);
  color: white;
}

.soft-oval {
  align-self: center;
  width: 400px; /* Width of the oval */
  height: 30px; /* Height of the oval */
  background-color: rgba(0, 0, 0, 0.5); /* Soft black color, semi-transparent */
  border-radius: 50%; /* Fully rounded edges to create an oval */
  filter: blur(20px); /* Blurs the edge of the div */
  margin: 20px; /* Spacing around the div */
}

#hiring {
  background-color: var(--accent);
  color: var(--light);
  padding: 8px 10px;
  /* border: 2px solid var(--accent); */
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 1.1em;
}
#hiring:hover {
  background-color: var(--accent);
  color: white;
}
a:link,
a:visited,
a:active {
  color: white;
  text-decoration: none;
  font-weight: medium;
  font-size: 0.75em;
}
a:hover {
  color: var(--accent);
}
h1 {
  font-size: 2.2em;
  background-color: rgb(72, 72, 72, 0.1);
  font-weight: 600;
  line-height: 1.4;
}

#accent {
  color: var(--accent);
}

#footer {
  bottom: 0;
  height: 10vh;
  position: absolute;
  color: #ededed;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

#privacy {
  justify-self: end;
  color: #ededed;
  font-size: 0.85em;
  opacity: 0.7;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .form-container {
    width: 90%;
    padding: 10px;
  }
  .grid-box {
    display: none;
  }
  form {
    flex-direction: column;
  }
  form::before {
    display: none;
  }
  input[type="email"],
  textarea {
    width: 80vw;
  }
  h1 {
    font-size: 1.5em;
  }
}

@keyframes moveBox {
  /* This keyframe will be filled in the JavaScript to handle random movements */
}
