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

/* Body */
body {
  font-family: "Lucida Console", monospace;
  background-color: #f9f0ff;
  text-rendering: optimizeLegibility;
  text-align: left;
  padding: 0px;
  margin: 0px;
}

/* Headings & Text */
h1 {
  font-size: 60px;
  margin-bottom: 20px;
}

h2 {
  font-size: 24px;
  color: black;
}

h3, h4, h5, h6, p {
  font-size: 14px;
  line-height: 2;
}

/* Images */
img {
  width: auto;
  height: auto;
  max-height: 88vh;
  border-radius: 10px;
  display: block;
}

/* Links */
a, a:visited {
  display: inline-block;
  background-color: #8c82a3;
  color: #dfdfdf;
  border-radius: 10px;
  padding: 10px 20px;
  text-decoration: none !important;
  font-weight: normal !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  text-align: left;
  margin-bottom: 10px;
}

a:hover {
  color: #d0d0d0;
  background-color: #6c6284;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  text-align: left;
  margin-bottom: 10px;
  padding: 10px 20px;
}

.stats {
  color: #312d39;
  margin: 0px;
  border: 2px solid #ada5c0;
  background: #ada5c0;
  width: fit-content;
  height: fit-content;
  border-radius: 10px;
  padding: 5px;
  white-space: nowrap;
}
.stats h2, h3, p {
  margin: 0px;
  padding: 5px;
}

.hero {
  height: 100vh;
  width: 100%;
  background-image: url("Photos/Robot2026.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  padding: 0px;
  margin: 0px;
  z-index: 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  align-items: center; 
  color: white;
  padding: 0px;
  margin: 0px;
  z-index: 2;
}



.hero h1 {
  font-size: 60px;
  font-weight: bold;
  text-align: center;
  color: #FFFFFF;
  white-space: nowrap;
}

.hero h2 {
  font-size: 30px;
  font-weight: bold;
  text-align: center;
  color: #FFFFFF;
}

.columns {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.column-text {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

header {
  position: fixed;
  width: 100vw;
  height: 12vh;
  z-index: 1000;
  background-color: transparent;
  transition: background-color .6s ease;
  display: flex;
  align-items: center;
  gap: 32px;
  box-shadow: 0 2px 6px rgba(0,0,0,0);
}

header.scrolled {
  background-color: #4b3995;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}


/* Logo */
header img {
  height: 10vh;
  width: 10vh;
  padding-left: 5px;
  border-radius: 0px;
}

/* Navigation */
header nav {
  display: flex;
  gap: 32px;
  align-items: center;
  background-color: transparent;
}

header nav a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #ffffff !important;
  border-radius: 10px !important;
  transition: 0.2s ease !important;
  font-size: 14px !important;
  background-color: transparent !important; 
  box-shadow: 0 2px 6px rgba(0,0,0,0) !important;
  padding: 5px 15px !important;
  margin: 0px;
}

header nav a:hover {
  display: flex !important;
  alight-items: center !important;
  justify-content: center !important;
  color: #ffffff !important;
  background-color: #A08FFF !important;
  border-radius: 10px !important;
  background-color: #A08FFF !important;
  font-size: 14px !important;
  transform: scale(1.08) !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0) !important;
  padding: 5px 15px !important;
  margin: 0px;
}
.desktop-nav {
    display: flex;
  }

  .menu-img-btn {
    display: none;
  }

  .mobile-menu {
    display: none;
  }

.carbon-fiber {
  width: 100vw;
  height: auto;
  min-height: 200px;
  background-image:
  linear-gradient(to bottom, rgba(249, 240, 255, 0) 0%, #f9f0ff 100%),
  url("Photos/Head.png");
  background-repeat: repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carbon-fiber h1 {
  color: #F3E9FF;
  font-size: 60px;
  margin: 0;
  
}

footer {
  display: flex;
  text-align: flex-start;
  align-items: flex-start;
  background-color: #EDE6FF;
  height: auto;
  width: 80vw;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  border-radius: 10px;
  color: #3a3a3a;
  gap: 20px;
  padding: 20px;
  margin: 20px auto;
  line-height: 1.2;
  flex-direction: column;
}
footer h3 {
  font-size: 20px;
  color: #5A4F7A;
  padding-bottom: 0px;
  margin: 0px;
  margin-bottom: 0px;
  line-height: 1.2;
}
footer h4 {
  font-size: 16px;
  color: #8A7BAF;
  padding-top: 0px;
  margin: 0px;
  margin-top: 5px;
  line-height: 1.2;
}
.footer-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 8px;
}
footer > img {
  width: 100px;
  height: 100px;
  align-items: flex-start;
}
.footer-header {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}

.address {
  color: #6e6e6e;
  margin-top: 5px;
  border: 2px solid #D8D0F2;
  background: #D8D0F2;
  width: fit-content;
  height: fit-content;
  border-radius: 10px;
  padding: 5px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  flex-direction: flex-start;
  text-align: left;
}
/* Container holds the stacked images */
.img-stack {
  position: relative;
  width: 100px;
  height: 100px;
}

.img-stack .base {
  position: absolute;
  top: 0;
  left: 0;
  width: 80px;
  height: 80px;
  z-index: 10;
}

.img-stack .spin {
  position: absolute;
  top: 0;
  left: 0;
  width: 80px;
  height: 80px;
  z-index: 1;
}
.img-stack:hover .spin {
  animation: spin 2s linear infinite;
}
.gear-wrapper {
  position: relative;
  display: inline-block;
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.head-img-stack {
  position: relative;
  width: 100px;
  height: 100px;
}
.head-img-stack .base {
  position: absolute;
  top: 0;
  left: 0;
  width: 80px;
  height: 80px;
  z-index: 10;
}

.head-img-stack .gear {
  position: absolute;
  top: 0;
  left: 0;
  width: 80px;
  height: 80px;
  z-index: 1;
}
.head-gear-wrapper {
  position: relative;
  display: inline-block;
}


/* Text Block Layout */
.text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 0 20px 20px;
}

.sponsor-box {
  display: grid;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  width: 90vw;
  height: auto;
  text-align: center;
  margin: 0px;
  padding: 20px;
  gap: 10px;
}

.sponsor-box h1 {
  font-size: 25px;
  margin: 0px;
}
.sponsor-box h3 {
  font-size: 18px;
  margin: 0px;
}
.bluealliance {
  padding: 10px 21px;
  background-color: #4252B0 !important;
}
.bluealliance:hover {
  padding: 10px 21px;
  background-color: #313d81 !important;
}
.platinum-bolt {
  background: #afdfff;
}
.zirconium-bolt {
  background: #fff7af;
}

.titanium-bolt {
  background: #929292;
}

.silver-bolt {
  background: #d8d8d8;
}

.chromium-bolt {
  background: #eeeeee;
}

.iron-bolt {
  background: #ffffff;
}
