:root{
  --header-height: 60px;
  --transition-time: 0.2s;
  --element-width: 1000px;
  --hover-bg-color: #3187C4;
  --hover-text-color: #DCEDF9;
  --proj-a-color: #256593;
  --proj-hover-color: #3187C4;
  --proj-active-color: #CBE5F6;
}

#hero video {
  height: 100vh;
  width: 100%;
  margin: 0;
  background-position: absolute;
  z-index: 10;
  object-fit: cover;
}

#hero .hero-content {
  background-color: #00000088;
  width: 100%;
  height: 100%;
  z-index:20;
  position: absolute;
  top: var(--header-height);
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#hero .hero-content h1 {
  letter-spacing: -1px;
  font-weight: 800;
  font-size: 3rem;
  margin: 0;
  text-shadow: 2px 2px 4px black;
}

#hero .hero-content p {
  letter-spacing: -1px;
  font-size: 1.2rem;
  margin: 0;
  text-shadow: 2px 2px 4px black;
}

#about-btn-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 40px 0 50px;
}   

#project-link {
  text-align: center;
  font-size: 2rem;
  padding: 10px 0;
}

#project-section {
  width: var(--element-width);
  margin: 10px auto 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-items: center;
  align-items: center;
  gap: 10px;
}

#project-section > a {
  width: 100%;
  height: 100%;
  border: #CBE5F6 2px solid;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
  gap: 10px;
  background-color: var(--proj-a-color);
  text-decoration: none;
  transition: background-color var(--transition-time);
}

#project-section > a:hover {
  background-color: var(--proj-hover-color);
}

#project-section > a:active {
  background-color: var(--proj-active-color);
}

#project-section > a > img {
  height: 80%;
}

#project-section > a > span {
  color: #eee;
}

.project-tile > img {
  width: 90%;
  object-fit: contain;
}