@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

* {
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  line-height: 22px;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "wdth" 100; 
}

/* * {
  font-family: "Open Sans", sans-serif;
  line-height: 24px;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "wdth" 100;
} */
 
html {
  box-sizing: border-box;
}
*, *::before, *::after {
  box-sizing: inherit;
}
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  height: 100%;
  letter-spacing: normal;
  line-height: 1rem;
  color: white;
  background: linear-gradient(to bottom, #5A827E, #27445D, #09122C);
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main {
  margin-top: 2rem;
  flex: 1;
  justify-content: center;
}
p {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  white-space: normal;
}
.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;
  text-decoration: none;
}
header {
  display: flex;
  height: 60px;
  margin: 0;
  padding: 0;
  left: 0;
  top: 0;
  width: 100%;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: white;
  color: #09122C;
  cursor: default;
  font-size: 40px;
  font-weight: bold;
  z-index: 500;
}
.BABURKE-header p {
  font-size: 40px;
  font-weight: bold;
}
footer {
  padding-top: 150px;
  padding-bottom: 2rem;
  text-align: center;
}
footer p {
  font-size: 12px;
  font-style: italic;
}
.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.95;
  z-index: 1000;
}
.info {
  align-items: center;
  justify-content: center;
  text-align: center;
}
#intro {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
#intro-text {
  text-align: left;
}
.label {
  margin: 15px 0;
}
.socials {
  display: flex;
  height: 26px;
  margin: 30px 0;
  width: auto;
  justify-content: center;
  align-items: center;
  align-content: center;
}
.socials-icon a {
  line-height: 1;
  font-size: 0;
  display: flex;
  align-items: center;
  margin: 40px;
}
.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;
}
.tip {
  margin: 20px 20px;
  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 */
}
.nav-grid {
  grid-template-columns: auto auto auto auto;
  display: grid;
  gap: 2rem;
  padding: 1rem;
}
@media (max-width: 800px) {
  .nav-grid {
    grid-template-columns: auto auto auto;
  }
}
@media (max-width: 600px) {
  .nav-grid {
    grid-template-columns: auto auto;
  }
}
@media (max-width: 350px) {
  .nav-grid {
    grid-template-columns: auto;
  }
}
.nav-item {
  position: relative;
  display: inline-block;
  width: 150px;
  height: 150px;
  padding: 1rem;
  text-align: center;
  overflow: hidden;
  transition: transform 0.1s;
  background: white;
  cursor: pointer;
}
.nav-item img {
  display: block;
  width: 100%;
  height: 100%;
  filter: brightness(0.8);
}
.nav-item span {
  position: absolute;
  top: 50%;
  left: 50%;
  color: white;
  transform: translate(-50%, -50%);
  letter-spacing: 2px;
}
.nav-item:hover {
  padding: 0;
  filter: saturate(150%);
}