@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
  font-family: Liberation Mono, monospace;
  font-size: 12px;
  line-height: 20px;
  font-weight: 400;
}
html {
  box-sizing: border-box;
}
*, *::before, *::after {
  box-sizing: inherit;
}
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  height: 100%; /* Ensure full page height */
  letter-spacing: normal;
  line-height: 1rem;
  color: white;
  background: rgb(44, 44, 44)
}
.even-space{
  padding: 0 10px 10px 0;
}
svg, img {
  max-width: 100%; /* Image won't exceed the width of its container */
  height: auto;    /* Maintains the aspect ratio */
}
a {
  color: darkblue;
}
header {
  display: flex;
  position: relative;
  height: 60px;
  justify-content: center;
  align-items: center;
  text-align: center;
  /* border-bottom: 1px solid black; */
  background: white;
  color: black;
  z-index: 500;
}
.header-edge {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 135px;
  background: linear-gradient(45deg,rgb(44, 44, 44) 50%, rgb(255, 255, 255) 0%);
  z-index: 40;
}
.bractal-header{
  font-size: 40px;
  font-weight: bold;
  z-index: 50;
}
footer {
  display: flex;
  text-align: center;
  justify-content: center;
  margin-top: 40px;
}
.home-icon {
  position: fixed;
  max-width: 50px !important;
  height: auto; /* Maintain aspect ratio */
  object-fit: contain;
  overflow: hidden;
  padding-top: 5px;
  padding-left: 5px;
  border: none;
  margin: 0;
  cursor: pointer;
  background-color: transparent;
  opacity: 0.9;
  z-index: 1000;
}
.info {
  padding: 15px 50px;
  text-align: center;
}
.label {
  margin: 15px 0;
}
.socials {
  display: flex;
  height: 30px;
  width: auto;
  justify-content: center;
  align-items: center;
  align-content: center;
  margin: 20px 40px;
  gap: 25px;
}
.socials-icon a {
  line-height: 1;
  font-size: 0;
  display: flex;
  align-items: center;
}
.socials-icon svg, img{
  display: block;
  height: 26px;
  width: auto;
  justify-content: center;
  align-items: center;
  align-content: center;
}
.email-icon {
  background-color: #ffffff;
  padding: 4px;
  border-radius: 2px;
  z-index: 40;
}
.nav-tip {
  margin: 15px 0;
  padding: 6px 0;
  letter-spacing: 2px;
  border-top: 1px solid white;
  border-bottom: 1px solid white;
}
.grid-wrapper {
  display: flex;
  justify-content: center;
  align-content: center;
  max-width: 100%; /* Prevents overflow */
  margin: 15px 60px; /* Centers the grid */
}
.nav-grid {
  display: grid;
  gap: 45px;
  background: white;
  padding: 2rem;
}
.nav-grid {
  grid-template-columns: auto auto auto auto;
}
@media (max-width: 800px) {
  .nav-grid {
    grid-template-columns: auto auto auto;
  }
}
@media (max-width: 600px) {
  .nav-grid {
    grid-template-columns: auto auto;
  }
}
.nav-item {
  position: relative;
  width: 100px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  border-radius: 2px;
  transition: transform 0.2s;
  background-repeat: no-repeat;
}
.nav-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nav-text {
  position: absolute;
  align-items: center;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  letter-spacing: 2px;
}
.nav-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2); /* Dark transparent overlay */
}
.nav-item:hover {
  transform: scale(1.15); /* Slight zoom effect */
  background: rgba(114, 114, 114, 0.8);
}